1 2009-01-15 Wim Taymans <wim.taymans@collabora.co.uk>
3 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
6 A small documentation fix.
8 2009-01-11 Sebastian Dröge <sebastian.droege@collabora.co.uk>
11 Initialize g_once_init* data with 0. Fixes bug #567225.
13 2009-01-09 Jan Schmidt <jan.schmidt@sun.com>
18 2009-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
20 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21 (gst_base_sink_wait_clock):
22 * libs/gst/base/gstbasesink.h:
23 Fix documentation for the wait_clock method, rename basesink -> sink
26 2009-01-08 Stefan Kost <ensonic@users.sf.net>
29 Create a registry if there is none also when the option for
30 gst-disable-registry-update has been selected. Fixes #567002
32 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
34 * gst/gst.c: (init_post):
35 Ref new enum type in gst_init.
37 * win32/common/libgstreamer.def:
38 Add recently-added API.
40 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
42 * docs/gst/gstreamer-sections.txt::
43 * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
44 * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
45 (gst_plugin_class_init), (gst_plugin_list_free),
46 (gst_plugin_ext_dep_get_env_vars_hash),
47 (_priv_plugin_deps_env_vars_changed),
48 (gst_plugin_ext_dep_extract_env_vars_paths),
49 (gst_plugin_ext_dep_get_hash_from_stat_entry),
50 (gst_plugin_ext_dep_direntry_matches),
51 (gst_plugin_ext_dep_scan_dir_and_match_names),
52 (gst_plugin_ext_dep_scan_path_with_filenames),
53 (gst_plugin_ext_dep_get_stat_hash),
54 (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
55 (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
56 (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
57 * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
58 (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
59 (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
60 (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
61 (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
62 (GstPluginDependencyFlags), (GstPluginFilter):
63 * gst/gstregistry.c: (gst_registry_scan_path_level):
64 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
65 (gst_registry_binary_save_plugin_dep),
66 (gst_registry_binary_save_plugin),
67 (gst_registry_binary_load_feature),
68 (gst_registry_binary_load_plugin_dep_strv),
69 (gst_registry_binary_load_plugin_dep),
70 (gst_registry_binary_load_plugin):
71 * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
72 (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
73 * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
74 Add API for making a GStreamer plugin 'dependent' on external files,
75 directories or environment variables, so that GStreamer knows when
76 it needs to re-load GStreamer plugins that wrap other plugin systems.
78 API: add gst_plugin_add_dependency()
79 API: add gst_plugin_add_dependency_simple()
81 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
83 * docs/faq/gst-uninstalled:
84 Add libgstapp-0.10 from -base to search path and remove the old
85 lib from -bad from the search path.
87 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
89 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
90 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
91 Release the object lock before calling the query convert pad functions
94 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
96 * gst/gstbus.c: (gst_bus_wakeup_main_context):
97 The lock order should be maincontext > OBJECT_LOCK so we need to release
98 the object lock when waking up the mainloop to avoid deadlocks.
100 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
102 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
103 (gst_bin_change_state_func):
104 Use an iterator to set the clock and the index so that we can release
105 the object lock appropriately. Fixes #566393.
107 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
109 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
110 Use the name of the pads instead of a pointer, helps in debugging.
112 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
114 * gst/gstindex.c: (gst_index_get_type):
115 Add a debugging category for GstIndex, first little step in making
118 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
120 * gst/gstelement.c: (gst_element_message_full),
121 (gst_element_pads_activate):
122 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
123 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
124 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
125 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
126 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
127 Assign debug statements to relevant categories instead of the 'default'
128 category so they don't get lost in debugging.
130 2009-01-01 Stefan Kost <ensonic@users.sf.net>
132 * gst/gstdebugutils.c:
133 Add some ideas, how to make the graph smaller.
136 Add a comment from a debug session.
138 * libs/gst/base/gstbasetransform.c:
141 * libs/gst/controller/gstinterpolationcontrolsource.c:
144 * plugins/elements/gstcapsfilter.c:
147 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
149 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
150 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
151 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
152 (gst_bus_create_watch):
153 Make GstBusSource work with non-default main contexts (#562170).
155 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
156 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
157 Add test case for GstBusSource with a non-default main context.
159 * tests/check/libs/.cvsignore:
162 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
164 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
166 Wrap multi-line macros in G_STMT_{START|END}.
168 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
170 * docs/gst/gstreamer-sections.txt:
173 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
174 (gst_query_parse_uri):
176 API: Add URI query type. This is useful to query the URI
177 of a sink/source element and can be used by demuxers that
178 need to get data from other files.
179 This query should go upstream by default.
181 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
182 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
184 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
185 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
186 (gst_file_src_query):
189 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
192 * tests/check/gst/gstghostpad.c:
193 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
194 That would cause the ghostpad to emit notify::caps two times (fist
195 from gst_pad_set_caps() and after from on_src_target_notify()).
197 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
199 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
201 Add some more unit-tests for the ghostpad notify signal, one of which
204 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
206 * win32/common/libgstreamer.def:
207 Add gst_tag_setter_reset_tags to the list of exported symbols.
209 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
212 * tests/check/gst/gstghostpad.c:
213 In a source ghostpad, when caps are changed in the target pad, the
214 change needs to be reflected in the ghostpad.
217 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
219 * gst/gstutils.c: (gst_element_found_tags_for_pad):
220 Add FIXME for 0.11 to set the pad as message source and not
221 the element. Otherwise it's impossible to detect for which
222 pad the tags were found without adding an event probe
223 or something similar to the pad.
225 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
227 * docs/faq/general.xml:
230 2008-12-16 Stefan Kost <ensonic@users.sf.net>
232 * docs/gst/gstreamer-sections.txt:
233 * gst/gsttagsetter.c:
234 * gst/gsttagsetter.h:
235 Rename api added in previous commit and add since tag to docs.
236 API: gst_tag_setter_reset_tags()
238 2008-12-16 Stefan Kost <ensonic@users.sf.net>
240 * docs/gst/gstreamer-sections.txt:
241 * gst/gsttagsetter.c:
242 * gst/gsttagsetter.h:
243 Add function to reset tagsetter for element reuse.
245 2008-12-16 Stefan Kost <ensonic@users.sf.net>
248 Avoid copy of empty taglist.
250 2008-12-16 Stefan Kost <ensonic@users.sf.net>
253 * tests/check/gst/gsttag.c:
254 More complete unit tests. Fix handling of empty taglists (they were
257 2008-12-15 Stefan Kost <ensonic@users.sf.net>
260 * gst/gsttagsetter.c:
261 Update GstTagSetter and GstTagMergeMode documentation. Mention
262 that tags can come from events and from application. Fix example.
264 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
266 * docs/design/part-TODO.txt:
267 Remove the seqnum entry that we implemented in 0.10 already.
268 Add entry about removing the format return value for queries.
270 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
272 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
273 (gst_base_sink_init), (gst_base_sink_set_property),
274 (gst_base_sink_get_property):
275 Expose the render-delay as a property so things like appsink can use it
276 to tweak the synchronisation.
278 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
280 * libs/gst/check/gstcheck.h: Allow check tests to use
281 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
282 CK_FORK=no to be used with multiple check test that use threads.
284 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
286 * gst/gstutils.c: (gst_element_get_compatible_pad):
287 Fix a caps memory leak introduced by the last change.
289 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
291 * gst/gstutils.c: (gst_element_get_compatible_pad):
292 Check if the caps of the pads are compatible before returning
293 a pad and claiming it is compatible. This, among other things,
294 fixes a bug with gst-launch where an incompatible pad is chosen
295 and linking fails. Fixes bug #544003.
297 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
299 * libs/gst/check/gstcheck.c: (gst_check_init):
300 Revert accidentially commited patch for bug #404631 which
301 tries to print a backtrace if a testcase is terminated by
302 a signal. This code was never activated as the corresponding
303 configure.ac change wasn't committed.
305 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
307 * tests/check/libs/controller.c: (GST_START_TEST):
308 This test should return TRUE now as syncing an uncontrolled
309 object will succeed now (there's nothing to sync).
311 2008-12-09 Stefan Kost <ensonic@users.sf.net>
313 * libs/gst/controller/gstcontroller.c:
314 Aggregate return value for gst_controller_sync_values(). More info in
315 logging. Always set values on first sync-call.
317 * libs/gst/controller/gstcontrolsource.c:
320 * libs/gst/controller/gsthelper.c:
321 Fix return code and comment.
323 2008-12-09 Stefan Kost <ensonic@users.sf.net>
325 * tools/gst-launch.1.in:
326 Fix description of how to specify a type in caps. Fixes #553873.
327 Also ranges and list contain values and not property-assignments.
329 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
331 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
332 Check for changed pads-list before checking the last returned
333 GstFlowReturn because the pad could have been removed and we
334 need to ignore the value in that case.
336 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
338 * libs/gst/base/gstbasetransform.c:
339 (gst_base_transform_prepare_output_buffer),
340 (gst_base_transform_getrange), (gst_base_transform_chain):
341 * libs/gst/base/gstbasetransform.h:
342 Add vmethod that is called before we start the transform and which can
343 be used to configure the transform, such as dynamic properties.
345 2008-12-05 David Schleef <ds@schleef.org>
348 Search for plugins on win32 based on the location of the
349 gstreamer DLL. Fixes #548786
351 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
354 Apparently AC_CONFIG_MACRO_DIR breaks when using more
355 than one macro directory, reverting last change.
357 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
360 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
363 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
365 Patch by: Cygwin Ports maintainer
366 <yselkowitz at users dot sourceforge dot net>
370 Require gettext 0.17 because older versions don't mix with libtool
371 2.2. At build time an older gettext version will still work.
374 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
376 Patch by: 이문형 <iwings at gmail dot com>
378 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
379 Adds support for FD_CONNECT event (win32). See #562258.
381 2008-11-24 Stefan Kost <ensonic@users.sf.net>
383 * libs/gst/base/gstbasesink.c:
384 Turn comment into gtk-doc comment.
386 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
388 * libs/gst/base/gstbasetransform.c:
389 (gst_base_transform_acceptcaps):
390 Revert quick accepcaps attempt, it's not fully equivalent to the old
391 behaviour and thus causes regressions.
393 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
395 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
398 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
400 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
402 * gst/gstregistry.c: (gst_registry_scan_path_level):
403 Reduce the number of stat() calls for every file from three times
404 to one time. Fixes bug #560360.
406 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
408 * libs/gst/base/gstbasetransform.c:
409 (gst_base_transform_acceptcaps):
410 Rename a variable to make the code clearer.
412 2008-11-21 Stefan Kost <ensonic@users.sf.net>
414 * plugins/elements/gstidentity.c:
415 Don't warning on offset==-1. Taken from _check_imperfect_offset().
417 2008-11-21 Michael Smith <msmith@songbirdnest.com>
419 * plugins/elements/gstfilesrc.c:
420 Check for localhost in URI was backwards, fix it. Fixes unit test.
422 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
424 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
425 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
426 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
427 Add beginnings of a more optimized acceptcaps function than the default
430 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
432 * gst/gstpad.c: (gst_pad_accept_caps):
433 Avoid getting the acceptcaps function too early.
435 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
437 * tools/gst-launch.c: (event_loop):
438 Make gst-launch handle LATENCY messages and make it recalculate the
441 2008-11-20 Michael Smith <msmith@songbirdnest.com>
443 * plugins/elements/gstfilesrc.c:
444 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
445 out own slightly incorrect version. Fixes use of some paths on
448 2008-11-20 Michael Smith <msmith@songbirdnest.com>
450 * gst/gstregistrybinary.c:
451 In win32 codepath, if we fail to write the registry, create the
452 directory for it and try again, matching the behaviour in non-win32
455 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
457 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
458 Changing the render delay changes the latency and so we must post a
461 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
465 Add GstQueryType for custom queries instead of having to use the
466 not-so-very-convenient registration infrastructure to register new
469 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
471 Patch by: Andrew Feren <acferen at yahoo dot com>
473 * gst/gstobject.c: (gst_object_default_deep_notify):
474 Unref the GEnumClass after usage again. Fixes bug #561501.
476 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
478 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
479 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
480 (gst_bin_change_state_func):
482 Add do-latency signal with the old default fallback implementation. This
483 allows for custom latency calculations for when the default is not
485 API: GstBin::do-latency signal.
487 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
489 * win32/common/libgstreamer.def:
490 Add new symbols to .def file.
492 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
494 * docs/gst/gstreamer-sections.txt:
495 * gst/gstbin.c: (gst_bin_recalculate_latency),
496 (gst_bin_change_state_func):
498 Add method to recalculate and redistribute the latency on a bin.
499 API: gst_bin_recalculate_latency().
501 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
504 Document the free_func.
506 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
508 * libs/gst/controller/gstinterpolation.c:
509 * libs/gst/controller/gstlfocontrolsource.c:
510 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
511 as it is mapped to a cast on non-win32 platforms.
513 2008-11-17 Stefan Kost <ensonic@users.sf.net>
515 * libs/gst/controller/gstcontroller.c:
516 * libs/gst/controller/gstcontrollerprivate.h:
517 Keep last-value and only call set_property if value has changed. This
518 supresses all the g_object_notifies we would trigger otherwise. It
519 also allows the user to chage the value while there is no controller
522 2008-11-17 Stefan Kost <ensonic@users.sf.net>
525 Don't crash if either of the string GValues is empty.
527 2008-11-17 Andy Wingo <wingo@pobox.com>
529 * tools/gst-inspect.c (print_all_uri_handlers): New function,
530 prints a summary of what URI schemes are supported by what
532 (main): Plumb in support for --uri-handlers or -u, and fix the
533 argc check for -a and -u.
535 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
538 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
539 conversion functions.
541 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
543 * gst/gstbuffer.c: (gst_buffer_finalize):
544 Avoid costly typechecking for trivially correct pointers.
546 * gst/gstpoll.c: (gst_poll_wait):
547 Add some G_LIKELY here and there.
549 * libs/gst/base/gstadapter.c: (gst_adapter_push):
552 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
554 * docs/random/wtay/poll-timeout:
557 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
559 * tests/old/testsuite/caps/intersection.c: (main):
560 * tests/old/testsuite/plugin/loading.c: (main):
561 Remove references to deprecated API g_mem_chunk*.
564 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
566 * tools/gst-inspect.c: (main):
567 Add --plugin option. Fixes #560301.
569 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
571 * docs/random/wtay/poll-timeout:
572 Quick braindump for a possible (not totally verified) atomic case.
574 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
576 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
577 (gst_registry_binary_initialize_magic),
578 (gst_registry_binary_write_cache),
579 (gst_registry_binary_check_magic):
580 * gst/gstregistrybinary.h:
581 Don't write and check a CRC for the binary registry file. It's
582 guaranteed that the registry is completely written (it's first written
583 to a temporary file and then moved) and if the registry was corrupted
584 by some hardware failure we would have bigger problems.
586 Bump binary registry version to 0.10.21.1 for this as it's an
587 incompatible change and to ensure that the registry gets rebuild
590 This saves some milliseconds for reading/writing the registry.
593 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
595 * docs/random/wtay/poll-timeout:
596 Some pseudo code for how we could implement clock timeouts with GstPoll.
598 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
600 * plugins/elements/gstfilesink.c:
601 Update Author string to match others.
603 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
605 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
606 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
607 being fixed and inline the trivial check.
609 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
611 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
612 (gst_caps_merge_structure), (gst_caps_get_structure),
613 (gst_caps_copy_nth), (gst_caps_set_simple),
614 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
615 (gst_caps_is_equal_fixed), (gst_caps_intersect),
616 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
617 (gst_caps_to_string):
618 Callgrind micro optimisations.
619 Avoid array bounds checks and force inline of trivial function.
621 * gst/gstobject.c: (gst_object_set_name_default):
622 -1 is equivalent to letting glib to the strlen but then there is more
623 room for optimisations and it's not our fault.
625 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
626 no need to clear the array, we're cool.
628 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
629 The most common _is_fixed() check is done on fundamental glib base
630 types so we check this first instead of doing a huge amount of
631 useless GST_TYPE_ARRAY calls.
633 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
636 Add a SKIP seek flag for use with advanced trickmodes.
637 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
639 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
641 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
642 No need to memset, we can clear the value ourselves.
644 * gst/gstvalue.c: (gst_type_is_fixed),
645 (gst_value_get_compare_func):
646 Some optimisations from a few callgrind sessions:
647 When checking if a type is fixed, check for trivial fundamental types
648 first before checking types for which we need to get the type followed
649 by the heavy duty type checks, this reduces the amount of
650 g_type_fundamental() calls a lot.
651 When getting the compare function, first check for our registered types.
652 If that fails, do the heavy duty g_type_is_a() checks, reduces the
653 amount of g_type_is_a() considerably.
655 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
657 * docs/design/part-TODO.txt:
658 Mumble something about removing GstXML.
660 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
662 * gst/gstbin.c: (gst_bin_handle_message_func):
663 Get the seqnum before we dispose the message.
665 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
667 * docs/design/part-TODO.txt:
668 Refer to the framestepping document.
670 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
672 * gst/gstbin.c: (bin_handle_async_start),
673 (gst_bin_handle_message_func), (gst_bin_query):
674 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
675 (gst_base_sink_event), (gst_base_sink_change_state):
676 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
677 (gst_base_src_loop), (gst_base_src_change_state):
678 Copy seqnums from events to messages so that they can all be related
681 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
683 * tools/gst-launch.c: (event_loop):
684 Print the message seqnums.
686 2008-11-04 Andy Wingo <wingo@pobox.com>
688 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
690 2008-11-04 Andy Wingo <wingo@pobox.com>
692 Add sequence numbers to events and messages. See #559250.
694 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
698 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
699 events with a new sequence number, and copy it when copying.
700 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
701 an event's sequence number.
704 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
705 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
708 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
710 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
712 * docs/manual/advanced-position.xml:
713 * docs/manual/basics-bins.xml:
714 * docs/manual/basics-bus.xml:
715 * docs/manual/basics-pads.xml:
716 * docs/manual/intro-gstreamer.xml:
717 * docs/manual/intro-preface.xml:
718 Some Application Development Manual fixes thanks to
719 Andrew Feren. Fixes #558459.
721 2008-11-03 Stefan Kost <ensonic@users.sf.net>
723 * gst/gstregistrybinary.c:
724 Don't bother with the GTimer if we don't output the results.
726 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
728 Patch by: David Schleef <ds@schleef.org>
730 * libs/gst/net/Makefile.am:
731 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
733 2008-10-31 Stefan Kost <ensonic@users.sf.net>
735 * gst/gstregistrybinary.c:
736 Oh my, studip, stupid me. Remove double stat() call.
738 2008-10-31 Stefan Kost <ensonic@users.sf.net>
741 Use g_unlink instead of unlink.
743 * gst/gststructure.c:
752 Formatting & whitespaces.
754 2008-10-31 Stefan Kost <ensonic@users.sf.net>
756 * plugins/elements/gstidentity.c:
757 Doc typo. Use return value of parent_class->event.
759 * plugins/elements/gsttypefindelement.c:
760 Chain up at the end for consistency.
762 2008-10-30 Stefan Kost <ensonic@users.sf.net>
765 * docs/gst/gstreamer-docs.sgml:
766 * docs/gst/gstreamer-sections.txt:
767 * docs/gst/running.xml:
768 * docs/libs/gstreamer-libs-docs.sgml:
769 Change to xinclude based build - its faster and easier to maintain.
771 2008-10-30 Stefan Kost <ensonic@users.sf.net>
773 * gst/gstregistrybinary.c:
774 * gst/gstregistryxml.c:
775 Use g_unlink() as none of these are directories.
777 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
779 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
782 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
784 * libs/gst/base/gstbasetransform.c:
785 (gst_base_transform_find_transform), (gst_base_transform_getrange):
786 If we have a fixate function, call it even if we already have fixed caps
787 because the subclass might add some caps. Makes audioconvert add a
788 default channel layout.
790 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
792 * libs/gst/base/gstbasetransform.c:
793 (gst_base_transform_prepare_output_buffer),
794 (gst_base_transform_getrange):
795 Clear the output buffer variable.
796 Cleanups to the error path in the getrange function.
799 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
801 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
802 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
803 Use gst_buffer_try_new_and_alloc() and handle errors instead of
804 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
807 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
809 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
810 Set the last_stop to a more meaningful position when configuring the
811 segment. ie. the start/stop of the segment or clipped against the
812 updated segment boundaries.
814 * tests/check/gst/gstsegment.c: (GST_START_TEST):
815 Add some unit tests for the last_stop.
817 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
819 * libs/gst/base/gstbytereader.c:
820 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
823 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
825 * docs/gst/gstreamer-sections.txt:
827 API: Move float endianness conversion macros from libgstfloatcast
828 to core as it's useful in general, even in core. Fixes bug #555196.
829 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
830 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
831 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
833 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
834 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
835 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
836 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
838 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
840 * docs/libs/gstreamer-libs-sections.txt:
841 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
842 (gst_byte_reader_peek_data):
843 * libs/gst/base/gstbytereader.h:
844 * win32/common/libgstbase.def:
845 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
846 to get a pointer to the data at the current position and have
849 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
852 Fix a bug in the output of the configure script summary
853 when --gst-disable-registry is supplied
855 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
857 * libs/gst/base/gstbitreader.c:
858 * libs/gst/base/gstbytereader.c:
859 Fix the names of 2 functions in the docs strings.
861 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
863 * libs/gst/base/gstbasetransform.c:
864 (gst_base_transform_prepare_output_buffer),
865 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
866 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
867 refcount problems as seen in banshee and maybe also in farsight2.
868 Remove atomic int now that we need to take the lock anyways.
870 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
872 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
873 (gst_base_sink_default_prepare_seek_segment),
874 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
875 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
876 (gst_base_sink_query):
877 Implement more seeking in pull mode.
878 Use pad convert functions to convert position to the requested format.
879 Fix position/duration reporting in pull mode.
880 Implement position and duration reporting in other formats than time.
882 * libs/gst/base/gstbasesink.h:
883 Add member to keep track of when the segment is playing.
885 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
887 * gst/gstpad.c: (gst_pad_configure_src):
888 When we use gst_pad_alloc_buffer() without wanting to set the caps we
889 also don't need to check if the caps are compatible because the caller
890 presumably is going to perform its own custom checks. Fixes some cases
891 where basetransform elements would error out when it was not needed.
893 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
895 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
898 * libs/gst/base/gstbasetransform.c:
899 (gst_base_transform_handle_buffer),
900 (gst_base_transform_reconfigure):
903 * win32/common/libgstbase.def:
906 2008-10-19 Stefan Kost <ensonic@users.sf.net>
908 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
909 Remove duplicated assignment and log a message in failure case.
911 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
913 Patch by: Dig Ge <dig.ge.cn at gmail com>
915 * tests/examples/helloworld/helloworld.c: (main):
916 Fix copy'n'paste bug in hello world example (#556900).
918 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
920 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
921 (gst_base_sink_query):
922 Query the total number of bytes when activating the pad in pull mode.
923 Implement duration query in pull mode by using the installed pad convert
924 function to convert from bytes to the requested format.
926 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
928 * docs/libs/gstreamer-libs-sections.txt:
929 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
930 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
931 (gst_base_sink_event), (gst_base_sink_perform_seek),
932 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
933 (gst_base_sink_send_event), (gst_base_sink_change_state):
934 * libs/gst/base/gstbasesink.h:
935 Add method to commit the state in subclasses.
936 Refactor the flush_start and flush_stop code because we need it for
937 flushing while seeking too.
938 Implement the beginnings of seeking in pull mode.
939 Use the segment last_stop field for the pulling offset.
940 Fix the pause method in pull mode.
941 Configure the segment to BYTES for pull mode.
942 API: GstBaseSink::gst_base_sink_do_preroll()
944 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
946 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
949 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
951 * gst/gstquark.c: (_priv_gst_quarks_initialize):
952 Fix printf format warning.
954 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
956 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
957 Fix flow aggregation of tee. Error out immediately for all flow returns
958 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
959 and return OK if at least one pad is linked.
961 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
962 and otherwise returned the flow return of the last pad, which is wrong.
964 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
965 (GST_START_TEST), (tee_suite):
966 Add unit tests for the flow aggregation.
968 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
970 * docs/design/part-TODO.txt:
971 Remove item from the todo list because it was fixed with the latency
972 state change rewrites.
974 * docs/design/part-seeking.txt:
975 * docs/design/part-segments.txt:
978 * gst/gstevent.c: (gst_event_new_new_segment_full),
979 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
980 (gst_event_parse_buffer_size), (gst_event_new_qos),
981 (gst_event_parse_qos), (gst_event_new_seek),
982 (gst_event_parse_seek), (gst_event_new_latency),
983 (gst_event_parse_latency):
984 Use quarks to construct and parse events.
986 * gst/gstquark.c: (_priv_gst_quarks_initialize):
988 Add some more quarks to the table.
989 Emit a warning when the quark tables are not in sync.
991 * tests/check/gst/gstbus.c: (GST_START_TEST):
994 2008-10-13 Stefan Kost <ensonic@users.sf.net>
996 * plugins/elements/Makefile.am:
997 * plugins/indexers/Makefile.am:
998 Don't install static libs for plugins. Fixes #550851 for core.
1000 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
1002 * gst/gstbus.c: (gst_bus_source_finalize),
1003 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
1004 (gst_bus_enable_sync_message_emission),
1005 (gst_bus_disable_sync_message_emission),
1006 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
1007 Fix deadlock, g_source_get_id() cannot be called in finalize.
1008 Keep track of the watch source by keeping a pointer to the source object
1010 Use the bus lock to protect access to the pointer to the current
1013 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1015 Base on Patch by: Olivier Crete <tester at tester dot ca>
1017 * gst/gstbus.c: (gst_bus_source_finalize),
1018 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
1019 Only allow one bus watch to be set at a time. This is necessary
1020 because the dispatcher pops the message from the bus and the second
1021 watcher will then get NULL or the next message (and the first won't
1022 get this next message then, etc). If more than one "watcher" is
1023 required signal watches should be used. Fixes bug #526044.
1025 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
1027 * tools/gst-launch.c:
1028 Change the printing of the 'buffering...' output to avoid putting
1029 a \r in a translateable string (flagged by the TP).
1031 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1034 Clarify that the save_thyself() and restore_thyself() virtual
1035 functions of GstObject need to be overriden, not
1036 gst_object_(save|restore)_thyself() which is impossible.
1039 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1041 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1042 Revert a patch from 21 months ago that broke caps negotiation in pull
1043 mode. Basically, having a buffer pass over a pad will trigger the
1044 setcaps function when caps change, just like in push mode.
1046 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1048 * docs/design/part-negotiation.txt:
1049 Update the docs some more.
1051 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1052 If we pull a buffer with non-trivial caps, suggest those caps with the
1055 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1057 * docs/design/part-TODO.txt:
1058 Add another limitation of pad-blocking with segment seeks not pushing
1061 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
1063 * win32/common/libgstbase.def:
1064 * win32/common/libgstreamer.def:
1065 Add new symbols to the win32 defs files
1067 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1069 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1070 (gst_bin_handle_message_func):
1071 The message src can be NULL, don't try to print the object names in that
1074 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1075 Add some more debug info.
1077 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1080 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1083 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1085 * docs/design/part-negotiation.txt:
1088 * docs/libs/gstreamer-libs-sections.txt:
1089 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1090 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1091 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1092 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1093 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1094 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1095 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1096 (gst_base_sink_change_state):
1097 * libs/gst/base/gstbasesink.h:
1098 Add blocksize property and methods to control the amount of data
1100 Negotiate first before activating upstream in pull mode so that they can
1101 negotiate themselves.
1102 When we operate in pull mode, we only accept the caps that we
1104 Make the sink go ASYNC to PAUSED, like all other sinks.
1105 API: GstBaseSink::gst_base_sink_set_blocksize()
1106 API: GstBaseSink::gst_base_sink_get_blocksize()
1107 API: GstBaseSink::blocksize
1109 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1110 (gst_base_src_set_live), (gst_base_src_is_live),
1111 (gst_base_src_set_format), (gst_base_src_query_latency),
1112 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1113 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1114 (gst_base_src_set_property), (gst_base_src_get_property):
1115 * libs/gst/base/gstbasesrc.h:
1116 Add typechecking in public API functions.
1117 Add methods to control the blocksize in subclasses.
1118 API: GstBaseSrc::gst_base_src_set_blocksize()
1119 API: GstBaseSrc::gst_base_src_get_blocksize()
1121 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1123 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1124 (buffer_probe), (event_probe), (GST_START_TEST):
1125 We now see 3 events go through our pad, since basesink now sends
1126 upstream latency events.
1128 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1130 * gst/gstpipeline.c: (gst_pipeline_change_state):
1131 Release the object lock before trying to flush the bus.
1133 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1135 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1136 Forward LATENCY events upstreams so that elements know about the total
1137 pipeline latency. Fixes #555307.
1139 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1141 * plugins/elements/gstqueue.c:
1142 Allow through queries when we don't know how
1143 to adjust them (not TIME or BYTES), as otherwise it's
1144 not possible to query the current position in order
1145 to seek in other formats at all.
1147 2008-10-08 Andy Wingo <wingo@pobox.com>
1149 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1151 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1153 * gst/gstghostpad.c:
1154 * gst/gstghostpad.h:
1155 Unbreak -good build, private is a reserved c++ keyword.
1157 2008-10-08 Andy Wingo <wingo@pobox.com>
1159 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1160 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1161 removal: re-add GST_GHOST_PAD_CAST to the header.
1163 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1164 (GstGhostPadClass): Publically expose these structures so as to
1165 allow easy subclassing from C. Hide the member data behind a
1166 private opaque data pointer.
1168 * gst/gstghostpad.c: Adapt to store instance data in the type
1169 instance's private data region, not in the public struct.
1171 2008-10-08 Andy Wingo <wingo@pobox.com>
1173 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1174 template via g_object_get(), be sure to unref it.
1176 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1178 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1180 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1181 If we can't get a cache file don't try to save something to it.
1182 Dereferencing NULL pointers usually isn't a good idea.
1184 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1186 * tests/check/Makefile.am:
1187 * tests/check/gst/gstabi.c:
1188 * tests/check/gst/struct_sparc.h:
1189 * tests/check/libs/libsabi.c:
1190 * tests/check/libs/struct_sparc.h:
1191 Add Sparc ABI checks
1193 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1194 Cast signed integer to unsigned to avoid a compiler warning.
1196 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1198 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1199 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1200 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1201 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1202 (gst_byte_reader_peek_int24_be):
1203 Use new GST_READ_UINT24_(LE|BE) macros.
1205 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1207 * docs/gst/gstreamer-sections.txt:
1209 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1210 as it's too easy to break the ISO C strict aliasing rules with simple
1211 casts to the corresponding type and this would introduce hard to debug
1212 bugs. Fixes bug #545714.
1214 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1216 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1218 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1219 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1220 Add 'Since' bits to gtk-doc chunks for new API.
1222 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1224 * docs/gst/gstreamer-sections.txt:
1227 2008-10-06 Andy Wingo <wingo@pobox.com>
1229 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1230 that will be called on the malloc_data to free it. Basically a way
1231 to avoid subclassing when all you need is a different free
1232 function, i.e. free() instead of g_free().
1234 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1235 calling the free function.
1236 (gst_buffer_init): Initialize the free function to g_free.
1238 2008-10-06 Andy Wingo <wingo@pobox.com>
1240 * gst/gstghostpad.h:
1241 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1242 finishes the initialization of ghost pad. Useful for language
1243 bindings and subclassers of GstGhostPad. Fixes #539108.
1244 (gst_ghost_pad_new_full): Use the new constructor.
1246 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1248 Base on Patch by: Olivier Crete <tester at tester dot ca>
1250 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1251 (gst_bin_remove_func), (update_degree),
1252 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1253 Keep track of pads that are being linked/unlinked and resync the state
1256 * gst/gstpad.c: (gst_pad_get_direction),
1257 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1258 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1259 (gst_pad_link_prepare), (gst_pad_link),
1260 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1261 (gst_pad_check_pull_range), (gst_pad_get_range),
1262 (gst_pad_pull_range):
1263 Some code cleanups, use macros to check pad direction.
1264 Don't need to take the lock on the pad direction.
1265 Post structure change when pads are linked/unlinked.
1266 Change some checks into _return_if_fail().
1268 * tests/check/gst/gstbin.c:
1269 (test_link_structure_change_state_changed_sync_cb),
1270 (GST_START_TEST), (gst_bin_suite):
1271 Add testcase for pad link/unlinke resync during a state change.
1274 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1276 * docs/gst/gstreamer-sections.txt:
1277 * gst/gstmessage.c: (gst_message_new_structure_change),
1278 (gst_message_parse_structure_change):
1280 Implement STRUCTURE_CHANGED messages. These messages will be used to
1281 signal the parent bin of link/unlink operations that could require a
1282 resync when doing a state change. See ##510354.
1283 API: gst_message_new_structure_change()
1284 API: gst_message_parse_structure_change()
1286 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1290 Add some more quarks for new message. See #510354.
1292 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1294 * docs/libs/gstreamer-libs-docs.sgml:
1295 * docs/libs/gstreamer-libs-sections.txt:
1296 * libs/gst/base/Makefile.am:
1297 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1298 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1299 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1300 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1301 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1302 (gst_bit_reader_skip_to_byte):
1303 * libs/gst/base/gstbitreader.h:
1304 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1305 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1306 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1307 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1308 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1309 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1310 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1311 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1312 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1313 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1314 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1315 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1316 * libs/gst/base/gstbytereader.h:
1317 * tests/check/Makefile.am:
1318 * tests/check/libs/bitreader.c: (GST_START_TEST),
1319 (gst_bit_reader_suite):
1320 * tests/check/libs/bytereader.c: (GST_START_TEST),
1321 (gst_byte_reader_suite):
1322 API: Add bit reader and byte reader classes, including documentation
1323 and an extensive unit test suite. Fixes bug #553554.
1325 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1327 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1328 (gst_base_sink_query):
1329 Improve position reporting while flushing and other intermediate state
1330 changes. Fixes #553874.
1332 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1334 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1336 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1337 Original patch by : Simon Descaries
1338 Fix small refount leak in caps compatibility check.
1341 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1343 * docs/pwg/advanced-request.xml:
1344 Fix 0.8 api usage in example. Fixes #554561
1346 * docs/pwg/appendix-porting.xml:
1347 Change 0.9 to 0.10 here.
1349 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1351 * docs/manual/basics-data.xml:
1352 Change "event-event interaction" to "element-element interaction".
1353 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1356 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1359 Back to development -> 0.10.21.1
1361 === release 0.10.21 ===
1363 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1366 releasing 0.10.21, "Take These Things From Me"
1368 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1371 0.10.20.4 pre-release
1373 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1375 * libs/gst/base/gstbasetransform.c:
1376 * plugins/elements/gstcapsfilter.c:
1377 * tests/check/Makefile.am:
1378 * tests/check/elements/.cvsignore:
1379 * tests/check/elements/capsfilter.c:
1380 Fix assertion in basetransform when the subclass chooses not to
1381 allocate a buffer in prepare_buffer(), and make capsfilter error out
1382 cleanly if requested to apply caps that don't completely specify the
1383 buffer. Fixes #551509
1385 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1387 * libs/gst/base/gstbasetransform.c:
1388 (gst_base_transform_prepare_output_buffer):
1389 Take new caps ref because our old one might have been gone when the
1390 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1392 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1395 Do not probe availability of check unit test library when cross
1396 compiling, as test would not work anyway. Also cleanup verbose output
1397 of the check test. Fixes #551952.
1399 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1401 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1403 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1404 Avoid leaking the parent ref when we fail changing the state of the
1405 element using gst_element_sync_state_with_parent(). Fixes #551978.
1407 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1409 * docs/manual/intro-motivation.xml::
1410 Remove some bits that no longer apply, update others (#551642).
1412 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1415 0.10.20.2 pre-release
1423 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1425 * win32/common/config.h.in:
1426 Add GST_DATADIR, hard-code cpu to x86.
1428 * win32/common/libgstreamer.def:
1431 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1434 Fix Since: markers for new geo tags.
1436 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1439 Fix actual tag name define after renaming from altitude to elevation.
1441 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1443 * gst/gstpad.c: (add_unref_pad_to_list),
1444 (gst_pad_get_internal_links_default):
1445 Add fallback when calling the deprecated function on an element that
1446 implements the new internal_link handler.
1448 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1450 * docs/gst/gstreamer-sections.txt:
1453 Add new tags for geo location and clarify purpose of existing location
1456 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1458 Patch by: Olivier Crete <tester at tester dot ca>
1460 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1461 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1462 Use thread-safe internal links iterator. Fixes #549504.
1464 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1466 Based on patch by: Olivier Crete <tester at tester dot ca>
1468 * docs/gst/gstreamer-sections.txt:
1469 * win32/common/libgstreamer.def:
1470 * gst/gstpad.c: (gst_pad_init),
1471 (gst_pad_set_iterate_internal_links_function),
1472 (int_link_iter_data_free), (iterate_pad),
1473 (gst_pad_iterate_internal_links_default),
1474 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1476 Add threadsafe replacement functions for getting internal links of an
1477 element. Deprecate the old internal links functions.
1478 API:GstPad::gst_pad_set_iterate_internal_links_function()
1479 API:GstPad::GstPadIterIntLinkFunction
1480 API:GstPad::gst_pad_iterate_internal_links()
1481 API:GstPad::gst_pad_iterate_internal_links_default()
1483 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1484 (gst_proxy_pad_init):
1485 Implement threadsafe internal links.
1487 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1488 Unit test for internal links on tee. See #549504.
1490 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1492 * tests/check/Makefile.am:
1493 libs/transform1 test requires libs/test_transform.c
1495 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1497 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1498 Die evil deadlock, die !
1500 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1502 * gst/gstutils.c: (gst_element_get_compatible_pad):
1503 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1504 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1505 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1506 not steal the refcount of the given caps as stated.
1508 REVERT THIS COMMIT ONCE FIXED !
1509 REVERT THIS COMMIT ONCE FIXED !
1510 REVERT THIS COMMIT ONCE FIXED !
1511 REVERT THIS COMMIT ONCE FIXED !
1512 REVERT THIS COMMIT ONCE FIXED !
1513 REVERT THIS COMMIT ONCE FIXED !
1515 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1517 * gst/gstiterator.c:
1518 * gst/gstiterator.h:
1519 After 3 years it's about time to revise the documentation of the
1522 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1524 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1525 Make the internal links function less thread-unsafe and add some
1526 comments, dunno why.
1528 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1530 * gst/gst_private.h:
1531 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1532 build with --disable-gst-debug.
1534 2008-08-28 David Schleef <ds@schleef.org>
1536 * gst/gstpadtemplate.c: Revert last change, since it breaks
1537 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1538 but shouldn't be enabled until we've released fixed versions
1539 of -good and -ffmpeg.
1541 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1544 Put the gst_object_get_name() back in.
1546 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1548 * gst/gstpadtemplate.c:
1549 The old behaviour was that gst_pad_template_new() takes ownership of
1550 the caps. As we now call g_object_new() which calls g_object_set() and
1551 which copies the caps, we have to unref them to not leak them. Fixes
1552 make valgrid for me.
1554 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1557 Don't segfault on input like "tel:+1-123-555-1234".
1559 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1562 Due to popular request also include ObjectType in
1563 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1565 2008-08-26 David Schleef <ds@schleef.org>
1567 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1568 src_val must be positive, because that's not a requirement.
1569 This causes problems with converting negative granulepos
1571 * gst/gstquery.c: Same, gst_query_new_convert().
1573 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1575 * gst/gstclock.c: (gst_clock_add_observation):
1576 Add some more debugging to the clock slaving code.
1578 * win32/common/libgstbase.def:
1579 Add new basetransform method.
1581 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1583 * gst/gstbin.c: (gst_bin_element_set_state):
1584 Take the (recursive) state lock between getting the locked state of an
1585 element and changing the element state. This allows the application to
1586 lock an element's state and then change its state without races.
1588 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1590 * gst/gstbin.c: (gst_bin_element_set_state):
1591 When an element is in the locked state we still want to update the
1592 base_time of the element.
1594 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1596 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1597 Use the result from gst_pad_set_caps() instead of assuming the element
1598 always accepted the caps computed by the default negotiate function.
1600 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1602 * docs/libs/gstreamer-libs-sections.txt:
1603 * libs/gst/base/gstbasetransform.c:
1604 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1605 (gst_base_transform_chain), (gst_base_transform_suggest),
1606 (gst_base_transform_reconfigure):
1607 * libs/gst/base/gstbasetransform.h:
1608 Implement method for reconfiguring basetransform.
1609 API: GstBaseTransform::gst_base_transform_reconfigure()
1611 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1613 patch by: Murray Cumming <murrayc@murrayc.com>
1616 Mention that this is just like gst_buffer_merge() but with extra
1617 unreffing for C coders. Advise language bindings not to wrap it.
1620 Also fix file comment.
1622 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1624 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1626 * plugins/elements/gstfakesink.c:
1627 * plugins/elements/gstfakesrc.c:
1628 Call super::event() when not handling it. Fixes #544855.
1630 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1632 Patch by: Alessandro Decina <alessandro@nnva.org>
1633 * plugins/elements/gstfilesrc.c:
1634 Use 64 bit variants of stat functions on win32, to enable support
1635 of large files there.
1638 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1640 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1641 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1642 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1643 (gst_base_sink_get_position), (gst_base_sink_change_state):
1644 Improve position reporting in the flushing state.
1645 Also report the position when we are not yet prerolled but we
1646 have a newsegment event. Fixes #543444.
1647 Improve the pull-based negotiation code.
1649 * tests/check/elements/fakesink.c: (GST_START_TEST),
1651 Add testcase for position reporting while flushing in PAUSED and
1654 * tests/check/generic/sinks.c: (GST_START_TEST):
1655 Update unit-test, we can now query the position as soon as we receive a
1658 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1660 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1662 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1663 When the subclass event handler releases the PREROLL_LOCK, we could be
1664 in the flushing state and we have to ignore the event. Fixes #548394.
1666 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1668 * tools/gst-launch.1.in:
1669 Document GST_REGISTRY_UPDATE environment variable.
1671 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1673 * libs/gst/base/gstbasetransform.c:
1674 (gst_base_transform_prepare_output_buffer):
1675 If the element is configured in passthrough mode but the
1676 prepare_output_buffer gave us a new output buffer, discard that buffer
1677 and reuse the input buffer.
1679 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1681 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1683 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1684 (gst_tee_request_new_pad), (gst_tee_release_pad),
1685 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1686 * plugins/elements/gsttee.h:
1687 Protect pad_alloc with a new lock so that we can be sure that nothing is
1688 performing a pad_alloc when removing the pad. Fixes #547835.
1690 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1691 (buffer_alloc_harness_teardown), (app_thread_func),
1692 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1693 Added testcase for shutdown race.
1695 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1700 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1702 * libs/gst/base/gstbasetransform.c:
1703 (gst_base_transform_prepare_output_buffer),
1704 (gst_base_transform_buffer_alloc):
1705 Go over the buffer_alloc function again and make sure we always end up
1706 allocating a buffer.
1708 Avoid doing pad alloc when we have a pending suggestion because we
1709 cannot yet deal with changing caps in that case. Fixes #547728
1711 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1713 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1715 * docs/manual/advanced-clocks.xml:
1716 * docs/manual/clocks.png:
1717 * docs/manual/diagrams-clocks.svg:
1718 Add one more image showing different times together with a describing
1719 paragraph. Fixes #547729.
1721 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1723 * win32/common/libgstbase.def:
1726 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1728 * libs/gst/base/gstbasetransform.c:
1729 (gst_base_transform_transform_caps),
1730 (gst_base_transform_prepare_output_buffer),
1731 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1732 Don't overwrite the outsize when calculating the expected size of a new
1733 buffer because we still need it in case we cannot process the new
1735 When converting the size of the new buffer to an upstream size, actually
1736 use the expected size of the buffer, not some other random value.
1737 Use an atomic int to signal that a new upstream caps suggestion is
1739 When we can convert the current buffer to a new format, check if the
1740 buffer size is of the expected size and allocate a new buffer of the
1741 expected size when this is not the case. Fixes #546883.
1743 * tests/check/libs/transform1.c: (GST_START_TEST):
1744 remove ifdeffed code from the unit test.
1746 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1748 * pkgconfig/gstreamer-uninstalled.pc.in:
1749 * pkgconfig/gstreamer.pc.in:
1750 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1751 called gstcontroller-0.10.
1753 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1755 * gst/gstchildproxy.h:
1757 Remove double interface from doc-string.
1759 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1761 * libs/gst/base/gstbasesrc.c:
1762 * libs/gst/base/gstbasetransform.c:
1763 Fix headings in docs and gtk-doc warnings.
1765 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1767 * gst/gstregistrybinary.c:
1768 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1772 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1774 * libs/gst/base/gstbasetransform.c:
1775 (gst_base_transform_buffer_alloc):
1776 Fix a "may be used unitialized" warning.
1778 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1780 * docs/gst/gstreamer-sections.txt:
1782 Document preset-iface vmethods.
1784 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1786 * docs/manual/advanced-interfaces.xml:
1787 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1788 only used to discover devices.
1790 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1792 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1794 * gst/gst.c: (init_pre):
1795 Make sure gettext returns translations in UTF-8 encoding rather
1796 than in the current locale encoding (#546822).
1798 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1800 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1803 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1804 Improve unit test subset tests and add a testcase for the subset failure
1807 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1808 Improve subtraction unit test.
1810 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1812 * plugins/elements/gsttee.c:
1813 Unlock, instead of locking again.
1815 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1818 Clarify the docs a bit more.
1820 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1822 * tests/examples/metadata/read-metadata.c:
1823 Don't leak old taglist.
1825 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1827 Patch by: Olivier Crete <tester at tester dot ca>
1829 * gst/gststructure.c:
1830 (gst_structure_fixate_field_nearest_fraction):
1831 Avoid overflows in fixation code when dealing with MAXINT values, which
1832 v4l2src seems to do.
1835 * tests/check/gst/gststructure.c: (GST_START_TEST):
1836 Make a unit test to check the fix.
1838 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1840 * plugins/elements/gstcapsfilter.c: (copy_func),
1841 (gst_capsfilter_set_property):
1842 Use new caps suggestion feature of basetransform to request a caps
1843 negotiation upstream.
1845 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1847 * docs/libs/gstreamer-libs-sections.txt:
1849 API: GstBaseTransform::gst_base_transform_suggest()
1851 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1852 (gst_base_transform_init), (gst_base_transform_transform_caps),
1853 (gst_base_transform_transform_size),
1854 (gst_base_transform_configure_caps),
1855 (gst_base_transform_can_transform),
1856 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1857 (gst_base_transform_prepare_output_buffer),
1858 (gst_base_transform_buffer_alloc),
1859 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1860 (gst_base_transform_chain), (gst_base_transform_activate),
1861 (gst_base_transform_set_passthrough),
1862 (gst_base_transform_is_passthrough),
1863 (gst_base_transform_set_in_place),
1864 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1865 (gst_base_transform_set_qos_enabled),
1866 (gst_base_transform_is_qos_enabled),
1867 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1868 (gst_base_transform_reconfigure):
1869 * libs/gst/base/gstbasetransform.h:
1870 Rewrite of basetransform to perform negotiation outside of the
1871 buffer_alloc functions. Fixes #545853.
1873 * tests/check/libs/transform1.c: (GST_START_TEST),
1877 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1879 * tests/check/gst/gstpreset.c:
1880 Only run preset tests when $HOME is writable. Preliminary fix for
1883 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1885 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1886 (gst_bin_change_state_func), (bin_handle_async_done),
1887 (gst_bin_handle_message_func):
1888 Fix race for bins that simulate ASYNC state changes by inserting
1889 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1890 pending ASYNC messages even when the bin does not have ASYNC children.
1891 We note detect this behaviour because we will receive an ASYNC message
1892 that is originating from the bin itself.
1893 Fixes races with decodebin2 state changes.
1895 * tests/check/gst/gstbin.c: (GST_START_TEST):
1896 Add some more debug.
1898 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1900 * gst/gsttaglist.c: (_gst_tag_initialize):
1903 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1906 Argh. actually save the text before committing. Now adds
1907 gst_tag_merge_strings_with_comma() to gst_tag_register().
1909 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1913 Do as tim pointed out and actually register the new tag. Also improve
1914 te docs and use gst_tag_merge_strings_with_comma() method to allow
1915 retriving all keywords merged in one list.
1917 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1920 * docs/gst/gstreamer.types:
1921 Revert 'accidential' change of the configure option removal. We still
1922 need to generate the types file in configure --disable-load-save.
1924 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1926 * docs/gst/gstreamer-sections.txt:
1928 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1930 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1932 * gst/gstpadtemplate.c:
1933 (gst_pad_template_class_init), (gst_static_pad_template_get),
1934 (gst_pad_template_new), (gst_pad_template_pad_created),
1935 (gst_pad_template_set_property), (gst_pad_template_get_property):
1936 Add "name-template", "direction", "presence" and "caps" properties,
1937 so that gst_pad_template_new() is just a thin wrapper around
1938 g_object_new(), which is better for bindings. (Fixes: #539772)
1940 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1943 Be more liberal in what URIs we accept.
1944 Do not unescape bits of the URI for no apparent reason before passing to
1945 the element. Fixes #545352.
1947 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1949 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1952 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1954 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1957 * docs/gst/gstreamer-sections.txt:
1958 * docs/gst/gstreamer.types:
1959 * docs/gst/gstreamer.types.in:
1962 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1963 * gst/gstconfig.h.in:
1964 * gst/gstelement.c: (gst_element_get_index):
1965 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1966 (gst_registry_binary_load_feature),
1967 (gst_registry_binary_read_cache):
1968 * gst/gstregistryxml.c: (load_feature),
1969 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1970 * plugins/Makefile.am:
1972 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1973 (print_plugin_features), (print_element_features):
1974 * tools/gst-xmlinspect.c: (print_event_masks),
1975 (print_element_info):
1976 * win32/common/gstconfig.h:
1977 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1979 Disabling the indexers and URI handler code will only reduce the
1980 required amount of memory by a very small amount but on the other hand
1981 requires much more maintaince work. Apart from that many places of
1982 code are broken when disabling them.
1984 Disabling the enum types doesn't reduce the required amount of memory
1985 by more than a few bytes and makes it hard to fix bugs like #539772,
1986 i.e. use the enums as GObject properties.
1988 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1990 * docs/design/part-TODO.txt:
1991 Add some thoughts and problems with upstream renegotiation.
1993 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1995 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1996 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1997 Remove silly redundant debug.
1998 Add some more debug info.
1999 Clarify the docs regarding new caps received from pad_alloc.
2001 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2003 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
2004 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
2005 Make setting the caps more threadsafe.
2007 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2009 * docs/design/part-element-transform.txt:
2012 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2014 * plugins/elements/gstqueue.c: (gst_queue_init),
2015 (gst_queue_acceptcaps):
2016 Add and use a custom acceptcaps function instead of falling back to the
2017 potentially less optimized default implementation.
2019 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
2021 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2022 Only sanity-check the buffer size if requested_caps == buffer_caps
2023 (ie. don't take pad caps into account, they're not relevant here)
2025 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2027 * plugins/elements/gsttee.c:
2028 * plugins/elements/gsttee.h:
2029 Reverting as not everything is clear yet. Needs some general design
2032 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2035 ChangeLog surgery for tee commit.
2037 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2039 * docs/gst/gstreamer-sections.txt:
2040 Cleanup section-file.
2042 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2044 * plugins/elements/gsttee.c:
2045 * plugins/elements/gsttee.h:
2046 Relay tag events in tee. Fixes parts of #474016.
2047 Downgrades 3 reoccurring debugs to log.
2049 2008-07-28 Michael Smith <msmith@songbirdnest.com>
2052 * libs/gst/Makefile.am:
2053 Build the net library if we have winsock2.
2055 2008-07-26 Stefan Kost <ensonic@users.sf.net>
2057 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2059 * docs/manual/advanced-threads.xml:
2060 * docs/manual/diagrams-pipelines.svg:
2061 * docs/manual/hello-world.png:
2062 * docs/manual/linked-elements.png:
2063 * docs/manual/mime-world.png:
2064 * docs/manual/queue.png:
2065 * docs/manual/thread-buffering.png:
2066 * docs/manual/thread-synchronizing.png:
2067 Replace one diagram with two separate ones and updates others.
2070 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
2073 Fix link in documentation.
2075 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2078 Fix confusing documentation.
2080 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2082 * libs/gst/base/gstbasesrc.h:
2083 revert the changes to the header file for the ABI.
2085 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2087 * libs/gst/base/gstbasesrc.c:
2088 * libs/gst/base/gstbasesrc.h:
2089 Don't cache the seekable status.
2092 2008-07-24 Rene Stadler <mail@renestadler.de>
2094 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2095 code to close the pipeline graph. This prevents the program from
2096 printing internal data flow errors.
2098 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2100 * docs/manual/basics-bus.xml:
2101 Correct typo. Fixes bug #544320.
2103 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2106 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2107 Add check (taken from -base) for winsock, adds WIN32_LIBS
2109 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2111 Define GST_EXPORTS when building libgstreamer (only used on win32)
2112 * gst/gst_private.h:
2114 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2115 for symbols that we need to export in both these files.
2117 Include gst_private.h higher up to avoid some compile problems on win32.
2119 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2124 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2127 Previous commit was wrong NULL caps does not exist
2128 and indicate an error, so also add a FIXME to
2129 gst_caps_is_equal where NULL caps are accepted.
2131 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2134 Allow passing of NULL to gst_caps_union
2136 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2138 * gst/gstghostpad.c:
2139 Add in doc that gst_ghost_pad_set_target can accept
2140 NULL to clear target
2142 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2145 * gst/gstregistry.c:
2146 GstRegistryPool doesn't exist; don't refer to it in docs.
2147 Don't refer to functions that don't exist in docs, it's
2150 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2153 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2155 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2157 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2159 * docs/pwg/building-testapp.xml:
2160 Don't use an undeclared variable in the example program.
2163 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2165 * gst/gstdebugutils.c:
2166 Squeeze ghost-pad links and remove <> from classname labels to save
2167 more horizontal space.
2169 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2171 * gst/gstdebugutils.c:
2172 Give request and sometimes pads a different shpe style. Condense the
2173 graphs a little more.
2175 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2178 Don't require flex and bison if the parser is disabled.
2180 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2182 * libs/gst/controller/gstinterpolationcontrolsource.c:
2183 (_list_find_sorted_custom):
2184 Don't use declarations after statements.
2186 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2188 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2189 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2190 of the the child-added / -removed signals as GstChildProxy
2191 only supports GstObjects.
2193 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2195 * gst/gstdebugutils.c:
2198 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2200 Patch by: Alessandro Decina <alessandro at nnva dot org>
2203 Fix "ignored return value" compiler warning with newer glibc.
2205 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2207 * gst/gstchildproxy.c:
2208 Fix copy&paste error in gst_child_proxy_removed() documentation.
2210 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2212 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2213 Print error debug message if plugin description fields that should
2216 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2217 Don't crash if the string to serialise is NULL (it really should
2218 not be, but apparently this used to work with the xml registry ...).
2220 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2222 * tools/gst-plot-timeline.py:
2223 Fix parsing of log messages
2225 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2227 * win32/common/libgstbase.def::
2228 Sort alphabetically so make check-exports doesn't barf.
2230 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2233 Use gst_format_get_name() to improve debug output.
2236 Remove #ifdef'ed code. Add TODO comment.
2239 Add debug output to ease spotting format != segment.format assertions.
2241 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2243 * tests/check/libs/gdp.c: (gst_dp_suite):
2244 Also enable the GDP unit test again on PPC now that the bug
2247 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2249 * libs/gst/dataprotocol/dataprotocol.c:
2250 Don't write to the same region of memory as a uint64 and uint16
2251 as this breaks strict aliasing rules and apparantly breaks on PPC
2252 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2254 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2256 * libs/gst/controller/gstinterpolationcontrolsource.c:
2257 Optimize list handling. Use own find function. Exploit that fact that
2258 the list is sorted. Also pass back the node before, so that we can
2259 insert quickly. Have a fast path for append.
2261 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2263 * docs/design/draft-framestep.txt:
2264 * docs/design/part-negotiation.txt:
2267 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2270 Show configuration sumary after configure run. Based on patch by
2271 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2273 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2275 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2277 * docs/manual/advanced-autoplugging.xml:
2278 * docs/manual/advanced-threads.xml:
2279 * docs/manual/basics-bins.xml:
2280 * docs/manual/basics-elements.xml:
2281 * docs/manual/basics-helloworld.xml:
2282 * docs/manual/basics-pads.xml:
2283 Add scale factor for pdf output.
2285 * docs/manual/intro-basics.xml:
2286 Switched sections "pads" and "bins" and added a pipeline diagram.
2288 * docs/manual/intro-gstreamer.xml:
2289 Added more info on gstreamer.
2291 * docs/manual/intro-motivation.xml:
2292 Commented out the whole section "current problem", which sounds
2293 historical and somehow osolete; it could be turned in a positive
2294 way and reused to improve the design principles.
2296 * docs/manual/intro-preface.xml:
2297 - Update URLs to library.gnome.org.
2298 - Do not mention GTK+ in preliminary reading (irrelevant).
2299 - Mention Plugin Writer's Manual and further reading only in the
2301 - Added a list of most relevant GObject/glib topics.
2303 * docs/manual/Makefile.am:
2304 * docs/manual/bin-element-ghost.fig:
2305 * docs/manual/bin-element-ghost.png:
2306 * docs/manual/bin-element-noghost.fig:
2307 * docs/manual/bin-element-noghost.png:
2308 * docs/manual/bin-element.fig:
2309 * docs/manual/bin-element.png:
2310 * docs/manual/filter-element-multi.fig:
2311 * docs/manual/filter-element-multi.png:
2312 * docs/manual/filter-element.fig:
2313 * docs/manual/filter-element.png:
2314 * docs/manual/gstreamer-overview.png:
2315 * docs/manual/hello-world.fig:
2316 * docs/manual/hello-world.png:
2317 * docs/manual/linked-elements.fig:
2318 * docs/manual/linked-elements.png:
2319 * docs/manual/mime-world.fig:
2320 * docs/manual/mime-world.png:
2321 * docs/manual/queue.fig:
2322 * docs/manual/queue.png:
2323 * docs/manual/simple-player.png:
2324 * docs/manual/sink-element.fig:
2325 * docs/manual/sink-element.png:
2326 * docs/manual/src-element.fig:
2327 * docs/manual/src-element.png:
2328 * docs/manual/diagrams-general.svg:
2329 * docs/manual/diagrams-pipelines.svg:
2330 Removed .fig, added .png counterpart.
2334 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2336 * plugins/elements/gstmultiqueue.c:
2337 * plugins/elements/gstmultiqueue.h:
2338 revert extra-size-buffers stuff, caused some race conditions
2339 and extra-size-buffers is not used anymore. Docs needs some updates
2341 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2343 * win32/common/config.h:
2344 * win32/common/gstenumtypes.c:
2345 * win32/common/gstenumtypes.h:
2346 * win32/common/gstversion.h:
2349 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2351 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2352 (GST_DEBUG_BIN_TO_DOT_FILE):
2353 Add missing Since' markers to gtk-doc blurbs.
2355 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2357 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2358 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2359 (set_caps_1), (set_caps_ct1), (transform_ct1),
2360 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2361 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2362 (transform_size_ct2), (buffer_alloc_ct2):
2363 Add some more tests with switching caps in buffer_alloc.
2365 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2367 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2368 (gst_test_trans_class_init), (result_sink_chain),
2369 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2370 (gst_test_trans_push), (gst_test_trans_pop):
2371 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2372 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2373 (set_caps_1), (set_caps_ct1), (transform_ct1),
2374 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2375 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2376 (transform_size_ct2), (buffer_alloc_ct2),
2377 (gst_basetransform_suite):
2378 More tests, prepare for tests with switching caps in buffer_alloc.
2380 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2382 * plugins/elements/gstmultiqueue.c:
2383 * plugins/elements/gstmultiqueue.h:
2384 Fix dead-lock in underrun_cb
2386 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2388 * docs/design/part-states.txt:
2389 Fix device open/close docs.
2391 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2394 Mention bugnumber for last commit.
2396 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2398 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2400 * docs/manual/manual.xml:
2401 - Reorganised the previous "introduction" bundle into Foreword,
2402 Introduction, and About GStreamer. The two first are <preface>
2403 docbook elements. The later is the first part of the book.
2404 - added intro-gstreamer.xml (content partially from
2406 - moved appendix-win32.xml into appendix-integration.xml
2408 * docs/manual/intro-preface.xml: gstreamer section moved...
2409 * docs/manual/intro-gstreamer.xml: ...here. new file.
2411 * docs/manual/appendix-win32.xml: removed file. Content moved...
2412 * docs/manual/appendix-integration.xml: ...here.
2414 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2415 * docs/manual/appendix-checklist.xml: ...here.
2419 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2421 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2423 * docs/manual/basics-helloworld.xml:
2424 * docs/manual/hello-world.fig:
2425 - Explicitely include glib.h.
2426 - Do not use global variables.
2427 - Use g_printerr() instead of g_print().
2428 - Minor formating/renaming to increase readibility.
2429 - Renamed new_pad() to on_pad_added()
2430 - Improved explenatory comments.
2431 - renamed ogg parser to ogg demuxer
2432 - Use "autoaudiosink" instead of "alsasink".
2435 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2438 Remove cvs conflict marker.
2440 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2443 Document that for plgin-docs we extraxt he short-desc from the element
2446 * docs/design/part-states.txt:
2447 Tell that devices should be closed in PAUSED -> READY.
2449 * docs/manual/README:
2450 Document how tests in the manual are handled.
2455 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2457 * gst/gstbin.c: (bin_query_latency_fold):
2458 Only care about latency min and max when the sink is actually a live
2461 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2463 * docs/design/part-block.txt:
2466 * docs/design/part-element-transform.txt:
2467 Add notes about why transform needs to know input/output sizes.
2468 Add some issues that need to be solved.
2469 Add some more use cases.
2471 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2472 (gst_test_trans_class_init), (result_sink_chain),
2473 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2474 (gst_test_trans_push), (gst_test_trans_pop):
2475 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2476 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2477 (set_caps_1), (set_caps_ct1), (transform_ct1),
2478 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2479 (gst_basetransform_suite):
2480 Add suport for different pad templates and buffer-alloc.
2481 Add more checks for caps and buffer-alloc.
2482 Add checks for proxy buffer alloc.
2483 Add unit test for copy transform.
2485 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2487 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2489 * docs/manual/appendix-integration.xml:
2490 * docs/manual/appendix-licensing.xml:
2491 * docs/manual/basics-elements.xml:
2492 * docs/manual/basics-helloworld.xml:
2493 * docs/manual/basics-pads.xml:
2494 * docs/manual/highlevel-components.xml:
2495 * docs/manual/highlevel-xml.xml:
2496 * docs/manual/intro-basics.xml:
2497 * docs/manual/intro-preface.xml:
2498 Typo and formatting fixes (#538594).
2500 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2502 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2503 Fix some memory leaks and uses of object instances that we don't
2506 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2508 * plugins/elements/gstmultiqueue.c:
2509 Add functionality to extra-size-buffers property.
2511 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2513 * plugins/elements/gstmultiqueue.c:
2514 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2515 activate the pads if they are added in STATE_NULL.
2517 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2519 * docs/libs/gstreamer-libs-sections.txt:
2521 * libs/gst/check/gstcheck.c:
2522 * libs/gst/check/gstcheck.h:
2523 API: gst_check_teardown_pad_by_name
2525 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2527 * libs/gst/check/gstcheck.c:
2528 * libs/gst/check/gstcheck.h:
2529 Also setup request pads and allow setup pads by name (#537812)
2530 API: gst_check_setup_src_pad_by_name
2531 API: gst_check_setup_sink_pad_by_name
2533 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2535 * tests/check/gst/gstbuffer.c:
2536 * tests/check/pipelines/parse-launch.c:
2537 Use HAVE_VALGRIND_H some more.
2539 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2541 * scripts/cvs-update.sh:
2542 Pass arguments to make.
2543 Run autoregen.sh if Makefile is not there.
2545 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2549 Don't assume that <valgrind/valgrind.h> exists just because
2550 the binary is there.
2552 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2554 * tests/check/Makefile.am:
2555 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2556 (gst_test_trans_class_init), (gst_test_trans_init),
2557 (gst_test_trans_set_data), (result_sink_chain),
2558 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2559 (gst_test_trans_pop):
2560 * tests/check/libs/transform1.c: (GST_START_TEST),
2561 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2562 Add some test basetransform element and the beginnings of various
2565 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2567 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2568 Increase code readability.
2569 Don't try to compare buffer offsets when ther are invalid.
2571 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2573 * docs/design/Makefile.am:
2574 Dist some more design docs.
2576 * docs/random/moving-plugins:
2577 Small addition: good plugins mustn't have functional code
2578 within assertion macros.
2580 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2582 * docs/design/draft-framestep.txt:
2583 Some ideas about a framestep API
2585 * docs/design/part-element-transform.txt:
2586 Start design and use cases for basetransform in order to get it
2589 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2592 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2593 be in UTF-8 encoding.
2595 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2598 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2600 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2602 * plugins/elements/gstcapsfilter.c:
2603 * plugins/elements/gstfakesink.c:
2604 * plugins/elements/gstfakesrc.c:
2605 * plugins/elements/gstfdsink.c:
2606 * plugins/elements/gstfdsrc.c:
2607 * plugins/elements/gstfilesink.c:
2608 * plugins/elements/gstfilesrc.c:
2609 * plugins/elements/gstidentity.c:
2610 * plugins/elements/gstmultiqueue.c:
2611 * plugins/elements/gstqueue.c:
2612 * plugins/elements/gsttee.c:
2613 * plugins/elements/gsttypefindelement.c:
2614 Remove short_description. Add basic docs for gsttypefindelement.
2615 Simplify markup for fakesrc/fdsrc.
2617 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2619 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2622 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2624 Patch by: Joel Larsson <tilljoel at gmail dot com>
2626 * docs/plugins/gstreamer-plugins.args:
2627 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2628 (gst_fd_src_init), (gst_fd_src_update_fd),
2629 (gst_fd_src_set_property), (gst_fd_src_get_property),
2630 (gst_fd_src_create):
2631 * plugins/elements/gstfdsrc.h:
2632 Add timeout property like udpsrc. Fixes #538628.
2633 Add some more docs and example pipelines.
2635 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2637 * docs/libs/gstreamer-libs-sections.txt:
2638 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2639 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2640 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2641 (gst_base_sink_do_sync):
2642 * libs/gst/base/gstbasesink.h:
2643 * win32/common/libgstbase.def:
2644 Add method to allow sinks to specify additional delay between the sync
2645 times and the actual rendering of the data.
2646 API: gst_base_sink_set_render_delay()
2647 API: gst_base_sink_get_render_delay()
2649 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2652 Bump version number back to dev -> 0.10.20.1
2654 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2656 * docs/gst/gstreamer-sections.txt:
2657 * gst/gsttaglist.c: (_gst_tag_initialize):
2659 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2662 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2664 * libs/gst/controller/gstcontroller.c:
2665 Revert one change, that make ret value possible uninitialized.
2667 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2669 * libs/gst/controller/gstcontroller.c:
2670 Use freeze/thaw notify to sync notify emission a bit (its also more
2671 efficient). Move debug output to LOG (is called a lot in a loop).
2672 Always unset g_values if the have been initialized.
2674 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2676 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2677 (gst_base_sink_wait_eos), (gst_base_sink_event):
2678 If we have not seen a buffer before EOS, use the segment values to
2679 report the current position instead of invalid positions.
2681 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2683 * docs/plugins/tmpl/.cvsignore:
2684 * tests/check/gst/.cvsignore:
2687 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2689 * libs/gst/controller/gstinterpolation.c:
2690 * libs/gst/controller/gstinterpolationcontrolsource.c:
2691 * tests/check/libs/controller.c:
2692 Rewrite handling of default values. Fix overflow with unsigned types
2693 in linear interpolation. Remove now obsolete _first_value() function.
2694 Add more tests. Fixes #538201.
2696 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2698 * libs/gst/base/gstbasetransform.c:
2699 (gst_base_transform_class_init), (gst_base_transform_init),
2700 (gst_base_transform_transform_caps),
2701 (gst_base_transform_prepare_output_buffer):
2703 When a buffer is writable, its metadata is also writable so we don't
2704 need to subbuffer (which then makes the buffer not-writable anymore).
2706 === release 0.10.20 ===
2708 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2711 releasing 0.10.20, "You Crazy Diamond"
2713 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2716 0.10.19.3 pre-release
2718 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2722 Rename DATADIR to GST_DATADIR to avoid build problems
2723 on win32. Patch By: David Schleef <ds@schleef.org>
2726 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2729 Explicitely link with -ldl if dladdr() is found there. Before it was
2730 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2731 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2733 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2735 * gst/gsterror.c: (_gst_stream_errors_init):
2736 Fix typo (spotted by Fabricio Godoy, #536723).
2738 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2741 0.10.19.2 pre-release
2743 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2745 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2746 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2748 Make sure we don't generate invalid QoS messages.
2750 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2752 * gst/gstevent.c: (gst_event_new_qos):
2753 Add some assert and docs for invalid input to the qos function.
2755 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2757 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2758 (gst_base_sink_get_position):
2759 The reported position must always be smaller than the last seen
2760 timestamps (or timestamp + duration for reverse).
2762 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2764 Patch by: Rob Bradford <rob at robster dot org dot uk>
2766 * gst/gstregistry.c: (gst_registry_scan_path_level):
2767 Don't recurse into .debug directories as some distros install
2768 the debugging symbols next to the plugins in .debug directories
2769 and dlopen() crashes on them sometimes. Fixes bug #508070.
2771 Add FIXME for 0.11 to not recurse into directories at all because
2772 it's very inconsistent to the behaviour of other PATH environment
2775 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2777 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2778 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2779 Fix position query range checks in reverse playback.
2781 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2785 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2786 clear of the reference to the resulting pad must be released later
2787 or not, resulting in possible leaks. Fixes bug #533865.
2789 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2791 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2793 * gst/gstelementfactory.c:
2794 Small doc fix. Fixes #535285.
2796 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2798 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2800 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2801 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2802 (gst_base_src_loop), (gst_base_src_set_flushing),
2803 (gst_base_src_change_state):
2804 Make sending an EOS event to the basesrc non-blocking even if the
2805 implementation does blocking waits in the create function. This is done
2806 by unlocking the create function when EOS is sent.
2809 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2811 * tools/gst-inspect.c: (print_element_properties_info):
2812 If possible print the element type of GValueArray properties.
2814 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2816 * gst/gstiterator.c:
2817 Remove an unused field from the private GstListIterator struct.
2819 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2821 * libs/gst/controller/gstcontroller.c:
2822 Add parameter guards.
2824 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2826 * tests/check/gst/gstpipeline.c:
2827 Revert test change and add comment why it should not work.
2829 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2831 * tests/check/gst/gstpipeline.c:
2832 Extending the test a little to verify that we also get the NULL state-
2835 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2837 * gst/gstpreset.c: (gst_preset_default_get_meta),
2838 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2839 (gst_preset_load_preset), (gst_preset_save_preset),
2840 (gst_preset_rename_preset), (gst_preset_delete_preset),
2841 (gst_preset_set_meta):
2842 Add Since: markers to docs blurbs.
2844 * win32/common/libgstreamer.def:
2845 Add recently-added API.
2847 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2849 Patch by: Stefan Kost <ensonic@users.sf.net>
2852 Add DATADIR for storing presets.
2854 * docs/gst/gstreamer-docs.sgml:
2855 * docs/gst/gstreamer-sections.txt:
2856 * docs/gst/gstreamer.types.in:
2857 Add GstPreset to docs.
2861 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2862 (preset_open_and_parse_header), (preset_parse_version),
2863 (preset_merge), (preset_get_keyfile),
2864 (gst_preset_default_get_preset_names),
2865 (gst_preset_default_get_property_names),
2866 (gst_preset_default_load_preset),
2867 (gst_preset_default_save_presets_file),
2868 (gst_preset_default_save_preset),
2869 (gst_preset_default_rename_preset),
2870 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2871 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2872 (gst_preset_default_reset), (gst_preset_get_preset_names),
2873 (gst_preset_get_property_names), (gst_preset_load_preset),
2874 (gst_preset_save_preset), (gst_preset_rename_preset),
2875 (gst_preset_delete_preset), (gst_preset_set_meta),
2876 (gst_preset_get_meta), (gst_preset_class_init),
2877 (gst_preset_base_init), (gst_preset_get_type):
2879 Add GstPreset to core. Fixes #396779
2881 * tests/check/Makefile.am:
2882 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2883 (gst_preset_test_set_property), (gst_preset_test_class_init),
2884 (gst_preset_test_base_init), (gst_preset_test_get_type),
2885 (gst_preset_test_plugin_init), (GST_START_TEST),
2886 (remove_preset_file), (test_setup), (test_teardown),
2888 Add GstPreset unit tests.
2890 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2892 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2893 The default event function on a sinkpad should return TRUE when
2894 there are no internal links but should collect the return values from
2895 the internal links otherwise.
2897 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2899 * plugins/elements/gsttypefindelement.c:
2900 (gst_type_find_element_src_event),
2901 (gst_type_find_element_handle_event):
2902 Use faster and safer _pad_push_event().
2904 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2906 * docs/gst/gstreamer-sections.txt:
2907 * gst/gstutils.c: (element_find_unlinked_pad),
2908 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2910 API: add gst_bin_find_unlinked_pad()
2911 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2913 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2919 Fixed a bunch of typos.
2921 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2924 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2925 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2926 (gst_parse_bin_from_description_full):
2928 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2930 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2932 * docs/pwg/advanced-tagging.xml:
2933 Small docs update, can't be bothered to rewrite the nonsensical
2936 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2939 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2941 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2943 * gst/parse/grammar.y:
2944 Remove unneeded casts.
2946 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2948 * gst/parse/grammar.y:
2949 * tests/check/pipelines/parse-launch.c:
2950 Get all missing elements from a parse launch string if possible
2951 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2953 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2955 * tests/check/Makefile.am:
2956 * tests/check/pipelines/parse-launch.c:
2957 Add some unit tests for the new gst_parse_launch*_full() API.
2958 (Exposes a previously-existing memory leak in the error code
2959 path, so adding to VALGRIND_TO_FIX for now).
2961 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2963 * docs/gst/gstreamer-sections.txt:
2964 * gst/gst.c: (init_post):
2965 * gst/gst_private.h: (_GstParseContext):
2966 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2967 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2968 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2969 (gst_parse_launch_full):
2970 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2971 (GstParseFlags), (GstParseContext):
2972 * gst/gstutils.c: (gst_parse_bin_from_description),
2973 (gst_parse_bin_from_description_full):
2975 * gst/parse/grammar.y:
2976 * gst/parse/types.h:
2977 * win32/common/libgstreamer.def:
2978 Add new gst_parse_*_full API (#528178):
2979 API: gst_parse_launch_full()
2980 API: gst_parse_launchv_full()
2981 API: gst_parse_bin_from_description_full()
2982 API: gst_parse_context_new()
2983 API: gst_parse_context_free()
2984 API: gst_parse_context_get_missing_elements()
2986 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2988 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2990 * docs/faq/gst-uninstalled:
2991 Also support ffmpeg in gst-uninstalled.
2993 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2996 After discussion on IRC use the binary registry as default
2997 but allow to disable it with --disable-binary-registry.
2999 * win32/common/libgstreamer.def:
3000 Add the two new symbols for the binary registry.
3002 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
3004 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
3005 * gst/gstutils.c: (gst_parse_bin_from_description):
3006 * gst/parse/grammar.y: (graph):
3007 More guards against bad input; typo fix; some minor clean-ups.
3009 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3011 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3013 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3014 If nothing else can be used, use the last buffer's start time as
3015 the segment's last stop. Fixes bug #534258.
3017 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
3019 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3020 Move size sanity check to the right place: downstream may return
3021 a buffer with a smaller size if the buffer caps are different than
3022 the requested ones, as may happen when doing reverse negotiation.
3024 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3026 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3027 (gst_file_sink_render):
3028 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3029 (gst_file_src_start):
3030 Small cleanups. Add note adbout g_fopen() on windows and why we don't
3033 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3035 * gst/gstpad.c: (gst_pad_load_and_link):
3036 * gst/gstutils.c: (gst_element_link_pads),
3037 (gst_element_unlink_pads):
3038 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3039 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3040 (gst_check_teardown_sink_pad),
3041 (gst_check_element_push_buffer_list):
3042 * tests/check/elements/fakesink.c: (GST_START_TEST):
3043 * tests/check/elements/filesink.c:
3044 * tests/check/elements/filesrc.c: (GST_START_TEST):
3045 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3046 (mq_sinkpad_to_srcpad):
3047 * tests/check/elements/tee.c: (GST_START_TEST):
3048 * tests/check/generic/sinks.c: (GST_START_TEST):
3049 * tests/check/gst/gstbin.c: (GST_START_TEST):
3050 * tests/check/gst/gstevent.c: (GST_START_TEST):
3051 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3052 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3053 * tests/check/gst/gstquery.c: (GST_START_TEST):
3054 * tests/check/gst/gstutils.c: (GST_START_TEST):
3055 * tests/check/libs/basesrc.c: (GST_START_TEST):
3056 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3057 (gst_parse_test_element_change_state):
3058 Don't use gst_element_get_pad().
3060 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
3063 Fix installing plugin documentation when gtk-doc is disabled.
3065 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3067 * docs/manual/advanced-autoplugging.xml:
3068 * docs/manual/basics-helloworld.xml:
3069 * docs/manual/basics-pads.xml:
3070 * docs/manual/highlevel-components.xml:
3071 Avoid using a bad function in the example code.
3073 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3075 * gst/gstclock.c: (gst_clock_set_calibration):
3076 Fix debug of the new clock rate.
3078 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3080 * win32/common/libgstbase.def:
3081 Add gst_base_sink_wait_clock() to the exported symbols.
3083 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
3085 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3087 * libs/gst/base/gstbasetransform.c:
3088 (gst_base_transform_sink_event):
3089 Unref events that the GstBaseTransform::event vfunc didn't want to
3090 have forwarded by the base class. Closes a leak in identity.
3093 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3095 * docs/libs/gstreamer-libs-sections.txt:
3096 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3097 * libs/gst/base/gstbasesink.h:
3098 Expose a method that was previously used internally to synchronize
3099 against the clock because it can be useful for subclasses too.
3100 API: GstBaseSink::gst_base_sink_wait_clock()
3102 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3104 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3105 Add sanity check to make sure we don't get smaller buffers
3106 than requested (and fallback to normal buffer alloc if we do).
3108 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3110 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3111 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3112 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3113 Refactor adjusting the running_time with latency and offset into a
3115 When doing clipping, we still want to use the subclass get_times method,
3116 just in case the DURATION or TIMESTAMP are not set.
3118 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3120 * docs/gst/gstreamer-sections.txt:
3121 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3122 * gst/gsttypefind.h:
3123 * win32/common/libgstreamer.def:
3124 API: add gst_type_find_suggest_simple(), #533740.
3126 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3128 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3129 Use right error code when typefinding fails, so we can use
3130 the default (translated) error messages.
3132 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3134 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3135 (gst_base_src_start):
3136 When the subclass did not set caps on outgoing buffers, configure the
3137 caps we negotiated on the source pad.
3138 When the typefind helper does not find caps, error out properly instead
3139 of doing things with NULL caps.
3141 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3143 * gst/gsttypefind.h:
3144 Tabs to spaces, oh yes!
3146 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3148 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3149 Add David's and Benjamin's tests for array intersection to the
3150 unit test suite (#147931).
3152 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3155 Document that gst_event_new_tag() and gst_event_new_navigation()
3156 take ownership of the taglist/structure passed to them. (#533635).
3158 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3161 Don't descend into the plugins dir if plugin docs building
3165 Add a note about the new type:GTypeName syntax for the plugin
3166 documentation .types file.
3168 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3170 * gst/gstmessage.c: (gst_message_new_error),
3171 (gst_message_new_warning), (gst_message_new_info):
3173 Mark the debug string parameters as const. Fixes bug #533490.
3175 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3177 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3178 Sort buffer cache list by end offsets. This makes sure that we don't
3179 stop to search for a cached buffer that contains the requested data
3181 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3182 more efficient. Fixes bug #459862.
3184 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3187 Explain why we copy the list.
3189 * gst/gstpipeline.c:
3193 Add one debug-log statement to help tracing probelms with linking pads.
3195 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3197 * tests/check/gst/gstinfo.c:
3198 Add a test for removing the default log handler. Seems to fail under
3201 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3203 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3204 Release pad lock before calling out to avoid a possible deadlock.
3206 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3208 * gst/parse/grammar.y:
3209 Remove unneeded value unset.
3211 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3212 Add unit test for de/serialization of caps.
3214 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3216 * plugins/elements/gstfakesink.c:
3217 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3218 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3219 (gst_fake_src_class_init):
3220 Use custom marshalers that take GstMiniObject as first parameter.
3221 Using OBJECT as parameter while a GstMiniObject is given will lead
3222 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3224 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3226 * plugins/elements/gsttypefindelement.c:
3227 (gst_type_find_element_handle_event),
3228 (gst_type_find_element_send_cached_events),
3229 (gst_type_find_element_change_state):
3230 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3233 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3235 * plugins/elements/gsttypefindelement.c:
3236 (gst_type_find_handle_src_query), (stop_typefinding),
3237 (gst_type_find_element_handle_event),
3238 (gst_type_find_element_send_cached_events),
3239 (gst_type_find_element_change_state):
3240 Forward FLUSH_START events immediately and clean up instead of
3243 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3245 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3247 * libs/gst/base/gstbasetransform.c:
3248 (gst_base_transform_buffer_alloc):
3249 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3250 fall back to default negotiation in the chain function if the caps
3251 are different from what was requested. Fixes bug #526768.
3253 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3256 * tests/check/gst/gstsegment.c:
3257 No, let's not use g_slice_{dup|copy} here, since they only exist
3258 since GLib 2.14 and we still depend only on >= 2.12. Also add
3259 unit test for gst_segment_copy().
3261 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3263 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3264 Try to fix 'dereferencing type-punned pointer will break strict
3265 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3266 changed the default GType typedef from gulong to gsize at some point,
3267 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3268 g_once_* functions all take a gsize * though, so work around the type
3269 mismatch for C++ by doing everything in gsize and casting to GType
3272 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3274 * plugins/elements/gstmultiqueue.c:
3275 Add documentation for the signals to push our core plugin docs
3276 coverage back up to 100%.
3278 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3280 * gst/gstinfo.h (GST_FUNCTION):
3281 Reverted GST_FUNCTION to the old version as we don't want the
3282 full signature in C++ code. Also added support for MSVC.
3284 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3287 Intern the type name string, similar to what G_DEFINE_TYPE does.
3289 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3292 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3294 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3296 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3298 * libs/gst/base/gstbasetransform.c:
3299 (gst_base_transform_buffer_alloc):
3300 Don't passthrough buffer allocation too easily if the caps change.
3301 This breaks when working in passthrough mode and upstream changes
3302 it's caps. Fixes bug #526768.
3304 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3306 * gst/gstinfo.c (gst_debug_log_valist):
3307 Improved the __FILE__ part of debug output for MSVC.
3309 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3311 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3312 Declaration after statement fix for compilers like MSVC.
3314 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3316 * win32/common/config.h.in:
3317 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3318 use the real thing than having "???" unconditionally.
3320 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3322 * gst/gstinfo.h (GST_FUNCTION):
3323 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3325 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3327 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3330 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3331 (gst_base_sink_set_flushing):
3332 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3335 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3337 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3338 (gst_fake_src_init), (gst_fake_src_set_property),
3339 (gst_fake_src_get_property), (gst_fake_src_start):
3340 * plugins/elements/gstfakesrc.h:
3341 Added format property to control the format of the newsegment events.
3342 API: GstFakeSrc:format
3344 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3346 * win32/common/libgstreamer.def:
3347 Add gst_pad_has_name() to the exported symbols.
3349 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3351 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3352 * libs/gst/base/gstbasetransform.c:
3353 (gst_base_transform_prepare_output_buffer):
3354 Don't allow negative sizes when allocating new buffers.
3357 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3359 Patch by: Sjoerd Simons <sjoerd at luon net>
3361 * gst/gstbus.c: (gst_bus_source_dispatch):
3362 Don't print a warning if the queue is empty when we try to pop
3363 here. That could happen if another thread or callback set the
3364 bus to flushing between the source's check/prepare and the
3365 dispatch being called (#531538).
3367 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3369 * plugins/elements/gstmultiqueue.c:
3372 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3374 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3375 Add unit test for deserializing uint64s and check some really large
3376 numbers in the int64 test.
3378 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3380 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3381 (print_interfaces), (print_element_properties_info),
3382 (print_signal_info):
3383 Use "%s" as format string instead of printing strings directly.
3385 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3387 * gst/gstclock.c: (gst_clock_set_calibration):
3388 Make some checks actually useful.
3390 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3391 Remove some unused code. Unsigned integers tend to be >= 0.
3393 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3395 * gst/gstminiobject.c: (gst_value_get_mini_object):
3396 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3397 function was not in the unscheduled 0.10.19 release.
3399 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3401 * gst/gstregistry.c: (gst_registry_scan_path_level):
3402 Only print one log message per non-plugin file.
3404 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3406 * gst/gstinfo.c: (gst_debug_log_default):
3407 Fix alignment of debug log columns on 64-bit.
3409 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3411 * docs/libs/Makefile.am:
3412 * docs/libs/gstreamer-libs-sections.txt:
3413 Ignore private controller headers for docs.
3415 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3417 * libs/gst/controller/gstcontrollerprivate.h:
3418 * libs/gst/controller/gsthelper.c:
3419 * libs/gst/controller/gstinterpolation.c:
3420 * libs/gst/controller/gstinterpolationcontrolsource.c:
3421 (gst_interpolation_control_source_set_interpolation_mode):
3422 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3423 * libs/gst/controller/lib.c:
3424 Move some private declarations into private headers.
3426 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3428 * gst/gstdebugutils.c: (debug_dump_element_pad):
3429 Remove some code that is unused after Stefan's refactoring and uses
3430 uninitialized variables now, resulting in a compiler warning.
3432 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3434 * gst/gstregistry.c: (gst_registry_scan_path_level):
3435 Run g_str_has_suffix() only on the file name, not the
3438 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3440 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3441 Since we're not called only from the chain function any longer,
3442 we can't assume that there's always data in the queue, so move
3443 the is_full check to the beginning of the loop (otherwise we'd
3444 hit the assert when changing the limit properties while the
3445 queue is empty or not running yet).
3446 Also, only set a discont if items were actually removed from
3449 * tests/check/elements/queue.c: (test_leaky_downstream):
3450 Test case for the above.
3452 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3454 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3456 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3457 (gst_queue_chain), (queue_capacity_change),
3458 (gst_queue_set_property):
3459 When changing thr max capacity of a leaky queue, immediatly drop buffers
3460 instead of waiting for a push on the sinkpad. Fixes #530637.
3462 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3464 * gst/gstdebugutils.c:
3465 Refactor code and fix handling of ghostpads and their proxypads.
3467 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3469 * docs/gst/gstreamer-sections.txt:
3470 * gst/gstevent.c: (gst_event_has_name):
3472 * tests/check/gst/gstevent.c: (GST_START_TEST):
3473 Add method to conveniently check the name of a custom event with
3474 gst_event_has_name().
3475 Reformat the event docs so that related methods are put together instead
3476 of the default alphabetical sort.
3477 Update unit test with new method.
3478 API: GstEvent::gst_event_has_name()
3480 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3482 * libs/gst/check/Makefile.am:
3483 Don't add an explicit link to libgstreamer-0.10.la; it's already
3484 included in GST_OBJ_LIBS.
3486 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3489 Register GstClock type from a type-safe context. Fixes bug #530317.
3491 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3493 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3495 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3497 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3499 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3501 Use the GLib stuff to create a private structure.
3502 Add some locking around some dispose methods to make them a little
3503 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3505 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3507 * libs/gst/base/gstbasesink.h:
3508 * libs/gst/base/gstbasesrc.h:
3509 * libs/gst/base/gstbasetransform.h:
3510 * libs/gst/base/gstcollectpads.h:
3511 Fix doc typos and unify caps a bit.
3513 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3515 * tools/gst-launch.1.in:
3516 Forgot to also add the envvar docs here.
3518 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3520 * gst/gst.c: (init_post), (gst_deinit):
3521 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3522 (test_concurrent_create), (gst_pipeline_suite):
3523 Ref some more classes in gst_init() to work around thread-safety
3524 issues in pre-2.16 GLibs, and add basic unit test.
3526 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3528 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3529 (gst_base_sink_send_event):
3530 Rearrange the latency query code. We always want to do the upstream
3531 query, even if we are not live so that the upstream elements can get the
3532 latency results too. If we fail doing the query and we are live, we
3533 return TRUE afterwards.
3535 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3537 patch by: Jason Zhao <e3423c@motorola.com>
3539 * docs/gst/running.xml:
3541 Enable/disable scan_and_update_registry() based on commandline switch
3542 or environment variable. Fixes #520468.
3545 Fix typo in my previous commit.
3547 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3549 * gst/gstregistrybinary.c:
3550 Add a warning if we hit unhandled factories when saving.
3551 More debug logging detail, but move to LOG category.
3553 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3555 * gst/gstregistry.c:
3556 Tell the *truth* when improving the documentation.
3558 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3560 * gst/gstelementfactory.c: (gst_element_factory_make):
3561 Unref the factory after it was used the last time, not before.
3563 * gst/gstindexfactory.c: (gst_index_factory_make):
3564 Improve debugging a bit and don't leak a ref to the index factory with
3567 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3569 * gst/gstregistry.c:
3570 Improve the documentation.
3572 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3575 The glib macro seems to be borked. Use g_slice_copy directly and cast
3576 in the hope that this fixes the warning on 64bit.
3578 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3581 Document the new function. Use g_slice_dup() (no need for
3582 gst_segment_init()).
3584 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3586 * docs/gst/gstreamer-sections.txt:
3587 Move GParamSepc macros to standart section.
3590 Dn't document _get_type - its in private section in docs anyway and
3591 this doc-blob was incomplete.
3594 Fix wrong symbol names in docs.
3597 Add once doc sentence.
3599 * tests/check/gst/.cvsignore:
3602 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3604 * docs/gst/Makefile.am:
3605 And remove those libs here.
3607 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3609 * docs/libs/Makefile.am:
3610 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3612 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3614 Patch by: Olivier Crete <tester at tester dot ca>
3616 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3617 Add the min-threshold to the min latency if possible. Fixes #529148.
3619 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3621 * docs/gst/gstreamer.types.in:
3622 Stupid editor, I removed that line as it should go in yet.
3624 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3626 * docs/gst/gstreamer.types.in:
3627 * docs/libs/gstreamer-libs.types:
3628 Remove library types fro core docs and have them in libs docs.
3629 Reformat and cleanup. Add comment for miniobject types.
3631 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3633 * gst/gsturi.c: (gst_uri_get_protocol):
3634 Fix leak: g_strdown operates on the string in place, while
3635 g_ascii_strdown() returns a newly-allocated string.
3637 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3639 * tools/gst-inspect.c: (print_uri_handler_info),
3640 (print_element_info):
3641 Print the URI protocols and the URI type supported by the element.
3643 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3645 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3646 Use g_value_take_string() instead of the deprecated
3647 g_value_set_string_take_ownership().
3649 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3651 * gst/gstregistrybinary.c: (_gst_crc32):
3652 Return the old CRC instead of 0 if we give a NULL buffer
3653 or a buffer with a length of 0.
3655 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3657 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3658 (gst_uri_get_protocol), (gst_uri_has_protocol),
3659 (gst_uri_construct), (gst_uri_handler_set_uri):
3660 A valid URI scheme can also include '+', '-' and '.' additional
3661 to alphanumeric characters as per RFC 3986 Section 3.1.
3663 Handle URI schemes case insensitive in all places and convert
3664 to lower-case when constructing an URI or setting an URI with
3665 the GstURIHandler interface. Fixes bug #528868.
3666 All elements can still assume (as before) that they will
3667 get passed URIs with a lower-case URI scheme by the GstURIHandler
3670 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3672 * gst/gstcaps.c: (gst_static_caps_get):
3673 * gst/gstclock.c: (gst_clock_entry_new):
3674 Don't use g_atomic_set_int where it's not needed.
3676 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3678 * gst/gstvalue.c: (gst_value_deserialize_caps):
3679 * gst/parse/grammar.y:
3682 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3684 * gst/gstutils.c: (gst_atomic_int_set):
3685 Use g_atomic_int_set() here too instead of assignment +
3688 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3692 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3693 now that we depend on new enough GLib.
3695 * gst/gstcaps.c: (gst_static_caps_get):
3696 * gst/gstclock.c: (gst_clock_entry_new):
3697 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3698 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3699 (gst_debug_category_set_threshold):
3700 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3701 (gst_base_sink_set_qos_enabled):
3702 * libs/gst/net/gstnettimeprovider.c:
3703 (gst_net_time_provider_set_property):
3704 Use g_atomic_int_set() instead of gst_atomic_int_set().
3706 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3709 Also use G_GINT64_CONSTANT for the queries.
3711 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3714 Use G_GINT64_CONSTANT in varargs function.
3716 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3718 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3719 Initialize the registry magic with zeroes.
3721 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3723 * gst/gstregistrybinary.c: (_gst_crc32),
3724 (gst_registry_binary_write),
3725 (gst_registry_binary_initialize_magic),
3726 (gst_registry_binary_write_cache),
3727 (gst_registry_binary_check_magic),
3728 (gst_registry_binary_read_cache):
3729 * gst/gstregistrybinary.h:
3730 Add crc32 checksum to the binary registry file and check this before
3731 accepting a registry file.
3733 Also free the data list when writing to the registry file fails.
3735 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3737 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3738 (gst_registry_binary_load_feature),
3739 (gst_registry_binary_load_plugin):
3740 If an element supports the Uri interface, returns a valid pointer
3741 to the supported URI protocols but this pointer contains nothing
3742 don't try to save that as it will corrupt the registry.
3744 Don't unref the plugin if we added it to the registry already but
3745 fail to load a feature as gst_registry_add_plugin() takes ownership
3748 Improve debugging a bit.
3750 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3753 Clarify some tag item docs after discussion on irc.
3755 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3757 * docs/gst/gstreamer-docs.sgml:
3758 Remove commented out plugins (they have their own docs). Update
3761 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3763 * docs/gst/gstreamer-docs.sgml:
3764 * docs/gst/gstreamer-sections.txt:
3765 * gst/gstparamspecs.c:
3766 * gst/gstparamspecs.h:
3767 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3768 docs to own section.
3771 This now only documents GValue.
3773 * docs/libs/gstreamer-libs-sections.txt:
3774 * libs/gst/controller/gstcontroller.h:
3775 Remove GST_PARAM_CONTROLLABLE.
3777 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3780 Correct file path. Tell about how to use -overrides.txt.
3781 * docs/design/draft-tagreading.txt:
3782 Small design update.
3784 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3786 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3787 (gst_registry_binary_load_plugin):
3788 Fix a typo in a debug message and revert change from yesterday as
3789 gst_registry_add_plugin() will only fail if something is really wrong
3790 already and we can't survive it anyway.
3792 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3794 * gst/gst.c: (init_post), (gst_deinit):
3795 Pre-register GstGError GType from a thread-safe context
3796 (fixes #527967); unref enum type classes in deinit.
3798 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3800 Patch by: Rene Stadler <mail at renestadler de>
3802 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3803 Merging an empty list with another list in KEEP_ALL mode should
3804 yield an empty list as result and not the second list (#512578).
3806 * tests/check/gst/gsttagsetter.c:
3807 Add unit test for tag merge modes and the aforementioned bug.
3809 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3811 Patch by: Rene Stadler <mail at renestadler de>
3814 Fix description to match the order in the table (#512577).
3816 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3818 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3820 * libs/gst/net/gstnettimepacket.h:
3821 * docs/libs/gstreamer-libs-sections.txt:
3822 Define socklen_t as int if it's not defined yet. Fixes compilation
3823 with MSVC6 and other versions where socklen_t is not defined in
3824 the windows headers (#518022).
3826 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3828 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3829 If gst_registry_add_plugin() fails our reference to the plugin is
3830 invalid so don't try to use it anymore and instead error out.
3832 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3834 * tools/gst-xmlinspect.c: (print_element_info), (main):
3835 De-cruft a bit. If no argument is specified, print all elements in
3836 XML syntax rather than a freestyle list of elements like gst-inspect.
3837 Also, don't print XML header chunk unless we actually have something
3838 to print (ie. don't print it before an error message); print error
3839 message to stderr not stdout. Remove support for printing plugin
3840 info (it would just output something freestyle along the lines of
3841 gst-inspect so far), which fixes #514507. Also add license header.
3843 2008-04-11 Julien Moutte <julien@fluendo.com>
3846 * configure.ac: Merge platform specific defines, introduce a new
3847 define on OS X to remember that forking when updating registry is
3849 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3851 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3853 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3854 condition that leads to absolutely no plugins being registered on
3857 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3859 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3861 * gst/gstutils.c: (gst_pad_add_data_probe),
3862 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3863 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3864 (gst_pad_add_buffer_probe_full):
3866 * docs/gst/gstreamer-sections.txt:
3867 * win32/common/libgstreamer.def:
3868 Add gst_pad_add_*_probe_full() functions with a notify callback that
3869 lets the caller free the data it passes to the probe functions. This
3870 is useful for bindings such as gst-python or gstreamermm (#526814).
3871 API: gst_pad_add_data_probe_full
3872 API: gst_pad_add_buffer_probe_full
3873 API: gst_pad_add_event_probe_full
3875 * tests/check/gst/gstutils.c:
3876 Add minimal unit test to make sure freeing the data actually works
3879 * tests/benchmarks/.cvsignore:
3880 Random cvsignore addendum.
3882 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3884 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3885 (GST_DEBUG_BIN_TO_DOT_FILE):
3886 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3887 to it in the docs (since these are macros the types of the arguments
3888 won't be shown in the docs otherwise).
3890 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3893 Do not abort on out of memory for pad_alloc_buffer.
3895 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3897 * libs/gst/check/gstcheck.c:
3898 Remove blank line between symbol name ad parameters to fix gtkdoc
3901 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3903 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3905 * docs/gst/gstreamer-sections.txt:
3908 * win32/common/libgstreamer.def:
3909 Expose gst_segment_copy() to make things easier for the c++ bindings.
3911 API: gst_segment_copy()
3913 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3915 * gst/gst.c: (gst_init_get_option_group), (init_post):
3916 Fix const position; ref GType classes for enum types to work
3917 around thread-safety issues in GLib versions < 2.16.
3919 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3921 * docs/design/part-buffering.txt:
3922 Fix some typos and set the estimated total for push mode to -1.
3924 * gst/gstquery.c: (gst_query_new_buffering):
3925 Set buffering-left to 0 as we're not buffering by default.
3927 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3928 Implement BUFFERING query.
3930 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3932 Based on patch by: Milosz Derezynski <internalerror gmail com>
3934 * gst/gsterror.c: (_gst_stream_errors_init):
3936 Add two new error codes for encrypted content. Fixes #524659.
3937 API: GST_STREAM_ERROR_DECRYPT
3938 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3940 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3945 * win32/common/libgstreamer.def:
3948 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3950 * plugins/elements/gstidentity.c: (gst_identity_event),
3951 (gst_identity_start):
3952 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3953 event after processing some data. Fixes bug #526042.
3955 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3957 * docs/gst/gstreamer-sections.txt:
3958 * gst/gstquery.c: (gst_query_parse_latency),
3959 (gst_query_set_buffering_percent),
3960 (gst_query_parse_buffering_percent),
3961 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3963 Rename _avail -> _range
3964 API: gst_query_set_buffering_range
3965 API: gst_query_parse_buffering_range
3967 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3969 * docs/design/part-buffering.txt:
3972 * gst/gstquery.c: (gst_query_parse_latency),
3973 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3974 (gst_query_parse_buffering_percent):
3976 Add busy field and quark for the buffering query so that the app can
3977 only use the query to see if buffering is in progress.
3979 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3981 * docs/gst/gstreamer-sections.txt:
3982 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3983 (gst_message_parse_buffering_stats):
3985 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3986 (gst_query_parse_latency), (gst_query_new_buffering),
3987 (gst_query_set_buffering_percent),
3988 (gst_query_parse_buffering_percent),
3989 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3990 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3992 Reorder the message docs and headers for clarity.
3993 Add aditional buffering stats API for messages.
3994 Add buffering query.
3995 Convert some leftover queries to use GstQuark.
3996 API: gst_message_set_buffering_stats
3997 API: gst_message_parse_buffering_stats
3998 API: GST_QUERY_BUFFERING
3999 API: GstBufferingMode
4000 API: gst_query_new_buffering
4001 API: gst_query_set_buffering_percent
4002 API: gst_query_parse_buffering_percent
4003 API: gst_query_set_buffering_stats
4004 API: gst_query_parse_buffering_stats
4006 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4008 * gst/gstmessage.c: (gst_message_new_error),
4009 (gst_message_new_warning), (gst_message_new_info),
4010 (gst_message_new_buffering), (gst_message_new_state_changed),
4011 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
4012 (gst_message_new_new_clock), (gst_message_new_segment_start),
4013 (gst_message_new_segment_done), (gst_message_new_duration),
4014 (gst_message_new_async_start), (gst_message_parse_buffering),
4015 (gst_message_parse_state_changed),
4016 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4017 (gst_message_parse_new_clock), (gst_message_parse_error),
4018 (gst_message_parse_warning), (gst_message_parse_info),
4019 (gst_message_parse_segment_start),
4020 (gst_message_parse_segment_done), (gst_message_parse_duration),
4021 (gst_message_parse_async_start):
4022 Use GstQuark for messages.
4024 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4026 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4028 Add some more quarks needed for messages and queries.
4030 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4032 * docs/design/part-buffering.txt:
4033 Remove the "none" buffering mode, STREAM is a good default.
4034 Move estimated-time to the avail query, that's when it will be needed.
4035 Other small typo fixes and updates.
4037 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4039 * gst/gstindex.c: (gst_index_resolver_get_type):
4040 Don't put descriptions into the nick field of a GEnumValue: it's not
4041 meant for that and some language bindings rely on the nick field to
4042 construct constants and the like. Fixes #526705.
4044 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4049 Merge other changes from 0.10.19 release branch.
4051 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
4053 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4056 Actually build dlls when cross-compiling with mingw32.
4059 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
4061 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4064 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4066 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
4068 * docs/design/draft-latency.txt:
4071 * docs/design/part-buffering.txt:
4072 Update design docs with more buffering ideas.
4074 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
4077 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4079 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4082 Revert part that belongs to the preset patch.
4084 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4087 Add qoutes to the define. Fixes # 525961.
4089 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4091 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4092 (gst_file_index_load), (gst_file_index_add_id),
4093 (gst_file_index_get_assoc_entry):
4094 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4095 (gst_mem_index_free_id), (gst_mem_index_add_id),
4096 (gst_mem_index_index_format):
4097 Use GSlice when possible.
4099 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4101 * libs/gst/controller/gstinterpolationcontrolsource.c:
4102 (gst_control_point_free),
4103 (gst_interpolation_control_source_set_internal):
4104 Use GSlice for allocating the control points.
4106 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4108 * plugins/elements/gsttypefindelement.c:
4109 (gst_type_find_element_class_init),
4110 (gst_type_find_element_set_property),
4111 (gst_type_find_element_get_property),
4112 (gst_type_find_element_activate):
4113 * plugins/elements/gsttypefindelement.h:
4115 Fix pad leak when peer query fails.
4116 We can still typefind when the peer returns -1.
4117 Add property to force caps and bypass typefinding. This will be used in
4121 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4126 * gst/glib-compat-private.h:
4127 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4128 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4129 Unconditionally use GSlice for allocation.
4131 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4132 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4133 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4134 (gst_structure_free):
4135 Use GSlice for allocation.
4137 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4139 * gst/parse/Makefile.am:
4140 * gst/parse/grammar.tab.pre.c:
4141 * gst/parse/grammar.tab.pre.h:
4142 * gst/parse/lex._gst_parse_yy.pre.c:
4143 Require a new enough flex and bison and remove the parser hacks to use
4144 a pre-regenerated version.
4146 2008-04-01 Julien Moutte <julien@fluendo.com>
4148 patch by: Jason Zhao <E3423C@motorola.com>
4150 * configure.ac: Add a configure switch to disable option parsing
4154 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4157 * gst/gstregistry.c:
4158 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4159 and handle this case.
4162 Add a comment here describing, why we stat each plugin and not try to
4165 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4167 * libs/gst/base/gstbasetransform.c:
4168 (gst_base_transform_prepare_output_buffer):
4169 Also unset the GAP flag on buffers if we're working inplace but
4170 the element is not GAP-aware.
4172 Mark a comment as FIXME 0.11.
4174 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4177 Fix type in log message and add one to ease seeing how long registry
4178 cache verification takes.
4180 * gst/gstregistry.c:
4181 Only test plugin filenames against G_MODULE_SUFFIX.
4183 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4185 * gst/gstdebugutils.c:
4186 Improve handling ghost/proxy pads.
4188 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4190 * docs/gst/gstreamer-sections.txt:
4193 Expose macro to docs and fix link to it.
4195 2008-03-27 Michael Smith <msmith@fluendo.com>
4197 * libs/gst/dataprotocol/dataprotocol.c:
4198 (gst_dp_packet_from_event_1_0):
4199 When calculating GDP body CRC, use the correct pointer.
4200 Fixes part of #522401.
4202 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4204 Patch by: Mark Nauwelaerts <manauw at skynet be>
4206 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4207 (gst_identity_init), (gst_identity_prepare_output_buffer):
4208 Identity is not always a passthrough element, it can modify the buffer
4209 timestamps when it has a datarate and operates in single-segment mode.
4210 We therefore make it an in_place filter with a custom buffer prepare
4211 function that conditionally makes the input buffer metadata writable
4212 when needed. Fixes #523985.
4214 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4216 Patch by: Mark Nauwelaerts <manauw at skynet be>
4219 * libs/gst/base/gstbasesrc.h:
4220 * libs/gst/base/gstbasetransform.c:
4221 * libs/gst/check/gstcheck.c:
4222 Small documentation fixes. Fixes #523978.
4224 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4226 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4227 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4228 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4230 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4232 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4233 (single_queue_underrun_cb):
4234 When trying to make room in the queue, bump the max allowed buffers
4235 bigger than the current amount of buffers in the queue. this fixes some
4236 nasty deadlocks in multiqueue when dynamically changing the limits of
4239 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4241 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4243 * gst/gstcaps.c: (gst_caps_set_simple),
4244 (gst_caps_set_simple_valist), (gst_caps_intersect):
4246 Constify the field gchar * params in set_simple and friends.
4249 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4251 * gst/gstvalue.c: (gst_value_transform_object_string):
4252 Transform a GstObject to a more meaningfull string that includes the
4253 object type in addition to its name.
4255 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4258 ChangeLog surgery to add bugnumber to commit.
4260 2008-03-23 Rene Stadler <mail@renestadler.de>
4262 * libs/gst/base/gstbasetransform.c:
4263 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4265 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4267 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4268 Rename constant everywhere and don't forget one occurence.
4270 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4272 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4273 Align memory to the pointer size even if the architecture allows
4274 unaligned memory access. Unaligned memory access usually comes with
4275 performance penality.
4277 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4279 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4280 (gst_registry_binary_check_magic),
4281 (gst_registry_binary_load_pad_template),
4282 (gst_registry_binary_load_feature),
4283 (gst_registry_binary_load_plugin):
4284 Align memory to the pointer size instead of always 32 bit. Fixes
4285 unaligned memory accesses on ia64 and friends.
4287 * gst/gstregistrybinary.h:
4288 Bump binary registry format version for this as it changes the
4289 format on those architectures that don't have unaligned access
4290 and 64 bit pointers.
4292 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4294 * docs/pwg/advanced-dparams.xml:
4295 * docs/pwg/building-props.xml:
4296 * docs/pwg/other-source.xml:
4297 * gst/glib-compat.h:
4298 * gst/gstbin.c: (gst_bin_class_init):
4299 * gst/gstclock.c: (gst_clock_class_init):
4300 * gst/gstindex.c: (gst_index_class_init):
4301 * gst/gstobject.c: (gst_object_class_init):
4302 * gst/gstpad.c: (gst_pad_class_init):
4303 * gst/gstpipeline.c: (gst_pipeline_class_init):
4304 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4305 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4306 * libs/gst/base/gstbasetransform.c:
4307 (gst_base_transform_class_init):
4308 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4309 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4310 (_gst_check_fault_handler_sighandler),
4311 (_gst_check_fault_handler_setup), (gst_check_init):
4312 * libs/gst/controller/gstcontroller.c:
4313 (_gst_controller_class_init):
4314 * libs/gst/controller/gstlfocontrolsource.c:
4315 (gst_lfo_control_source_class_init):
4316 * libs/gst/net/gstnetclientclock.c:
4317 (gst_net_client_clock_class_init):
4318 * libs/gst/net/gstnettimeprovider.c:
4319 (gst_net_time_provider_class_init):
4320 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4321 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4322 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4323 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4324 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4325 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4326 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4327 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4328 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4329 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4330 * plugins/elements/gsttee.c: (gst_tee_class_init):
4331 * plugins/elements/gsttypefindelement.c:
4332 (gst_type_find_element_class_init):
4333 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4334 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4335 use it everywhere for GParamSpecs that use static strings (i.e. all).
4336 This gives us less memory usage, fewer allocations and thus less
4337 memory defragmentation. Fixes bug #523806.
4339 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4341 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4342 (gst_param_spec_mini_object):
4343 * gst/gstminiobject.h:
4344 * win32/common/libgstreamer.def:
4345 * docs/gst/gstreamer-sections.txt:
4346 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4347 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4348 GstParamSpecMiniObject into a public header for this.
4350 This make GstMiniObject a bit more consistent with GObject and makes
4351 it possible to extend the param specs.
4353 gst_value_dup_mini_object is mainly useful for set_property methods.
4357 * tools/gst-inspect.c: (print_element_properties_info):
4358 Print something useful for GstMiniObject properties and not just
4361 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4363 * docs/gst/gstreamer-sections.txt:
4364 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4365 (gst_registry_binary_check_magic):
4366 * gst/gstregistrybinary.h:
4367 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4368 and add it to the (private part) of the docs to fix the build.
4370 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4372 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4373 (gst_registry_binary_check_magic),
4374 (gst_registry_binary_read_cache):
4375 * gst/gstregistrybinary.h:
4376 Don't use GST_MAJORMINOR for the binary registry version. Instead
4377 hardcode a value that must be changed whenever the format changes
4378 in an incompatible way.
4379 Also don't GST_ERROR when there is a version mismatch, just
4380 regenerate the registry silently.
4382 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4385 Back to development - 0.10.18.1
4387 === release 0.10.18 ===
4389 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4392 releasing 0.10.18, "So far away"
4394 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4397 * win32/common/config.h:
4398 0.10.17.4 pre-release
4400 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4402 Patch by: Ole André Vadla Ravnås
4403 <ole dot andre dot ravnas at tandberg dot com>
4405 * docs/gst/gstreamer-sections.txt:
4406 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4407 (gst_poll_update_winsock_event_mask),
4408 (gst_poll_prepare_winsock_active_sets),
4409 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4410 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4411 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4412 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4413 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4415 * win32/common/libgstreamer.def:
4416 Add new function gst_poll_fd_ignored() for improved Windows
4418 Various minor fixes and cleanups. See #520808.
4420 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4422 * gst/gstindex.c: (gst_index_entry_free):
4424 Don't free key strings which we don't own. Fixes crash in
4425 gst_index_entry_free() (#522741).
4427 * tests/check/Makefile.am:
4428 * tests/check/gst/.cvsignore:
4429 * tests/check/gst/gstindex.c: (test_index_entries),
4430 (gst_index_suite), (gst_index):
4431 Add unit test for the above.
4433 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4435 * win32/common/libgstreamer.def:
4436 Remove symbols that were removed recently. Fixes bug #521740.
4438 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4441 * win32/common/config.h:
4442 0.10.17.3 pre-release
4444 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4446 Patch by: Ole André Vadla Ravnås
4447 <ole dot andre dot ravnas at tandberg dot com>
4449 * docs/gst/gstreamer-sections.txt:
4450 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4451 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4452 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4453 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4454 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4455 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4456 (gst_poll_fd_can_write), (gst_poll_wait),
4457 (gst_poll_set_controllable), (gst_poll_restart),
4458 (gst_poll_set_flushing):
4460 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4461 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4462 (gst_net_time_provider_new):
4463 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4464 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4465 * tests/benchmarks/gstpollstress.c: (main):
4466 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4467 Remove GstPollMode from the API, it does not make sense to let the
4468 application control this.
4469 Add support for Win32.
4470 Fix the testsuite. Fixes #520671.
4472 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4474 Patch by: Ole André Vadla Ravnås
4475 <ole dot andre dot ravnas at tandberg dot com>
4477 * gst/gstregistrybinary.c:
4478 Include io.h for write() and close() when building with MSVC. Fixes
4481 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4484 * gst/gst_private.h:
4485 * gst/gstconfig.h.in:
4486 * gst/gstregistry.h:
4487 * gst/gstregistrybinary.c:
4488 * win32/common/gstconfig.h:
4489 Move registry backend API to private headers where we can. Add
4490 fixme-0.11 comments for the others. Add stubs for the xml backend when
4491 using the binary to ensure they functions exists (they should not be
4492 used though). Fixes #520756.
4494 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4497 * win32/common/config.h:
4500 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4502 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4503 (gst_registry_binary_read_cache):
4504 * gst/gstregistryxml.c: (gst_registry_save):
4505 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4506 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4507 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4508 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4509 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4512 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4514 * gst/gstminiobject.c:
4515 Import gst_private.h before any other header that might include other
4516 glib headers. This fixes the build on windows using native compilers.
4518 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4520 * win32/common/gstconfig.h:
4521 Add here too, just for completeness.
4523 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4526 * gst/gstconfig.h.in:
4527 * gst/gstregistry.h:
4528 Fix broken use of config.h-defined preprocessor directive in a public
4529 header file. Add a corresponding define to gstconfig.h, since we can't
4530 really remove those function declarations from the header file now
4531 (or can we? and why are they there in the first place?).
4533 2008-03-03 Andy Wingo <wingo@pobox.com>
4535 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4538 * gst/gststructure.c (gst_structure_from_string): Warn if
4539 structure_from_string didn't consume the whole string, but the
4540 caller did not provide an end pointer.
4542 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4544 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4546 * gst/gstregistryxml.c: (read_string), (load_feature):
4547 Strings allocated by libxml2 should be freed with xmlFree(), not
4548 with g_free(). Fixes issues on windows in certain contexts (#519698).
4550 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4552 * gst/gstinterface.c: (gst_element_implements_interface):
4553 Don't crash if the element supports the interface queried, but does
4554 not implement GstImplementsInterface. Fixes #519584.
4556 * tests/check/Makefile.am:
4557 * tests/check/gst/.cvsignore:
4558 * tests/check/gst/gstinterface.c:
4559 Add unit test for the above.
4561 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4563 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4566 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4568 * gst/gstsegment.c: (gst_segment_set_seek),
4569 (gst_segment_to_stream_time):
4570 Improve some comment.
4571 Update variables where it makes more sense.
4573 2008-02-29 Rene Stadler <mail@renestadler.de>
4575 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4576 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4577 URIHandlers implemented using language bindings.
4579 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4581 * gst/gstelementfactory.h:
4582 * tests/check/elements/fakesink.c:
4583 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4584 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4585 * tests/check/elements/filesink.c: (setup_filesink):
4586 * tests/check/elements/filesrc.c: (setup_filesrc):
4587 * tests/check/elements/identity.c: (setup_identity):
4588 * tests/check/elements/tee.c:
4589 * tests/check/generic/sinks.c:
4590 * tests/check/generic/states.c: (setup), (teardown):
4591 * tests/check/gst/gst.c:
4592 * tests/check/gst/gstabi.c:
4593 * tests/check/gst/gstbin.c:
4594 * tests/check/gst/gstbus.c: (pull_messages):
4595 * tests/check/gst/gstcaps.c:
4596 * tests/check/gst/gstelement.c:
4597 * tests/check/gst/gstevent.c:
4598 * tests/check/gst/gstghostpad.c:
4599 * tests/check/gst/gstiterator.c:
4600 * tests/check/gst/gstmessage.c:
4601 * tests/check/gst/gstminiobject.c: (my_foo_init):
4602 * tests/check/gst/gstobject.c: (thread_name_object),
4604 * tests/check/gst/gstpad.c:
4605 * tests/check/gst/gstplugin.c:
4606 * tests/check/gst/gstpoll.c:
4607 * tests/check/gst/gstquery.c:
4608 * tests/check/gst/gstsegment.c:
4609 * tests/check/gst/gststructure.c:
4610 * tests/check/gst/gstsystemclock.c:
4611 * tests/check/gst/gsttask.c:
4612 * tests/check/gst/gstutils.c:
4613 * tests/check/gst/gstvalue.c:
4614 * tests/check/gst/struct_hppa.h:
4615 * tests/check/gst/struct_i386.h:
4616 * tests/check/gst/struct_ppc32.h:
4617 * tests/check/gst/struct_ppc64.h:
4618 * tests/check/gst/struct_x86_64.h:
4619 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4620 * tests/check/libs/basesrc.c:
4621 * tests/check/libs/controller.c: (GST_START_TEST):
4622 * tests/check/libs/gdp.c:
4623 * tests/check/libs/gstnetclientclock.c:
4624 * tests/check/libs/gstnettimeprovider.c:
4625 * tests/check/libs/libsabi.c:
4626 * tests/check/libs/struct_hppa.h:
4627 * tests/check/libs/struct_i386.h:
4628 * tests/check/libs/struct_ppc32.h:
4629 * tests/check/libs/struct_ppc64.h:
4630 * tests/check/libs/struct_x86_64.h:
4631 * tests/check/pipelines/cleanup.c:
4632 * tests/check/pipelines/simple-launch-lines.c:
4633 * tests/check/pipelines/stress.c:
4634 And correct even more valid sparse warnings.
4636 * win32/common/libgstreamer.def:
4637 Add gst_poll_fd_init to the list of symbols.
4639 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4641 * gst/gstconfig.h.in:
4642 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4643 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4644 (gst_check_log_critical_func), (gst_check_drop_buffers),
4645 (gst_check_element_push_buffer_list):
4646 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4647 (gst_controller_get_type):
4648 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4649 (gst_object_get_controller), (gst_object_get_control_source):
4650 * libs/gst/controller/gstinterpolationcontrolsource.c:
4651 (gst_interpolation_control_source_new):
4652 * libs/gst/controller/gstlfocontrolsource.c:
4653 (gst_lfo_control_source_new):
4654 * libs/gst/dataprotocol/dataprotocol.c:
4655 (gst_dp_event_from_packet_0_2):
4656 * plugins/elements/gstfdsrc.c:
4657 * plugins/elements/gstmultiqueue.c:
4658 * plugins/elements/gsttee.c:
4659 * plugins/elements/gsttypefindelement.c:
4660 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4661 (gst_file_index_add_association):
4662 * plugins/indexers/gstmemindex.c:
4663 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4664 * tests/check/elements/queue.c: (setup_queue):
4665 * tests/check/gst/gstpipeline.c:
4666 * tests/check/libs/collectpads.c: (setup), (teardown),
4667 (gst_collect_pads_suite):
4668 * tests/examples/adapter/adapter_test.c:
4669 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4670 * tests/examples/xml/createxml.c:
4671 * tests/examples/xml/runxml.c:
4672 * tools/gst-inspect.c:
4674 Correct all relevant warnings found by the sparse semantic code
4675 analyzer. This include marking several symbols static, using
4676 NULL instead of 0 for pointers, not using variable sized arrays
4677 on the stack, moving variable declarations to the beginning of
4678 a block and using "foo (void)" instead of "foo ()" for declarations.
4680 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4682 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4683 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4684 Don't reset GstPollFDs, this is not necessary at all.
4686 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4687 (delayed_restart), (delayed_control):
4688 Use GST_POLL_FD_INIT.
4690 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4692 * gst/gstpoll.c: (gst_poll_fd_init):
4696 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4697 Use some more init macros.
4699 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4701 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4702 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4703 Use init macros and functions.
4705 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4707 * docs/gst/gstreamer-sections.txt:
4708 * gst/gstpoll.c: (gst_poll_fd_init):
4710 Add INIT macro and _init method for initializing the GstPollFD.
4712 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4714 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4715 (gst_fd_sink_update_fd):
4716 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4717 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4718 (delayed_restart), (delayed_control):
4719 Initialize some uninitialized variables as spotted by valgrind.
4721 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4723 * tests/benchmarks/Makefile.am:
4724 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4726 Add poll stress test.
4728 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4730 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4732 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4733 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4734 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4735 * plugins/elements/gstfdsink.h:
4736 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4737 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4738 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4739 (gst_fd_src_uri_set_uri):
4740 * plugins/elements/gstfdsrc.h:
4741 Port to GstPoll. See #505417.
4743 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4745 * win32/common/libgstreamer.def:
4746 Add new gst_poll_ symbols to win32 defs.
4748 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4750 * docs/libs/gstreamer-libs-sections.txt:
4751 * libs/gst/net/gstnetclientclock.c:
4752 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4753 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4754 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4755 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4756 * libs/gst/net/gstnetclientclock.h:
4757 * libs/gst/net/gstnettimeprovider.c:
4758 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4759 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4760 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4761 (gst_net_time_provider_new):
4762 * libs/gst/net/gstnettimeprovider.h:
4763 Use a private stuct to not break ABI.
4765 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4767 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4769 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4770 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4771 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4772 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4773 * libs/gst/net/gstnetclientclock.h:
4774 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4775 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4776 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4777 (gst_net_time_provider_new):
4778 * libs/gst/net/gstnettimeprovider.h:
4779 Massive code removal and cleanups because of GstPoll.
4782 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4785 Add checks for poll, ppoll and pselect.
4787 * docs/gst/gstreamer-docs.sgml:
4788 * docs/gst/gstreamer-sections.txt:
4789 Add docs for GstPoll.
4793 * gst/gstpoll.c: (find_index), (selectable_fds),
4794 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4795 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4796 (gst_poll_set_mode), (gst_poll_get_mode),
4797 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4798 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4799 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4800 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4801 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4802 (gst_poll_fd_can_write), (gst_poll_wait),
4803 (gst_poll_set_controllable), (gst_poll_restart),
4804 (gst_poll_set_flushing):
4806 Add generic poll abstraction. We ideally don't want to have this in core
4807 here but in glib intead...
4808 This code will be used in various network elements and ultimately for
4809 the nanosecond precision monotonic clock (that's why it's here in core).
4810 It'll allow us to implement cancelable socket operations for windows too.
4812 * tests/check/Makefile.am:
4813 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4814 (delayed_stop), (delayed_restart), (delayed_flush),
4815 (delayed_control), (gst_poll_suite):
4816 Add GstPoll unit test.
4818 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4821 Improve documentation of gst_filter_run(). Fixes #518627.
4823 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4826 Add a few lines about the new 'check-inspected-versions' target.
4828 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4830 * tests/check/gst/gstevent.c:
4831 Add qos to the event test. Rename tcase/tsuite; is not only about
4834 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4836 * plugins/elements/gstqueue.c:
4837 Ensure that buffer metadata is writeable, before modifying. Spotted by
4840 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4842 * plugins/elements/gstqueue.c:
4843 * plugins/elements/gstqueue.h:
4844 When dropping buffers in leaky modes, mark next buffers we sent as
4847 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4849 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4850 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4852 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4854 * plugins/elements/Makefile.am:
4855 * plugins/elements/gstbufferstore.c:
4856 * plugins/elements/gstbufferstore.h:
4857 * plugins/elements/gsttypefindelement.h:
4858 Remove GstBufferStore, no idea why we were still building it.
4859 It's not used anywhere and superseded by GstAdapter.
4861 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4862 (gst_file_src_create_mmap):
4863 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4864 Printf format fixes for 64-bit integers.
4866 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4869 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4870 We're not in 0.8 times anymore.
4872 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4874 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4875 (gst_check_element_push_buffer_list):
4876 * libs/gst/check/gstcheck.h:
4877 Make the declaration in the header for
4878 gst_check_element_push_buffer_list match the implementation.
4880 Fix up spelling, grammar and wording of the documentation in a few
4881 places, and add the Since keyword to new API functions.
4882 Use g_list_delete_link instead of g_list_remove in
4883 gst_check_drop_buffers, since it's immeasurably more efficient.
4885 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4886 Use new gst_check_drop_buffers function where appropriate.
4888 * win32/common/libgstbase.def:
4889 * win32/common/libgstreamer.def:
4890 Add new symbols gst_collect_pads_take_buffer,
4891 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4894 Changelog surgery to add API keyword to new gst_check API.
4896 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4898 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4899 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4900 Update pre-generated flex files with flex 2.3.34.
4902 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4904 * gst/gstminiobject.c:
4905 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4906 friendly to subclasses and not require them to know all internals
4907 of their parent class.
4909 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4911 * docs/libs/gstreamer-libs-sections.txt:
4912 * libs/gst/base/gstcollectpads.c:
4913 * libs/gst/base/gstcollectpads.h:
4914 Add sub-buffer functions to collectpads. Fixes #516187.
4915 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4917 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4920 Copy selected buffer-flags when creating subbuffers.
4923 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4925 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4926 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4927 * gst/gstmessage.c: (gst_message_class_init),
4928 (gst_message_finalize):
4929 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4930 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4931 (gst_mmap_buffer_finalize):
4932 Properly chain up finalize functions to the parent class.
4934 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4936 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4938 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4939 (gst_index_set_resolver_full):
4941 Add new function with option to dispose of user_data in resolver.
4942 Actually call the dispose function when finalizing the object and not
4943 just when changing the resolver/filter.
4944 API: GstIndex::gst_index_set_resolver_full()
4946 * docs/gst/gstreamer-sections.txt:
4947 Add new function to docs. Fixes #515469.
4949 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4951 * gst/gstindex.c: (gst_index_finalize):
4952 Chain up finalize to the parent class. Fixes leaking the GstObject
4953 name and other things.
4955 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4958 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4959 pre-releases or releases.
4961 * docs/faq/gst-uninstalled:
4964 * docs/random/release:
4965 Change one of the steps - we only upload core & base to Gnome FTP
4967 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4969 * gst/gstconfig.h.in:
4970 Add 'id' for example.
4974 * plugins/elements/gstfdsink.c:
4975 Link to signals. Doc and comment fixes.
4977 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4979 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4980 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4981 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4982 unused and unimplemented; finally, it is plugin features, not
4983 plugins, that have ranks.
4985 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4987 * gst/gstpluginfeature.h:
4988 Clarify GstRank range docs.
4990 2008-02-05 David Schleef <ds@schleef.org>
4992 * gst/gst.c: Add a separate gst_deinitialized that prevents
4993 gst_init() from being called after gst_deinit(). Fixes #509559
4995 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4997 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4998 (gst_bin_class_init):
4999 * gst/gstelement.c: (gst_element_base_class_init),
5000 (gst_element_class_add_pad_template):
5001 * gst/gstpadtemplate.c: (gst_pad_template_init):
5002 * gst/gstpipeline.c: (gst_pipeline_get_type),
5003 (gst_pipeline_base_init), (gst_pipeline_class_init):
5004 * libs/gst/base/gstbasesink.c:
5005 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5006 (gst_base_src_base_init), (gst_base_src_class_init):
5007 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5008 (gst_capsfilter_class_init):
5009 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5010 (gst_fake_sink_class_init):
5011 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5012 (gst_fake_src_class_init):
5013 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5014 (gst_fd_sink_class_init):
5015 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5016 (gst_fd_src_class_init):
5017 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5018 (gst_file_sink_class_init):
5019 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5020 (gst_file_src_class_init):
5021 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5022 (gst_identity_class_init):
5023 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5024 (gst_multi_queue_class_init):
5025 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5026 (gst_queue_class_init):
5027 * plugins/elements/gsttee.c: (gst_tee_base_init),
5028 (gst_tee_class_init):
5029 * plugins/elements/gsttypefindelement.c:
5030 (gst_type_find_element_base_init),
5031 (gst_type_find_element_class_init):
5032 * tests/check/gst/gstelement.c: (gst_element_suite):
5033 Revert previous changes to the behaviour of GstPadTemplates, etc
5034 and the possiblity to call them in class_init as it breaks too
5035 many elements. Reopens bug #491501.
5037 Should be applied again for 0.11, thus added a few FIXME 0.11 at
5040 2008-02-05 Stefan Kost <ensonic@users.sf.net>
5042 * tools/gst-launch.c:
5043 Dump one graph per pipeline state-change and state change name
5044 (if GST_DEBUG_DUMP_DOT_DIR is set).
5046 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
5049 * tests/check/gst/gstpad.c:
5050 Be sure that we have a new copy of the caps and not
5051 reffed caps from a template
5053 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5055 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5056 * gst/gstpipeline.c: (gst_pipeline_get_type),
5057 (gst_pipeline_class_init):
5058 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5059 (gst_base_sink_class_init):
5060 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5061 (gst_base_src_class_init):
5062 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5063 (gst_base_transform_class_init):
5064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5065 (gst_collect_pads_class_init):
5066 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5067 * libs/gst/net/gstnettimeprovider.c:
5068 (gst_net_time_provider_base_init),
5069 (gst_net_time_provider_class_init):
5070 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5071 (gst_capsfilter_class_init):
5072 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5073 (gst_fake_sink_class_init):
5074 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5075 (gst_fake_src_class_init):
5076 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5077 (gst_fd_sink_class_init):
5078 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5079 (gst_fd_src_class_init):
5080 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5081 (gst_file_sink_class_init):
5082 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5083 (gst_file_src_class_init):
5084 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5085 (gst_identity_class_init):
5086 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5087 (gst_multi_queue_class_init):
5088 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5089 (gst_queue_class_init):
5090 * plugins/elements/gsttee.c: (gst_tee_base_init),
5091 (gst_tee_class_init):
5092 * plugins/elements/gsttypefindelement.c:
5093 (gst_type_find_element_base_init),
5094 (gst_type_find_element_class_init):
5095 Don't use base_init where not absolutely necessary. For example it's
5096 not necessary anymore for adding pad templates or setting element
5099 Leave empty base_init functions in several places as GST_BOILERPLATE
5100 still defines and uses them.
5102 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5104 * gst/gstelement.c: (gst_element_base_class_init),
5105 (gst_element_class_add_pad_template):
5106 * gst/gstpadtemplate.c:
5107 Make it possible (and recommended) to set element details and add
5108 pad templates in the class_init functions by copying the details/pad
5109 templates in GstElement's base_init.
5111 Also make it possible to replace existing pad templates by adding
5112 a new one with the same name. This was done in a hackish fashion
5113 in same elements before already.
5115 Don't reference pad templates that are added a second time. A
5116 new pad template has a refcount of one and is not floating anymore
5117 and to be owned by the element's class. Make this more explicit by
5118 mentioning it in the docs of gst_element_class_add_pad_template().
5120 These changes are backwards compatible. Fixes bug #491501.
5122 * tests/check/gst/gstelement.c:
5123 Add unit test for setting element details, adding pad templates and
5124 replacing them in a subclass.
5126 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5128 * tools/gst-inspect.c: (print_interfaces),
5129 (print_element_properties_info), (print_pad_info),
5130 (print_signal_info), (print_element_info):
5131 Fix a few memory leaks.
5133 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5135 * docs/libs/gstreamer-libs-sections.txt:
5136 * libs/gst/check/gstcheck.c:
5137 * libs/gst/check/gstcheck.h:
5138 Add more functions for unit testing: gst_check_drop_buffers,
5139 gst_check_caps_equal, gst_check_element_push_buffer_list,
5140 gst_check_element_push_buffer
5141 API: gst_check_drop_buffers
5142 API: gst_check_caps_equal
5143 API: gst_check_element_push_buffer_list
5144 API: gst_check_element_push_buffer
5146 2008-02-01 Julien Moutte <julien@fluendo.com>
5148 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5149 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5150 (gst_index_finalize), (gst_index_entry_free),
5151 (gst_index_add_association): Fix memory leaks.
5152 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5153 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5154 (gst_mem_index_free_format), (gst_mem_index_free_id),
5155 (gst_mem_index_finalize): Fix memory leaks.
5156 * win32/common/config.h: Updated to CVS HEAD.
5158 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5161 Some more details about how the plugin docs works.
5163 * docs/plugins/gstreamer-plugins-sections.txt:
5166 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5168 * gst/parse/grammar.tab.pre.c:
5169 * gst/parse/grammar.tab.pre.h:
5170 * gst/parse/grammar.y:
5171 * gst/parse/lex._gst_parse_yy.pre.c:
5172 Add delayed set-property. This allows to set properties on dynamicaly
5173 created objects (pads in videomxer). Fixes #509391.
5175 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5178 Check if caps are not NULL (fix bug #510194)
5180 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5182 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5183 (gst_base_sink_get_position_paused):
5184 Add fixme regarding EOS in pull mode.
5185 Fix position reporting in PAUSED for negative rates.
5187 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5189 * gst/gstminiobject.c: (gst_mini_object_replace):
5190 When replacing a miniobject, do a quick equality check first so that we
5191 can avoid a ref/unref pair.
5193 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5195 * docs/design/part-synchronisation.txt:
5198 * docs/plugins/Makefile.am:
5199 * docs/plugins/gstreamer-plugins-docs.sgml:
5200 * docs/plugins/gstreamer-plugins-sections.txt:
5201 * plugins/elements/gstmultiqueue.c:
5202 Add multiqueue to the docs.
5204 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5209 === release 0.10.17 ===
5211 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5214 releasing 0.10.17, "Due Negligence"
5216 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5219 Revert caps != NULL check temporarily for 0.10.17 release.
5221 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5224 Check if caps are not NULL (fix bug #510194)
5226 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5229 Fix compilation on systems that have posix timers but no
5232 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5235 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5237 * tools/gst-inspect.c:
5238 Revert previous commit in preparation for an impromptu 0.10.17 release
5240 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5242 * tools/gst-inspect.c: (print_interfaces),
5243 (print_element_properties_info), (print_pad_info),
5244 (print_signal_info), (print_element_info):
5245 Fix a few memory leaks.
5247 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5252 === release 0.10.16 ===
5254 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5257 releasing 0.10.16, "Special Dispensation"
5259 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5262 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5263 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5264 not fail when trying to crosscompile on OpenEmbedded (#511750).
5266 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5269 Use $(MAKE) instead of make to fix the build if GNU make is
5270 called different. Fixes bug #510747.
5272 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5274 * gst/gstplugin.c: (_gst_plugin_initialize):
5275 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5276 again, which I broke two commits ago when changing the API
5277 of gst_plugin_register_static(): the g_list_foreach() in
5278 _gst_plugin_register_static still assumed the old function
5279 signature and would therefore fail (re-fixes #510187).
5281 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5282 (_gst_plugin_register_static), (gst_plugin_register_static):
5283 Revert the (technically correct) change to call g_thread_init() from
5284 the pre-main() constructor. This will break programs which call
5285 g_thread_init() without an if (!g_thread_supported()) guard in their
5286 main function. We could just blame it on GLib or the application, but
5287 it's probably best to just avoid this altogether and simply not use
5288 any GLib functions here and use plain old malloc() with a simple
5289 array to store the plugins to register later when gst_init() is
5290 finally called (re-fixes #510187).
5292 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5293 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5294 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5295 (GST_START_TEST), (gst_plugin_suite):
5296 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5299 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5301 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5302 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5303 This makes gtk-doc complain, but results in slightly better
5304 compiler errors. The old _gst_plugin_register_static() is
5305 still guarded, so there'll be a compiler warning about that
5306 instead. Fixes #510187 too.
5308 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5310 * gst/gst.c: (init_post):
5311 * gst/gstplugin.c: (_gst_plugin_register_static),
5312 (gst_plugin_register_static), (_gst_plugin_initialize):
5313 * gst/gstplugin.h: (GstPluginFilter):
5314 Change API of gst_plugin_register_static() to not take
5315 a GstPluginDesc, but rather just take all the arguments
5316 in a GstPluginDesc directly. This is more intuitive and
5317 avoids certain mistakes when porting code from
5318 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5321 * tests/check/gst/gstplugin.c:
5322 Fix up for changed API.
5324 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5326 * docs/faq/legal.xml:
5327 Update FAQ, Totem actually has an exception these days.
5329 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5331 * win32/common/libgstreamer.def:
5332 Add new API declarations
5334 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5336 * gst/gstminiobject.c:
5337 Spelling fixes for the API docs.
5339 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5341 * libs/gst/base/gstbasetransform.c:
5342 Fix long property description for QoS.
5344 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5347 _gst_trace_on is already provided by gsttrace.h, no need to declare
5350 * docs/libs/gstreamer-libs-sections.txt:
5351 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5352 and remove strange tcase_add_test which is outputting a warning.
5354 * libs/gst/check/gstcheck.c:
5355 * libs/gst/check/gstcheck.h:
5356 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5357 and define them in gstcheck.c instead of having every .c file whcih
5358 includes gstcheck.h be defining its own copy and relying on symbol
5359 interposing to marry them all, which doesn't work on Solaris.
5361 * tests/check/elements/identity.c: (GST_START_TEST):
5362 Don't define 'buffers' locally, it comes from libgstcheck.
5364 * tests/check/generic/sinks.c: (send_buffer):
5365 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5367 * tests/check/gst/gststructure.c: (GST_START_TEST):
5368 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5369 * tests/check/gst/gstutils.c: (GST_START_TEST):
5370 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5371 Add a bunch of casts to make various constants fit the types
5372 they're being assigned to.
5374 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5376 * gst/gstchildproxy.c:
5377 Improve docs and add some ideas for making this more general-purpose.
5379 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5381 * gst/gst_private.h: (GST_CAT_TYPES):
5382 Add GST_CAT_TYPES, for consistency, and so that the other
5383 debug categories don't make fun of it. Spotted by Saur on IRC.
5385 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5387 * gst/parse/Makefile.am:
5388 Move types.h from EXTRA_DIST to noinst_HEADERS.
5390 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5393 Add -Wno-portability to the automake parameters to stop warnings
5394 about GNU make extensions being used. We require GNU make in almost
5395 every Makefile anyway.
5398 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5399 at the same time is required for per target flags.
5401 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5404 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5405 __GNUC__ is defined before using it.
5407 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5409 * docs/gst/gstreamer-sections.txt:
5410 * gst/gst.c: (init_post):
5411 * gst/gstplugin.c: (_gst_plugin_register_static),
5412 (gst_plugin_register_static), (_gst_plugin_initialize),
5413 (gst_plugin_register_func):
5414 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5415 API: add gst_plugin_register_static() and deprecate
5416 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5418 Also, in _gst_plugin_register_static(), make sure to call
5419 g_thread_init() before calling GLib functions such as
5420 g_list_append() if we're not initialised yet, since that
5421 may lead to random crashes with older GSlice/GLib versions.
5423 * tests/check/gst/gstplugin.c:
5424 Adapt unit test to above changes.
5426 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5428 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5429 * gst/gstcaps.c: (gst_caps_to_string):
5430 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5431 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5432 Yet another gratuitous GString micro-optimisation: add a (private)
5433 function that serialises a structure appending to an existing
5434 GString, so that when we serialise caps we don't need to alloc+free
5435 a throwaway GString for each structure (each of which also entailing
5436 multiple reallocs on the way); also use g_string_sized_new() in
5437 various places with an approximate string length to avoid reallocs
5438 within GString. See #500143.
5440 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5442 * gst/gststructure.c: (gst_structure_id_set_value):
5443 Always check UTF-8 conformance of structure strings and not only
5444 if the debugging system is enabled; reasoning: the behaviour of
5445 the actual code shouldn't really change depending on whether the
5446 debugging system is enabled or not (#508291).
5448 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5451 Remove old coverage target in favour of "make lcov".
5453 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5455 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5456 (gst_base_src_loop):
5457 The start segment for reverse playback goes from start to last_stop.
5459 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5461 Patch by: Peter Kjellerstedt <pkj axis com>
5464 Cast the results from the timeval/spec_to_time macros to what the
5465 docs say it casts to, a GstClockTime. fixes #508175.
5467 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5470 Update some comments.
5472 * tools/gst-inspect.c: (print_element_properties_info):
5473 Improve printing of flags.
5475 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5477 * libs/gst/base/gstbasetransform.c:
5478 (gst_base_transform_transform_size):
5479 Print element name with g_warning() if there's a problem
5482 2008-01-07 David Schleef <ds@schleef.org>
5484 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5486 * libs/gst/controller/gstcontroller.h:
5487 * libs/gst/controller/gstcontrolsource.h:
5488 * libs/gst/controller/gstinterpolationcontrolsource.h:
5489 * libs/gst/controller/gstlfocontrolsource.h:
5490 * libs/gst/dataprotocol/dataprotocol.h:
5491 Fix empty prototypes. Fixes bug #507957.
5493 2008-01-07 David Schleef <ds@schleef.org>
5495 * docs/faq/dependencies.xml: Fix typo.
5497 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5499 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5500 (gst_base_src_loop):
5501 Don't update the last_stop position in do_seek, that's the position we
5503 Read backwards when we have a negative rate.
5505 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5506 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5508 Add check for reverse reading.
5510 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5512 Patch by: Alexis Ballier <aballier at gentoo org>
5514 * tests/check/gst/gstabi.c:
5515 * tests/check/gst/struct_ppc64.h:
5516 * tests/check/libs/libsabi.c:
5517 * tests/check/libs/struct_ppc64.h:
5518 Decide which header to include based on the userland ABI target
5519 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5520 for 64-bit userland (#503590). Might need something similar for
5523 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5525 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5526 Log the reason why fopen fails in addition to the fact that it failed.
5528 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5530 * gst/parse/parse.l:
5531 Use "%option never-interactive" to prevent useless calls to isatty()
5532 on every input when parsing. Also use "%option noinput" to not define
5533 the static input/yyinput functions which we don't use anyway. This
5534 removes a compiler warning with gcc 4.3 and saves some bytes in the
5537 * gst/parse/lex._gst_parse_yy.pre.c:
5538 Regenerated for the above change.
5540 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5542 * gst/gstpad.c: (fixate_value):
5543 Don't crash when trying to fixate and empty list.
5546 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5548 * docs/faq/gst-uninstalled:
5549 Clarify the comments to make the usage of this script and what it
5550 does easier to understand.
5552 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5554 * tools/gst-plot-timeline.py:
5555 Add more options to gst-plot-timeline
5557 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5559 * docs/design/part-synchronisation.txt:
5560 Some more info on how the stream_time in GstBaseSink is done.
5562 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5564 * tests/check/generic/sinks.c: (gst_sinks_suite):
5565 Put back the tcase_set_timeout(), apparently it's needed after
5566 all; fix it up in a way that makes things work with valgrind too.
5568 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5570 * gst/gstdebugutils.c:
5571 Add warning when failed to open file for writing.
5573 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5575 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5577 * gst/gstvalue.c: (gst_value_is_fixed):
5578 Optimisation: bail out of the loop as early as possible (#500143).
5580 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5582 * gst/gstcaps.c: (gst_caps_to_string):
5583 * gst/gstinfo.c: (gst_debug_construct_term_color):
5584 * gst/gstparse.c: (gst_parse_launchv):
5585 * gst/gstutils.c: (gst_util_dump_mem):
5586 * gst/gstvalue.c: (gst_value_serialize_any_list),
5587 (gst_value_transform_any_list_string):
5588 Bunch of gratuitous nano-optimisations.
5590 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5592 * tests/check/generic/sinks.c: (async_done_func),
5593 (async_done_eos_func):
5594 Fix leak in unit test (bus sync handler must unref the message
5595 if it returns GST_BUS_DROP). Don't fiddle with the default test
5596 timeout, this is smaller than the current preconfigured value
5597 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5598 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5600 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5602 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5605 Check for stdio_ext.h for the filesink changes.
5607 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5608 (gst_file_sink_class_init), (gst_file_sink_init),
5609 (gst_file_sink_dispose), (gst_file_sink_set_property),
5610 (gst_file_sink_get_property), (gst_file_sink_open_file),
5611 (gst_file_sink_close_file):
5612 * plugins/elements/gstfilesink.h:
5613 Add two properties to control the buffering mode and size.
5614 API: GstFileSink::buffer-mode
5615 API: GstFileSink::buffer-size
5618 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5620 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5621 Add some more docs to explain why a FIXME was wrongly added.
5623 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5626 Fix typo in the gst_object_{ref,unref} documentation.
5628 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5630 * tests/check/libs/controller.c:
5631 * tests/check/libs/typefindhelper.c:
5632 * tests/check/pipelines/parse-launch.c:
5633 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5634 going to be deprecated (see #498924).
5636 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5638 * gst/gsttypefind.c: (gst_type_find_register):
5639 Make gst_type_find_register work for static typefind functions,
5640 ie. allow passing plugin == NULL (prerequisite for #498924).
5642 * gst/gstelementfactory.c: (gst_element_register):
5643 Small docs addition.
5645 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5647 * gst/gstpad.c: (gst_pad_dispose):
5648 Really unlink the peer pad instead of setting the peer pointer to NULL
5649 when we dispose the pad.
5650 This correctly calls the unlink functions and makes sure that the peer
5651 does not have a handle to invalid memory. See #504671.
5653 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5654 Add testsuite for above case.
5656 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5658 Patch by: Peter Kjellerstedt <pkj axis com>
5660 * libs/gst/check/gstcheck.h:
5661 Fix detection of the check version we're compiling against (would
5662 otherwise break if check goes v0.10.0); correctly report the
5663 name of the failed test again in case of failure, instead of
5664 just 'tf' (fixes #504499).
5666 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5668 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5669 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5670 (gst_base_src_loop), (gst_base_src_set_flushing),
5671 (gst_base_src_change_state):
5672 Allow sending EOS to the source to make it send out an EOS event from
5673 the streaming thread.
5674 Update docs and deprecate the old NULL/READY shutdown method.
5676 * tests/check/libs/basesrc.c: (GST_START_TEST),
5677 (gst_basesrc_suite):
5678 Add unit test for controlled shutdown.
5680 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5682 * docs/design/part-synchronisation.txt:
5685 * gst/gstsegment.c: (gst_segment_set_seek),
5686 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5687 (gst_segment_to_running_time):
5688 The seek format can be different from the segment format when the start
5689 and stop values are not to be updated, when we only do a rate change for
5692 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5693 (gst_segment_suite):
5694 Add a testcase for the rate-only seeks, checking that the format is
5695 correctly ignored when start and stop are not updated.
5697 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5699 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5701 * win32/vs8/grammar.vcproj:
5702 * win32/vs8/libgstcontroller.vcproj:
5703 * win32/vs8/libgstreamer.vcproj:
5704 Fix compilation with VS8 and include some missing files.
5706 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5709 Small docs addition: mention that the strings returned by
5710 gst_tag_list_get_string*() are in UTF-8 encoding.
5712 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5715 The check-exports stuff moved to common/win32.mak, so include that.
5717 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5719 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5720 (gst_base_src_perform_seek), (gst_base_src_get_range),
5721 (gst_base_src_set_playing), (gst_base_src_change_state):
5722 Make _wait_playing() not check any variables so that we can call this
5723 function from subclasses. Move the checks elsewhere similar to
5724 _wait_preroll() in basesink.
5726 Only signal the LIVE cond when we are going back to PLAYING.
5728 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5730 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5731 Use g_remove() and g_rename(). Check result of g_rename(), and
5732 don't leak the open file descriptor if we error out when writing.
5734 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5735 Must check the return value of close() after writing out the new
5736 registry file. Sometimes write problems such as out-of-diskspace
5737 are only reported when the file is closed and not already during
5738 the write. This may have caused partial/broken registry files in
5739 some rare circumstances. Should fix #503675.
5741 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5743 * docs/gst/.cvsignore:
5744 * docs/libs/.cvsignore:
5745 * docs/plugins/.cvsignore:
5746 Ignore files generated by new common/* modifications
5748 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5750 * win32/common/libgstbase.def:
5751 Yes, you can also have a <TAB> if you want.
5753 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5755 * win32/common/libgstbase.def:
5756 Add new basetransform API to win export file.
5758 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5760 * tests/check/gst/gstbin.c:
5761 Adjust the test to the refcount change two days ago.
5763 2007-12-14 David Schleef <ds@schleef.org>
5765 * docs/faq/getting.xml: Fix typo.
5767 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5769 * docs/libs/gstreamer-libs-sections.txt:
5770 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5771 (gst_base_transform_prepare_output_buffer),
5772 (gst_base_transform_set_gap_aware):
5773 * libs/gst/base/gstbasetransform.h:
5774 API: Add gst_base_transform_set_gap_aware() to control whether
5775 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5776 get buffers with this flag at all. Fixes #503231.
5778 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5780 * libs/gst/base/gstbasesink.c:
5781 * libs/gst/base/gstbasesrc.c:
5782 * libs/gst/base/gstbasetransform.c:
5783 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5784 thread. Correct log message in gstbasesrc.c.
5786 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5788 * gst/gstutils.c: (element_find_unconnected_pad):
5789 Fix possible compiler warning (#503417).
5791 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5793 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5794 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5796 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5798 * tools/gst-inspect.c: (print_element_properties_info):
5799 Add support for GstFraction properties.
5801 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5804 Add check-exports target and run it as part of 'make check'
5805 (see #499140 and #493983).
5807 * gst/gst_private.h:
5808 * gst/gstelementfactory.h:
5809 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5810 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5811 (_priv_gst_in_valgrind):
5812 * gst/gstinfo.h: (GstLogFunction):
5813 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5814 (gst_type_find_register):
5815 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5816 (gst_type_find_factory_get_type):
5817 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5818 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5819 (gst_controller_new_valist), (gst_controller_new_list),
5820 (_gst_controller_dispose), (_gst_controller_class_init):
5821 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5822 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5823 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5824 (gst_object_get_controller), (gst_object_set_controller),
5825 (gst_object_suggest_next_sync), (gst_object_sync_values),
5826 (gst_object_set_control_source), (gst_object_get_control_source),
5827 (gst_object_get_value_arrays), (gst_object_get_value_array),
5828 (gst_object_get_control_rate), (gst_object_set_control_rate):
5829 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5830 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5831 Make some functions that should be static static; rename some
5832 private symbols so that they don't get exported; add some FIXME
5833 comments so we can move accidentally exported functions into
5834 our private section in 0.11.
5836 * win32/common/libgstreamer.def:
5837 Add gst_utils_get_timestamp().
5839 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5843 Add more missing "Since:" tags to docs.
5845 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5848 Add mising "Since:" to docs.
5850 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5853 Include "glib-compat-private.h" to fix the build on system with
5854 glib < 2.10. Fixes #503131.
5856 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5860 Actually its not PURE as it gets the time from elsewhere.
5862 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5864 * docs/gst/gstreamer-sections.txt:
5866 * gst/gstdebugutils.c:
5870 * libs/gst/base/gstbasesink.c:
5871 * tools/gst-launch.c:
5872 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5873 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5874 Thanks Tim for spotting.
5875 API: gst_util_get_timestamp
5877 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5880 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5882 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5884 * gst/gststructure.c: (gst_structure_validate_name),
5885 (gst_structure_new_valist), (gst_structure_parse_value),
5886 (gst_structure_from_string):
5887 Don't crash in _from_string() if the structure name is not valid
5888 (fixes #501560). Allow structure names to start with a number
5889 again (this apparently broke the ubuntu codec installer).
5891 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5893 Add unit test for the crash; update unit tests for new behaviour.
5895 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5898 Clarify gst_element_get_compatible_pad() documentation.
5901 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5903 * tests/check/Makefile.am:
5904 Don't forget to dist {gst,libs}/struct_hppa.h.
5906 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5908 * libs/gst/base/gstbasesink.c:
5909 Use new API to get elapsed time.
5911 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5913 * gst/gstdebugutils.c:
5915 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5917 * tools/gst-launch.c:
5918 Use new API to get elapsed time.
5920 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5922 * docs/gst/gstreamer-sections.txt:
5924 * gst/gstdebugutils.c:
5926 Rename new API + ChangeLog surgery to remove old name from last entry..
5928 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5930 * docs/gst/gstreamer-sections.txt:
5932 * gst/gstdebugutils.c:
5934 Now hide the different clock stuff behind a macro.
5936 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5939 * gst/gstdebugutils.c:
5941 Apply the posix-timer check from #361155. Conditionally use the posix
5942 timer for logging. This gives better timestamp precission, less
5943 overhead and no ntp jitter.
5945 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5947 * gst/gstminiobject.c: (gst_mini_object_get_type),
5948 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5949 (gst_mini_object_finalize), (gst_mini_object_copy),
5950 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5951 (gst_mini_object_replace), (param_mini_object_validate),
5952 (gst_param_spec_mini_object_get_type):
5953 Some cleanup and checking against invalid function parameters.
5955 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5957 * docs/gst/gstreamer-sections.txt:
5959 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5960 (gst_systemclock_suite):
5961 Start merging in the easy bits of #361155, the monotonic clock patch.
5962 This one adds a few handy macros with docs and a testsuite.
5964 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5966 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5967 Be a bit smarter when seeking, like, don't try to do a seek when it's
5968 not needed. This avoids errors when the file is not seekable.
5971 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5973 * docs/gst/gstreamer-docs.sgml:
5974 * docs/gst/gstreamer-sections.txt:
5975 * docs/gst/gstreamer.types.in:
5980 * plugins/elements/gstqueue.c:
5981 Due to popular request remove preset interface again. :-(.
5983 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5985 * tools/gst-inspect.c:
5986 Print 'default value' for enums and flags too.
5988 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5990 * docs/random/ensonic/profiling.txt:
5994 Fix typo and give better log output.
5996 * gst/gstdebugutils.c:
5997 * gst/gstdebugutils.h:
5998 More ideas, make graphs a bit smaller and fix param name in macro.
6000 2007-11-22 Stefan Kost <ensonic@users.sf.net>
6003 Try harder to use the return value from fgets().
6005 2007-11-21 Stefan Kost <ensonic@users.sf.net>
6008 For theses two fgets we handle the error below.
6010 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
6012 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
6013 Only send upstream events upstream. Fixes #498746.
6015 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
6017 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
6019 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6020 (gst_identity_init), (gst_identity_transform_ip),
6021 (gst_identity_set_property), (gst_identity_get_property):
6022 * plugins/elements/gstidentity.h:
6023 Add property to disable handoff signal emission. Fixes #498694.
6024 API: GstIdentity::signal-handoffs
6026 2007-11-21 Julien Moutte <julien@fluendo.com>
6028 * docs/faq/gst-uninstalled: Yet another missing library for the
6029 uninstalled script (fft)
6031 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
6033 * docs/faq/developing.xml:
6034 Add a question about how to submit new translations.
6036 * docs/random/release:
6037 Update the contact email address for the Translation Project
6039 * plugins/elements/gstfdsrc.c:
6040 The parent_class for fdsrc is pushsrc, not GstElement.
6042 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6045 Plug a leak and fix saving.
6047 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
6049 * docs/gst/gstreamer-sections.txt:
6050 Add new gst_preset__get_property_names() function to the docs
6053 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6057 Change _get_preset_names API to return a strv with copies. Add
6058 _get_property_names to allow implementations to filter and provide
6059 good default implementation.
6061 2007-11-20 Julien MOUTTE <julien@moutte.net>
6063 * docs/faq/gst-uninstalled: Add another library to the uninstalled
6066 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6069 More cleanups, docs, and TODOs from comments that now slowly come in.
6071 2007-11-19 Julien MOUTTE <julien@moutte.net>
6073 * docs/faq/gst-uninstalled: Add new base libraries in the LD
6076 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6079 Fix bogus warning and make the property type specific code more
6082 2007-11-19 Julien MOUTTE <julien@moutte.net>
6084 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6087 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6089 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6090 (gst_bin_add_func), (gst_bin_remove_func),
6091 (gst_bin_change_state_func), (gst_bin_continue_func):
6092 Change email, cleanups add some more debug and comments.
6093 Also set bus and clock on new elements when the pipeline was in error.
6095 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6098 * gst/gstdebugutils.c:
6099 Fix build with --disable-gst-debug. Fixes #497859.
6100 Spotted by Sameer Naik.
6102 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6105 Little documentation improvment.
6108 More TODO cleanups. Remove c++ comments.
6110 * libs/gst/controller/gstcontroller.c:
6111 Add TODO and use quark from static string.
6113 * tests/check/gst/gstmessage.c:
6114 * tests/check/gst/gststructure.c:
6115 Use quark from static string.
6117 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6120 Add some comments and TODOs.
6123 Add padding for future changes.
6125 * plugins/elements/gstqueue.c:
6126 Implement the iface.
6128 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6130 * docs/gst/gstreamer-docs.sgml:
6131 * docs/gst/gstreamer-sections.txt:
6132 * docs/gst/gstreamer.types.in:
6137 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6139 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6145 === release 0.10.15 ===
6147 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6150 releasing 0.10.15, "October"
6152 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6154 * win32/vs6/libgstreamer.dsp:
6155 Convert line endings back to DOS.
6157 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6159 * docs/design/draft-tagreading.txt:
6160 * docs/random/ensonic/profiling.txt:
6161 Update fast tagreading draft and performance profiling ideas.
6163 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6165 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6166 Don't hold the object lock when unreffing a buffer because it could
6167 cause a deadlock when the finalize function wants to grab the object
6168 lock too. Fixes #495133.
6170 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6172 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6173 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6174 Also accumulate time correctly when doing reverse playback. Fixes
6176 When converting to running and stream time, use default values for
6177 start/stop/time/accum when comparing different formats. Fixes #494245.
6179 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6180 Do running/stream time in TIME format.
6182 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6183 (gst_segment_suite):
6184 2 new unit tests for segment accumulation.
6186 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6188 * gst/gst.c: (init_pre):
6189 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6190 (_gst_debug_bin_to_dot_file):
6191 Move getenv() back into gst_init, so everyone can live happily
6192 ever after. Make sure the symbol isn't exported though.
6194 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6196 Patch by: Sebastien Moutte <sebastien moutte net>
6198 * win32/common/gstenumtypes.c:
6199 * win32/common/gstenumtypes.h:
6202 * win32/vs6/libgstreamer.dsp:
6203 Update vs6 project files (#494343).
6205 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6207 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6208 (gst_base_src_perform_seek), (gst_base_src_default_event),
6209 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6210 (gst_base_src_activate_pull):
6211 Unify flushing code, remove some old unlock code that is no longer used.
6212 Take the streaming lock when seeking to avoid races. Fixes #492729.
6213 Added some more comments.
6215 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6217 * gst/gst.c: (_gst_disable_segtrap):
6218 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6219 we can use gst_segtrap_is_enabled() there now that we have that API.
6220 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6221 to do the getenv here (and export the variable).
6223 * gst/gstdebugutils.c: (debug_dump_element),
6224 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6225 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6227 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6228 (gst_debug_log_default):
6229 Rename _gst_info_start_time to priv_gst_info_start_time so it
6230 doesn't get exported (was never in any header).
6232 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6233 (gst_plugin_loading_mutex):
6234 Make static mutex gst_plugin_loading_mutex really static (was never
6235 in any header), and use gst_segtrap_is_enabled() instead of
6236 _gst_disable_segtrap.
6238 * gst/gsttrace.c: (_gst_trace_default):
6239 Make local _gst_trace_default static (was never in any header).
6241 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6243 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6245 * win32/common/libgstbase.def:
6246 * win32/common/libgstcontroller.def:
6247 * win32/common/libgstdataprotocol.def:
6248 * win32/common/libgstnet.def:
6249 * win32/common/libgstreamer.def:
6250 Add more missing symbols, remove some duplicates, and sort
6251 as the 'sort' command sorts it (partially fixes #493983).
6253 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6255 * gst/gstelement.c: (gst_element_set_state_func):
6256 Only change the state cookie if a different state was set on the
6257 element. See #492729.
6259 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6262 Remove unused and uninitialised type variables that were still
6263 exported for some reason (they were never in any header files
6266 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6268 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6269 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6270 (gst_base_sink_event), (gst_base_sink_get_position_last),
6271 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6272 (gst_base_sink_change_state):
6273 Don't try to report a 0 position when we don't know, return -1 and FALSE
6274 instead. This mostly happens when we are prerolling.
6275 Make sure we can report the right position before we post the ASYNC_DONE
6276 message so that a message handler can query position without races.
6278 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6279 (async_done_handoff), (async_done_func), (send_buffer),
6280 (async_done_eos_func), (gst_sinks_suite):
6281 Add two tests for the above.
6283 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6286 Update with new email address.
6288 * docs/design/part-TODO.txt:
6289 Add some more info about future pad-block and negotiation changes.
6291 * docs/design/part-buffering.txt:
6292 Add some ideas about buffering reporting.
6294 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6296 * tests/check/gst/gstobject.c:
6297 Disable silly racy test that always fails on this combination of CPU
6300 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6302 Patch by: Murray Cumming <murrayc@murrayc.com>
6305 Corrected the registration of the parent-set and parent-unset
6306 signals: The parameter is a GstObject, not a GObject (#493134).
6308 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6310 * gst/gst_private.h:
6319 Move declaration of private _gst_foo_initialize() functions into
6320 our private header file where they should have been all along.
6322 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6324 * docs/plugins/gstreamer-plugins-sections.txt:
6325 * gst/gstdebugutils.h:
6327 * plugins/elements/gstqueue.c:
6328 gtk-doc fixes; trailing-comma-in-enum fix.
6330 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6332 * gst/gst.c: (gst_deinit):
6333 Clean up on deinit (not the external ones though, doesn't seem to be
6334 needed for some reason).
6336 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6338 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6339 Remove __declspec(dllimport) for MSVC that was copied over into core
6340 from a plugin, obviously without ever having been tested (note the
6341 single underscore in _declspec in the initial commit), and that doesn't
6342 really make sense. See #492077.
6344 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6346 * gst/gst.c: (init_post):
6347 * gst/gstevent.c: (_gst_event_initialize):
6348 * gst/gstquery.c: (_gst_query_initialize):
6349 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6350 g_type_class_ref() other types as well, see #349410 and #64764.
6352 * gst/gstbuffer.c: (_gst_buffer_initialize):
6353 * gst/gstmessage.c: (_gst_message_initialize):
6354 Simplify existing g_type_class_ref().
6356 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6358 * gst/gstformat.c: (_gst_format_initialize):
6359 g_type_class_ref() our GstFormat type to make sure we avoid the
6360 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6361 bug #64764. Should fix intermittent tee unit test failures (#474823).
6363 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6365 * tests/check/elements/tee.c: (test_num_buffers):
6366 Simplify, simplify, simplify - or not. Rewrite unit test
6367 not to use gst_parse_launch(); allow N sub-streams. Increasing
6368 the number of sub-streams seems to reproduce #474823 more easily.
6370 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6372 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6375 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6376 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6377 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6378 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6379 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6380 so use _pipe() directly (#492077).
6382 * win32/common/dirent.c: (_treaddir):
6383 Add a couple of casts to make it build without warnings with MSVC.
6385 * win32/common/libgstreamer.def:
6386 Add some more symbols that need to be exported.
6388 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6390 * tests/examples/metadata/read-metadata.c: (message_loop):
6391 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6392 arriving in a second or third tag message are added to
6393 the tag list as well.
6395 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6397 * libs/gst/base/gstbasesrc.c:
6398 Its "Since:" and not "@Since:". And remove an superflous cast.
6400 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6402 * docs/libs/gstreamer-libs-sections.txt:
6403 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6404 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6405 (gst_base_sink_get_property), (gst_base_sink_render_object),
6406 (gst_base_sink_preroll_object),
6407 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6408 (gst_base_sink_change_state):
6409 * libs/gst/base/gstbasesink.h:
6410 Add a new last-buffer property that contains the last buffer used in
6411 basesink for preroll or rendering. useful for making snapshots.
6412 API: gst_base_sink_get_last_buffer()
6413 API: GstBaseSink::last-buffer
6415 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6417 * docs/gst/running.xml:
6419 * gst/gstdebugutils.c:
6420 * gst/gstdebugutils.h:
6421 * tools/gst-launch.c:
6422 Improve bin graph dumping, by using the envvar to specify a path.
6423 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6425 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6427 * plugins/elements/gsttypefindelement.c:
6428 (gst_type_find_element_handle_event),
6429 (gst_type_find_element_activate):
6430 Post special error message if we can't determine the type of a stream
6433 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6435 * docs/gst/running.xml:
6436 * gst/gstdebugutils.c:
6437 Document new env-var. Add one log-line after dumpng a graph.
6439 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6442 Ugly hack to put the (recently removed and non-portable, apparently)
6443 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6444 GNU ld, because without that 'make check' fails miserably on my debian
6445 stable box. Someone with more knowledge of linker intricacies and
6446 portability issues than me fix this properly please.
6448 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6450 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6451 Reset last seen position after flushing so that we don't report the old
6454 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6456 * gst/gstelementfactory.c: (gst_element_register):
6458 Patch from Alessandro Decina adding get_type_full and
6459 get_protocols_full private vfuncs to the URIHandler interface
6460 to allow bindings to support creating URI handlers.
6461 Partially fixes: #339279
6462 API: GstURIHandlerInterface::get_type_full
6463 API: GstURIHandlerInterface::get_protocols_full
6465 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6467 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6468 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6469 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6470 Make it so that pads are considered linked until a buffer is pushed
6471 and discovered otherwise. This avoids problems with decodebin2 hanging
6472 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6475 Make sure we lock the multiqueue when updating the max-size properties.
6477 Fix a crash on Solaris in a debug statement in get_request_pad that
6478 passes a NULL string to GST_DEBUG.
6480 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6481 (run_output_order_test):
6482 Fix the test to allow the first buffer on not-linked pads to come out
6483 of sequence while multiqueue discovers that they are not-linked.
6485 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6488 * libs/gst/check/Makefile.am:
6489 Use a custom export symbol regex for libgstcheck, as it needs
6490 to export symbols that don't match the standard GStreamer gst_*
6491 pattern, and --export-dynamic is not portable (only works on
6494 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6495 (gst_check_setup_sink_pad):
6496 Make sure to pass a message parameter to the fail_* macros.
6498 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6499 Fix some compiler warnings.
6501 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6503 * tests/check/gst/gststructure.c: (test_to_string):
6504 Disable test that checks that white spaces are not allowed
6505 in structure names or field names, since we need to
6506 support that for now for backwards compatibility reasons.
6508 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6510 * docs/gst/gstreamer-sections.txt:
6513 API: add GST_TAG_ARTIST_SORTNAME
6514 API: add GST_TAG_ALBUM_SORTNAME
6515 API: add GST_TAG_TITLE_SORTNAME
6516 Add tag variants for sorting (#414539).
6518 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6520 * gst/gststructure.c:
6521 Also allow white space for names so we don't break
6522 backwards compatibility.
6524 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6526 * docs/design/part-TODO.txt:
6527 * docs/design/part-segments.txt:
6528 * docs/design/part-streams.txt:
6531 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6533 * docs/gst/gstreamer-sections.txt:
6534 Fixed documentation from my previous commit (added new API add
6535 gst_value_set_structure(), add gst_value_get_structure() and
6536 GST_VALUE_HOLDS_STRUCTURE).
6538 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6540 * gst/gstdebugutils.c:
6541 Reflow code to fix uninitialized variable warning.
6543 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6545 * gst/gstcaps.c: (gst_caps_to_string),
6546 (gst_caps_from_string_inplace):
6547 * gst/gststructure.c: (gst_structure_get_abbrs),
6548 (gst_structure_to_string), (gst_structure_from_string):
6549 * gst/gstvalue.c: (gst_value_set_structure),
6550 (gst_value_get_structure), (gst_value_serialize_structure),
6551 (gst_value_deserialize_structure), (_gst_value_initialize):
6553 * tests/check/gst/gststructure.c: (GST_START_TEST),
6554 (gst_structure_suite):
6555 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6556 Added GstStructure to gst_value_table and its related functions.
6557 Changed gst_structure_to_string to print ';' in the end.
6558 Changed gst_caps_to_string to not print ';' beteween its
6559 fields (structures) anymore and remove the lastes ';' from latest
6560 structure. Now it is possible to have nested structures.
6561 In addition, backward compatibilty is assured by accepting '\0' as
6562 end delimiter. Fixes: #487969.
6563 API: add gst_value_set_structure()
6564 API: add gst_value_get_structure()
6565 API: add GST_VALUE_HOLDS_STRUCTURE
6567 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6570 When no GSource callback has been set up, tell developer
6571 to use a function that actually exists.
6573 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6575 * docs/gst/gstreamer-sections.txt:
6579 * gst/gstdebugutils.c:
6580 * gst/gstdebugutils.h:
6583 * tools/gst-launch.c:
6584 Allow dumping pipelines as dot graphs. Fixes #456573.
6586 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6588 * gst/gststructure.c:
6589 Allow '+' as well, it can be part of media or mime types
6590 such as image/svg+xml.
6592 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6594 * docs/gst/gstreamer-sections.txt:
6597 API: add gst_bus_pop_filtered
6598 API: add gst_bus_timed_pop_filtered
6599 Two new functions for waiting for specific message types on the
6600 bus for a specified amount of time without iterating any main
6601 loops or main contexts.
6603 * tests/check/gst/gstbus.c:
6604 Some tests for the new functions.
6606 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6608 * docs/libs/gstreamer-libs-sections.txt:
6609 Make gtk-doc ignore stuff it should ignore.
6611 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6613 * libs/gst/check/gstcheck.c:
6614 * libs/gst/check/gstcheck.h:
6615 Allow runtime selection of unit tests to run via the GST_CHECKS
6616 environment variable (test case function names, comma-separated).
6618 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6620 * gst/gststructure.c:
6621 * tests/check/gst/gststructure.c:
6622 Revert serialisation change and constrain structure-names after
6623 consensus on irc. Update api documentation to reflect the change.
6625 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6627 * gst/gststructure.c:
6628 Improve serialization and fix tests.
6630 * tests/check/gst/gststructure.c:
6631 Add another test that covers why I actually did the previous structure
6634 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6636 * tools/gst-inspect.c: (print_element_info):
6637 Don't crash when inspecting an element.
6639 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6641 * tests/check/gst/gststructure.c:
6642 Add unit test for escaping of structure name when serialising
6643 and deserialising to/from strings.
6645 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6647 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6648 (gst_single_queue_new):
6649 * plugins/elements/gstqueue.c: (gst_queue_init),
6650 (gst_queue_push_one):
6651 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6652 upstream is tricked into thinking it can suggest a format downstream
6653 while downstream does not support that format. The real problem is that
6654 core calls acceptcaps when pushing a buffer with new caps, for which we
6655 do a little workaround by setting the caps on the srcpad ourselves
6656 before pushing the buffer (until this is figured out). Fixes #486758.
6658 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6660 * gst/gststructure.c:
6662 Add some more comments and debug output. Quote structure name to fix
6663 deserialisation of some strings.
6665 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6668 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6669 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6671 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6673 * tools/gst-inspect.c:
6674 Save approx. 400 1 byte allocs when printing. Use API to acces element
6680 * tools/gst-xmlinspect.c:
6681 Use API to acces element details.
6683 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6686 Fix some spelling errors.
6688 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6690 * gst/gstbin.c: (bin_handle_async_done):
6691 Correctly set the next state if all of our async children commited their
6692 state. This makes sure we can actually cancel the state change in
6693 progress. Fixes a regression in Rhythmbox when seeking.
6695 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6698 Don't shadow local variable.
6701 Don't shadow global function name.
6703 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6705 * gst/gstelementfactory.c:
6706 * gst/gstpluginfeature.c:
6707 * gst/gstpluginfeature.h:
6708 * gst/gstregistrybinary.c:
6709 * gst/gstregistryxml.c:
6710 * gst/gsttypefind.c:
6711 Use already-interned string for the private GstPluginFeature
6714 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6716 * docs/libs/gstreamer-libs-sections.txt:
6717 Add new API to docs; fixes the build.
6719 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6721 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6723 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6724 (gst_base_sink_event):
6725 * libs/gst/base/gstbasesink.h:
6726 Add function to wait for EOS, subclasses can use this to correctly wait
6727 for devices to drain before performing the EOS logic. Fixes #485343.
6728 API: gst_base_sink_wait_eos()
6730 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6733 Cast description string constants in GST_PLUGIN_DEFINE macros
6734 to a (gchar*) to make C++ code using these macros compile
6735 without warning with g++-4.2 (see #462737). Even if slightly
6736 ugly, this seems preferable to putting the description strings
6737 into the GLib quark table or making the structure member a
6738 const gchar * and doing casts in core code that allocs and
6739 frees these strings, or requiring a cast in the C++ code.
6741 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6744 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6745 to print the entire class/function signature into the log
6746 file for C++ code. This only affects C++ code, for C code
6747 everything remains the same.
6749 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6751 * gst/gstbin.c: (remove_from_queue):
6752 Work around a problem with pipelines containing (semi)loops until a
6753 proper, more complicated solution is ready. See #475455.
6755 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6759 * gst/gstregistrybinary.c:
6760 * gst/gstregistryxml.c:
6761 Put more strings into the GLib quark table. No need to keep
6762 a hundred-something copies of identical version strings,
6763 license strings, package name strings and package origin
6766 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6768 * docs/manual/advanced-dataaccess.xml:
6769 Don't imply that it's okay to unconditionally change
6770 buffer data or buffer metadata in a pad probe callback,
6771 and a bunch of other comments. Fixes #430031.
6773 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6775 * win32/common/gstenumtypes.c:
6776 * win32/common/gstenumtypes.h:
6777 * win32/common/gstversion.h:
6778 Update generated files.
6780 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6782 * docs/manual/advanced-autoplugging.xml:
6783 Prefix section with broken code with a warning (see #342432).
6785 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6787 * docs/manual/appendix-integration.xml:
6788 * docs/manual/basics-init.xml:
6789 Call g_thread_init() before g_option_context_new() to
6790 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6792 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6794 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6795 (gst_base_sink_queue_object_unlocked),
6796 (gst_base_sink_queue_object), (gst_base_sink_event),
6797 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6798 When we received EOS and are waiting for when to post the EOS message,
6799 our state is prerolled and we should not return ASYNC.
6800 Reorganize some code paths to implement this behavior.
6802 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6804 Add unit test to verify above EOS fix.
6806 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6808 * plugins/elements/gsttypefindelement.c:
6809 (gst_type_find_element_have_type), (gst_type_find_element_init),
6810 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6811 Move detecting the input caps of the sinkpad to the setcaps function.
6812 This allows us to update the output caps when we receive new input caps
6813 instead of always using the first detected caps.
6815 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6817 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6818 (gst_base_sink_get_position):
6819 Don't try to preroll non-async elements after a flush.
6820 Subtract latency form clock times when reporting position.
6822 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6824 * gst/gstpad.c: (gst_pad_pause_task):
6826 Small comment and documentation update.
6828 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6830 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6831 (gst_base_src_set_live), (gst_base_src_is_live),
6832 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6833 (gst_base_src_default_event), (gst_base_src_wait),
6834 (gst_base_src_do_sync), (gst_base_src_get_range),
6835 (gst_base_src_pad_get_range), (gst_base_src_loop),
6836 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6837 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6838 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6839 (gst_base_src_change_state):
6840 Rework the locking of basesrc in a similar fashion to basesink. We
6841 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6842 us to handle live sources and semi live ones much better.
6844 Fix unlocking when seeking, shutting down and pausing in live sources.
6846 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6848 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6849 Fix compilation again.
6851 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6854 Use meaningful categories for the logs to clean the default one.
6856 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6858 * tests/check/pipelines/cleanup.c:
6859 Print message name and not just number.
6861 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6863 * docs/design/draft-tagreading.txt:
6864 Add some more thoughts.
6866 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6868 * tests/check/pipelines/simple-launch-lines.c:
6869 Print message name and not just number.
6871 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6873 * libs/gst/base/gsttypefindhelper.c:
6874 Speedup typefinding. This is work in progress (see #459862).
6876 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6879 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6880 Spotted by Josep Torra Valles <josep@fluendo.com>.
6882 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6885 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6886 field has moved to GstObject.
6888 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6890 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6891 (gst_base_src_get_range), (gst_base_src_change_state):
6892 Call unlock for live sources so that they can't get stuck in _create and
6893 produce a buffer before they are set back to PLAYING.
6895 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6897 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6898 (gst_queue_locked_dequeue):
6899 Comment the segment-related code... in the PROPER function.
6900 See #482147 and my commit from yesterday.
6902 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6904 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6905 Also initialize the counter that calculates the first timestamp on a
6906 buffer correctly for non-live sources.
6908 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6910 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6911 Disable code that's breaking the current-time-level reporting.
6914 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6916 * docs/gst/gstreamer-sections.txt:
6917 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6918 as they shouldn't show up. Fixes the docs build.
6920 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6923 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6924 Define M_PI which is used in files which are including gstinfo.h.
6925 VS6 includes doesn't define it.
6926 * win32/common/libgstbase.def:
6927 * win32/common/libgstcontroller.def:
6928 * win32/common/libgstreamer.def:
6929 Add new exported functions and variables.
6930 * win32/vs6/libgstcontroller.dsp:
6931 * win32/vs6/libgstreamer.dsp:
6932 Update the list of files to build.
6934 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6936 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6938 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6939 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6940 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6941 Improve debugging. Fixes #480858.
6943 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6945 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6947 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6948 First patch of code cleanups, use the macros and right arguments in the
6949 macros to signal and lock the queue. See #480858.
6951 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6953 * gst/gstbus.c: (poll_func):
6954 Improve debugging when dealing with _poll().
6956 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6958 * gst/gstregistryxml.c:
6959 Fix memory leak I introduced a few days ago.
6961 2007-09-26 Michael Smith <msmith@fluendo.com>
6963 * gst/gstbuffer.c: (gst_buffer_finalize):
6964 Make it once again possible to free GstBuffers in the default
6966 The poisoning scribbles on parts of the miniobject we need in
6970 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6972 * docs/gst/gstreamer-sections.txt:
6975 API: add GST_TAG_COMPOSER, fixes #459809.
6977 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6981 Add the 3-clause BSD license and the MIT/X11 license to the license
6982 list. Fixes #479784.
6984 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6986 * docs/faq/getting.xml:
6987 Add Q+A about different GStreamer versions (#364056).
6989 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6991 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6992 (gst_base_sink_event), (gst_base_sink_change_state):
6993 Return correct gboolean from query function.
6995 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6997 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6998 (gst_base_sink_event), (gst_base_sink_query),
6999 (gst_base_sink_change_state):
7000 Simplify latency query.
7001 When not synchronizing, we can report latency without querying the peer
7004 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
7008 Fix small typos in the docs.
7010 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
7012 * docs/design/draft-latency.txt:
7013 * docs/design/draft-push-pull.txt:
7014 * docs/design/draft-tagreading.txt:
7015 * docs/design/part-MT-refcounting.txt:
7016 * docs/design/part-activation.txt:
7017 * docs/design/part-block.txt:
7018 * docs/design/part-element-source.txt:
7019 * docs/design/part-events.txt:
7020 * docs/design/part-gstbin.txt:
7021 * docs/design/part-gstelement.txt:
7022 * docs/design/part-gstobject.txt:
7023 * docs/design/part-gstpipeline.txt:
7024 * docs/design/part-messages.txt:
7025 * docs/design/part-preroll.txt:
7026 * docs/design/part-push-pull.txt:
7027 * docs/design/part-qos.txt:
7028 * docs/design/part-query.txt:
7029 * docs/design/part-scheduling.txt:
7030 * docs/design/part-seeking.txt:
7031 * docs/design/part-segments.txt:
7032 * docs/design/part-states.txt:
7033 Documentation updates and typo fixes.
7035 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
7037 * plugins/elements/gstfakesink.c:
7038 Add some debug text to error message to indicate that
7039 we errored out on request.
7041 * tools/gst-launch.c:
7042 When the state change to PLAYING fails, check for an
7043 error message on the bus and print it.
7045 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
7047 translated by: Jorge González González <aloriel@gmail.com>
7051 Added Spanish translation.
7053 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
7055 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7056 Fix printf arguments.
7058 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7060 * tests/check/generic/states.c:
7061 Improved state change unit test.
7063 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7066 Move priv to the right place.
7068 * gst/gstsystemclock.c:
7069 Add FIXME: and improve log.
7071 * tests/check/Makefile.am:
7072 * tests/examples/manual/Makefile.am:
7073 Work with all types of registries.
7075 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
7077 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7078 Don't unref the event after pushing it. Fixes #478401.
7080 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7083 * tests/examples/manual/.cvsignore:
7084 Ignore registries in any format.
7086 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7088 * gst/glib-compat-private.h:
7089 Add compatibility macro for g_intern_string() for
7090 GLib-2.8 (any reason we can't just bump the
7091 requirement to at least 2.10?)
7093 * gst/gstpadtemplate.h:
7094 * gst/gstelementfactory.c:
7095 * gst/gstregistryxml.c:
7096 * gst/gstregistrybinary.c:
7097 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7098 up the internal code accordingly. This shouldn't be a problem, since
7099 there is no reason external code could ever assume the string in such
7100 a structure is dynamically allocated unless it did that itself; the
7101 use of g_strdup() is private to element factories. The new code also
7102 saves some memory by putting pad template name strings into the GLib
7103 quark table instead of allocating them dynamically.
7104 Declaring this field constant fixes warnings with g++-4.2 when using
7105 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7107 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7109 * gst/gstelementfactory.c:
7110 Release static caps. Fixes #475723.
7112 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7116 Make some internal API take const gchar * instead of just
7117 gchar * to avoid compiler warnings with g++-4.2.2 when
7118 passing string constants (partially fixes #478092).
7120 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7122 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7123 A latency query fails when one of the sinks fail.
7125 * gst/gstelement.c: (gst_element_set_base_time):
7128 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7130 * gst/gstbin.c: (gst_bin_continue_func):
7131 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7133 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7135 Fix minor compilation warnings shown with Forte.
7137 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7139 * plugins/elements/gstqueue.c: (apply_buffer),
7140 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7141 Measure queue level based on the diff between head and tail timestamps
7142 even when pushing the first buffer.
7144 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7146 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7147 (gst_base_sink_event), (gst_base_sink_change_state):
7148 Sinks that don't preroll can always be queried for the latency.
7149 Don't post ASYNC start when we are not async.
7151 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7153 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7154 (gst_queue_handle_sink_event), (gst_queue_chain),
7155 (gst_queue_push_one), (gst_queue_handle_src_query),
7156 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7157 * plugins/elements/gstqueue.h:
7158 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7159 push more buffers but allow pushing of EOS and NEWSEGMENT.
7160 Add some more debug info here and there. Fixes #476514.
7162 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7164 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7165 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7166 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7167 (gst_base_sink_set_flushing), (gst_base_sink_query),
7168 (gst_base_sink_change_state):
7169 Latency query is allowed after we are prerolled. Introduce a new flag
7170 for this and stop abusing other variables.
7172 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7174 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7175 Push OOB events downstream when we get them in send_event. This allows
7176 the application to insert events in the pipeline.
7177 Add some more comments.
7179 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7181 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7182 (do_bin_latency), (gst_bin_change_state_func):
7183 * gst/gstpipeline.c: (gst_pipeline_change_state):
7184 Move latency query from GstPipeline to GstBin so that we can also
7185 use it when async-handling is enabled on bins.
7187 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7189 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7190 (gst_base_src_do_sync), (gst_base_src_change_state):
7192 Clean up the timestamping and syncing code for pseudo live sources.
7194 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7196 Patch by: Steve Fink <sphink gmail com>
7198 * docs/manual/appendix-checklist.xml:
7199 Mention less -R switch in the section about debug output (#474055).
7201 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7203 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7204 Queue can latency to the pipeline up to the configured max size in time.
7205 Report this fact in the latency query.
7207 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7209 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7211 * libs/gst/controller/gstinterpolation.c:
7212 * libs/gst/controller/gstlfocontrolsource.c:
7213 Use gst_guint64_to_gdouble() when converting from a uint64 or
7214 GstClockTime to double to fix the build on win32. Fixes #474371.
7216 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7218 * gst/gstbuffer.c: (gst_buffer_finalize):
7219 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7220 When finalizing a buffer the complete struct is filled with 0xff,
7221 thus making a use of the buffer after the final unref impossible.
7223 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7225 * tests/check/libs/controller.c: (GST_START_TEST):
7226 Use fail_unless_equals_int(a, b) instead of
7227 fail_unless_equals (a == b) to get better output on failures.
7229 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7231 * tests/check/gst/gsturi.c:
7232 Also check for the other file URI variant on win32.
7234 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7236 * gst/gsturi.c: (gst_uri_get_location):
7237 If there's no hostname, we want to return 'c:/foo/bar.txt'
7238 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7240 * tests/check/gst/gsturi.c:
7241 Unit test for the above and a few more things.
7243 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7245 * docs/design/part-live-source.txt:
7246 Add docs on how live sources should timestamp.
7248 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7249 Add some more debug info.
7250 For subclasses that are live and like to sync, add aditional startup
7251 latency to sync time and timestamps so that we timstamp according to the
7254 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7257 Also do a g_type_class_ref() for the subbuffer type in
7260 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7262 * docs/gst/gstreamer-sections.txt:
7263 * gst/gstpad.c: (gst_pad_peer_query):
7265 Add function to perform a query on the peer of a pad.
7266 API: gst_pad_peer_query()
7268 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7270 * tests/check/gst/gstsystemclock.c:
7271 Cleanup the test a little (use gst-logging and not g_message). Improve
7272 test to check if a wait reached the target.
7274 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7276 * docs/libs/gstreamer-libs-sections.txt:
7277 Add new API to docs and fix the build.
7279 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7281 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7282 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7283 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7284 (gst_base_src_get_property), (gst_base_src_do_sync):
7285 * libs/gst/base/gstbasesrc.h:
7286 Add property to make the basesrc timestamp buffers based on the current
7288 API: GstBaseSrc::do-timestamp
7289 API: gst_base_src_set_do_timestamp()
7290 API: gst_base_src_get_do_timestamp()
7292 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7294 * docs/random/release:
7295 Really make sure translations are up-to-date before
7296 a release (#465010).
7298 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7300 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7301 Always destroy the timer, also in error cases.
7303 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7305 * docs/manual/highlevel-xml.xml:
7306 Fix XML example code. Fixes #472714.
7308 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7310 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7311 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7312 (gst_base_sink_query):
7313 Protect eos and have_preroll with the OBJECT lock so we don't need to
7314 take the PREROLL lock when querying the latency. Fixes #473846.
7316 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7319 Give some log-messages a category.
7321 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7323 * gst/gststructure.c:
7324 (gst_structure_fixate_field_nearest_fraction):
7325 Fix fraction list fixation code. Take the fraction with the smallest
7326 difference with the target instead of the first one in the list.
7328 * tests/check/gst/gststructure.c: (GST_START_TEST),
7329 (gst_structure_suite):
7330 Added test to verify correct fraction list fixation behaviour.
7332 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7334 * win32/common/libgstreamer.def:
7335 Export gst_bus_add_signal_watch too.
7337 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7339 * docs/libs/gstreamer-libs-sections.txt:
7340 Add new methods to docs.
7342 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7343 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7344 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7345 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7346 * libs/gst/base/gstbasesink.h:
7347 Add ts-offset property to fine-tune the synchronisation.
7348 API: GstBaseSink::ts-offset property
7349 API: gst_base_sink_set_ts_offset()
7350 API: gst_base_sink_get_ts_offset()
7352 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7354 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7355 (gst_base_sink_init), (gst_base_sink_set_sync),
7356 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7357 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7358 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7359 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7360 (gst_base_sink_get_property), (gst_base_sink_change_state):
7361 * libs/gst/base/gstbasesink.h:
7362 Add async property to instruct the sink never to inform the parent about
7363 ASYNC state changes, update docs.
7364 Check argument with g_return_* for the public functions.
7365 API: GstBaseSink::async property
7366 API: gst_base_sink_set_async_enabled()
7367 API: gst_base_sink_is_async_enabled()
7369 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7371 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7374 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7375 (gst_base_src_default_query), (gst_base_src_wait),
7376 (gst_base_src_do_sync), (gst_base_src_change_state):
7377 Rearrange some code so that we can add support for measuring the
7380 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7382 * docs/random/ensonic/dynlink.txt:
7383 More thoughs on this.
7385 * plugins/elements/gstcapsfilter.c:
7386 Add bugzilla ticket number to FIXME comment.
7388 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7390 * docs/design/part-TODO.txt:
7391 * docs/design/part-block.txt:
7394 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7397 Revert patch which uses $(gst_headers) instead of $^ because it
7400 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7402 * tests/check/gst/gstbin.c: (GST_START_TEST):
7403 Fix leaks in the new unit test.
7405 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7408 Don't use GST_INFO before the debug system is actually initialised
7409 (shouldn't do any harm, but won't print anything either, so we can
7410 just as well remove it).
7413 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7414 compilers that don't support variadic macros (such as MSVC), should
7415 check for debug_level <= __gst_debug_min as well, since that's the
7416 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7417 inline helper functions. Should improve performance a bit, but also
7418 makes sure uses of GST_INFO et.al are ignored if the debugging
7419 system isn't initialised yet (instead of printing an assertion
7422 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7424 patch by: David Nečas <yeti@physics.muni.cz>
7427 Replace some non portable makefile constructs.
7429 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7431 * common/gtk-doc-plugins.mak:
7432 Grrrrr. Don't remove the types file on make clean.
7434 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7436 * tools/gst-launch.1.in:
7437 Add colorspace to example pipeline. Fixes #458274.
7439 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7441 * docs/random/release:
7442 The release manager should run 'make download-po' before making a
7443 release to make sure translations are up-to-date.
7449 Add some new translations.
7451 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7453 * tools/gst-launch.c: (event_loop), (main):
7454 Don´t try to do any state management when a live pipeline posts
7456 Also make the buffering string translatable.
7458 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7460 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7461 (bin_handle_async_start), (gst_bin_handle_message_func):
7463 When adding elements, insert messages into the bus of the newly added
7464 element and make sure the element is the source of the message. This
7465 allows the parent bin to intercept the message and do the
7466 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7467 messages to the app (which is not allowed).
7470 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7471 Fix testsuite so that is does not work around messages that should not
7472 have been posted in the first place.
7474 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7476 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7477 (update_degree), (gst_bin_sort_iterator_next):
7478 Fix annoying bug in the sorted iterator where a sink that is not really
7479 a sink (when it has downstream links) screwed up the iterator.
7481 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7482 Unit test to verify the fix.
7484 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7487 Add some more docs for the messages.
7489 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7490 (gst_base_sink_query):
7491 Add some more debugging.
7493 * tools/gst-launch.c: (event_loop):
7494 When interrupting, don't try to set pipeline to PAUSED twice.
7496 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7499 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7500 (bin_handle_async_start), (gst_bin_handle_message_func):
7501 Move ASYNC_START message posting to where it belongs, similar to
7503 Don't post ASYNC_START when we are in error.
7504 Post ASYNC_START when we added an async element to a bin.
7506 2007-08-14 Julien MOUTTE <julien@moutte.net>
7508 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7509 generation from vargs. Fixes #466595.
7511 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7513 * gst/gstbin.c: (gst_bin_element_set_state):
7514 Always change the state of a NO_PREROLL element even if it has ASYNC
7515 elements inside (in case of a bin).
7517 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7518 Unit test for this case.
7520 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7522 * libs/gst/check/gstbufferstraw.c:
7523 * libs/gst/check/gstcheck.h:
7524 * libs/gst/controller/gstcontroller.c:
7525 * libs/gst/controller/gstcontrolsource.h:
7526 * libs/gst/controller/gstlfocontrolsource.h:
7527 * plugins/elements/gstcapsfilter.h:
7528 * plugins/elements/gstfdsink.h:
7529 * plugins/elements/gstfdsrc.h:
7530 Add more missing docs.
7532 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7534 * gst/gststructure.c:
7535 Add Since tag to docs.
7537 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7539 * docs/gst/gstreamer-sections.txt:
7540 * gst/gststructure.c: (gst_structure_get_uint):
7541 * gst/gststructure.h:
7542 Add function to get uint from a structure.
7543 API: gst_structure_get_uint()
7545 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7547 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7548 (gst_caps_intersect):
7549 Fix proper check for simple caps.
7551 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7553 * docs/gst/Makefile.am:
7554 * docs/libs/Makefile.am:
7555 Remove cruft and do some cleanups.
7557 * docs/gst/gstreamer-docs.sgml:
7558 * docs/libs/gstreamer-libs-docs.sgml:
7559 Prepare for comming gtkdoc features (rebase against online docs).
7561 2007-08-10 Michael Smith <msmith@fluendo.com>
7563 * docs/gst/gstreamer-sections.txt:
7564 Add gst_registry_add_path to docs.
7566 2007-08-10 Michael Smith <msmith@fluendo.com>
7568 * gst/gstregistry.h:
7569 Add gst_registry_add_path, which was missing from this header.
7571 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7573 * libs/gst/controller/gstlfocontrolsource.c:
7576 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7578 * libs/gst/base/gstbasesink.c:
7579 Don't send an async_start message during downwards state change if
7580 target state is less than READY
7582 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7584 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7588 Added Hungarian translation.
7590 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7597 Updated translations.
7599 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7601 * libs/gst/controller/Makefile.am:
7602 Dist gstlfocontrolsourceprivate.h
7604 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7606 * docs/libs/gstreamer-libs.types:
7607 Don't register the enum type gst_lfo_waveform_get_type() in the
7608 .types file - only GObject derived types belong.
7610 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7612 Patch by: <arenevier at fdn dot fr>
7615 Remove comma from last element in enum to avoid compile errors when
7616 using -pendantic. Fixes #464366.
7618 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7620 * docs/design/part-TODO.txt:
7621 Add some more TODO items
7623 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7626 * gst/gstcaps.c: (gst_caps_intersect):
7627 Optimize trivial intersection case between identical caps pointers.
7629 * gst/gstelement.c: (gst_element_continue_state),
7630 (gst_element_set_state_func):
7632 Fix spelling and grammar mistakes.
7634 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7638 Update POTFILES. Fixes #461599.
7640 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7643 Fix confusing typo in debug output.
7645 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7647 reviewed by: Stefan Kost <ensonic@users.sf.net>
7649 * libs/gst/controller/Makefile.am:
7650 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7651 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7652 (gst_lfo_control_source_new),
7653 (gst_lfo_control_source_set_waveform),
7654 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7655 (gst_lfo_control_source_finalize),
7656 (gst_lfo_control_source_dispose),
7657 (gst_lfo_control_source_set_property),
7658 (gst_lfo_control_source_get_property),
7659 (gst_lfo_control_source_class_init):
7660 * libs/gst/controller/gstlfocontrolsource.h:
7661 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7662 API: Add GstLFOControlSource, a control source that gives values
7663 for specific timestamps based on several periodic waveforms.
7666 * tests/check/libs/controller.c: (GST_START_TEST),
7667 (gst_controller_suite):
7668 * docs/libs/gstreamer-libs-docs.sgml:
7669 * docs/libs/gstreamer-libs-sections.txt:
7670 * docs/libs/gstreamer-libs.types:
7671 Add documentation and unit tests for GstLFOControlSource.
7673 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7678 === release 0.10.14 ===
7680 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7683 releasing 0.10.14, "Breathing Vacuum"
7685 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7687 * gst/gstelement.c: (gst_element_class_set_details_simple):
7689 Make strings passed to gst_element_class_set_details_simple()
7690 constant, as they should be (#462752).
7692 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7694 * gst/gstbin.c: (gst_bin_change_state_func),
7695 (bin_handle_async_done), (gst_bin_handle_message_func):
7696 Don't forget about the fact that some element went ASYNC even after a
7697 resync. This makes us post the ASYNC_DONE message correctly.
7700 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7702 * gst/gstregistry.c: (gst_registry_add_feature):
7703 When replacing an existing feature in the registry, make sure to
7704 continue holding a reference until we've replaced the name string
7705 within our feature hash table. Make sure to use g_hash_table_replace
7706 instead of g_hash_table_insert to ensure the new name string is used
7707 as a key instead of the old one that we're about to free.
7710 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7712 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7713 (gst_plugin_feature_set_name):
7714 Revert patch from #459466 until after the release and we can work
7715 out exactly what the problem is (if any).
7717 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7719 * docs/gst/gstreamer-sections.txt:
7722 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7724 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7726 * docs/libs/Makefile.am:
7727 Include our build-prefix libs and includes before the generic ones to
7728 avoid linking against the installed libs when we want the build-tree
7731 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7733 Patch by: Steve Fink <sphink gmail com>
7735 * docs/pwg/building-testapp.xml:
7736 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7737 if people try to build or install the example from the plugin
7738 template against a GStreamer from package using the configure
7741 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7743 Patch by: Steve Fink <sphink gmail com>
7745 * tools/gst-inspect.1.in:
7746 Document --print-all and --print-plugin-auto-install-info command
7747 line options in man page.
7749 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7751 * docs/gst/gstreamer-sections.txt:
7752 Add docs for new api function.
7754 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7756 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7757 * gst/gstelementfactory.h:
7758 API: gst_element_factory_has_interface()
7759 Added method to check if an element factory implements a named
7762 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7765 * docs/gst/gstreamer.types.in:
7766 Another conditional doc check.
7769 * gst/gstparamspecs.h:
7770 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7775 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7777 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7778 (gst_registry_binary_load_feature),
7779 (gst_registry_binary_load_plugin),
7780 (gst_registry_binary_read_cache):
7781 Print error just once and with additional info.
7783 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7785 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7786 (helper_find_suggest), (helper_find_get_length),
7787 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7788 (gst_type_find_helper_for_buffer):
7789 Cleanup the typefindhelper code and add private doc comments.
7791 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7793 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7794 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7795 Fix capsfilter for cases where the caps set on capsfilter will provide
7796 additional information.
7799 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7801 * gst/gsttypefindfactory.c:
7802 Fix docs that recommened wrong function to use.
7804 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7806 * tools/gst-inspect.c: (print_plugin_features):
7807 Also give media-type for typefinders in element output.
7809 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7811 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7812 (gst_registry_remove_features_for_plugin_unlocked),
7813 (gst_registry_add_feature), (gst_registry_remove_feature),
7814 (gst_registry_lookup_feature_locked):
7815 * gst/gstregistry.h:
7816 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7819 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7821 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7822 (gst_plugin_feature_set_name):
7823 Avoid double memory usage for pluginfeature names. Fixes #459466.
7825 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7828 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7829 driving the pipeline may need to explicitly check for NOT_LINKED as
7830 well, since IS_FATAL doesn't cover that.
7832 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7834 * docs/pwg/advanced-types.xml:
7835 Fix typo and duplicate entry in video formats list.
7837 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7839 * libs/gst/controller/gstinterpolation.c:
7840 Also round to the nearest int when using cubic interpolation.
7842 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7844 * libs/gst/controller/gstinterpolation.c:
7845 When linearly interpolating integer types, round to the nearest int
7846 by adding 0.5. Don't do it for float/double types.
7847 Fixes the failing controller test on my machine, which is somehow
7848 rounding differently than on the buildbots.
7850 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7852 * tools/gst-plot-timeline.py:
7853 Better log parsing (categories can have -). Adjust text vs. lines, so
7854 that they span the same y-range.
7856 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7858 * docs/random/ensonic/audiobaseclasses.txt:
7859 * docs/random/ensonic/dynlink.txt:
7860 * docs/random/ensonic/profiling.txt:
7863 * docs/random/moving-plugins:
7864 Add note to use g_assert type macros.
7866 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7869 * libs/gst/check/Makefile.am:
7870 Add libm check as we use in for plugins.
7872 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7874 * gst/gstbin.c: (gst_bin_continue_func):
7875 Check that the state_cookie hasn't changed since the continue_func
7876 was scheduled. Avoids problems where the state changes back to
7877 something it shouldn't be because it was changed in the meantime.
7879 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7881 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7882 (gst_registry_binary_save_string),
7883 (gst_registry_binary_save_pad_template),
7884 (gst_registry_binary_save_feature),
7885 (gst_registry_binary_save_plugin),
7886 (gst_registry_binary_load_feature),
7887 (gst_registry_binary_load_plugin),
7888 (gst_registry_binary_read_cache):
7889 Fix memory leak. Be less verbose in the log.
7891 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7893 * tests/check/elements/.cvsignore:
7894 Add file to cvsignore as commanded.
7896 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7898 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7899 (mq_dummypad_event), (run_output_order_test):
7900 Use a GStaticMutex to protect all cases where libcheck
7901 fail_if/fail_unless macros might be called from multiple threads
7902 simultaneously to avoid errors like:
7903 "check_pack.c:107: :-1081725400:Bad message type arg"
7905 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7907 * tests/check/pipelines/stress.c: (GST_START_TEST):
7908 Make sure we set the pipeline back to the NULL state before
7909 dropping our final reference.
7911 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7913 * tests/check/elements/tee.c: (GST_START_TEST):
7914 Make the tee stress-test a little less stressful so it doesn't just
7915 time out on slow-machines, and remove a small race when it's starting
7916 up by adding a get_state() call.
7918 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7921 Avoid reading registry twice on startup. Fixes #457322.
7923 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7925 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7926 * pkgconfig/gstreamer-check.pc.in:
7927 Substitute the CFLAGS for libcheck into our .pc file too so that
7928 dependent modules will pick it up properly if libcheck is installed
7929 into some other prefix.
7931 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7934 Revert the pkg-config check for libcheck, since it pulls in the
7935 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7936 a proper solution, either from the check project, or something else.
7938 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7941 Use pkg-config to locate check.
7943 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7950 Add deprecation guards.
7952 * libs/gst/base/gstcollectpads.h:
7953 Don't document object (this is implicitly private).
7955 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7957 * gst/gststructure.c: (gst_structure_parse_value):
7958 When deserialising foo=bar without a type cast, check if it's a
7959 boolean before falling back to a string type, otherwise things like
7960 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7961 because the filtercaps end up having a signed=(string)true field,
7962 which causes problems later when intersection caps.
7964 * tests/check/gst/gststructure.c: (GST_START_TEST):
7965 Add a unit test for this.
7967 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7969 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7971 * libs/gst/controller/Makefile.am:
7972 * libs/gst/controller/gstcontroller.c:
7973 (gst_controlled_property_add_interpolation_control_source),
7974 (gst_controlled_property_new), (gst_controlled_property_free),
7975 (gst_controller_find_controlled_property),
7976 (gst_controller_new_valist), (gst_controller_new_list),
7977 (gst_controller_new), (gst_controller_remove_properties_valist),
7978 (gst_controller_remove_properties_list),
7979 (gst_controller_remove_properties),
7980 (gst_controller_set_property_disabled),
7981 (gst_controller_set_disabled), (gst_controller_set_control_source),
7982 (gst_controller_get_control_source), (gst_controller_get),
7983 (gst_controller_sync_values), (gst_controller_get_value_array),
7984 (_gst_controller_dispose), (gst_controller_get_type),
7985 (gst_controlled_property_set_interpolation_mode),
7986 (gst_controller_set), (gst_controller_set_from_list),
7987 (gst_controller_unset), (gst_controller_unset_all),
7988 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7989 * libs/gst/controller/gstcontroller.h:
7990 * libs/gst/controller/gstcontrollerprivate.h:
7991 * libs/gst/controller/gstcontrolsource.c:
7992 (gst_control_source_class_init), (gst_control_source_init),
7993 (gst_control_source_get_value),
7994 (gst_control_source_get_value_array), (gst_control_source_bind):
7995 * libs/gst/controller/gstcontrolsource.h:
7996 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7997 (gst_object_get_control_source):
7998 * libs/gst/controller/gstinterpolation.c:
7999 (gst_interpolation_control_source_find_control_point_node),
8000 (gst_interpolation_control_source_get_first_value),
8001 (_interpolate_none_get), (interpolate_none_get),
8002 (interpolate_none_get_boolean_value_array),
8003 (interpolate_none_get_enum_value_array),
8004 (interpolate_none_get_string_value_array),
8005 (_interpolate_trigger_get), (interpolate_trigger_get),
8006 (interpolate_trigger_get_boolean_value_array),
8007 (interpolate_trigger_get_enum_value_array),
8008 (interpolate_trigger_get_string_value_array):
8009 * libs/gst/controller/gstinterpolationcontrolsource.c:
8010 (gst_control_point_free), (gst_interpolation_control_source_reset),
8011 (gst_interpolation_control_source_new),
8012 (gst_interpolation_control_source_set_interpolation_mode),
8013 (gst_interpolation_control_source_bind),
8014 (gst_control_point_compare), (gst_control_point_find),
8015 (gst_interpolation_control_source_set_internal),
8016 (gst_interpolation_control_source_set),
8017 (gst_interpolation_control_source_set_from_list),
8018 (gst_interpolation_control_source_unset),
8019 (gst_interpolation_control_source_unset_all),
8020 (gst_interpolation_control_source_get_all),
8021 (gst_interpolation_control_source_get_count),
8022 (gst_interpolation_control_source_init),
8023 (gst_interpolation_control_source_finalize),
8024 (gst_interpolation_control_source_dispose),
8025 (gst_interpolation_control_source_class_init):
8026 * libs/gst/controller/gstinterpolationcontrolsource.h:
8027 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8028 API: Refactor GstController into the core controller which can take
8029 a GstControlSource for providing actual values for timestamps.
8030 Implement a interpolation control source and use this for backward
8031 compatibility, deprecate a bunch of functions that are now handled
8032 by GstControlSource or GstInterpolationControlSource.
8033 Make it possible to disable the controller completely or only for
8034 specific properties. Fixes #450711.
8035 * docs/libs/gstreamer-libs-docs.sgml:
8036 * docs/libs/gstreamer-libs-sections.txt:
8037 * docs/libs/gstreamer-libs.types:
8038 Add new functions and classes to the docs.
8039 * tests/check/libs/controller.c: (GST_START_TEST),
8040 (gst_controller_suite):
8041 * tests/examples/controller/audio-example.c: (main):
8042 Port unit test and example to the new API and add some new
8045 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
8047 Patch by: Mark Nauwelaerts <manauw at skynet be>
8049 * plugins/elements/gstmultiqueue.c:
8050 (gst_multi_queue_get_internal_links), (apply_buffer),
8051 (single_queue_overrun_cb), (gst_single_queue_new):
8052 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8053 the pipeline layout can be tracked correctly. Fixes #453732.
8055 2007-07-05 Stefan Kost <ensonic@users.sf.net>
8057 * docs/gst/Makefile.am:
8058 * docs/libs/Makefile.am:
8059 * docs/plugins/Makefile.am:
8060 Simplify --extra-dir as gtkdoc scans recursively.
8062 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8064 * tools/gst-launch.c: (main):
8065 When we got an error, there is no point in waiting for preroll when
8068 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8070 * plugins/elements/gsttee.c: (gst_tee_base_init),
8071 (gst_tee_request_new_pad), (gst_tee_release_pad),
8072 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8073 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8075 Be a lot smarter when deciding what srcpad to use for proxying
8076 the buffer_alloc. Also handle pad added/removed when doing so.
8078 Keep track of what pads we already pushed on in case we have pads
8079 added/removed while pushing. Fixes #374639
8081 * tests/check/Makefile.am:
8082 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8084 Added unit test for pad resync.
8086 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8090 Updated translations.
8092 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8094 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8098 Added new Finnish translation.
8100 2007-06-28 Wim Taymans <wim@fluendo.com>
8102 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8103 (single_queue_overrun_cb):
8104 When figuring out when a queue is filled, use our internal time estimate
8105 based on segments, just like check_full does.
8107 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8109 * gst/gstminiobject.c: (gst_mini_object_get_type):
8110 Remove 3 do-nothing methods.
8112 2007-06-27 Wim Taymans <wim@fluendo.com>
8114 Patch by: Tim Angus <tim at ngus dot net>
8116 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8117 (gst_capsfilter_set_property):
8118 Take a reference instead of a copy when setting "caps".
8119 Fix documentation to clarify this behaviour. Fixes #449414.
8121 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8123 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8124 * gst/gstplugin.c: (gst_plugin_init):
8125 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8126 * gst/gstquery.c: (gst_query_get_type):
8127 * gst/gstregistry.c: (gst_registry_init):
8128 * gst/gsturi.c: (gst_uri_handler_base_init):
8129 Remove empty instance_init() functions to save relocs and lessen the
8130 noise. Remove some of the function prototypes that are doubled by
8133 2007-06-27 Wim Taymans <wim@fluendo.com>
8135 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8137 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8138 Add peer and direction in the XML serialisation of ghostpads.
8141 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8144 Preserve useful information, thanks Tim.
8146 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8148 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8149 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8150 (gst_single_queue_push_one), (gst_multi_queue_loop),
8151 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8152 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8153 (compute_high_id), (gst_single_queue_new):
8154 * plugins/elements/gstmultiqueue.h:
8155 Take the multiqueue lock when updating the fill level so we don't get
8158 After applying a buffer or event on the src pad segment, make sure to
8159 call gst_data_queue_limits_changed() to get the data queue to unblock
8160 and check the filled state again.
8162 Rework the not-linked pad handling so the logic is that not-linked
8163 pads can push as fast as they like, but only so they never get
8164 ahead of any linked pads.
8166 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8167 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8168 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8170 Add a test to check that not-linked pads always stay behind
8175 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8177 * docs/random/release:
8178 Some updates to the release procedure.
8180 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8182 * gst/gstelementfactory.c: (__gst_element_details_clear):
8183 Microoptimization that saves stunning 80 bytes.
8185 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8187 * docs/plugins/gstreamer-plugins.args:
8188 * docs/plugins/inspect/plugin-coreelements.xml:
8189 * docs/plugins/inspect/plugin-coreindexers.xml:
8190 Update docs with caps info.
8192 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8195 Updated Italian translation.
8197 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8201 Update Vietnamese translations.
8203 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8205 * libs/gst/base/gstbasesink.c:
8206 Remove unused signal enum.
8208 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8210 * docs/gst/gstreamer-sections.txt:
8212 * gst/gstutils.c: (gst_type_register_static_full):
8213 Beef up and include the docs for gst_type_register_static_full and
8214 gst_element_class_set_details_simple and add the API keyword
8217 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8219 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8220 (update_time_level), (gst_single_queue_push_one),
8221 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8222 (single_queue_overrun_cb), (single_queue_underrun_cb),
8223 (single_queue_check_full):
8224 Fix setting max-* properties after adding queues.
8225 Use IS_FILLED for checking visible items.
8226 Signal overrun if multiple queues overrun.
8227 Add extra debug output.
8228 Patch by: Wim Taymans <wim@fluendo.com>
8230 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8232 * gst/gstelement.c: (gst_element_class_set_details_simple):
8234 * gst/gstutils.c: (gst_type_register_static_full):
8236 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8237 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8238 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8239 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8240 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8241 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8242 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8243 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8244 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8245 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8246 (apply_buffer), (gst_queue_chain):
8247 * plugins/elements/gsttee.c: (gst_tee_base_init):
8248 * plugins/elements/gsttypefindelement.c:
8249 (gst_type_find_element_base_init),
8250 (gst_type_find_element_class_init):
8251 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8252 API: add gst_type_register_static_full
8253 API: add gst_element_class_set_details_simple
8255 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8257 * docs/pwg/advanced-types.xml:
8258 Fix typo in iana.org URI.
8260 2007-06-19 Andy Wingo <wingo@pobox.com>
8262 * tests/check/pipelines/simple-launch-lines.c
8263 (test_state_change_returns): Enable pull-mode tests now that
8264 basesink has been fixed.
8266 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8267 Changed from gst_base_sink_is_prerolled, reversing the sense of
8268 the return value. Returns FALSE also if the sink is in pull mode,
8269 in which case it needs no preroll.
8270 (gst_base_sink_query, gst_base_sink_change_state): Update for
8271 needs_preroll change.
8272 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8273 chaining up, in which we return SUCCESS directly if we activated
8274 in pull mode instead of ASYNC. Involves countering an async_start
8275 message sent before chaining up; not sure if this is correct, in
8276 an ideal world we only send async-start when activating in push
8279 * tests/check/pipelines/simple-launch-lines.c
8280 (test_state_change_returns): New test, partially disabled until
8283 2007-06-19 Wim Taymans <wim@fluendo.com>
8285 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8286 (gst_multi_queue_sink_event):
8289 2007-06-19 Wim Taymans <wim@fluendo.com>
8291 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8292 (gst_bin_change_state_func), (bin_push_state_continue),
8293 (bin_handle_async_start), (bin_handle_async_done),
8294 (gst_bin_handle_message_func):
8295 Move the common code for posting state-change messages into
8297 Broadcast the state signal after we posted the messages.
8298 Mark the bin as busy when it's doing a state-change.
8299 Make sure async-start/done messages don't interfere with the bin's
8300 state when it's busy.
8301 After the state change, let the bin check which elements completed the
8302 state change while it was busy so that it can update its state.
8304 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8306 * docs/random/release:
8307 Add a note about updating the doap file to the release checklist
8309 2007-06-18 Wim Taymans <wim@fluendo.com>
8311 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8312 (gst_single_queue_push_one), (gst_multi_queue_chain),
8313 (gst_multi_queue_sink_event):
8314 Make sure we don't reference the buffer/event after we have given away
8315 ownership in the queue.
8317 2007-06-18 Wim Taymans <wim@fluendo.com>
8319 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8320 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8321 Update queue state _after_ adding the item in the queue because else we
8322 could end up being full without the element added yet.
8324 2007-06-18 Wim Taymans <wim@fluendo.com>
8326 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8327 (gst_bin_remove_func), (gst_bin_get_state_func),
8328 (gst_bin_element_set_state), (gst_bin_continue_func),
8329 (bin_push_state_continue), (bin_handle_async_start),
8330 (bin_handle_async_done), (gst_bin_handle_message_func):
8332 Immediatly commit the toplevel bin state when receiving an async-done
8333 message. This enables us to avoid spawning a thread to commit the state
8334 in some common cases and it also avoids some races.
8335 Avoid spawning a state thread when adding/removing async elements to a
8336 toplevel bin. Instead we immediatly update the bin state.
8337 Get rid of iterating all the children when getting the state in the bin
8338 because it is now always up-to-date.
8339 Fix bug where locked elements would always return _SUCCESS even it they
8340 returned NO_PREROLL before being locked.
8341 Fix the order of the state_change, async-start/done messages that was
8342 sometimes incorrect.
8343 Mark the state_dirty field as deprecated, we don't need it anymore as we
8344 are always up-to-date.
8346 * gst/gstelement.c: (gst_element_get_state_func),
8347 (gst_element_continue_state):
8348 Small debug inprovements.
8349 Return the previous element state return when nothing is pending instead
8350 of blindly returning SUCCESS.
8352 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8354 Add a whole bunch of new testcases.
8356 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8360 Update translations.
8362 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8365 Fix typo in the docs.
8367 2007-06-15 Wim Taymans <wim@fluendo.com>
8369 * docs/libs/gstreamer-libs-sections.txt:
8370 Add docs for new methods.
8372 2007-06-15 Wim Taymans <wim@fluendo.com>
8374 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8375 (gst_multi_queue_item_new):
8376 Don't use GSlice because we don't depend on >= 2.10 yet.
8378 2007-06-15 Wim Taymans <wim@fluendo.com>
8380 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8381 (update_time_level), (apply_segment), (apply_buffer),
8382 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8383 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8384 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8385 (single_queue_underrun_cb), (single_queue_check_full):
8386 Remove debug printf.
8388 2007-06-15 Wim Taymans <wim@fluendo.com>
8390 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8391 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8392 (gst_data_queue_set_flushing), (gst_data_queue_push),
8393 (gst_data_queue_pop), (gst_data_queue_drop_head),
8394 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8395 * libs/gst/base/gstdataqueue.h:
8397 Added methods to get the current levels and to inform the queue that the
8398 'full' limits changed.
8400 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8401 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8402 (gst_single_queue_flush), (update_time_level), (apply_segment),
8403 (apply_buffer), (gst_single_queue_push_one),
8404 (gst_multi_queue_item_steal_object),
8405 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8406 (gst_multi_queue_loop), (gst_multi_queue_chain),
8407 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8408 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8409 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8410 (single_queue_underrun_cb), (single_queue_check_full),
8411 (gst_single_queue_new):
8412 Keep track of time in the queue by measuring the difference between
8413 running_time on input and output. This gives more accurate results and
8414 can compensate for segments correctly.
8415 Make a queue by default only 5 buffers deep. We will now increase the
8416 buffer size depending on the filledness of the other queues.
8417 Factor out commong flush code.
8418 Make sure we don't add additional refcounts to buffers when we can avoid
8420 Propagate GstFlowReturn differently.
8421 Use GSlice for intermediate GstMultiQueueItems.
8423 Resize queues on over and underruns based on filled level of other
8425 When checking if the queue is filled, prefer to measure in time if we
8426 can and fall back to bytes when no time is known.
8428 * plugins/elements/gstqueue.c:
8431 2007-06-15 Wim Taymans <wim@fluendo.com>
8433 * libs/gst/base/gstbasetransform.c:
8434 (gst_base_transform_sink_event):
8435 Work around the brokenness of the event vmethod in basetransform. Prefer
8436 to return TRUE when the subclass returned FALSE (meaning don't forward
8439 * libs/gst/base/gstbasetransform.h:
8442 2007-06-15 Wim Taymans <wim@fluendo.com>
8444 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8445 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8446 (gst_base_src_default_query), (gst_base_src_get_range),
8447 (gst_base_src_start):
8448 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8451 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8453 * docs/pwg/advanced-types.xml:
8454 Added more formats to caps table.
8456 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8458 * tools/gst-launch.c: (main):
8459 Remove crufy code. GOption does not need this workaround.
8461 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8463 * libs/gst/controller/gstcontroller.c:
8464 (gst_controlled_property_set_interpolation_mode):
8465 Fix wrong getter for enums in controller.
8467 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8469 * libs/gst/check/gstcheck.c: (gst_check_init):
8470 Intercept criticals and warnings in the Gst-Phonon log domain, so
8471 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8474 2007-06-14 Edward Hervey <edward@fluendo.com>
8476 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8477 Since this file doesn't include "gst.h" it will not go through the
8478 macros that disable GST_LOG if debugging was disabled.
8480 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8482 * libs/gst/check/Makefile.am:
8483 * libs/gst/check/gstcheck.h:
8484 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8485 * pkgconfig/gstreamer-check.pc.in:
8486 Ugly 'fix' for the controller unit test on the p5 bot: in
8487 fail_unless_equals_float() check whether the values are 'almost
8488 equal' by allowing a small absolute error, which should be good
8489 enough for our use cases (normal numbers and values close to 0).
8490 Proper fixage left to floating point arithmetic aficionados.
8492 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8494 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8495 (gst_base_sink_render_object), (gst_base_sink_get_position):
8496 Add two breaks thats where missing.
8498 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8500 * docs/libs/gstreamer-libs-sections.txt:
8501 * libs/gst/check/gstcheck.h:
8502 API: add fail_unless_equals_float() and assert_equals_float().
8503 Add documentation for some of the macros.
8505 * tests/check/libs/controller.c: (GST_START_TEST):
8506 Use newly-added asserts.
8508 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8510 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8511 Show the caps change in the log to help spotting the case of not
8512 exactly matching caps.
8514 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8516 * docs/pwg/building-boiler.xml:
8517 Fix typos, spotted by Thijs Vermeir (#447190).
8519 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8521 * docs/plugins/tmpl/.cvsignore:
8522 Ignore file to keep the buildbots happy
8524 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8526 * docs/plugins/Makefile.am:
8527 * docs/plugins/gstreamer-plugins-docs.sgml:
8528 * docs/plugins/gstreamer-plugins-sections.txt:
8529 Pull fdsink into the docs too.
8531 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8533 * libs/gst/controller/gstinterpolation.c:
8534 Actually use the new functions with min/max checks for the trigger and
8535 none interpolation modes for get() and get_value_array() instead of
8538 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8540 * libs/gst/controller/gstcontroller.c:
8541 (gst_controlled_property_free):
8542 Unset the minimum and maximum GValues when freeing the corresponding
8543 GstControllerProperty struct.
8545 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8547 * libs/gst/controller/gstcontroller.c:
8548 (gst_controlled_property_new):
8549 * libs/gst/controller/gstcontrollerprivate.h:
8550 * libs/gst/controller/gstinterpolation.c:
8551 (gst_controlled_property_find_control_point_node),
8552 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8553 (interpolate_none_get_string_value_array),
8554 (interpolate_trigger_get),
8555 (interpolate_trigger_get_enum_value_array),
8556 (interpolate_trigger_get_string_value_array):
8557 Protect against values larger or smaller than the minimum or maximum
8558 allowed value for the property when using values that can be compared.
8560 Optimize trigger interpolator a bit by taking the last requested value
8561 into account instead of always looping through the complete list.
8563 Fix coding style a bit, everywhere else we use "return foo" instead
8566 * tests/check/libs/controller.c: (GST_START_TEST),
8567 (gst_controller_suite):
8568 Add unit test for the protection against too large or too small
8571 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8573 * docs/random/slomo/controller.txt:
8574 Add some thoughts about the future of the controller.
8576 2007-06-08 Wim Taymans <wim@fluendo.com>
8578 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8579 Don't overflow in retimestamping code.
8581 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8583 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8584 Use gst_util_guint64_to_gdouble for conversions.
8585 * win32/common/libgstreamer.def:
8586 Add new exported functions.
8588 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8591 Small docs addition.
8593 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8596 Remove that test line again.
8598 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8601 Test commit mail sending.
8603 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8606 Fix typo and test commit mail sending.
8608 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8610 * tests/examples/controller/audio-example.c:
8611 Improve comment and test commit mail sending.
8613 2007-06-07 Wim Taymans <wim@fluendo.com>
8615 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8616 (gst_bin_remove_func), (gst_bin_element_set_state),
8617 (bin_handle_async_start), (bin_handle_async_done),
8618 (gst_bin_handle_message_func):
8619 Add helper function to find messages.
8620 Generate the async-done messages together with the state change
8622 Small cleanups in handling toplevel bins.
8624 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8626 * libs/gst/base/gstdataqueue.c:
8627 * libs/gst/base/gstdataqueue.h:
8628 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8629 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8630 (gst_multi_queue_sink_event):
8631 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8632 Fix multiqueue leaking buffers and events when downstream or the
8633 queue are flushing. Make refcounting assumptions explicit and
8634 document them (shouldn't break existing code that uses it other than
8635 maybe leak miniobjects, but that already happens anyway). Add unit
8636 test for the most common flushing case. Fixes #423700.
8638 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8640 * libs/gst/controller/gstcontroller.c:
8641 Clarify docs: The get_all, get_value_array(s) functions
8642 don't modify the GObject properties.
8644 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8646 * libs/gst/controller/gstcontroller.c:
8647 (gst_controlled_property_set_interpolation_mode),
8648 (gst_controlled_property_prepend_default),
8649 (gst_controlled_property_new), (gst_controller_set_unlocked),
8650 (gst_controller_set), (gst_controller_set_from_list),
8651 (gst_controller_unset), (gst_controller_unset_all):
8652 * libs/gst/controller/gstcontrollerprivate.h:
8653 * libs/gst/controller/gstinterpolation.c:
8654 Factor out the 'set' logic into gst_controller_set_unlocked for the
8655 gst_controller_set and gst_controller_set_from_list functions.
8657 To make life of the interpolators easier always add a control point
8658 at timestamp zero with the default value.
8660 In the linear interpolator make things more obvious by better variable
8663 Implement cubic interpolation mode (by using a natural cubic spline)
8664 and map the quadratic interpolation mode to this too (as quadratic
8665 doesn't make much sense, see discussion on the list).
8667 * tests/check/libs/controller.c: (GST_START_TEST),
8668 (gst_controller_suite):
8669 Add unit test for the cubic interpolation mode and check everywhere
8670 if the interpolation mode could be set as expected.
8672 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8674 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8675 Don't use GLib-2.10 functions, we still depend on
8676 GLib-how-old-is-it-again-2.8.
8678 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8680 * docs/gst/gstreamer-sections.txt:
8684 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8685 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8686 (_gst_param_fraction_values_cmp),
8687 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8688 * gst/gstparamspecs.h:
8690 * tests/check/Makefile.am:
8691 * tests/check/gst/.cvsignore:
8692 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8693 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8694 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8695 (GST_START_TEST), (gst_param_spec_suite):
8696 API: add GstParamSpecFraction, so elements can have fraction
8697 properties without lots of painful string parsing (#444648).
8699 2007-06-05 Wim Taymans <wim@fluendo.com>
8701 * gst/gstobject.c: (gst_object_class_init):
8702 Fix signal signature.
8705 Add small clarification in the api docs.
8707 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8708 States are protected with object lock.
8710 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8713 I should probably be listed as an author by now.
8715 * docs/random/release:
8716 Update the release doc
8718 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8721 Make docs for gst_value_compare() mention return enums that
8724 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8729 === release 0.10.13 ===
8731 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8734 releasing 0.10.13, "With or without you"
8736 2007-05-25 Wim Taymans <wim@fluendo.com>
8738 * gst/gstbin.c: (bin_handle_async_done):
8739 Make sure that the child bin stops after completing the async state
8740 change so that the parent can continue the state change to PLAYING.
8743 2007-05-25 Wim Taymans <wim@fluendo.com>
8745 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8746 (unref_data), (gst_collect_pads_remove_pad),
8747 (gst_collect_pads_check_pads):
8748 Use additional refcounting to avoid crashes when dynamically adding and
8749 removing pads. Fixes #420206.
8751 2007-05-24 Wim Taymans <wim@fluendo.com>
8753 * tools/gst-launch.c: (event_loop):
8754 When buffering goes from a two digit to a single digit number, make sure
8755 to remove the old second digit by writing a blank over it.
8757 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8759 * libs/gst/base/gstdataqueue.c:
8760 Eliminate tabs and trailing comma in enum list; fix some typos.
8762 2007-05-24 Wim Taymans <wim@fluendo.com>
8764 * tests/check/gst/gstbin.c: (GST_START_TEST):
8765 Allow refcount of 3 and 4 because some state thread might still be busy
8768 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8770 * plugins/elements/Makefile.am:
8771 * plugins/elements/gstmultiqueue.h:
8772 * plugins/elements/gstqueue.h:
8773 These are not installed headers, no need for padding.
8775 2007-05-24 Wim Taymans <wim@fluendo.com>
8777 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8778 (gst_bin_continue_func):
8779 Enable latency for next release.
8780 Restore STATE_LOCK around recalc_state that was left out during the
8781 rewrite and could result in racy behaviour when _get_state and
8782 recalc_state are run concurrently. See #440463.
8784 2007-05-23 Wim Taymans <wim@fluendo.com>
8786 * tests/check/gst/gstsystemclock.c: (store_callback),
8788 Improve test_async_order to also work when both timers are already
8789 expired when we get scheduled to check it.
8791 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8793 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8794 (gst_bin_set_property), (gst_bin_get_property),
8795 (gst_bin_remove_func), (gst_bin_handle_message_func):
8797 'private' is a c++ keyword, let's not use that in header files,
8798 otherwise c++ compilers will throw a tantrum.
8800 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8802 * plugins/elements/gstelements.c:
8803 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8804 (gst_file_sink_get_current_offset):
8805 * plugins/indexers/gstindexers.c: (plugin_init):
8806 Use #ifdef for HAVE_XYZ for consistency.
8808 * tests/check/Makefile.am:
8809 * tests/check/elements/.cvsignore:
8810 * tests/check/elements/filesink.c: (setup_filesink),
8811 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8812 Add some unit tests for filesink.
8814 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8816 Patch by: Mark Nauwelaerts <manauw at skynet be>
8818 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8819 (gst_file_sink_query), (gst_file_sink_do_seek),
8820 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8821 * plugins/elements/gstfilesink.h:
8822 Fix position reporting; rename data_written member to current_pos to
8823 reflect its real meaning (fixes #412648).
8825 2007-05-22 Edward Hervey <edward@fluendo.com>
8827 * docs/gst/gstreamer-sections.txt:
8828 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8829 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8830 (gst_bin_remove_func), (gst_bin_handle_message_func):
8832 Add a property for bins that handle the state change of their childs.
8835 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8837 * libs/gst/controller/gstinterpolation.c:
8838 Use an array of the correct type when using _get_value_array with
8839 linear interpolation.
8841 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8843 * gst/gstelement.c (gst_element_requires_clock,
8844 gst_element_provides_clock, gst_element_request_pad,
8845 gst_element_class_set_details, gst_element_class_set_details_simple,
8846 gst_element_default_send_event, gst_element_abort_state,
8847 gst_element_continue_state, gst_element_set_state,
8848 gst_element_set_state_func, iterator_activate_fold_with_resync):
8849 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8850 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8851 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8852 gst_pad_get_range, gst_pad_pull_range):
8853 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8854 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8855 GstPadActivateModeFunction, GstPadChainFunction,
8856 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8857 GstPadFixateCapsFunction, GstPadTemplate):
8858 * gst/gstpipeline.c (gst_pipeline_change_state,
8859 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8860 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8861 gst_pipeline_get_delay):
8862 Whitespace and docs fixes.
8864 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8866 * libs/gst/controller/gstinterpolation.c:
8867 (interpolate_trigger_get_enum_value_array),
8868 (interpolate_trigger_get_string_value_array):
8869 Add support for retrieving value arrays when using the trigger
8872 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8874 * libs/gst/controller/gstcontroller.c:
8875 (gst_controller_get_value_array):
8876 * libs/gst/controller/gstcontroller.h:
8877 Clarify the docs of gst_controller_get_value_array(): The array where
8878 the values should be written to must be allocated as there seems to be
8879 no way to get the size of a random GType. This doesn't change any
8880 behaviour. Also fix some typos all over the place and remove an unused,
8881 commented function that is not necessary as g_object_set() could be
8883 * tests/check/libs/controller.c: (GST_START_TEST),
8884 (gst_controller_suite):
8885 Add unit test for gst_controller_get_value_array().
8887 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8889 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8891 Disable part of the gst_buffer_try_new_and_alloc test, because
8892 it can happily succeed on 64-bit systems where there's more address
8895 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8897 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8898 Add unit test for the improved caps checking from bug #421543.
8900 2007-05-21 Wim Taymans <wim@fluendo.com>
8902 * docs/design/part-synchronisation.txt:
8905 * gst/gstbin.c: (gst_bin_query):
8906 * plugins/elements/gstqueue.c: (apply_segment):
8912 2007-05-21 Wim Taymans <wim@fluendo.com>
8914 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8915 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8916 (gst_pad_configure_src):
8917 Added simple version of improved caps checking. It was previously
8918 assumed that a setcaps function would check the validity of the caps but
8919 people prefer us to check caps against the template automatically.
8922 2007-05-21 Wim Taymans <wim@fluendo.com>
8924 * libs/gst/base/gstbasetransform.h:
8925 Fix macro for locking/unlocking the transform lock.
8927 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8929 * docs/plugins/tmpl/.cvsignore:
8932 2007-05-18 Edward Hervey <edward@fluendo.com>
8934 * plugins/elements/gstqueue.c: (gst_queue_loop):
8935 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8936 for the subtle art of warning a potentially blocking thread that it
8937 should check the source pad return value, and relay the information
8940 2007-05-18 Edward Hervey <edward@fluendo.com>
8942 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8943 Release the queue lock !
8945 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8947 * docs/libs/gstreamer-libs-sections.txt:
8948 Add the two new controller functions to the appropiate places.
8950 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8952 reviewed by: Stefan Kost <ensonic@users.sf.net>
8954 * libs/gst/controller/gstcontroller.c:
8955 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8956 (_gst_controller_get_property), (_gst_controller_set_property),
8957 (_gst_controller_init), (_gst_controller_class_init):
8958 * libs/gst/controller/gstcontroller.h:
8959 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8960 (gst_object_get_control_rate), (gst_object_set_control_rate):
8961 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8962 Add API that provides sync suggestion timestamps for elements that
8963 call gst_object_sync_values() from which those elements can subdivide
8964 their processing loop to get the best results for the controlled
8965 properties. For now it just suggests last_sync + control_rate as
8966 new timestamp but this will be improved in the future.
8968 While doing that change the control-rate property to a GstClockTime
8969 from guint and change it's meaning from samples to nanoseconds as
8970 the GstController doesn't know anything about sampling rate. Strictly
8971 speaking this breaks ABI but as the control-rate property didn't do
8972 anything in the past and as such couldn't be used this should be no
8975 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8977 reviewed by: Stefan Kost <ensonic@users.sf.net>
8979 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8980 (gst_controller_unset_all):
8981 * libs/gst/controller/gstcontrollerprivate.h:
8982 * libs/gst/controller/gstinterpolation.c:
8983 (gst_controlled_property_find_control_point_node):
8984 Save last synced value from the list to continue searching from there
8985 in future syncs. This speeds everything up a bit.
8987 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8989 reviewed by: Stefan Kost <ensonic@users.sf.net>
8991 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8992 (gst_control_point_find), (gst_controlled_property_new),
8993 (gst_control_point_free), (gst_controlled_property_free),
8994 (gst_controller_set), (gst_controller_set_from_list),
8995 (gst_controller_unset), (gst_controller_unset_all),
8996 (gst_controller_sync_values):
8997 * libs/gst/controller/gstcontroller.h:
8998 * libs/gst/controller/gstcontrollerprivate.h:
8999 * libs/gst/controller/gstinterpolation.c:
9000 (gst_controlled_property_find_control_point_node),
9001 (interpolate_none_get), (interpolate_trigger_get):
9002 Add a new private GstControlPoint struct which "inherits" from
9003 GstTimedValue to allow different interpolators to store internal
9004 values next to each control point. From the outside everything is
9005 still a GstControlPoint so we don't loose binary compatibility.
9006 Also fixup all the GValue handling to not leak GValues or list nodes.
9007 * tests/check/libs/controller.c: (GST_START_TEST):
9008 Free the list nodes and GValues in the controller_misc test.
9010 2007-05-17 Edward Hervey <edward@fluendo.com>
9015 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
9017 * gst/gstplugin.c: (gst_plugin_load_file):
9018 If we fail to load a plugin because of unresolved symbols or missing
9019 libraries and spew a warning to stderr, we may just as well mention
9020 which plugin it was that failed to load.
9022 2007-05-13 David Schleef <ds@schleef.org>
9024 * docs/Makefile.am: the gtk-doc makefile snippet correctly
9025 handles the case when ENABLE_GTK_DOC is false, and installs
9026 the prebuilt documentation. So gtk-doc subdirs are
9027 unconditionally enabled. Fixes: #349099.
9029 2007-05-13 David Schleef <ds@schleef.org>
9031 * gst/gstutils.h: Reword some documentation.
9033 2007-05-12 David Schleef <ds@schleef.org>
9035 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9036 do anything with the passed "module" parameter, so remove it.
9037 Allows removal of additional vestigal code.
9039 2007-05-12 David Schleef <ds@schleef.org>
9042 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9043 Switch to using g_stat() because it's more portable.
9045 2007-05-12 David Schleef <ds@schleef.org>
9048 Add GST_DISABLE_OPTION_PARSING, in order to disable option
9049 parsing for embedded systems.
9050 * gst/gstelementfactory.c:
9051 Allow gst_element_register() to be called with plugin==NULL.
9052 Did nobody notice that static elements were broken?
9054 2007-05-12 Wim Taymans <wim@fluendo.com>
9056 * tools/gst-launch.c: (event_loop):
9057 Give more interesting info when buffering starts and stops.
9058 Fix case where buffering starts but we fail to update the buffering flag
9059 because the target state is not PLAYING.
9061 2007-05-12 Wim Taymans <wim@fluendo.com>
9063 * plugins/elements/gstqueue.c: (gst_queue_init),
9064 (gst_queue_finalize), (update_time_level), (apply_segment),
9065 (apply_buffer), (gst_queue_locked_flush),
9066 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9067 (gst_queue_handle_sink_event), (gst_queue_chain),
9068 (gst_queue_push_one), (gst_queue_loop):
9069 * plugins/elements/gstqueue.h:
9070 Refactor an cleanup queue a bit.
9071 Do better time level calculations that also work when the srcpad is not
9073 Remove some unneeded debug lines.
9075 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9076 Added testcase for time level measurement.
9077 Try to make some stuff more racefree.
9079 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9081 * gst/gsturi.c: (gst_element_make_from_uri):
9082 Don't leak plugin feature.
9084 * tests/check/Makefile.am:
9085 * tests/check/gst/.cvsignore:
9086 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9087 Add brain-dead unit test.
9089 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9091 Patch by: Jeroen Wouters <woutersj at gmail com>
9093 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9094 Treat protocol strings in a case-insensitive way (#437563).
9096 2007-05-11 Michael Smith <msmith@fluendo.com>
9098 * gst/gstplugin.c: (gst_plugin_load_file):
9099 * gst/gstregistry.c: (gst_registry_scan_path_level):
9100 Don't print a g_warning for any failure to load a shared object.
9101 Instead, push this down into gstplugin.c, and warn _only_ if we
9102 failed to open the module (i.e. failure to link).
9103 Avoids warnings on normal, working, non-plugin .so files.
9105 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9107 * gst/gstplugin.c (gst_plugin_load_file):
9108 * gst/gstregistry.c (GST_CAT_DEFAULT,
9109 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9110 Print a g_warning if there was an error when loading a plugins during
9111 registry scan. The shuld help beginners starting with gst-plugin
9114 2007-05-10 Wim Taymans <wim@fluendo.com>
9116 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9117 (update_time_level), (gst_queue_locked_flush),
9118 (gst_queue_handle_sink_event), (gst_queue_chain),
9119 (gst_queue_push_one), (gst_queue_loop):
9120 * plugins/elements/gstqueue.h:
9121 Be smarter when calculating the current amount of data in the queue by
9122 measuring the difference between start and end timestamps (in running
9123 time) inside the queue. Fixes #432876.
9124 API: GstQueue::pushing to notify elements that we are pushing data again
9125 since the running signal is rather broken for this purpose.
9127 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9129 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9130 gst_queue_base_init, gst_queue_init):
9133 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9135 * win32/common/libgstreamer.def:
9136 Add new exported functions.
9137 * win32/vs6/grammar.dsp:
9138 Use grammar pre-generated files.
9140 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9142 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9145 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9147 * gst/gstutils.c: (gst_parse_bin_from_description):
9149 Maintain API and ABI when --disable-parse is used. Now that
9150 we have an appropriate error code, we can just return NULL and the
9151 appropriate error when gst_parse_launch() is used despite it having
9152 been disabled (#342564).
9154 * tests/check/Makefile.am:
9155 * tests/check/pipelines/.cvsignore:
9156 * tests/check/pipelines/parse-disabled.c:
9157 Make sure these functions exist and return NULL plus a GError when
9158 --disable-parse is used.
9160 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9162 * tests/benchmarks/complexity.c: (main):
9163 * tests/benchmarks/mass-elements.c: (main):
9164 Set a good example and don't leak messages.
9166 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9168 * docs/gst/Makefile.am:
9169 * docs/libs/Makefile.am:
9170 Correct fixxrefs options.
9172 * docs/plugins/Makefile.am:
9173 * docs/plugins/gstreamer-plugins-docs.sgml:
9174 * docs/plugins/gstreamer-plugins-sections.txt:
9175 * plugins/elements/Makefile.am:
9176 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9177 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9178 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9179 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9180 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9181 _GstCapsFilterClass, trans_class):
9182 * plugins/elements/gstelements.c (name, rank, type, _elements):
9183 * plugins/elements/gstidentity.c
9184 (gst_identity_check_imperfect_timestamp,
9185 gst_identity_check_imperfect_offset):
9186 Document capsfilter and add doc-blurb to identity.
9188 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9190 * libs/gst/controller/gstcontroller.c:
9191 (gst_controlled_property_set_interpolation_mode):
9192 * libs/gst/controller/gstinterpolation.c:
9193 Don't crash if someone tries to set an interpolation mode that
9194 is invalid or that isn't supported yet. Fixes #422295.
9196 * tests/check/libs/controller.c: (GST_START_TEST),
9197 (gst_controller_suite):
9198 Add a test case for the above.
9200 2007-05-03 Edward Hervey <edward@fluendo.com>
9202 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9203 Properly set the last_stop position on GstSegment. This will only happen
9204 if there is a buffer to push out.
9206 2007-05-03 Wim Taymans <wim@fluendo.com>
9208 * libs/gst/base/gstbasetransform.c:
9209 (gst_base_transform_buffer_alloc):
9210 always_in_place does not mean that the sink and source caps are the
9211 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9213 2007-05-03 Wim Taymans <wim@fluendo.com>
9215 * docs/libs/gstreamer-libs-sections.txt:
9216 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9217 (gst_base_src_default_query), (gst_base_src_get_range):
9218 * libs/gst/base/gstbasesrc.h:
9219 API: gst_base_src_query_latency(). Added method so that subclasses can
9220 easily get the latency values of the base source class.
9222 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9224 * tools/gst-inspect.c (print_implementation_info):
9227 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9229 * tools/Makefile.am:
9230 * tools/gst-launch.1.in:
9231 Don't create a customised man page based on the host architecture,
9232 describe the default registry path generically. That way the man
9233 page is the same for all architectures and packagers have one
9234 multilib issue less to deal with. Fixes #434926.
9236 2007-05-02 Wim Taymans <wim@fluendo.com>
9239 Fix documentation as spotted by rg on IRC.
9241 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9244 Improve docs for gst_element_{link,unlink}.
9246 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9248 * docs/design/part-events.txt:
9249 * docs/design/part-overview.txt:
9253 * libs/gst/base/gstbasesink.c:
9254 Typo fixes; minor docs addition.
9256 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9258 * docs/gst/gstreamer-sections.txt:
9259 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9260 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9262 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9263 or src that supports a given URI protocol exists.
9265 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9267 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9268 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9269 Set the location to NULL if "file://" is set as URI. Otherwise
9270 some random previous URI would still be set if "file://" is
9271 set on an already used filesink/filesrc.
9273 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9275 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9276 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9277 Special case the "file://" URI as as this is used by some
9278 applications to test with gst_element_make_from_uri if there's
9279 an element that supports the URI protocol.
9280 Also move the g_path_is_absolute() check for the location part
9281 of the URI to also check this for "file://localhost/bla" URIs.
9283 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9285 * docs/gst/gstreamer-sections.txt:
9286 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9288 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9290 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9292 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9294 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9295 (gst_registry_binary_load_pad_template),
9296 (gst_registry_binary_load_plugin),
9297 (gst_registry_binary_read_cache):
9298 * gst/gstregistrybinary.h:
9299 Implement no-mmap alternative for registry reading. Do code cleanups.
9300 Add more comments about avoiding strdups for all text data. Comments
9303 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9305 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9306 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9307 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9308 Comment structs and reformat to fix the build (that stuff should go
9309 into a priv. header).
9311 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9313 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9314 (gst_registry_binary_load_feature):
9315 * gst/gstregistrybinary.h:
9316 Refactor so that we can implement multiple features. Add support for
9317 TypeFindFactory features.
9319 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9321 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9324 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9326 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9328 * gst/gstbin.c: (gst_bin_element_set_state),
9329 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9330 (bin_handle_async_done), (gst_bin_handle_message_func):
9331 Fix build with --gst-disable-gst-debug
9333 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9335 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9336 Make sure streaming has finished before calling the ::stop() vfunc,
9337 since that vfunc might clear state which is being used in the
9338 streaming thread. This fixes a race that caused crashes in
9339 audioresample when shutting down a pipeline (#420106).
9341 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9343 * docs/gst/gstreamer-sections.txt:
9344 That was one byte missing.
9346 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9349 * docs/gst/gstreamer-sections.txt:
9351 * gst/gstconfig.h.in:
9352 * gst/gstobject.c: (gst_object_class_init),
9353 (gst_signal_object_class_init):
9355 2nd attempt to have a xml-less build as a joined effort of #413123
9358 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9360 * docs/design/draft-tagreading.txt:
9361 Added open issues/thoughts to draft.
9363 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9365 * gst/parse/grammar.tab.pre.c:
9366 * gst/parse/grammar.tab.pre.h:
9367 * gst/parse/lex._gst_parse_yy.pre.c:
9368 Update the prebuild parser sources.
9370 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9372 * gst/parse/Makefile.am:
9373 And now fix the building of the flex sources. Now everything should
9376 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9378 * gst/parse/Makefile.am:
9379 Now hopefully fix the build failures by setting proper rule
9380 dependencies and moving instead of copying.
9382 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9384 * tests/benchmarks/complexity.gnuplot:
9385 * tests/benchmarks/complexity.scm:
9386 * tests/benchmarks/mass-elements.gnuplot:
9387 * tests/benchmarks/mass-elements.scm:
9388 Total licensification.
9390 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9392 * gst/parse/Makefile.am:
9393 Fix the build by correcting the rule that gave wrong files to flex.
9395 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9397 * tests/benchmarks/complexity.c:
9398 * tests/benchmarks/mass-elements.c:
9399 Change licence to LGPL as granted by Benjamin and Andy.
9401 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9403 * gst/parse/Makefile.am:
9404 Add correct grammar.tab.h dependency if compiling without new enough
9405 flex. Fixes #431150.
9407 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9409 * gst/parse/Makefile.am:
9410 Fix typo and use outdated sources if the flex/bison sources are newer
9411 than the pregenerated ones but flex is too old. Print a warning in
9412 that case. This should fix the build on the build bot.
9414 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9416 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9417 * gst/parse/Makefile.am:
9418 * gst/parse/grammar.y:
9419 * gst/parse/parse.l:
9420 Make the parser reentrant and recursively callable. This requires flex
9421 >= 2.5.31, for older versions pregenerated sources are used as we
9422 can't bump the build dependency. Finally fixes #349180.
9424 * gst/gstparse.c: (gst_parse_launch):
9425 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9428 * docs/gst/Makefile.am:
9429 * docs/gst/Makefile.am:
9430 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9431 (__gst_parse_strfree), (__gst_parse_link_new),
9432 (__gst_parse_link_free), (__gst_parse_chain_new),
9433 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9434 (gst_parse_element_set), (gst_parse_free_link),
9435 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9436 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9437 (_gst_parse_launch):
9438 * gst/parse/grammar.tab.pre.h:
9439 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9440 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9441 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9442 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9443 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9444 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9445 (_gst_parse_yypop_buffer_state),
9446 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9447 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9448 (yy_fatal_error), (_gst_parse_yyget_extra),
9449 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9450 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9451 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9452 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9453 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9454 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9455 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9456 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9457 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9458 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9459 (_gst_parse_yyfree):
9460 If the installed flex version is too old use pre-generated parser
9461 sources. These pre-generated parser sources are always updated when
9462 the actual flex/bison sources change but require everybody who wants
9463 to change something in the parser to have flex >= 2.5.31 installed.
9465 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9467 * common/m4/gst-gettext.m4:
9468 * gst/gst-i18n-lib.h:
9469 Make --disable-nls to work
9471 2007-04-17 Wim Taymans <wim@fluendo.com>
9473 * gst/gstconfig.h.in:
9474 Revert previous change that broke the build.
9476 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9480 * gst/gstconfig.h.in:
9481 Drop libxml2 dependency when building with
9482 --enable-binary-registry --disable-loadsave
9484 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9486 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9487 (gst_registry_binary_read_cache):
9488 * gst/gstregistrybinary.h:
9489 Remove unnecessary <sys/mman.h> include which broke the win32 build
9490 with MingW; move includes from header file to .c file, even if the
9491 header file isn't installed; use g_strerror() where UTF-8 strings
9492 are expected, such as in GST_DEBUG messages.
9494 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9496 * docs/libs/gstreamer-libs-sections.txt:
9497 Remove bogus addition for API I didn't end up keeping.
9499 * libs/gst/base/gstbasesrc.h:
9500 Mention Since: 0.10.13 in the documentation.
9502 Add the API keyword to the previous ChangeLog entry.
9504 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9506 * docs/libs/gstreamer-libs-sections.txt:
9507 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9508 (gst_base_src_default_prepare_seek_segment),
9509 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9510 * libs/gst/base/gstbasesrc.h:
9511 Allow basesrc derived classes to execute seeks in other formats
9512 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9513 to prepare the GstSegment in any format that their perform_seek method
9514 will be able to understand. The default implementation provides the
9515 old behaviour of attempting to convert the seek offsets to the
9516 configured native format.
9518 API: basesrc::prepare_seek_segment vmethod.
9520 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9522 * gst/gstelement.c: (gst_element_get_state_func):
9523 Don't output the same debug statement twice.
9525 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9526 (gst_adapter_peek), (gst_adapter_take_buffer):
9527 Optimise the case where we have buffers at the head of the queue that
9528 can be joined quickly (because they're contiguous sub-buffers) by
9529 merging them together rather than copying data out into new memory.
9531 * gst/parse/grammar.y:
9532 * tests/check/pipelines/parse-launch.c:
9533 Fix a leak in an error path for parse_launch, and add a check
9534 for it to the testsuite.
9536 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9538 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9539 Don't deadlock when releasing a pad - gst_pad_set_active may try
9540 and take the multiqueue lock too.
9542 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9544 * gst/gsterror.c: (_gst_core_errors_init):
9546 API: add GST_CORE_ERROR_DISABLED (#392804).
9548 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9550 * docs/faq/gst-uninstalled:
9551 don't get empty paths on the PATH variables
9552 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9553 Don't format for the uncommon terminal width of 84 characters.
9555 2007-04-06 Wim Taymans <wim@fluendo.com>
9557 * gst/gstpipeline.c: (reset_stream_time),
9558 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9559 Only try to select a different pipeline clock when we went back to
9560 PAUSED and not when we merely got flushed.
9562 2007-04-05 Michael Smith <msmith@fluendo.com>
9564 * tools/gst-launch.1.in:
9565 fractions are better supported in gstreamer than ractions, so
9566 suggest using those.
9568 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9570 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9574 Added Danish translation.
9576 2007-04-05 Wim Taymans <wim@fluendo.com>
9578 * libs/gst/base/gstbasesink.c:
9579 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9580 Fix leak caused when refusing newsegment after EOS.
9582 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9583 (gst_fake_sink_init), (gst_fake_sink_set_property),
9584 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9585 (gst_fake_sink_render), (gst_fake_sink_change_state):
9586 * plugins/elements/gstfakesink.h:
9587 Add num-buffers property to make the element generate EOS after a
9588 configurable amount of buffers.
9589 API: fakesink::num-buffers property.
9591 * tests/check/elements/fakesink.c: (GST_START_TEST),
9593 Fix GstBus leak in test.
9594 Test for fakesink num-buffers.
9596 2007-04-05 Wim Taymans <wim@fluendo.com>
9598 * libs/gst/base/gstbasesink.c:
9599 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9600 (gst_base_sink_change_state):
9601 Don't accept anything after an EOS, return UNEXPECTED instead.
9603 * tests/check/elements/fakesink.c: (GST_START_TEST),
9605 Unit test for new EOS behaviour.
9607 2007-04-05 Wim Taymans <wim@fluendo.com>
9609 * gst/gstelement.c: (gst_element_get_request_pad):
9610 Make padtemplates also work when they don't contain %s or %d.
9612 2007-04-05 Wim Taymans <wim@fluendo.com>
9614 * docs/gst/gstreamer-sections.txt:
9615 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9616 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9618 Improve _adjust_unlocked() so that it overflows less.
9619 Add gst_clock_unadjust_unlocked to convert from external time to
9620 internal time based on calibration.
9621 Add some more debug.
9622 API: GstClock::gst_clock_unadjust_unlocked()
9624 2007-04-03 Wim Taymans <wim@fluendo.com>
9626 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9628 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9629 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9630 when releasing sink pad. Fixes #425400.
9632 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9634 * docs/random/ensonic/dynlink.txt:
9635 More work on proposal for new core api.
9637 * docs/libs/gstreamer-libs-sections.txt:
9638 * libs/gst/base/gstbasetransform.h:
9639 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9641 * libs/gst/controller/gstcontroller.c:
9642 (on_object_controlled_property_changed),
9643 (gst_controller_sync_values),
9644 (gst_controller_set_interpolation_mode):
9645 * libs/gst/controller/gstcontroller.h:
9646 Less verbose logging add docs for unimplemented parts and correctly
9647 return when using unavailable parts.
9649 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9651 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9652 Move all the debug to the CLOCK category, and associate it with
9655 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9657 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9658 Make take_buffer a bit quicker by removing redundant checks
9659 caused by calling gst_adapter_take.
9661 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9663 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9666 * tests/check/Makefile.am:
9667 * tests/check/elements/.cvsignore:
9668 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9669 (GST_START_TEST), (multiqueue_suite):
9670 Add some dead simple unit tests for the 'multiqueue' element
9671 (some bits don't work yet and are disabled for now).
9673 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9675 * gst/gstelement.c: (gst_element_get_request_pad),
9676 (gst_element_class_get_request_pad_template):
9677 Make gst_element_get_request_pad() create request pads only for
9678 request pad templates and not for, say, sometimes pad templates.
9680 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9682 * docs/design/draft-klass.txt:
9683 Add example that needs more thinking.
9685 * docs/design/draft-missing-plugins.txt:
9686 More thoughts about wrapper plugins.
9688 * docs/random/ensonic/embedded.txt:
9689 * docs/random/ensonic/profiling.txt:
9692 2007-03-25 Wim Taymans <wim@fluendo.com>
9694 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9695 (gst_base_src_loop):
9696 Only push the segment events in the PLAYING state for live sources.
9698 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9700 * gst/gstpipeline.c: (gst_pipeline_change_state):
9701 Modify the clock distribution path in PAUSED->PLAYING so that we
9702 never attempt to choose a new clock unless we're actually leaving
9703 the PAUSED state for the first time. This prevents choosing a
9704 different clock when the state_change gets called for a 2nd time due
9705 to some element doing an async state change.
9707 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9709 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9710 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9711 (gst_pad_chain_unchecked), (gst_pad_push):
9712 Revert last commit. This needs some more thoughts.
9714 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9716 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9717 (gst_pad_chain_unchecked), (gst_pad_push):
9718 Check in set_caps if the caps are compatible with the pad and remove
9719 two functions that are redundant now. Fixes #421543.
9721 2007-03-22 Wim Taymans <wim@fluendo.com>
9723 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9724 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9725 Unref some more to make valgrind happy.
9727 2007-03-22 Wim Taymans <wim@fluendo.com>
9729 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9730 (gst_system_clock_id_wait_jitter),
9731 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9732 Fix anoying regression that survived a few releases. When adding an
9733 async entry while blocking on a sync entry, the sync entry will unblock
9734 but still be busy, so it should continue to wait instead of returning
9736 Add some comments here and there.
9738 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9739 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9740 Add testcase for this.
9742 2007-03-22 Wim Taymans <wim@fluendo.com>
9744 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9745 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9746 WRONG_STATE and can silently pause the task. All other cases should
9749 2007-03-22 Wim Taymans <wim@fluendo.com>
9751 Patch by: Ville Syrjala <syrjala at sci dot fi>
9753 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9754 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9757 2007-03-21 Michael Smith <msmith@fluendo.com>
9759 * docs/pwg/advanced-types.xml:
9760 Fix some errors in the typefinding docs pointed out on irc.
9762 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9764 * libs/gst/base/gstbasesrc.c:
9765 Clarify FIXME comment in the face of having added unlock_stop()
9767 2007-03-21 Wim Taymans <wim@fluendo.com>
9769 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9770 Prepare for release where we warn against possible app breakage in the
9771 case of live pipelines along with an env var to enable/disable live
9772 preroll mode (GST_COMPAT=[no-]live-preroll).
9774 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9776 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9777 So we should use correct constants for checking for None offset.
9779 2007-03-20 Wim Taymans <wim@fluendo.com>
9781 * docs/design/part-block.txt:
9782 Mention the fact that the newly switched element should be set to at
9785 2007-03-20 Wim Taymans <wim@fluendo.com>
9788 Fix compilation with registry disabled as spotted by Saur.
9790 2007-03-20 Wim Taymans <wim@fluendo.com>
9792 Patch by: Olivier Crete <tester at tester dot ca>
9794 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9795 Look at the pending state too when syncing the element state to the
9796 parent. Fixes #420133.
9798 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9800 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9801 (gst_base_sink_change_state):
9802 * libs/gst/base/gstbasesink.h:
9803 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9804 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9805 (gst_base_src_deactivate):
9806 * libs/gst/base/gstbasesrc.h:
9807 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9808 for sub-classes to correctly clear any state they set trying to
9809 unlock, such as clearing out unlock commands from a command fd.
9810 API: basesrc::unlock_stop
9811 API: basesink::unlock_stop
9813 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9814 (gst_fd_sink_render), (gst_fd_sink_unlock),
9815 (gst_fd_sink_unlock_stop):
9816 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9817 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9818 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9820 Implement unlock_stop in fdsrc and fdsink.
9821 Implement seeking in fdsrc when a seekable fd is passed, as in
9822 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9824 2007-03-19 Wim Taymans <wim@fluendo.com>
9826 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9828 * gst/gstelement.c: (gst_element_class_init):
9829 Fix pad-added and pad-removed signal signatures so that the pad type is
9830 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9832 2007-03-19 Wim Taymans <wim@fluendo.com>
9834 * docs/gst/gstreamer-sections.txt:
9835 Add new element field and method.
9837 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9838 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9839 (gst_bin_recalc_state), (gst_bin_get_state_func),
9840 (gst_bin_element_set_state), (gst_bin_change_state_func),
9841 (gst_bin_continue_func), (bin_bus_handler),
9842 (bin_push_state_continue), (bin_handle_async_start),
9843 (bin_handle_async_done), (gst_bin_handle_message_func):
9844 Make async state changes a bit smarter by using new ASYNC_START and
9845 ASYNC_DONE messages. This reduces the number of times we run the state
9846 recalculation thread.
9847 Don't change state of element with a pending ASYNC_START message.
9848 Deprecate STATE_DIRTY messages.
9850 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9851 (gst_element_get_state_func), (gst_element_continue_state),
9852 (gst_element_lost_state), (gst_element_set_state_func),
9853 (gst_element_change_state):
9855 Keep the state that was last set by the app in a new element field.
9856 Don't allow state changes when handling an element event.
9857 Post ASYNC_START and ASYNC_DONE messages.
9858 Change lost_state so that we go to PAUSED and wait for the parent to set
9859 us to PLAYING again (so latency calculation can be performed)
9860 Export gst_element_change_state() method so that subclasses can use it.
9861 API: gst_element_change_state()
9862 API: GST_STATE_TARGET
9864 * gst/gstpipeline.c: (gst_pipeline_class_init),
9865 (reset_stream_time), (gst_pipeline_change_state),
9866 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9867 Using the new ASYNC_START message we can reset the base_time when
9868 needed. This can then be used to implement base_time redistribution in
9869 flushing seeks so that we can remove the explicit seek handling.
9870 Perform latency query and configuration when going to PLAYING.
9872 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9873 (gst_base_sink_query), (gst_base_sink_change_state):
9874 Post new ASYNC_START/ASYNC_DONE messages.
9876 * tests/check/generic/sinks.c: (GST_START_TEST):
9877 Fix test because the bin will not set the async element to PLAYING right
9880 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9881 Make the message check a little stronger.
9882 Handle ASYNC messages.
9884 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9885 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9886 Expect ASYNC_DONE messages.
9888 2007-03-19 Wim Taymans <wim@fluendo.com>
9890 * docs/gst/gstreamer-sections.txt:
9891 * gst/gstmessage.c: (gst_message_new_async_start),
9892 (gst_message_new_async_done), (gst_message_parse_info),
9893 (gst_message_parse_async_start):
9895 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9898 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9900 * tools/gst-inspect.c:
9901 (print_plugin_automatic_install_info_codecs):
9902 Now that we don't check for the 'Codec' keyword any longer in the
9903 klass, we shouldn't spew a warning if the klass isn't a decoder or
9904 encoder (since it might be a Source/Network, for example).
9906 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9908 * tools/gst-inspect.c:
9909 (print_plugin_automatic_install_info_codecs):
9910 Don't require decoder/demuxer/depayloader elements or
9911 encoder/muxer/paylader elements to have 'Codec' as part of their
9912 factory class string when introspecting a plugin's capabilities.
9913 draft-klass.txt mentions that it might be removed in future, and
9914 flump3dec doesn't have it as part of its class string, so chances
9915 are others might also not have it.
9917 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9939 Update translations from translation project
9941 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9943 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9944 (gst_child_proxy_set_property):
9945 Invert precondition check to be alike the ones in the mimiced gobject
9948 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9950 * docs/design/draft-tagreading.txt:
9951 * docs/random/ensonic/audiobaseclasses.txt:
9952 Do some Architect work.
9954 * gst/gstobject.c: (gst_object_set_name):
9958 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9960 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9962 * gst/gstsystemclock.c: (gst_system_clock_init),
9963 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9964 Defer starting the async system clock thread until the first async
9965 wait is scheduled. Fixes #414986.
9967 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9969 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9970 (gst_single_queue_free):
9971 Fix small leak (free GstSingleQueue structure too, not only contents).
9973 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9975 * gst/gstbin.c:(gst_bin_add):
9976 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9977 * win32/common/libgstbase.def:
9978 * win32/common/libgstreamer.def:
9979 Add new exported functions.
9981 2007-03-09 Wim Taymans <wim@fluendo.com>
9983 * docs/plugins/gstreamer-plugins-sections.txt:
9986 2007-03-09 Wim Taymans <wim@fluendo.com>
9988 * docs/gst/gstreamer-sections.txt:
9989 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9991 Add metadata copy functions. Fixes #393099.
9992 API: gst_buffer_copy_metadata()
9994 * gst/gstutils.c: (gst_buffer_stamp):
9995 * libs/gst/base/gstbasetransform.c:
9996 (gst_base_transform_prepare_output_buffer):
9997 Use new metadata copy functions.
9999 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
10001 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10002 (gst_identity_init), (gst_identity_check_perfect),
10003 (gst_identity_check_imperfect_timestamp),
10004 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
10005 (gst_identity_set_property), (gst_identity_get_property):
10006 * plugins/elements/gstidentity.h:
10007 Separate out check-imperfect-timestamp and check-imperfect-offset.
10008 Put back check-perfect as it was to keep compatibility.
10010 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
10012 * gst/gstelement.c: (gst_element_dispose):
10013 There's no need to warn if VOID_PENDING is not NONE here, as
10014 long as the state is NULL it's ok, and that's checked immediately
10017 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10019 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10020 Fix check for perfect stream to ignore buffers with -1
10021 offsets/offset ends when checking data contiguity.
10023 2007-03-08 Wim Taymans <wim@fluendo.com>
10025 * tools/gst-launch.c: (event_loop):
10026 Print INFO messages.
10028 2007-03-08 Wim Taymans <wim@fluendo.com>
10030 * libs/gst/base/gstbasetransform.c:
10031 (gst_base_transform_sink_eventfunc),
10032 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10033 (gst_base_transform_activate):
10034 * libs/gst/base/gstbasetransform.h:
10035 Add support for dropping buffers with custom GstFlowReturn.
10036 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10037 buffers or dropped buffers.
10039 * docs/libs/gstreamer-libs-sections.txt:
10040 docs for new custom return code.
10042 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10043 Use drop support in base class to implement drop-probability.
10045 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
10047 * gst/gst.c: (load_plugin_func):
10048 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10049 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10050 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10051 Remove newlines at end of debug log strings.
10053 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10055 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10056 Only post bus message at max, once per buffer received.
10058 2007-03-07 Wim Taymans <wim@fluendo.com>
10060 * docs/design/Makefile.am:
10061 * docs/design/part-synchronisation.txt:
10062 Add doc about synchronisation
10064 * docs/design/draft-latency.txt:
10065 * docs/design/part-TODO.txt:
10066 * docs/design/part-clocks.txt:
10067 * docs/design/part-events.txt:
10068 * docs/design/part-gstbus.txt:
10069 * docs/design/part-gstpipeline.txt:
10070 * docs/design/part-live-source.txt:
10071 * docs/design/part-messages.txt:
10072 * docs/design/part-overview.txt:
10073 * docs/design/part-streams.txt:
10074 * docs/design/part-trickmodes.txt:
10075 Documentation updates.
10077 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10080 Update the doap file.
10082 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10084 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10085 Rename non-perfect to imperfect for Mike and for the sanctity of the
10087 Also make sure bus message gets emitted for data-incontiguities.
10089 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10091 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10092 (gst_identity_start):
10093 * plugins/elements/gstidentity.h:
10094 Emit bus message if check-perfect is true and we encounter a
10095 non-perfect stream between 2 consecutive buffers.
10098 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10103 === release 0.10.12 ===
10105 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10108 releasing 0.10.12, "Inevitable Demise"
10110 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10113 Version 0.10.11.2 (0.10.12 pre-release)
10114 Bump libtool versioning.
10116 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10118 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10119 Log flow-names and not numbers.
10121 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10124 Convert to new AG_GST style.
10126 2007-02-28 Wim Taymans <wim@fluendo.com>
10128 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10129 Don't unref query twice.
10131 2007-02-28 Wim Taymans <wim@fluendo.com>
10133 * gst/gstvalue.c: (gst_value_transform_object_string),
10134 (_gst_value_initialize):
10135 Implement GstObject -> string transform so we print object names
10136 when serializing GValues containing GstObjects.
10138 2007-02-28 Wim Taymans <wim@fluendo.com>
10140 * docs/gst/gstreamer-sections.txt:
10141 Add new stuff to docs.
10143 2007-02-28 Wim Taymans <wim@fluendo.com>
10145 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10146 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10147 (gst_base_sink_change_state):
10148 Improve latency query code.
10149 Don't leak latency events.
10151 * tests/check/gst/gstbin.c: (GST_START_TEST):
10154 2007-02-28 Wim Taymans <wim@fluendo.com>
10156 * gst/gstelement.c: (gst_element_message_full),
10157 (gst_element_get_state_func):
10158 * gst/gstelement.h:
10159 Improve docs a little. Added Since: for new macro.
10161 * gst/gstobject.c: (gst_object_sink):
10162 * gst/gstpipeline.c: (gst_pipeline_change_state),
10163 (gst_pipeline_set_new_stream_time):
10164 * gst/gstpipeline.h:
10165 Improve debugging and docs.
10167 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10170 2007-02-28 Wim Taymans <wim@fluendo.com>
10172 * gst/gstelement.c: (gst_element_message_full),
10173 (gst_element_set_locked_state), (gst_element_get_state_func),
10174 (gst_element_change_state):
10175 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10176 Documentation updates.
10177 Small code cleanups.
10179 * gst/gstmessage.c: (gst_message_new_info),
10180 (gst_message_parse_info):
10181 * gst/gstmessage.h:
10182 API: gst_message_new_info()
10183 API: gst_message_parse_info()
10184 Add INFO message create and parse code.
10186 2007-02-28 Wim Taymans <wim@fluendo.com>
10188 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10189 (bin_query_latency_done):
10190 Also report the live parameter of a latency query.
10192 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10194 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10195 Copy the current generic/states example from -base and adapt so
10196 we can use the exact same code everywhere.
10197 Check a STATES_IGNORE_ELEMENTS env var which can be used
10198 to ignore certain element factories for this test, which is
10199 what is being done in -base
10200 * tests/check/Makefile.am:
10201 Mention this environment variable.
10203 2007-02-27 Wim Taymans <wim@fluendo.com>
10205 * docs/gst/gstreamer-sections.txt:
10206 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10207 (gst_bus_timed_pop), (gst_bus_pop):
10209 API: gst_bus_timed_pop()
10210 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10211 message to arrive on the bus.
10213 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10215 Two unit tests for new _timed_pop() function.
10217 2007-02-23 Wim Taymans <wim@fluendo.com>
10219 * gst/gstpipeline.c: (gst_pipeline_change_state),
10220 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10221 Don't ref a NULL clock in _provide_clock_func().
10222 Don't allow an INVALID delay.
10223 Don't try to calculate base_time with an invalid start_time.
10224 Also distribute and notify a NULL clock when it was selected.
10226 * tools/gst-launch.c: (event_loop):
10227 Don't crash when a NULL clock was selected in the pipeline.
10229 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10231 * docs/design/Makefile.am:
10232 * docs/design/draft-missing-plugins.txt:
10233 * docs/random/draft-missing-plugins.txt:
10234 Some small updates: update plugin system identifier prefix
10235 ('gstreamer.net' to 'gstreamer'), mention our new install
10236 API in libgstbaseutils rather than libgimme-codec, add
10237 reference to the online docs.
10239 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10241 * win32/common/config.h:
10242 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10243 use moap cl ci to only check in what is mentioned in the ChangeLog.
10245 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10247 * docs/gst/gstreamer-sections.txt:
10248 * gst/gstelement.h:
10249 Fix up documentation to link to the correct GstGError section.
10250 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10252 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10254 * tools/gst-launch.c: (event_loop):
10255 Make sure that we actually show the important message part of a
10257 No need to check if the gerror is not NULL to free; first of all
10258 g_free accepts NULL; and second the default error handler would
10259 segfault if gerror was NULL.
10261 2007-02-21 Wim Taymans <wim@fluendo.com>
10263 * docs/gst/gstreamer-sections.txt:
10264 Removed docs as well.
10266 2007-02-21 Wim Taymans <wim@fluendo.com>
10268 * gst/gstmessage.c: (gst_message_parse_duration):
10269 * gst/gstmessage.h:
10270 Remove new messages for release.
10272 2007-02-20 Wim Taymans <wim@fluendo.com>
10274 * docs/design/part-gstghostpad.txt:
10275 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10276 (gst_ghost_pad_new_full):
10277 Make the ghostpad a parent of the internal pad again for better backward
10278 compatibility. Don't write code that relies on this however.
10280 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10281 (gst_pad_link_check_hierarchy):
10282 Require that parents should be GstElements in the hierarchy check.
10284 2007-02-20 Wim Taymans <wim@fluendo.com>
10286 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10287 (gst_bin_change_state_func), (bin_query_min_max_init),
10288 (bin_query_latency_fold), (bin_query_latency_done),
10290 Improve debug info.
10291 Implement latency query.
10293 2007-02-20 Wim Taymans <wim@fluendo.com>
10295 * docs/design/part-gstghostpad.txt:
10296 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10297 (gst_ghost_pad_internal_do_activate_push),
10298 (gst_ghost_pad_internal_do_activate_pull),
10299 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10300 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10301 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10302 Do not set the internal pad as a parent anymore so we can avoid
10303 hierarchy linking errors when the ghostpad has no parent yet. This also
10304 fixes failed activation because of unlinked internal pads, which in
10305 turn fixes the impossible case where you have to activate a pad before
10306 you can add it to a running element.
10309 * gst/gstpad.c: (pre_activate), (post_activate),
10310 (gst_pad_set_active), (gst_pad_activate_pull),
10311 (gst_pad_activate_push), (gst_pad_check_pull_range):
10312 Add some more debug info.
10313 Mark activation mode in pre_activate so that we don't try to activate in
10314 endless loops. Fixes #385084.
10316 2007-02-19 Wim Taymans <wim@fluendo.com>
10318 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10319 (gst_base_transform_check_get_range):
10320 Implement a checkgetrange function instead of relying on the default
10321 core behaviour that assumes we can operate in pull mode if we have a
10322 getrange function. First step at fixing #385084.
10324 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10326 * gst/gstchildproxy.h:
10327 * libs/gst/base/gstbasesink.h:
10328 * libs/gst/base/gstbasesrc.h:
10329 * libs/gst/base/gstbasetransform.h:
10330 More docs coverage and some ChangeLog surgery (add missing names)
10332 2007-02-15 Wim Taymans <wim@fluendo.com>
10334 * docs/design/part-TODO.txt:
10335 * docs/design/part-activation.txt:
10336 * docs/design/part-block.txt:
10337 * docs/design/part-buffering.txt:
10338 * docs/design/part-clocks.txt:
10339 * docs/design/part-element-source.txt:
10340 * docs/design/part-events.txt:
10341 * docs/design/part-gstbin.txt:
10342 * docs/design/part-gstbus.txt:
10343 * docs/design/part-gstpipeline.txt:
10344 * docs/design/part-live-source.txt:
10345 * docs/design/part-messages.txt:
10346 * docs/design/part-overview.txt:
10347 * docs/design/part-qos.txt:
10348 * docs/design/part-query.txt:
10349 * docs/design/part-states.txt:
10350 * docs/design/part-trickmodes.txt:
10351 Some doc updates. Start renaming from stream_time to running_time where
10352 it was used wrongly.
10354 2007-02-15 Wim Taymans <wim@fluendo.com>
10356 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10357 Answer LATENCY query.
10359 2007-02-15 Wim Taymans <wim@fluendo.com>
10361 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10365 2007-02-15 Wim Taymans <wim@fluendo.com>
10367 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10368 (gst_pad_dispatcher):
10369 Improve debugging of default pad dispatcher and query functions.
10371 2007-02-15 Wim Taymans <wim@fluendo.com>
10373 * docs/gst/gstreamer-sections.txt:
10374 Remove old unused method.
10376 2007-02-13 Wim Taymans <wim@fluendo.com>
10378 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10381 2007-02-13 Wim Taymans <wim@fluendo.com>
10383 * docs/design/part-seeking.txt:
10386 * gst/gstsegment.c: (gst_segment_set_seek):
10387 Revert old bogus change that should make seeking work again.
10389 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10391 * docs/random/ensonic/dynlink.txt:
10392 * docs/random/ensonic/interfaces.txt:
10393 * docs/random/ensonic/receipies.txt:
10394 Possible dynamic reconnection api, plus some type fixes the other two
10397 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10399 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10400 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10401 Also check for an absolute path following file:// in the filesrc
10402 element. Remove redundant check and call g_path_is_absolute() on the
10403 unescaped location.
10405 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10407 * docs/design/draft-klass.txt:
10408 Add existing category analysis.
10411 Fix doc example, framerate is a fraction.
10413 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10416 * docs/gst/Makefile.am:
10417 * docs/gst/gstreamer-sections.txt:
10418 * docs/libs/Makefile.am:
10419 Erm, forgot a bunch of --extra-dir.
10421 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10424 * docs/gst/Makefile.am:
10425 * docs/libs/Makefile.am:
10426 * docs/plugins/Makefile.am:
10427 Add crossreferences to glib/gobject docs.
10429 2007-02-12 Wim Taymans <wim@fluendo.com>
10431 * docs/design/draft-latency.txt:
10434 * docs/libs/gstreamer-libs-sections.txt:
10435 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10436 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10437 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10438 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10439 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10440 (gst_base_sink_get_position), (gst_base_sink_query),
10441 (gst_base_sink_change_state):
10442 * libs/gst/base/gstbasesink.h:
10443 API: gst_base_sink_query_latency() to let subclasses query the upstream
10445 API: gst_base_sink_get_latency() to let subclasses query the configured
10446 latency in the sink.
10447 Implement query and set latency.
10449 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10450 don't continue preroll when we are flushing. Fixes #405284.
10452 * tests/check/pipelines/stress.c: (change_state_timeout),
10453 (quit_timeout), (GST_START_TEST), (stress_suite):
10456 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10458 Patch by: René Stadler <mail at renestadler de>
10460 * docs/gst/gstreamer-sections.txt:
10461 * gst/gsttaglist.c: (_gst_tag_initialize):
10462 * gst/gsttaglist.h:
10463 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10465 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10467 * docs/libs/Makefile.am:
10468 Fix path to core docs.
10470 * gst/gstbin.c: (gst_bin_get_by_interface),
10471 (gst_bin_iterate_all_by_interface):
10472 Refix docs by also renaming 'interface' to 'iface' in implementation.
10474 * docs/gst/gstreamer-sections.txt:
10476 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10477 * gst/gstchildproxy.h:
10478 * gst/gstelementfactory.c:
10479 * gst/gstpadtemplate.h:
10480 * libs/gst/controller/gstcontroller.c:
10481 (gst_controlled_property_new):
10484 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10486 * gst/gstbin.h:(gst_bin_get_by_interface),
10487 (gst_bin_iterate_all_by_interface):
10488 Replace interface parameter name by iface as interface is
10489 a reserved keyword in Visual Studio for C++ projects so it removes
10490 a build error for application developpers using VS.
10491 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10492 Fix a bug on Windows in uri format check. Now the prefix checked
10493 is file:// and next we check if the path after file:// is absolute.
10494 * win32/common/libgstbase.def:
10495 * win32/common/libgstdataprotocol.def:
10496 * win32/common/libgstgstreamer.def:
10497 Add new exported functions.
10499 2007-02-09 Andy Wingo <wingo@pobox.com>
10501 * tests/check/pipelines/simple-launch-lines.c
10502 (simple_launch_lines_suite, test_tee): Disable tee test until I
10503 have time to fix it :-(
10505 * tests/check/Makefile.am (noinst_HEADERS):
10506 * tests/check/libs/libsabi.c:
10507 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10508 * tests/check/gst/gstabi.c:
10509 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10511 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10512 tests for push and pull tee behavior.
10514 * plugins/elements/gsttee.h:
10515 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10516 mark as deprecated as well as unimplemented. It was a crack idea.
10517 Add support for tee operating in pull mode, off by default.
10519 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10520 normal-case logs down to LOG, raise errors to WARNING.
10521 (gst_registry_xml_read_cache): Don't log before calling a function
10524 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10525 exit (registry finalize).
10526 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10527 DEBUG log when we emit signals that people don't even have the
10528 chance to connect to.
10529 (gst_registry_scan_path_level): Less logging in the normal case.
10531 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10533 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10535 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10536 Correctly generate EOS for non-seekable files. We don't have a total
10537 length for them and would get an unexpected end of file if we only
10538 special-cased for regular files. (Fixes: #404569)
10540 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10542 * tests/check/elements/filesrc.c: (GST_START_TEST),
10544 Add unit test for the GstURIHandler interface in filesrc. This also
10545 tests the newly added file://localhost/foo/bar support.
10547 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10549 * gst/gstelementfactory.h:
10550 The klass string is not a hierarchy. Add reference to the design doc
10551 for more information and common types.
10553 2007-02-02 Wim Taymans <wim@fluendo.com>
10555 * gst/gstquery.c: (gst_query_new_latency):
10556 Remove old structure field.
10558 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10560 * tools/gst-launch.1.in:
10561 Give example for network streaming (#351998)
10563 2007-02-02 Wim Taymans <wim@fluendo.com>
10565 * docs/gst/gstreamer-sections.txt:
10566 Add docs for new methods.
10568 * gst/gstevent.c: (gst_event_new_latency),
10569 (gst_event_parse_latency):
10571 Add new LATENCY event to configure latency in a pipeline.
10572 API: gst_event_new_latency
10573 API: gst_event_parse_latency
10575 * gst/gstmessage.c: (gst_message_new_buffering),
10576 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10577 (gst_message_new_latency), (gst_message_parse_buffering),
10578 (gst_message_parse_lost_preroll):
10579 * gst/gstmessage.h:
10580 Added messages used in draft-latency.
10581 API: gst_message_new_lost_preroll
10582 API: gst_message_parse_lost_preroll
10583 API: gst_message_new_prerolled
10584 API: gst_message_new_latency
10586 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10587 (gst_query_parse_latency):
10589 Implemented new latency query as in design doc.
10590 API: gst_query_new_latency
10591 API: gst_query_set_latency
10592 API: gst_query_parse_latency
10594 2007-02-02 Wim Taymans <wim@fluendo.com>
10596 * docs/design/draft-latency.txt:
10597 Slight redesign to allow for dynamic latency adjustments.
10599 * docs/design/part-negotiation.txt:
10602 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10604 reviewed by: Wim Taymans <wim@fluendo.com>
10606 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10607 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10608 Allow file://localhost/foo/bar URLs and correctly fail for every other
10609 hostname that one sets. This was gnomevfssrc is linked for those if
10610 installed as it can handle it (#403172)
10612 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10614 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10617 (unref_data), (gst_collect_pads_add_pad_full):
10618 * libs/gst/base/gstcollectpads.h:
10619 Don't put the previously added destroy notify in the GstCollectData
10620 struct as all it's padding is already used and we don't want to break
10621 ABI. Instead put in the pad's GObject data for now. This should be
10622 cleaned up for 0.11 (#402393).
10624 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10626 reviewed by: Wim Taymans <wim@fluendo.com>
10628 * docs/libs/gstreamer-libs-sections.txt:
10629 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10630 (unref_data), (gst_collect_pads_add_pad),
10631 (gst_collect_pads_add_pad_full):
10632 * libs/gst/base/gstcollectpads.h:
10633 API: Add function to specify a destroy notification for custom
10634 GstCollectData when adding new pads in GstCollectPads (#402393).
10636 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10639 Update Swedish translation (#378255).
10641 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10643 * docs/design/draft-klass.txt:
10644 Fix the previous change, this is a list of categories and not a hierarchy.
10646 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10648 * docs/design/draft-klass.txt:
10649 Add info about how to get a list of used classes.
10651 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10653 * plugins/elements/gsttypefindelement.c:
10654 (gst_type_find_element_chain_do_typefinding),
10655 (gst_type_find_element_change_state):
10656 Don't leak found caps in chain function (no idea why that never
10657 showed up as a leak anywhere).
10659 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10662 Fix and expand GstPluginDesc API docs.
10664 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10667 * gst/gstelementfactory.c:
10668 * gst/gstpadtemplate.h:
10671 * libs/gst/controller/gstcontroller.c:
10672 (gst_controlled_property_new):
10673 * tests/examples/controller/audio-example.c:
10676 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10679 comment about refining the xml deps
10681 * docs/manuals.mak:
10682 comments about moving away from jade for docs
10685 recommit the ifdefs to use the binary registry
10687 * gst/gstbin.c: (gst_bin_change_state_func):
10688 this break is obsolete
10690 * gst/gstelementfactory.h:
10691 better GST_ELEMENT_DETAILS docs, add comment about translation
10696 * gst/gstobject.c: (gst_signal_object_get_type):
10697 add G_UNLIKELY as usual
10699 * gst/gstpad.c: (gst_pad_event_default):
10700 add fall trhu comment
10702 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10703 (gst_registry_binary_initialize_magic),
10704 (gst_registry_binary_save_string),
10705 (gst_registry_binary_save_pad_template),
10706 (gst_registry_binary_save_feature),
10707 (gst_registry_binary_save_plugin),
10708 (gst_registry_binary_write_cache),
10709 (gst_registry_binary_check_magic),
10710 (gst_registry_binary_load_pad_template),
10711 (gst_registry_binary_load_feature),
10712 (gst_registry_binary_load_plugin),
10713 (gst_registry_binary_read_cache):
10714 comment typo and formatting
10716 * gst/gstutils.c: (gst_element_state_get_name),
10717 (gst_element_state_change_return_get_name):
10718 remove obsolete breaks
10720 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10721 add FIXME 0.11 and remove cpp comment
10723 2007-01-29 Edward Hervey <edward@fluendo.com>
10725 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10726 Fix print statement in an even more portable way.
10728 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10730 * docs/gst/gstreamer-sections.txt:
10732 API: add GST_ROUND_DOWN_* macros (#401781).
10734 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10736 * docs/gst/gstreamer.types.in:
10737 * gst/gstregistry.c: (gst_registry_class_init):
10738 Document registry signals and make gtk-doc pick them up (#401381).
10740 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10742 * docs/pwg/building-testapp.xml:
10743 Add some audioconverts and audioresample to the pipeline, and some
10744 more comments and error handling.
10746 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10748 * docs/manual/manual.xml:
10749 * docs/pwg/pwg.xml:
10750 Fix typo (#400987).
10752 2007-01-26 Wim Taymans <wim@fluendo.com>
10754 * gst/gstcaps.c: (gst_static_caps_get):
10755 Init caps flags too.
10757 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10759 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10761 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10762 If not using mmap'ed files try to seek to the end instead of the
10763 start to determine whether we can seek at all. This fixes the case
10764 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10765 seeks for everything afterwards fail. Fixes #400656
10767 2007-01-25 Wim Taymans <wim@fluendo.com>
10769 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10770 Add some refcount debugging.
10771 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10772 in multiple streaming threads.
10774 2007-01-25 Wim Taymans <wim@fluendo.com>
10776 Patch by: David Schleef <ds at schleef dot org>
10778 * docs/libs/gstreamer-libs-sections.txt:
10779 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10780 * libs/gst/base/gstadapter.h:
10781 API: gst_adapter_copy() that can reduce the amount of memcpy when
10782 getting data from the adapter. Fixes #388201.
10784 2007-01-25 Edward Hervey <edward@fluendo.com>
10786 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10787 In print statements, "%x" is for guint. Fixes build on macosx.
10789 2007-01-24 Edward Hervey <edward@fluendo.com>
10791 * plugins/elements/gstmultiqueue.c:
10792 (gst_multi_queue_loop):
10794 (single_queue_overrun_cb), (single_queue_underrun_cb),
10795 (single_queue_check_full), (gst_single_queue_new):
10796 Implement single queue growth system.
10797 This uses the extra-size properties, and will grow single queues by
10798 that much if one goes full whereas there are others empty. This is
10799 called extra-mode in the code.
10800 When a single queue's levels go back below the initial max-size
10801 limits, it is no longer in extra-mode. This is to ensure we don't
10802 consume too much memory.
10805 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10807 * gst/gst.c: (gst_init_get_option_group):
10808 Make warning about late g_thread_init() calls a bit more explicit,
10809 so that it's more obvious to application developers what they need
10810 to do if a user files a bug against their application.
10812 2007-01-22 Edward Hervey <edward@fluendo.com>
10814 * plugins/elements/gstmultiqueue.c:
10815 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10816 Remove previous hack of unsetting the flushing flag for the source pad
10817 instead of activating it. Instead, fix the source pad activate function
10818 so that it no longer depends on having a parent set or not.
10820 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10822 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10824 * docs/manual/basics-bus.xml:
10825 Fix example code, gst_element_unref() doesn't exist any longer.
10827 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10829 Patch by: Mark Nauwelaerts <manauw at skynet be>
10832 Fix two docs typoes (#399094).
10834 2007-01-19 Edward Hervey <edward@fluendo.com>
10836 * docs/faq/gst-uninstalled:
10837 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10838 depending on libgstbaseutils can work in uninstalled environment.
10840 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10842 * gst/gsttaglist.h:
10843 * gst/gsttagsetter.c:
10844 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10845 statement for new tag.
10847 2007-01-17 Edward Hervey <edward@fluendo.com>
10849 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10850 When dynamically creating single queues, activate sinkpad before adding
10852 We should be doing the same thing for the source pad, but we can't
10853 since it would call a method which needs the parent to be set in order
10854 to work propertly. Instead of activating the source pad, we just unset
10855 the flushing flag, which is the minimal requirement for adding a pad
10856 to an element in a state greater than READY.
10858 2007-01-17 Edward Hervey <edward@fluendo.com>
10860 * docs/faq/gst-uninstalled:
10861 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10864 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10866 * tests/check/gst/gstabi.c:
10867 * tests/check/gst/struct_hppa.h:
10868 * tests/check/libs/libsabi.c:
10869 * tests/check/libs/struct_hppa.h:
10870 Add ABI structs for HPPA (see #393796).
10872 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10874 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10875 Actually write ABI structs to the file specified in the GST_ABI
10876 environment variable, as the message we print claims we would.
10878 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10880 * tests/check/gst/gsttask.c:
10881 Fix header comment.
10883 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10885 * gst/gsttaglist.c: (_gst_tag_initialize):
10886 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10887 previous two entries.
10889 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10891 * docs/gst/gstreamer-sections.txt:
10892 * gst/gsttaglist.c: (_gst_tag_initialize):
10893 * gst/gsttaglist.h:
10894 Add tag support for beat-per-minute.
10896 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10898 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10899 (gst_registry_binary_initialize_magic),
10900 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10901 (gst_registry_binary_save_pad_template),
10902 (gst_registry_binary_save_feature),
10903 (gst_registry_binary_save_plugin),
10904 (gst_registry_binary_write_cache),
10905 (gst_registry_binary_check_magic),
10906 (gst_registry_binary_load_pad_template),
10907 (gst_registry_binary_load_feature),
10908 (gst_registry_binary_load_plugin),
10909 (gst_registry_binary_read_cache):
10910 * gst/gstregistrybinary.h:
10911 Use glib types, cleanup comments, impement interfaces and uri-types.
10913 2007-01-13 Andy Wingo <wingo@pobox.com>
10915 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10916 getrange() to return buffers with other caps, while we fix
10917 demuxers and typefind, or otherwise change part-negotiation.txt.
10919 2007-01-12 Andy Wingo <wingo@pobox.com>
10921 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10922 Factor start/stop into this private function instead of partially
10923 in activate functions and partially in the change_state function.
10924 Fixes setup before the element has changed from READY->PAUSED, as
10925 is the case in pull-mode pipelines.
10926 (gst_base_transform_sink_activate_push)
10927 (gst_base_transform_src_activate_pull): Refactor to use
10928 gst_base_transform_activate().
10929 (gst_base_transform_change_state): Removed, not needed any more.
10931 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10932 Truncate before fixating.
10934 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10935 Don't set_caps() if the result of fixating is ANY, as it's not
10936 supported, and not necessary in the case of a link with no
10937 template caps on either side. Fixes tests/check/libs/basesrc in
10938 some pull-mode tests.
10940 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10941 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10942 (gst_base_transform_src_activate_pull):
10943 Track the activation mode.
10944 (gst_base_transform_setcaps): In pull mode, when activating the
10945 src pad, after activating the sink pad, activate the sink pad's
10946 peer, as discussed in part-negotiation.txt.
10948 * libs/gst/base/gstbasesrc.h:
10949 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10950 vmethod, as in basesink.
10952 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10954 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10955 mode, first proxy the setcaps to the peer pad.
10956 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10957 new fixate vmethod.
10958 (gst_base_sink_default_activate_pull): Rename from
10959 gst_base_sink_activate_pull.
10960 (gst_base_sink_negotiate_pull): New function, performs negotiation
10961 in pull mode before calling ::activate_pull().
10962 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10963 vmethod instead of the default implementation. I have no idea how
10964 this worked before. Negotiate before calling activate_pull.
10966 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10967 sink pads in pull mode. In addition to being correct, fixes
10968 filesrc ! decodebin ! identity ! fakesink.
10969 (gst_pad_get_range, gst_pad_pull_range): Don't call
10970 gst_pad_set_caps() if the caps changes; instead error out with
10971 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10973 2007-01-12 Andy Wingo <wingo@pobox.com>
10975 * docs/design/part-negotiation.txt: Update with more policy.
10977 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10979 * libs/gst/check/gstbufferstraw.h:
10980 * libs/gst/check/gstcheck.h:
10981 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10984 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10986 * tests/check/Makefile.am:
10987 * tests/check/gst/.cvsignore:
10988 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10989 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10990 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10991 (GST_START_TEST), (gst_tag_setter_suite):
10992 Add minimal unit test for beforementioned GstTagSetter bug.
10994 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10996 Patch by: René Stadler <mail at renestadler dot de>
10998 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10999 gst_tag_list_merge() returns a new list, so it's not the best idea
11000 to ingore its return value. Effectively meant that tags could only
11001 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
11002 Also add function guard to require a non-NULL taglist as input (has
11003 always been so due to gst_tag_list_copy(), just making it explicit).
11005 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11007 * docs/random/draft-missing-plugins.txt:
11008 Some additions: mention new API that is supposed to be used at the
11009 various stages; short blob about new gst-inspect introspection
11010 option; mention potential future problem with plugins that have
11011 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
11013 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11015 * tools/gst-inspect.c:
11016 (print_plugin_automatic_install_info_codecs),
11017 (print_plugin_automatic_install_info_protocols),
11018 (print_plugin_automatic_install_info), (main):
11019 Add --print-plugin-auto-install-info option to gst-inspect, so we can
11020 introspect plugin files and get machine-parsable output that corresponds
11021 to the last bit of the missing-plugin installer string (small gotcha:
11022 doesn't take into account ranks).
11024 2007-01-11 Stefan Kost <ensonic@users.sf.net>
11027 * docs/gst/gstreamer-sections.txt:
11029 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11030 (gst_registry_lookup_locked):
11031 * gst/gstregistry.h:
11032 * gst/gstregistrybinary.c: (gst_registry_binary_write),
11033 (gst_registry_binary_initialize_magic),
11034 (gst_registry_binary_save_string),
11035 (gst_registry_binary_save_pad_template),
11036 (gst_registry_binary_save_feature),
11037 (gst_registry_binary_save_plugin),
11038 (gst_registry_binary_write_cache),
11039 (gst_registry_binary_check_magic),
11040 (gst_registry_binary_load_pad_template),
11041 (gst_registry_binary_load_feature),
11042 (gst_registry_binary_load_plugin),
11043 (gst_registry_binary_read_cache):
11044 * gst/gstregistrybinary.h:
11045 * gst/gstregistryxml.c: (load_feature),
11046 (gst_registry_xml_read_cache):
11047 commit binary registry (disabled by default, see #359653)
11049 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11051 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11052 Fix 'make check' too.
11054 2007-01-10 Andy Wingo <wingo@pobox.com>
11056 * docs/design/part-negotiation.txt: Fix a typo, add a couple
11059 * docs/design/part-negotiation.txt: Update with, um, one way that
11060 pull-mode negotiation might work?
11063 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11064 that the pad must be a src pad; makes sense to call it the other
11065 way in pull mode, and the logic is symmetric anyway.
11067 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
11069 * plugins/elements/gstfilesink.c:
11070 Include <stdio.h> for fseeko().
11072 2007-01-10 Wim Taymans <wim@fluendo.com>
11076 Reserve LATENCY event.
11078 2007-01-09 Wim Taymans <wim@fluendo.com>
11080 * docs/design/draft-latency.txt:
11083 2007-01-09 Wim Taymans <wim@fluendo.com>
11085 * docs/design/draft-latency.txt:
11088 * gst/gstelement.h:
11089 * gst/gststructure.c:
11093 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11095 * tests/check/.cvsignore:
11096 Ignore test-registry.xml as well.
11098 2007-01-09 Wim Taymans <wim@fluendo.com>
11100 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11101 unref data at the end when we are done with the pad.
11103 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11105 * docs/gst/gstreamer-sections.txt:
11106 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11107 (init_post), (gst_deinit), (gst_update_registry):
11109 API: add gst_update_registry() (#391296).
11111 * tests/check/Makefile.am:
11112 * tests/check/gst/gstregistry.c:
11113 * tests/check/gst/.cvsignore:
11114 Simple unit test for the above.
11116 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11118 * gst/gstregistry.c: (gst_registry_scan_path_level):
11119 Plugin extension on HP-UX is .sl, add that to the list of approved
11120 plugin extensions (see #393796).
11122 * tests/check/gst/gstpad.c: (GST_START_TEST):
11123 ulong => gulong. Fixes compilation with HP-UX compiler.
11125 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11126 Fix compilation if valgrind headers are not available.
11128 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11130 * win32/common/libgstreamer.def:
11131 Add new exported function.
11132 * win32/vs6/libgstbase.dsp:
11133 Add gstdataqueue.c to the build.
11134 * win32/vs6/libgstcoreelements.dsp:
11135 Add gstmultiqueue.c to the build.
11137 2007-01-06 Andy Wingo <wingo@pobox.com>
11139 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11140 activate_pull(), providing for a way to specialize the process of
11141 spawning a thread to pull on the sink pad. There is a default
11144 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11145 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11146 (gst_base_sink_init): Renamed pad activation functions (inserting
11147 "_pad" in their names). Refactor to use the new activate_pull
11148 vmethod, as appropriate.
11149 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11150 default activate_pull function to start a task pulling from the
11151 sink pad, as before.
11153 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11154 on the pads if necessary, as in push()/chain(). Update docs.
11155 Shouldn't affect existing pull() usage as it is currently only
11156 being used on buffers without caps.
11158 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11160 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11162 Call g_thread_init() first thing in gst_init() / gst_check_init().
11163 When initialisation is done via gst_init_get_option_group() and
11164 GOption parsing, issue a warning if the GLib thread system has not
11165 been initialised yet by the time gst_init_get_option_group() is
11166 called, as it's quite likely other GLib functions such as
11167 g_option_context_new() have been called already then, and
11168 g_thread_init() must be called before any other GLib function. The
11169 application in question must be fixed in that case, since memory
11170 corruption might happen otherwise.
11171 We issue the warning because even if the GLib folks decide to work
11172 around the problem on their end in future, this is still an issue
11173 with all GLib versions >= 2.10.0, so we should warn until we depend
11174 on a GLib version we know to be safe.
11175 Update documentation as well.
11176 Closes bug #391278.
11178 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11180 * tools/gst-inspect.c: (main):
11181 * tools/gst-launch.c: (main):
11182 * tools/gst-typefind.c: (main):
11183 * tools/gst-xmlinspect.c: (main):
11184 Call g_thread_init() really really early, before any other GLib
11185 function (see #342564 and recent discussion on gtk-devel-list).
11187 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11189 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11191 * gst/gst_private.h:
11192 * gst/gstconfig.h.in:
11194 On win32, all the __declspec stuff for symbol exporting is
11195 apparently only needed with MSVC, but doesn't work with MingW.
11196 Fixes compilation with MingW and #391909.
11198 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11200 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11201 Change some GST_ERROR_OBJECT that aren't really errors to
11202 GST_WARNING_OBJECT in order to reduce terminal spam.
11204 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11206 * tests/check/Makefile.am:
11207 disable test again, as there seem to be still race problems
11209 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11211 * tests/check/Makefile.am:
11212 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11213 (GST_START_TEST), (queue_suite):
11214 enable queue test again, add tests for the leaky behaviour
11216 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11219 * tests/examples/Makefile.am:
11220 Compile adapter test/example only if the required headers are
11221 available (fixes #391915).
11223 2007-01-01 David Schleef <ds@schleef.org>
11226 Restore the previous signal handler for SIGSEGV instead of
11227 setting to default, since we may have stolen it away from
11228 someone. (i.e., Mono)
11230 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11232 * docs/random/draft-missing-plugins.txt:
11233 Some small additions and clarifications.
11235 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11237 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11238 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11239 since that can lead to random memory corruptions and crashes
11240 (may or may not be related to #383244, #386711, and #386711).
11242 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11244 * tests/check/.cvsignore:
11245 * tests/check/Makefile.am:
11246 sync .cvsignome and CLEANFILES
11248 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11250 * tests/check/Makefile.am:
11253 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11255 * docs/design/part-states.txt:
11256 two tiny additional comments
11258 * gst/gststructure.c:
11261 * tests/check/Makefile.am:
11262 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11264 disable test for now, unless it gets fixed
11266 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11268 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11270 fix race in underrun test
11272 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11274 * tests/check/elements/.cvsignore:
11277 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11279 try to narrow test failure
11281 2006-12-21 David Schleef <ds@schleef.org>
11283 * plugins/elements/gstfakesrc.c:
11284 Use g_random_int_range(), since it produces better random
11285 numbers in a range than almost-correct floating point code.
11287 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11289 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11290 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11291 (gst_check_teardown_sink_pad):
11292 do not automatically (de)activate pads
11294 * tests/check/Makefile.am:
11295 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11296 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11297 add new, yet simple tests for queue
11299 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11300 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11301 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11303 * tests/check/elements/identity.c: (cleanup_identity):
11304 consistent pad (de)activation
11306 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11308 Patch by: Sebastian Dröge <slomo ubuntu com>
11310 * libs/gst/base/gstcollectpads.c:
11311 Fix two doc typos (#387866).
11313 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11315 * docs/manual/advanced-dparams.xml:
11316 Fix typo (g_object_control_properties() doesn't exist).
11318 2006-12-19 Edward Hervey <edward@fluendo.com>
11320 * gst/gstsegment.c: (gst_segment_set_seek):
11321 Fine tune the cases where the segment start/stop values are really
11323 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11324 Add tests for the return values of gst_segment_set_seek().
11326 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11331 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11333 Fix incorrect documentation and flesh it out a bit more.
11334 Set default values for the max properties on the GParamSpec as well,
11335 so it shows up correctly in gst-inspect.
11337 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11339 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11340 Correct docs of queue, add more detail and crosslink it more.
11342 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11344 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11345 Print additional debug info when the stream isn't perfectly
11346 timestamped; don't try to use invalid durations.
11348 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11350 * docs/design/Makefile.am:
11351 Dist new design docs.
11353 2006-12-16 Wim Taymans <wim@fluendo.com>
11355 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11357 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11358 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11359 (gst_collect_pads_stop), (gst_collect_pads_event),
11360 (gst_collect_pads_chain):
11361 * libs/gst/base/gstcollectpads.h:
11362 Add refcounting to the collectpads data so we can track when it's safe
11363 to free the data. Fixes #383382.
11365 2006-12-15 Wim Taymans <wim@fluendo.com>
11367 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11368 (gst_collect_pads_remove_pad):
11369 Automatically activate/deactivate pads when they are added to a
11370 started/stoped collectpads.
11372 2006-12-15 Wim Taymans <wim@fluendo.com>
11374 * gst/gstelement.c: (gst_element_add_pad):
11375 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11376 * gst/gstpad.c: (gst_pad_init):
11377 Set pads to FLUSHING when they are created. Check, warn and fix when a
11378 demuxer adds an inactive pad to itself when running. Fixes #339326.
11380 2006-12-15 Wim Taymans <wim@fluendo.com>
11382 * gst/gstelement.c: (gst_element_class_init),
11383 (gst_element_default_send_event), (gst_element_send_event),
11384 (gst_element_default_query), (gst_element_query):
11385 Expose default element send_event and query handling as vmethods that
11386 subclasses can chain up to.
11388 2006-12-15 Wim Taymans <wim@fluendo.com>
11390 * gst/gstelement.c: (gst_element_set_state_func):
11391 Small documentation fixes.
11393 2006-12-15 Wim Taymans <wim@fluendo.com>
11395 * docs/design/draft-latency.txt:
11396 Checked in draft for handling latency in pipelines.
11398 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11402 * gstreamer.spec.in:
11405 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11407 * gst/gst.c: (init_pre), (init_post):
11408 init_pre() and init_post() might be called via our GOptionGroup or
11409 from gst_init(), and we should skip both of them if we've already
11410 been initialised, otherwise we will init some things twice or add
11411 two default log functions.
11413 2006-12-13 Edward Hervey <edward@fluendo.com>
11415 * docs/manual/basics-bus.xml:
11416 No, gst_main_loop does not exist. Its g_main_loop.
11417 Discovered by somebody who abused the copy-paste technique of coding :)
11419 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11421 * gst/gstghostpad.c:
11422 Log ghostpad debug stuff to the GST_PADS category as well rather
11423 than just to the default category.
11425 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11428 * gst/gst.c: (init_pre):
11429 Add some basic system details such as OS and architecture
11430 to the debug output if possible, courtesy of uname().
11432 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11434 * docs/gst/running.xml:
11435 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11436 environment variables.
11438 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11440 * tests/check/gst/gstbin.c: (GST_START_TEST):
11441 It is acceptable to have a refcount of 2 or 3 at this point in the
11442 test, because the pipeline might be just posting its state_change
11443 message. The next line then waits for that message to appear using
11444 bus_poll, so that should be fine too.
11446 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11448 * gst/gst.c: (ensure_current_registry_forking):
11449 Ignore EINTR when reading from the child registry pipe.
11450 Explicitly ignore the return value from close, since it makes no
11453 * gst/gstminiobject.c: (gst_mini_object_ref),
11454 (gst_mini_object_unref):
11455 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11457 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11458 When removing cached plugins, remove their features too, so they're
11459 not visible after they've disappeared.
11461 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11462 In the unlikely case that we are linking pads with no parents, don't
11463 crash trying to get the non-existent parent bin.
11465 * gst/parse/grammar.y:
11466 Output debug in the PIPELINE category
11468 2005-03-08 Wim Taymans <wim@fluendo.com>
11470 Patch by: René Stadler <mail at renestadler dot de>
11472 * gst/gstclock.c: (gst_clock_new_periodic_id):
11473 Reject invalid clock times for interval of periodic ids.
11476 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11478 * gst/gstelementfactory.c: (gst_element_factory_create):
11479 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11480 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11481 * tools/gst-inspect.c: (print_element_info):
11482 Fix refcounting of gst_plugin_feature_load to match the docs.
11485 2006-12-07 Wim Taymans <wim@fluendo.com>
11487 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11488 (gst_base_sink_get_position):
11489 Improve debugging of events.
11491 2006-12-07 Wim Taymans <wim@fluendo.com>
11493 Patch by: René Stadler <mail at renestadler dot de>
11495 * gst/gstclock.c: (gst_clock_id_wait):
11496 Make period ids add the interval to the origial requested time instead
11497 of the possibly updated time which can be wrong when there are multiple
11498 waiters for the same id. Fixes #382592.
11500 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11501 (gst_system_clock_id_wait_jitter_unlocked),
11502 (gst_system_clock_id_wait_jitter):
11503 Fix restart in the async notify thread when an async entry is added to
11504 the front of the list. Fixes #381492.
11506 * tests/check/gst/gstsystemclock.c: (store_callback),
11507 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11508 Added test for multiple async waits.
11509 Added test for async wait order.
11511 2006-12-07 Wim Taymans <wim@fluendo.com>
11513 * gst/gstbin.c: (gst_bin_query):
11514 Add some more docs about the POSITION query.
11516 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11519 Bump version nano - back to CVS.
11521 === release 0.10.11 ===
11523 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11526 releasing 0.10.11, "Love never runs on time"
11528 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11530 * win32/common/libgstbase.def:
11531 * win32/common/libgstreamer.def:
11532 * win32/vs8/libgstbase.vcproj:
11533 * win32/vs8/libgstcoreelements.vcproj:
11534 * win32/vs8/libgstreamer.vcproj:
11535 Fix compilation on win32 under VS8
11536 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11537 Partially fixes #381175
11539 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11541 * gst/gstvalue.c: (gst_value_compare_fraction):
11542 If someone is foolish enough to compare 2 fractions with denominator =
11543 0, return UNORDERED rather than aborting.
11545 2006-11-28 Edward Hervey <edward@fluendo.com>
11547 * libs/gst/base/Makefile.am:
11548 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11549 (gst_data_queue_base_init), (gst_data_queue_class_init),
11550 (gst_data_queue_init), (gst_data_queue_new),
11551 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11552 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11553 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11554 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11555 (gst_data_queue_set_flushing), (gst_data_queue_push),
11556 (gst_data_queue_pop), (gst_data_queue_drop_head),
11557 (gst_data_queue_set_property), (gst_data_queue_get_property):
11558 * libs/gst/base/gstdataqueue.h:
11559 New GstDataQueue object for threadsafe queueing. Most useful for
11560 elements that need some queueing functionnality.
11561 * docs/libs/gstreamer-libs-docs.sgml:
11562 * docs/libs/gstreamer-libs-sections.txt:
11563 Insert documentation for GstDataQueue
11564 * plugins/elements/Makefile.am:
11565 * plugins/elements/gstelements.c:
11566 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11567 (gst_multi_queue_class_init), (gst_multi_queue_init),
11568 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11569 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11570 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11571 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11572 (gst_multi_queue_loop), (gst_multi_queue_chain),
11573 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11574 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11575 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11576 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11577 (wake_up_next_non_linked), (compute_next_non_linked),
11578 (single_queue_overrun_cb), (single_queue_underrun_cb),
11579 (single_queue_check_full), (gst_single_queue_new):
11580 * plugins/elements/gstmultiqueue.h:
11581 New multiqueue element, using GstDataQueue. Used for queuing multiple
11583 Closes #344639 and #347785
11585 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11587 * docs/pwg/advanced-types.xml:
11588 add more missing type details
11590 * tools/gst-run.c: (main):
11591 remove unused variable
11593 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11595 * docs/libs/Makefile.am:
11596 * docs/libs/gstreamer-libs.types:
11597 add types of base classes to enable gobject specific stuff in the docs
11599 * docs/random/ensonic/embedded.txt:
11600 more ideas about isolating platform specific things
11602 2006-11-20 Wim Taymans <wim@fluendo.com>
11604 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11606 * libs/gst/check/gstcheck.h:
11607 Fix compilation and running against 0.9.4. Fixes #377332.
11609 2006-11-20 Wim Taymans <wim@fluendo.com>
11611 * gst/gstsegment.c: (gst_segment_set_seek),
11612 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11613 (gst_segment_to_running_time):
11614 Fix boundary checking in to_running_time() and to_stream_time().
11617 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11618 stream and running time can now be calculated for the complete
11621 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11623 * gst/gstpad.c: (gst_pad_push_event):
11624 Can't access event structure after giving away ownership of
11627 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11629 * docs/random/ensonic/embedded.txt:
11630 * docs/random/ensonic/profiling.txt:
11631 * docs/random/ensonic/receipies.txt:
11634 2006-11-13 Wim Taymans <wim@fluendo.com>
11636 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11639 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11641 2006-11-13 Wim Taymans <wim@fluendo.com>
11643 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11645 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11646 Store new length in segment duration so we don't keep on calling the
11647 potentially expensize get_size() call. Fixes #370865.
11649 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11651 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11653 * win32/common/libgstreamer.def:
11654 Add two missing symbols (#366492).
11656 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11658 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11659 (gst_adapter_take_buffer):
11660 Fix format string to use all its arguments.
11661 Remove useless >= check on a guint
11663 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11665 * tests/examples/adapter/.cvsignore:
11666 Ignore build file as commanded by the build-bot
11668 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11670 * tests/examples/adapter/Makefile.am:
11671 * tests/examples/adapter/adapter_test.c: (run_test_take),
11672 (run_test_take_buffer), (run_tests), (main):
11674 Add new files from the previous commit
11676 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11680 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11681 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11682 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11683 * libs/gst/base/gstadapter.h:
11684 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11685 (GST_START_TEST), (gst_adapter_suite):
11686 * tests/examples/Makefile.am:
11687 Do some optimisation work in GstAdapter to avoid copies in more cases.
11688 It could still do slightly better by merging buffers when
11689 gst_buffer_is_span_fast is true, but is already faster.
11691 Also, avoid traversing a single-linked list to append each incoming
11692 buffer inside the adapter.
11694 Add simple test app that times the adapter behaviour in different
11695 situations, and extend the unit test to check that bytes enter and
11696 exit the adapter in their original order.
11698 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11700 * docs/random/draft-missing-plugins.txt:
11701 Update: use element message instead of adding a new message
11702 type to the core; don't provide GStreamer API to initiate the
11703 plugin download, just provide API to compose the strings needed
11704 and let an external libgimmestuff handle the rest.
11706 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11708 * tools/gst-inspect.c: (print_element_properties_info):
11709 Print a string instead of 'unknown type' for GValueArray properties
11711 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11713 * docs/random/draft-missing-plugins.txt:
11716 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11718 * tests/examples/typefind/typefind.c: (type_found), (main):
11719 Make typefind element example work again (#371894); add a
11722 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11724 * docs/random/draft-missing-plugins.txt:
11725 Commit initial draft about how to deal with missing plugins,
11726 needs work (API too).
11728 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11730 * docs/pwg/advanced-types.xml:
11731 documents the new caps elements (see #363118)
11733 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11735 * gst/gstplugin.c: (gst_plugin_load_file):
11736 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11737 (gst_file_src_map_region), (gst_file_src_start):
11738 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11739 (gst_file_index_commit):
11740 Use g_strerror() instead of strerror() - we want UTF-8.
11742 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11744 Patch by: Peter Kjellerstedt <pkj at axis com>
11746 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11747 Another printf fix (#371493).
11749 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11751 * tests/check/gst/gsttag.c:
11752 relicence (okay with author=company)
11754 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11756 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11757 (gst_pad_push_event):
11758 Enhance debug and improve docs
11763 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11765 * docs/random/ensonic/distributed.txt:
11766 * docs/random/ensonic/profiling.txt:
11769 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11771 * docs/gst/gstreamer-sections.txt:
11772 add new API and fix the build
11774 * gst/gstbin.c: (gst_bin_recalc_state):
11775 * gst/gstelement.c: (gst_element_message_full),
11776 (gst_element_get_state_func), (gst_element_set_state_func):
11777 use new API and improve logging
11779 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11781 API: add function to get StateChangereturn names to improve logs
11783 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11785 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11786 I'm considering shooting the next person to put strerror stuff
11787 in the translateable part of the message.
11789 2006-11-03 Wim Taymans <wim@fluendo.com>
11791 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11792 Get the type and printf conversion specifiers right.
11794 2006-11-03 Wim Taymans <wim@fluendo.com>
11796 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11798 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11799 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11800 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11801 Some small cleanups. Improve debugging.
11803 Signal all waiting threads with a broadcast instead of just one.
11806 2006-11-03 Wim Taymans <wim@fluendo.com>
11808 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11809 (gst_fd_src_create):
11810 Add some debugging.
11811 Only update fd when it's different from the old.
11813 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11815 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11816 Printf fixes for PPC/OSX, take two (#369366).
11818 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11820 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11822 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11823 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11824 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11825 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11826 don't cast to long long for portability reasons, but use
11827 GLib's types instead.
11829 2006-10-30 Michael Smith <msmith@fluendo.com>
11831 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11832 Get the arguments to lseek() the right way around.
11835 2006-10-30 Wim Taymans <wim@fluendo.com>
11837 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11840 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11842 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11844 Patch by: Kjartan Maraas <kmaraas at gnome org>
11846 * docs/design/part-MT-refcounting.txt:
11847 * docs/random/wtay/capsnego2-docs:
11850 Typo fixes (#366212).
11852 2006-10-28 Wim Taymans <wim@fluendo.com>
11854 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11857 * win32/common/libgstbase.def:
11858 * win32/common/libgstreamer.def:
11859 * win32/vs8/libgstbase.vcproj:
11860 * win32/vs8/libgstcontroller.vcproj:
11861 Add needed entries in .def files.
11863 Rearrange def files in vs8 solutions. Fixes #366286.
11865 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11867 * win32/common/gstconfig.h:
11868 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11869 hand-made win32 gstconfig.h. Fixes #366321.
11871 2006-10-27 Wim Taymans <wim@fluendo.com>
11873 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11874 (gst_ghost_pad_new_full):
11875 Make acceptcaps return TRUE when we don't have a target, just like
11878 2006-10-27 Wim Taymans <wim@fluendo.com>
11880 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11881 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11883 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11885 * gst/gststructure.c: (gst_structure_id_set_value):
11886 If someone tries to set a non-UTF8 string field on a structure,
11887 don't just print a warning, but also ignore the request and do
11888 not change/add that field to the structure.
11890 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11891 Test for the above.
11893 2006-10-25 David Schleef <ds@schleef.org>
11896 g_hash_table_insert() needs a cast to a non-const pointer duh.
11898 2006-10-25 David Schleef <ds@schleef.org>
11902 Change name parameter of _gst_debug_register_funcptr to const
11903 to reflect the constness of its use in the function as well
11904 as to quiet a gcc warning.
11906 2006-10-25 Edward Hervey <edward@fluendo.com>
11908 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11909 Don't push the buffer if it's empty.
11912 2006-10-24 Wim Taymans <wim@fluendo.com>
11917 * libs/gst/base/gstbasetransform.c:
11918 (gst_base_transform_sink_eventfunc):
11919 Debug segment values *after* updating them as this is more
11922 2006-10-23 Wim Taymans <wim@fluendo.com>
11924 * docs/design/part-events.txt:
11927 * docs/design/part-block.txt:
11928 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11929 (gst_pad_push_event):
11930 Revert BLOCKING patch, it tries to be smart without really having a
11931 clear idea what or how. So, now we discard all FLUSHING events again on
11932 a blocking pad. Should fix gnonlin again.
11934 2006-10-23 Wim Taymans <wim@fluendo.com>
11936 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11938 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11939 (gst_base_src_start), (gst_base_src_activate_push):
11940 Make sure size is always initialized. Fixes #364388.
11942 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11944 * docs/random/ensonic/distributed.txt:
11945 add some ideas about doing distributed processing
11947 * docs/random/ensonic/profiling.txt:
11948 get_rusage look promising
11950 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11952 * docs/manual/basics-helloworld.xml:
11953 Add a cast in example to fix compile warning
11955 2006-10-18 Wim Taymans <wim@fluendo.com>
11957 * gst/gstsegment.c: (gst_segment_set_last_stop),
11958 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11959 Relax arg checking again, -1 is allowed.
11961 2006-10-18 Wim Taymans <wim@fluendo.com>
11963 * gst/gstsegment.c: (gst_segment_set_last_stop),
11964 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11965 _set_last_stop() must be with a value != -1
11966 A _TYPE_SET to -1 means seek to 0.
11967 Calc last_stop correctly for negative rates.
11968 Make sure we work with positive durations when updating a segment.
11970 2006-10-18 Wim Taymans <wim@fluendo.com>
11972 * docs/design/part-live-source.txt:
11976 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11979 Add an explicit cast to GstBuffer** to keep old code that added an
11980 explicit cast to GstMiniObject** for gst_mini_object_replace()
11981 compiling without warning.
11983 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11985 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11986 check for validity of dates
11988 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11990 * docs/gst/gstreamer-sections.txt:
11991 Forgot this one, makes gtk-doc shut up.
11993 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11995 Patch by: Peter Kjellerstedt <pkj at axis com>
11998 Don't define xmlNodePtr to gpointer if the core was built with
11999 --disable-loadsave and --disable-registry, this will break
12000 applications that want to use libxml2 but are buildling against a
12001 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
12002 instead so we don't have to mess with the libxml2 namespace
12005 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
12008 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
12009 type-punned pointer warnings.
12011 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
12013 * gst/gstelement.h:
12014 Add casts to the correct return type to state <=> state transition
12017 2006-10-16 Stefan Kost <ensonic@users.sf.net>
12019 * docs/design/part-live-source.txt:
12020 describe howto handle latency
12022 * docs/random/ensonic/profiling.txt:
12025 * tools/gst-plot-timeline.py:
12026 fix log parsing for solaris, remove unused function
12028 2006-10-16 Wim Taymans <wim@fluendo.com>
12030 * docs/design/part-trickmodes.txt:
12032 Update some docs regarding reverse playback.
12034 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
12036 Patch by: Marcus Granado <mrc dot gran at gmail com>
12038 * win32/vs8/grammar.vcproj:
12039 Error out with a warning if glib-genmarshal.exe is not in path,
12040 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12042 2006-10-13 Wim Taymans <wim@fluendo.com>
12044 * gst/gstsegment.c: (gst_segment_set_seek):
12045 When seeking to stop -1, set last_stop (current position) to the
12046 duration of the segment.
12048 2006-10-13 Wim Taymans <wim@fluendo.com>
12050 * gst/gstelement.h:
12051 Clarify _NO_PREROLL a bit more.
12056 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12057 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12058 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12059 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12060 due to wrong locking order. Fixes #361769.
12061 Remove some redundant/misplaced checks in pad_block.
12063 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12064 For negative rates, count backwards from the duration.
12066 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
12068 * gst/gsterror.c: (_gst_library_errors_init):
12069 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12070 up with something better).
12072 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12074 * win32/vs6/libgstreamer.dsp:
12075 * win32/vs7/libgstreamer.vcproj:
12076 * win32/vs8/libgstreamer.vcproj:
12077 Don't reference glib-compat.c which is currently not used and not
12078 disted; add gstquark.c which was recently added. Fixes #361730.
12080 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12082 * win32/common/libgstbase.def:
12083 * win32/common/libgstcontroller.def:
12084 * win32/common/libgstreamer.def:
12085 Add gst_caps_merge() and a bunch of other recently-added functions.
12088 2006-10-11 Wim Taymans <wim@fluendo.com>
12090 * docs/plugins/gstreamer-plugins.args:
12091 * docs/plugins/inspect/plugin-coreelements.xml:
12092 * docs/plugins/inspect/plugin-coreindexers.xml:
12093 Update element args.
12095 * gst/gstsystemclock.c:
12096 Small comment update.
12098 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12099 (gst_tee_request_new_pad), (gst_tee_release_pad),
12100 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12101 (gst_tee_sink_activate_pull):
12102 * plugins/elements/gsttee.h:
12104 Add default property defines.
12105 Implement release pad function.
12106 Give properties better blubs etc.
12107 Activate pads before adding them to a running tee.
12108 Do simple buffer_alloc on the first requested pad.
12109 Post error when activation fails.
12111 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12113 * gst/gst.c: (ensure_current_registry_forking):
12114 Check return value of write() to make compiler happy.
12116 2006-10-11 Wim Taymans <wim@fluendo.com>
12118 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12120 * plugins/elements/gstqueue.c: (gst_queue_chain):
12121 Recheck queue filledness after signalling the overrun when we're about
12122 to leak downstream because we released the lock when emitting the signal
12123 and the queue could be empty again. Fixes #352345.
12125 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12127 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12128 Fix refcounting here too, just like we did for _new_valist() a few
12129 days ago (#357180) (thanks to René Stadler). Also remove all those
12130 'Since: 0.9' from the gtk-doc blobs.
12132 * tests/check/libs/controller.c: (controller_refcount_new_list),
12133 (gst_controller_suite):
12134 Unit test for the above.
12136 2006-10-10 Wim Taymans <wim@fluendo.com>
12138 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12140 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12141 (gst_pad_save_thyself):
12143 Write pad direction in XML output. Fixes #345496.
12145 2006-10-10 Wim Taymans <wim@fluendo.com>
12147 Patch by: René Stadler <mail at renestadler dot de>
12149 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12150 (gst_controller_new_list), (_gst_controller_dispose),
12151 (_gst_controller_finalize), (_gst_controller_class_init):
12152 Take ref to controlled object so that it cannot disappear.
12155 2006-10-10 Wim Taymans <wim@fluendo.com>
12157 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12158 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12159 (gst_check_teardown_sink_pad):
12160 Activate/deactivate pads in setup/teardown respectively.
12162 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12164 Patch by: Josep Torra Valles <josep@fluendo.com>
12167 Cast values when making gstenumtypes.h. This pacifies Forte
12168 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12169 in the enumeration.
12171 2006-10-09 Wim Taymans <wim@fluendo.com>
12173 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12174 Rename some more @cur to @start to fix docs.
12176 * gst/gstsegment.c: (gst_segment_set_seek):
12178 time and start must always stay in sync as defined in design doc.
12180 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12181 Rename param to fix docs.
12183 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12184 Check that start and time are in sync.
12186 * tests/check/pipelines/parse-launch.c:
12187 (gst_parse_test_element_change_state):
12188 Activate pad before adding to the element.
12190 2006-10-09 Wim Taymans <wim@fluendo.com>
12192 * docs/design/part-qos.txt:
12197 Update seek event docs regarding negative rates.
12198 Rename @cur to @start.
12200 * gst/gstsegment.c: (gst_segment_set_seek):
12201 * gst/gstsegment.h:
12202 Update set_seek docs regarding negative rates.
12203 Correctly update last_stop to @stop when dealing with negative
12205 Rename @cur to @start.
12207 * tests/check/gst/gstpad.c: (GST_START_TEST):
12208 Activate pads before trying to use them.
12210 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12211 (gst_segment_suite):
12212 Add simple check for segments and negative rates.
12214 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12216 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12217 * gst/gsttaglist.h:
12218 * docs/gst/gstreamer-sections.txt:
12219 API: add gst_tag_list_is_empty() (#360467).
12221 * tests/check/gst/gsttag.c: (GST_START_TEST):
12224 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12226 * gst/gstmessage.h:
12227 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12228 a value that doesn't fit on enumeration.
12230 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12232 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12233 Remove local debugging system and use Gstreamer's instead.
12235 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12237 Patch by: Josep Torra Valles <josep@fluendo.com>
12239 * common/m4/gst-error.m4:
12240 Disable warning of statement not reached on Forte.
12241 * gst/gstmessage.h:
12242 Fix warning on Forte (value doesn't fit on enumeration).
12243 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12244 Fix warning on Forte (value doesn't fit on enumeration).
12245 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12246 DEBUG macro says it takes minimum of 2 args and so Forte
12247 complains about the use with just 1 arg.
12248 * plugins/elements/gstfdsink.c:
12249 * plugins/elements/gstfdsrc.c:
12250 * plugins/elements/gstfilesink.c:
12251 * plugins/elements/gstfilesrc.c:
12252 Use correct return type for the uri handler implementations.
12254 All these fix warnings in Forte. Fixes bug #360860.
12256 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12258 * gst/gstelement.h:
12259 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12260 format string, so don't use G_GNUC_PRINTF for those versions.
12262 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12264 * gst/gsttaglist.c: (gst_is_tag_list):
12265 * gst/gsttaglist.h:
12266 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12268 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12269 Small test for the above.
12271 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12273 * gst/gsttaglist.h:
12274 Less tabs, more spaces.
12276 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12279 Those two function declarations do actually belong there, revert
12280 commit from yesterday that turned them intro macros.
12282 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12284 Patch by: Josep Torra Valles <josep@fluendo.com>
12286 * gst/gst.c: (gst_init_get_option_group):
12287 Fix empty declaration and type mismatch.
12288 * gst/gstbin.c: (gst_bin_change_state_func):
12290 * gst/gstelement.c: (gst_element_continue_state),
12291 (gst_element_set_state_func), (gst_element_change_state),
12292 (gst_element_change_state_func):
12293 Fix type mismatches.
12294 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12295 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12296 Cast as appropriate.
12297 * gst/gstobject.c: (gst_class_signal_connect):
12298 Cast as appropriate. The function pointer parameter really
12299 has the wrong type but would break API if we change it.
12301 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12302 order of including string.h.
12303 * gst/gstutils.c: (gst_element_state_get_name):
12304 Remove unreachable line.
12305 * gst/gstxml.c: (gst_xml_parse_doc):
12307 All these caught by Forte.
12309 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12311 Patch by: Josep Torra Valles <josep@fluendo.com>
12313 * common/m4/gst-error.m4:
12315 We need to disable warnings on Forte for empty declarations
12316 due to gst-indent adding ;s to lines that just use macros
12317 where the macro actually doesn't need a ; at end to end
12320 2006-10-06 Wim Taymans <wim@fluendo.com>
12322 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12323 (gst_file_sink_close_file), (gst_file_sink_event),
12324 (gst_file_sink_render):
12325 Add some FIXME for the NEWSEGMENT handling.
12327 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12329 * gst/parse/grammar.y:
12330 Remove static function gst_parse_element_lock as all it does
12331 is return. Looks like cruft from 0.8.
12333 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12335 Patch by: Josep Torra Valles <josep@fluendo.com>
12337 * common/m4/gst-error.m4:
12339 * libs/gst/net/Makefile.am:
12340 Fix a compilation issue with Forte on Solaris. inet_aton is in
12343 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12345 * gst/gstpad.c: (pre_activate):
12346 * gst/gstregistry.c: (gst_registry_scan_path_level):
12347 * gst/gstregistryxml.c: (load_plugin):
12348 * libs/gst/controller/gstcontroller.c:
12349 (gst_controlled_property_set_interpolation_mode):
12350 * libs/gst/dataprotocol/dataprotocol.c:
12351 (gst_dp_packet_from_event_1_0):
12352 * libs/gst/net/gstnetclientclock.c:
12353 (gst_net_client_clock_observe_times):
12354 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12357 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12360 * docs/gst/gstreamer-sections.txt:
12361 * gst/gstconfig.h.in:
12362 * gst/gstelement.h:
12364 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12365 whether we can use G_GNUC_PRINTF in other header files and at
12366 least check the printf format/arguments of debug messages and
12367 GST_ELEMENT_ERROR messages when the printf extension is not
12369 Replace more tabs with spaces in gstinfo.h and remove two spurious
12370 function declarations in GST_DISABLE_DEBUG part with macros.
12372 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12374 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12375 More docs for the sync-message signal (mention that it is not
12376 emitted by default); log message structures of messages posted on
12379 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12381 * gst/gst.c: (ensure_current_registry_forking):
12382 Use a pipe pair to receive status results from the forked child, and
12383 ignore the result from waitpid. Fixes #355499
12385 2006-10-02 Wim Taymans <wim@fluendo.com>
12387 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12388 (gst_ghost_pad_suite):
12391 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12394 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12396 2006-10-02 Edward Hervey <edward@fluendo.com>
12398 * docs/design/part-block.txt:
12399 Further explain the use of flushing on blocked pads.
12400 * docs/gst/gstreamer-sections.txt:
12401 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12402 (gst_pad_push_event):
12404 Added new GstPadFlag : GST_PAD_BLOCKING.
12405 Adds the notion of pads really blocking, which enables to properly
12406 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12408 API: gst_pad_is_blocking()
12409 API: GST_PAD_IS_BLOCKING() macro
12410 API: GST_PAD_BLOCKING GstPadFlag
12412 2006-10-02 Wim Taymans <wim@fluendo.com>
12414 Patch by: mrcgran <mrc.gran at gmail dot com>
12416 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12417 Filter the proxied caps against the padtemplate if we have one.
12419 * gst/gstquery.c: (gst_query_new_segment):
12420 Add include for gstinfo.h so that compilation with
12421 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12423 2006-10-02 Wim Taymans <wim@fluendo.com>
12425 Patch by: Alessandro Decina <alessandro at nnva org>
12427 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12428 (gst_file_sink_set_location), (gst_file_sink_open_file),
12429 (gst_file_sink_close_file), (gst_file_sink_event),
12430 (gst_file_sink_render):
12431 Set file to NULL when closing filesink so that we can set a new filename
12432 in READY. Fixes #358613.
12434 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12436 Patch by: Alessandro Decina <alessandro at nnva org>
12438 * gst/gstevent.c: (_gst_event_copy):
12439 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12440 with event structures by setting the parent refcount address of the
12441 copied structure to the address of the refcount member of the newly
12442 copied event rather than the address of the refcount member of the
12443 original event. Fixes #358737.
12445 * tests/check/gst/gstevent.c: (GST_START_TEST):
12446 Unit test for the above.
12448 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12450 * docs/design/Makefile.am:
12451 Dist some more files.
12453 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12455 * tests/check/libs/controller.c: (GST_START_TEST),
12456 (gst_controller_suite):
12457 Add test for the previous fix; add some more tests
12458 for correct refcounting behaviour; fix a few leaks
12459 in test cases; call gst_controller_init() at start
12462 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12464 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12465 (gst_controller_set_from_list):
12466 Don't g_return_val_if_fail() on timed values with invalid timestamps
12467 inside a critical section without unlocking the mutex. Spotted by
12468 René Stadler. (#357617)
12469 Also, fix up refcounting properly: when returning an existing
12470 controller, we should increase the reference only once and not
12471 once per property and when trying to control a property again
12472 we should also increase the refcount.
12474 2006-09-29 Wim Taymans <wim@fluendo.com>
12476 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12477 * libs/gst/net/gstnettimeprovider.c:
12478 (gst_net_time_provider_thread):
12479 Stop reading commands when EOF as well.
12481 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12482 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12483 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12484 Unify description of the dump property.
12486 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12488 * tests/examples/manual/.cvsignore:
12489 OK, so it's actually cvsignore that needs changing. Stop laughing.
12491 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12493 * tests/examples/manual/Makefile.am:
12494 Gah, declare vars *before* using them
12496 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12498 * gst/gst.c: (init_pre), (scan_and_update_registry),
12499 (ensure_current_registry_nonforking),
12500 (ensure_current_registry_forking), (ensure_current_registry),
12501 (init_post), (gst_debug_help), (gst_deinit):
12502 * gst/gst_private.h:
12503 * gst/gstregistry.c: (gst_registry_finalize),
12504 (gst_registry_remove_features_for_plugin_unlocked),
12505 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12506 (gst_registry_scan_path),
12507 (_priv_gst_registry_remove_cache_plugins),
12508 (_priv_gst_registry_cleanup):
12509 * gst/gstregistry.h:
12510 Re-commit the registry changes, along with an extra fix:
12511 When a cached plugin is encountered at a different file path,
12512 update the stored path in the registry cache so that the parent
12513 process knows where it actually is now when it re-reads the registry
12514 cache. Fixes the thing that broke distcheck with the previous commit.
12516 * tests/check/Makefile.am:
12517 Clean up files named 'core' too when running make clean.
12519 * tests/examples/manual/Makefile.am:
12520 Set up a registry path for running these tests, and clean it properly
12523 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12526 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12527 want gmodule-no-export-2.0.pc instead so that we don't drag in
12528 --export-dynamic on every project that links to GStreamer.
12530 Also, make our export regex only match the start of symbols, rather
12531 than any symbol that contains '_gst' somewhere.
12533 * libs/gst/check/Makefile.am:
12534 The libgstcheck we build does however need export-dynamic, as it
12535 produces some symbols that don't match our _gst... style regex.
12538 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12540 * gst/gst.c: (init_pre), (scan_and_update_registry),
12541 (ensure_current_registry_nonforking),
12542 (ensure_current_registry_forking), (ensure_current_registry),
12543 (init_post), (gst_debug_help), (gst_deinit):
12544 * gst/gst_private.h:
12545 * gst/gstregistry.c: (gst_registry_finalize),
12546 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12547 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12548 (_gst_registry_cleanup):
12549 * gst/gstregistry.h:
12550 Revert previous change until I figure out why it breaks distcheck.
12552 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12554 * gst/gst.c: (init_pre), (scan_and_update_registry),
12555 (ensure_current_registry_nonforking),
12556 (ensure_current_registry_forking), (ensure_current_registry),
12557 (init_post), (gst_debug_help), (gst_deinit):
12559 Make init_pre and init_post take the full complement of GOptionFunc
12560 args so they can return useful GErrors. Make the registry updating
12563 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12564 ensure that the registry we're about to write out doesn't contain
12565 stale information about old-deleted plugin files.
12567 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12568 that deletion of plugin files is considered a registry change.
12570 * gst/gst_private.h:
12571 * gst/gstregistry.c: (gst_registry_finalize),
12572 (gst_registry_remove_features_for_plugin_unlocked),
12573 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12574 (gst_registry_scan_path),
12575 (_priv_gst_registry_remove_cache_plugins),
12576 (_priv_gst_registry_cleanup):
12577 * gst/gstregistry.h:
12578 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12579 by adding _priv prefix, so that they won't appear in the global
12580 symbol table. They still do atm though because of #318031. Move the
12581 prototypes to gst_private.h
12583 When removing a plugin, remove all features for that plugin too.
12586 2006-09-27 Wim Taymans <wim@fluendo.com>
12588 * docs/random/moving-plugins:
12589 Make it clear that the "compiled-in descriptions" really mean
12590 the element details.
12592 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12593 (gst_base_sink_wait_preroll):
12596 * docs/libs/gstreamer-libs-sections.txt:
12597 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12598 (gst_base_src_get_range), (gst_base_src_activate_push):
12599 * libs/gst/base/gstbasesrc.h:
12600 Added function to block while waiting for PLAYING, this function
12601 is used by live sources that block on the clock.
12602 API: gst_base_src_wait_playing()
12604 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12606 Patch by: Peter Kjellerstedt <pkj at axis com>
12609 gst-element-check.m4 is generated and should therefore be
12610 copied from the build dir rather than the source dir (#357593).
12611 'make distcheck' hasn't noticed this because we were disting
12612 the file as well, so stop doing that.
12614 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12616 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12617 Add some tests for gst_caps_intersect().
12619 * tools/gst-launch.c: (event_loop):
12620 Print all buffering percentages we get, even the 100% one.
12622 2006-09-26 Wim Taymans <wim@fluendo.com>
12624 * tools/gst-inspect.c: (print_element_properties_info),
12625 (print_signal_info):
12626 Fix printing of flags to match the look of enums.
12628 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12630 * gst/gstelementfactory.c:
12631 Fix typo in docs blurb.
12633 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12635 * gst/gsturi.c: (search_by_entry):
12636 Don't assert/crash here if a uri handler doesn't return any
12637 supported protocols. The list of protocols could be generated
12638 dynamically at runtime or at plugin registration, and an error
12639 in the underlying library shouldn't be fatal (#353301).
12641 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12644 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12645 (spotted by Peter Kjellerstedt).
12647 2006-09-23 Wim Taymans <wim@fluendo.com>
12649 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12651 * libs/gst/base/gstbasesrc.c:
12652 (gst_base_src_default_check_get_range), (gst_base_src_start),
12653 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12654 (gst_base_src_change_state):
12655 Match _start/_stop calls in the activate functions. Remove redundant
12656 _stop call from the state change function. Fixes #356910.
12657 Turn failure DEBUG into ERROR.
12659 2006-09-22 Wim Taymans <wim@fluendo.com>
12661 * docs/design/part-buffering.txt:
12662 * gst/gstmessage.c: (gst_message_new_buffering),
12663 (gst_message_parse_buffering):
12664 Update docs about buffering.
12666 * docs/design/part-trickmodes.txt:
12669 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12671 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12672 (gst_controller_new_list):
12673 Ref instances when returning them again (fixes #357180)
12675 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12677 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12678 Don't forget to release proxy lock when there's an error.
12680 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12683 Add extra initialisers for Caps things, to fix some plugin warnings
12686 2006-09-18 Wim Taymans <wim@fluendo.com>
12688 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12689 Also set template on the internal pad so that a getcaps from the
12690 target pad returns the template caps.
12692 2006-09-18 Wim Taymans <wim@fluendo.com>
12694 * gst/gstelement.c: (gst_element_post_message),
12695 (gst_element_dispose):
12696 Use _DEBUG_OBJECT some more.
12698 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12701 * tools/gst-launch.c: (main):
12702 If the toplevel element is not a GstPipeline, it must be put in a
12703 pipeline so that a bus and clock is selected.
12705 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12707 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12708 JITTER, RATE, and LATENCY query should be handled by the
12709 default case and not by the CONVERT query code.
12711 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12713 * gst/gstformat.c: (gst_format_register):
12714 Fix locking order (must take lock before using n_values).
12716 * gst/gstvalue.c: (gst_value_serialize_enum),
12717 (gst_value_deserialize_enum_iter_cmp),
12718 (gst_value_deserialize_enum):
12719 Fix serialisation/deserialisation of custom registered GstFormats.
12721 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12722 Unit test for custom format serialisation/deserialisation.
12724 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12726 * docs/pwg/building-boiler.xml:
12727 * plugins/elements/gstcapsfilter.c:
12728 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12731 2006-09-16 Edward Hervey <edward@fluendo.com>
12733 * libs/gst/base/gstbasetransform.c:
12734 (gst_base_transform_buffer_alloc):
12735 Check if requested caps are the same as the sinks caps IF
12736 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12738 This fixes the renegotiation issues stated in #352827.
12740 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12743 * docs/manual/advanced-autoplugging.xml:
12744 * tests/examples/Makefile.am:
12745 * tests/examples/manual/.cvsignore:
12746 * tests/examples/manual/Makefile.am:
12747 * tests/examples/manual/extract.pl:
12748 Extract the manual examples again like we used to do.
12751 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12753 * win32/common/config.h:
12756 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12759 Documents how to receive errors.
12761 2006-09-15 Wim Taymans <wim@fluendo.com>
12763 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12764 (event_loop), (main):
12765 Added some comments here and there.
12766 Post an application message when an interrupt is caught instead of doing
12767 an uncontrolled state change.
12768 Clean up the event loop.
12769 Handle buffering messages, pause/resume the pipeline.
12770 Make shutdown because of an interrupt more reliable.
12772 2006-09-15 Wim Taymans <wim@fluendo.com>
12774 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12775 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12776 (gst_base_sink_preroll_object):
12777 Make sure that our internal state is correct when we commit our state
12778 asynchronously. This solves a race where a state change to PLAYING
12779 could cause the sink to remain blocked in preroll in some situations.
12781 2006-09-15 Wim Taymans <wim@fluendo.com>
12783 * tools/gst-inspect.c: (print_element_properties_info),
12784 (print_signal_info):
12785 List flags as hex so it's easier to deal with.
12787 2006-09-15 Wim Taymans <wim@fluendo.com>
12789 * docs/libs/gstreamer-libs-sections.txt:
12790 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12791 (gst_base_sink_do_sync):
12792 * libs/gst/base/gstbasesink.h:
12793 Expose logic to wait for preroll so that subclasses such as audiosink
12794 can also use this method.
12795 API: gst_base_sink_wait_preroll()
12797 2006-09-15 Wim Taymans <wim@fluendo.com>
12799 * gst/gstobject.c: (gst_object_set_parent):
12800 * gst/gstpipeline.c: (do_pipeline_seek):
12801 Small cleanups in docs and code.
12803 * gst/gstsegment.c: (gst_segment_clip):
12804 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12805 if stop == start and start is in the segment, no clipping should be
12806 done. Also add a test for this.
12808 2006-09-15 Wim Taymans <wim@fluendo.com>
12810 * docs/design/part-buffering.txt:
12811 * docs/gst/gstreamer-sections.txt:
12812 * gst/gstmessage.c: (gst_message_new_buffering),
12813 (gst_message_parse_buffering):
12814 * gst/gstmessage.h:
12815 Added methods to create and parse BUFFERING messages.
12816 Added preliminary docs about buffering.
12817 API: gst_message_new_buffering
12818 API: gst_message_parse_buffering
12820 2006-09-06 Wim Taymans <wim@fluendo.com>
12823 Update documentation.
12825 * gst/gstelement.c: (gst_element_class_init),
12826 (gst_element_release_request_pad), (gst_element_set_clock),
12827 (gst_element_get_index), (gst_element_add_pad),
12828 (gst_element_remove_pad), (gst_element_get_random_pad),
12829 (gst_element_send_event), (gst_element_get_query_types),
12830 (gst_element_query), (gst_element_post_message),
12831 (gst_element_message_full), (gst_element_continue_state),
12832 (gst_element_lost_state), (gst_element_save_thyself),
12833 (gst_element_restore_thyself):
12834 Documentation updates.
12835 Rename last bit of the new-pad -> pad-added signal rename.
12836 Fix the case where an element query would only work if the source
12838 Avoid some useless type checking in message handling.
12843 Documentation updates.
12845 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12847 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12848 add an INFO line for when we actually update the fd
12850 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12855 === release 0.10.10 ===
12857 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12860 releasing 0.10.10, "Pais"
12862 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12864 * docs/manual/advanced-position.xml:
12865 Fix typo in sample code.
12867 2006-09-05 Wim Taymans <wim@fluendo.com>
12869 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12870 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12871 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12872 * libs/gst/net/gstnetclientclock.h:
12873 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12874 * libs/gst/net/gstnettimepacket.h:
12875 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12876 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12877 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12878 * libs/gst/net/gstnettimeprovider.h:
12879 Make stuff compile on windows. Fixes #345295.
12881 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12883 * gst/gst.c: (ensure_current_registry_forking):
12884 Print better details when child was terminated by signal.
12886 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12888 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12889 Print a warning rather than g_assert() if a plugin feature
12890 is a URI handler but returns no protocols (#353976).
12892 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12894 * docs/random/moving-plugins:
12897 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12899 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12900 Fix locking order, handle NULL function values properly.
12905 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12906 Initialise variable before using it and fix debug statement to
12907 print the address of the function rather than the address of the
12908 variable on the stack holding the address of the function.
12910 2006-09-01 Wim Taymans <wim@fluendo.com>
12912 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12913 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12914 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12915 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12916 (gst_ghost_pad_parent_unset),
12917 (gst_ghost_pad_internal_do_activate_push),
12918 (gst_ghost_pad_internal_do_activate_pull),
12919 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12920 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12921 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12922 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12923 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12924 (gst_ghost_pad_new_no_target_from_template),
12925 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12927 Avoid needless typechecking in macros.
12928 Since the internal pad is always present and never changes, there is
12929 no need to locking or ref when retrieving it.
12930 Improve debugging a bit.
12931 Handle link errors when setting the target. Fixes #341029.
12933 2006-09-01 Wim Taymans <wim@fluendo.com>
12935 * docs/libs/gstreamer-libs-sections.txt:
12936 * docs/plugins/gstreamer-plugins-sections.txt:
12937 Fix docs some more.
12939 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12940 (gst_collect_pads_event):
12941 * libs/gst/base/gstcollectpads.h:
12942 Documentation updates.
12943 Free queued buffer when removing a pad.
12945 2006-08-31 Michael Smith <msmith@fluendo.com>
12947 * gst/gstutils.c: (gst_element_link_pads),
12948 (gst_element_link_pads_filtered):
12949 Ensure that we set a capsfilter to NULL if we failed to link it
12950 when doing filtered linking, to avoid criticals.
12952 No need to check for unreffing srcpad, which is explicly NULLed
12953 above (a trivial code cleanup).
12955 2006-08-31 Wim Taymans <wim@fluendo.com>
12957 * docs/design/part-gstghostpad.txt:
12958 Update ascii art in documentation.
12960 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12961 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12962 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12963 (gst_ghost_pad_internal_do_activate_push),
12964 (gst_ghost_pad_internal_do_activate_pull),
12965 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12966 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12967 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12968 (gst_ghost_pad_set_target):
12969 Small cleanups and leak fixes.
12970 Remove some checks now that the internal pad is never NULL.
12971 Fix the case where linking pads without a target would create nasty
12972 criticals. Fixes #341029.
12973 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12974 value of _set_target().
12976 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12977 (gst_ghost_pad_suite):
12978 Some more tests for creating and linking untargeted ghostpads.
12980 2006-08-31 Edward Hervey <edward@fluendo.com>
12982 * docs/gst/gstreamer-sections.txt:
12983 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12984 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12985 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12986 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12987 (gst_ghost_pad_new_from_template),
12988 (gst_ghost_pad_new_no_target_from_template):
12989 * gst/gstghostpad.h:
12990 Refactored *_new() functions.
12991 Templates are now used as a g_object_new() parameter.
12992 Use template in _do_getcaps() if we don't have a target.
12993 Small documentation cleanups.
12994 Added two new constructors:
12995 gst_ghost_pad_new_from_template()
12996 gst_ghost_pad_new_no_target_from_template()
12997 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12998 (gst_ghost_pad_suite):
12999 Added tests for new ghostpad instanciation functions.
13001 API additions: gst_ghost_pad_new_from_template,
13002 gst_ghost_pad_new_no_target_from_template
13004 2006-08-30 Stefan Kost <ensonic@users.sf.net>
13006 * docs/random/ensonic/profiling.txt:
13007 Ideas about qos profiling.
13009 2006-08-29 Wim Taymans <wim@fluendo.com>
13011 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
13015 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
13018 Improve and detypofy docs.
13020 * tests/check/Makefile.am:
13021 * tests/check/gst/.cvsignore:
13022 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
13023 Add a basic test suite for GstXML.
13025 2006-08-29 Wim Taymans <wim@fluendo.com>
13027 * gst/gstelement.c: (activate_pads), (clear_caps),
13028 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13029 Clear the pad caps when the element shut down all of the pads and
13030 is not streaming data that could modify the caps.
13033 2006-08-28 Michael Smith <msmith@fluendo.com>
13035 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13036 Revert previous change; I misunderstood single-segment mode.
13038 2006-08-28 Michael Smith <msmith@fluendo.com>
13040 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13041 Unset DISCONT on buffers when using single-segment mode.
13043 2006-08-28 Wim Taymans <wim@fluendo.com>
13045 * gst/gstcaps.c: (gst_caps_merge_structure):
13047 Fix docs and indentation again.
13049 * tests/check/gst/gstquery.c: (GST_START_TEST):
13050 Fix leak in tests and add some more tests.
13052 2006-08-28 Edward Hervey <edward@fluendo.com>
13054 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13055 Inform GstSegment of the last stop position in order for the current
13056 segment to have a proper duration if it doesn't have a specific stop
13057 position from which a duration could be calculated.
13058 This bug was noticeable when a non-flushing, non-update new segment was
13059 followed by another segment (all buffers from the new segment were being
13062 2006-08-28 Wim Taymans <wim@fluendo.com>
13064 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13065 Small comment update.
13067 * plugins/elements/gstidentity.c: (gst_identity_class_init),
13068 (gst_identity_transform_ip):
13069 Drop-probability is broken, mention this in the code with a
13070 FIXME and also in the property description.
13071 Make silent also be silent about the drop messages.
13073 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
13075 * docs/manual/appendix-win32.xml:
13076 Remove mention of popt, we don't depend on that any
13077 longer (#353136). Add some comments pointing out that
13078 this section is slightly outdated.
13080 2006-08-28 Wim Taymans <wim@fluendo.com>
13082 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13084 * gst/gstquery.c: (gst_query_new_segment):
13085 * tests/check/gst/gstquery.c: (GST_START_TEST):
13086 Initialize variables when creating a new segment query.
13089 2006-08-28 Wim Taymans <wim@fluendo.com>
13091 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13093 * gst/gstelement.c: (gst_element_get_bus):
13094 * tests/check/gst/gstelement.c: (GST_START_TEST):
13095 Check for NULL before _reffing the bus. Fixes #353122.
13097 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13099 * docs/manual/basics-bus.xml:
13100 Docs update: fix wrong callback return value explanation; add
13101 some lines about the implicit relationship between main loop
13102 and main context; remove duplicate main loop variable declaration.
13104 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13106 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13107 Don't leak caps in unit test; add a few more simple
13110 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13112 * docs/gst/gstreamer-sections.txt:
13113 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13114 (gst_caps_structure_is_subset), (gst_caps_merge),
13115 (gst_caps_merge_structure):
13117 * libs/gst/base/gstbasetransform.c:
13118 (gst_base_transform_transform_caps):
13119 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13120 implement caps merging (fixes #352580)
13122 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13124 * tools/Makefile.am:
13125 * tools/gst-plot-timeline.py:
13126 add debug-log plotting developer tool (#340674)
13128 2006-08-23 Wim Taymans <wim@fluendo.com>
13130 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13131 (gst_pad_stop_task):
13132 Improve debugging for task functions.
13134 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13135 (gst_task_start), (gst_task_pause), (gst_task_join):
13136 Make sure that the task function started and finished after a
13138 Don't try to push the task function on the threadpool multiple
13140 Improve the g_warning message with some useful suggestions
13141 about how to fix the problem.
13143 2006-08-23 Wim Taymans <wim@fluendo.com>
13145 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13146 Handle RESYNC correctly in _proxy_getcaps.
13148 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13150 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13151 (gst_xml_parse_memory), (gst_xml_get_element):
13152 Chain up to parent class in dispose function and also
13153 unref the elements in the toplevel_elements GList.
13154 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13155 Always return a reference in gst_xml_get_element() rather
13156 than only sometimes.
13158 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13159 Don't leak GstXml object.
13161 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13163 * docs/gst/gstreamer-sections.txt:
13164 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13167 * libs/gst/base/gstbasetransform.c:
13168 (gst_base_transform_transform_caps):
13169 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13172 2006-08-21 Edward Hervey <edward@fluendo.com>
13174 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13175 Implement GObject::dispose virtual method in GstXML so we can free the
13176 top_elements GList.
13178 2006-08-21 Wim Taymans <wim@fluendo.com>
13180 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13181 (gst_buffer_create_sub):
13182 Copy duration/offset_end/caps when creating a subbuffer of the
13184 Make the subbuffer read-only when we make the metadata writable for
13185 now. Fixes #351768.
13187 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13188 Added check for metadata copy when creating subbuffers.
13190 2006-08-21 Edward Hervey <edward@fluendo.com>
13192 * libs/gst/base/gstbasetransform.c:
13193 (gst_base_transform_buffer_alloc):
13194 Only call downstream buffer_alloc if transform element is passthrough
13195 or always_in_place. Closes #350449.
13197 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13200 ChangeLog surgery to add comments to previous changes
13202 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13207 * gst/gstpad.c: (gst_pad_set_active):
13208 Be more verbose in the log
13210 * libs/gst/base/gstbasetransform.c:
13211 (gst_base_transform_transform_caps):
13212 Simplify caps to get rid of duplicates, fixes #345444
13214 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13218 Use these optimizations only internally.
13220 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13222 * gst/gstvalue.c: (gst_value_compare_list),
13223 (gst_value_compare_fraction_range),
13224 (gst_value_intersect_fraction_fraction_range),
13225 (gst_value_intersect_fraction_range_fraction_range),
13226 (gst_value_subtract_fraction_fraction_range),
13227 (gst_value_subtract_fraction_range_fraction_range),
13228 (gst_value_get_compare_func), (gst_value_compare),
13229 (gst_value_compare_with_func):
13231 Saves the expensive lookup of the compare function in many cases
13234 2006-08-18 Edward Hervey <edward@fluendo.com>
13236 * tests/check/gst/gstinfo.c: (gst_info_suite):
13237 Disable test that require gstdebug if it wasn't built in core.
13239 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13241 * docs/random/ensonic/logging.txt:
13244 * gst/gstinfo.c: (gst_debug_log_default):
13245 reorder fields, save some columns, add optional color codes for log
13248 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13250 * docs/random/ensonic/logging.txt:
13251 add ideas about making the logs a bit more useful
13253 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13255 * docs/pwg/advanced-events.xml:
13256 * docs/pwg/titlepage.xml:
13257 Update for 0.10 API (#340627). Add myself
13260 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13262 * docs/libs/gstreamer-libs-docs.sgml:
13263 * docs/libs/gstreamer-libs-sections.txt:
13264 * libs/gst/check/gstbufferstraw.c:
13265 Make gstcheck stuff show up in docs (still needs to
13266 be documented properly though).
13268 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13270 * docs/gst/gstreamer-sections.txt:
13272 * gst/gst.c: (init_post):
13273 * gst/gst_private.h:
13274 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13276 * gst/gstquery.c: (gst_query_new_position),
13277 (gst_query_set_position), (gst_query_parse_position),
13278 (gst_query_new_duration), (gst_query_set_duration),
13279 (gst_query_parse_duration), (gst_query_new_convert),
13280 (gst_query_set_convert), (gst_query_parse_convert),
13281 (gst_query_new_segment), (gst_query_set_segment),
13282 (gst_query_parse_segment), (gst_query_new_seeking),
13283 (gst_query_set_seeking), (gst_query_parse_seeking):
13284 Add internal helpers for pre-registering quarks from static strings
13285 and using the quark values directly instead of looking them up when
13286 creating and parsing queries. Can be used for event construction too.
13289 2006-08-16 Wim Taymans <wim@fluendo.com>
13294 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13296 * gst/gstutils.c: (gst_util_set_value_from_string):
13297 Fix memleak (#351502).
13299 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13300 Add unit test for most of gst_util_set_value_from_string()
13301 (not that one would want to encourage use of this function).
13303 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13305 * libs/gst/check/gstcheck.h:
13306 Use const gchar * variables in fail_unless_equals_string
13307 macro to avoid compiler warnings (and don't use tabs for
13310 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13312 * tools/gst-launch.c: (print_tag):
13313 More space on the left for the tag names, to cater
13314 for the 'extended comment' tag (not touching the
13315 string for the first line since it's translated).
13317 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13319 * libs/gst/check/gstcheck.h:
13320 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13321 print something when they fail.
13323 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13325 * docs/gst/gstreamer-sections.txt:
13326 * gst/gsttaglist.c: (_gst_tag_initialize):
13327 * gst/gsttaglist.h:
13328 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13329 Also change merge function for GST_TAG_COMMENT to
13332 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13334 * gst/gstinfo.c: (gst_debug_print_object):
13335 Make GST_PTR_FORMAT print messages as well.
13337 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13338 (GST_START_TEST), (gst_info_suite):
13341 2006-08-14 Edward Hervey <edward@fluendo.com>
13343 * gst/gstelementfactory.c: (gst_element_register):
13344 If the GstElementClass doesn't have a GstElementDetails with all fields
13345 filled up correctly (longname, description AND author), then error out
13346 nicely instead of crashing.
13348 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13350 * gst/gststructure.c:
13351 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13354 Expand on the difference between arrays and lists as we use them.
13356 2006-08-14 Wim Taymans <wim@fluendo.com>
13358 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13359 If the parent state change function failed, don't assume we can safely
13360 stop the source, this will be done when the pads are deactivated.
13362 2006-08-14 Wim Taymans <wim@fluendo.com>
13365 * gst/gsttask.c: (gst_task_join):
13368 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13369 (gst_pad_stop_task):
13370 When pad (de)activation failed for some reason, restore the old
13371 activation mode and set the pad to flushing instead of assuming the
13372 pad is deactivated.
13373 If the _task_join() failed, reinstall the task on the pad so that it can
13374 be stopped later and return an error.
13376 2006-08-11 Andy Wingo <wingo@pobox.com>
13379 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13380 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13381 is only for users of API that don't want to see deprecated
13382 functions in the headers; people that want to compile out
13383 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13384 CFLAGS. Fixes the build of multifdsink, or will soon..
13386 2006-08-11 Wim Taymans <wim@fluendo.com>
13388 * docs/gst/gstreamer-sections.txt:
13389 Add GstClockClass vmethod docs.
13392 Mark #endif with comment for associated #if
13394 * gst/gstclock.c: (gst_clock_id_wait):
13396 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13397 most clock implementations.
13399 Flesh out docs about resolution methods.
13400 API: GstClockClass::wait_jitter
13402 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13403 (gst_system_clock_async_thread),
13404 (gst_system_clock_id_wait_jitter_unlocked),
13405 (gst_system_clock_id_wait_jitter):
13406 Use base class wait_jitter variant for improved performance
13407 due to less clock polling.
13409 2006-08-11 Edward Hervey <edward@fluendo.com>
13411 * gst/gst.c: (gst_init_check), (init_post):
13412 Set gst as being initialized before scanning/updating the registry,
13413 since there might be my python plugin loader that calls gst_init() and
13414 we don't want to loop back in.
13417 2006-08-11 Wim Taymans <wim@fluendo.com>
13419 * docs/design/part-qos.txt:
13420 Bring docs in line with the code. Mostly the sign of the jitter was
13421 wrong in the docs. Fixes #349943.
13424 Fix the docs for the jitter.
13426 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13427 (gst_event_parse_tag), (gst_event_new_buffer_size),
13428 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13429 (gst_event_new_seek), (gst_event_parse_seek),
13430 (gst_event_new_navigation):
13431 Make sure the GstStructure has no parent when creating custom
13433 Add some more argument checking so that we avoid 0.0 rates.
13434 Flesh out the docs for the QoS event some more.
13436 2006-08-11 Wim Taymans <wim@fluendo.com>
13438 * docs/gst/gstreamer-sections.txt:
13439 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13440 (ensure_current_registry_forking), (ensure_current_registry),
13441 (parse_one_option), (parse_goption_arg), (gst_deinit),
13442 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13445 Added API and command line option to disable registry forking in
13446 addition to the environment variable.
13447 Constify some static arrays.
13448 Added some more debug.
13449 Don't deinit twice.
13450 API: gst_registry_fork_is_enabled()
13451 API: gst_registry_fork_set_enabled()
13452 API: --gst-disable-registry-fork command line option
13455 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13457 * gst/gst.c: (gst_init):
13458 Fix typo in error message.
13460 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13462 * libs/gst/controller/gstcontroller.h:
13463 fix ABI size-correction
13465 * tests/check/libs/gdp.c: (gst_dp_suite):
13466 make tests that use deprecated API conditional
13468 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13470 * docs/libs/gstreamer-libs-sections.txt:
13471 * libs/gst/controller/gstcontroller.c:
13472 (_gst_controller_get_property), (_gst_controller_set_property),
13473 (_gst_controller_init), (_gst_controller_class_init):
13474 * libs/gst/controller/gstcontroller.h:
13475 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13476 (gst_object_set_control_rate):
13477 API: add gst_object_{s,g}et_control_rate(), add private data section,
13480 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13481 * libs/gst/dataprotocol/dataprotocol.h:
13482 add deprecation guards to make gtk-doc happy and allow disabling cruft
13484 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13486 * tests/check/Makefile.am:
13487 * tests/check/gst/.cvsignore:
13488 Let's enable the new unit test as well.
13490 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13493 * docs/gst/gstreamer-sections.txt:
13494 * gst/gstconfig.h.in:
13495 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13496 (_gst_info_printf_extension_ptr),
13497 (_gst_info_printf_extension_segment):
13498 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13499 register that lets us easily dump GstSegments into debug
13502 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13503 (info_segment_format_printf_extension), (gst_info_suite):
13504 Add simple unit test that logs a bunch of different segments (not
13505 valgrinded at the moment because of leaks in
13506 gst_debug_add_log_function).
13508 2006-08-09 Edward Hervey <edward@fluendo.com>
13510 * libs/gst/base/gstbasetransform.c:
13511 (gst_base_transform_buffer_alloc):
13512 Even if we can't figure out the proper format to request downstream,
13513 call buffer_alloc() downstream with the input parameters without setting
13514 the caps on the srcpad. This will force negotiation in the chain
13518 2006-08-08 Edward Hervey <edward@fluendo.com>
13520 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13521 Unlinking from a pad without a target is now a perfectly valid case
13522 which should NOT raise an assertion.
13523 This case would happen if a linked ghostpad its target set to NULL after
13524 it was previously linked.
13526 2006-08-08 Edward Hervey <edward@fluendo.com>
13528 * tests/check/libs/gdp.c:
13529 Also comment out the test (see below).
13531 2006-08-08 Edward Hervey <edward@fluendo.com>
13533 * tests/check/libs/gdp.c: (gst_dp_suite):
13534 Use the architecture information from config.h and not gcc macros
13535 in order to properly disable a test that fails on PPC64.
13537 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13539 * gst/gstelement.c: (gst_element_remove_pad):
13540 Don't crash printing the warning if the pad has no parent.
13542 2006-08-02 Wim Taymans <wim@fluendo.com>
13544 * libs/gst/dataprotocol/dataprotocol.c:
13545 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13546 (gst_dp_crc), (gst_dp_header_payload_length),
13547 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13548 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13549 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13550 (gst_dp_event_from_packet), (gst_dp_validate_header),
13551 (gst_dp_validate_payload):
13552 Make debug category static
13553 Constify the crc table.
13554 Do some more arg checking in public functions.
13555 Fix some docs and do some small cleanups.
13557 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13558 Add some more checks to see if GDP deals with bogus input.
13560 2006-07-31 Wim Taymans <wim@fluendo.com>
13562 * gst/gstvalue.c: (gst_value_compare_list):
13563 Fix GstValueList comparison code. Fixes #347293.
13565 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13566 Check to test GstValueList comparison.
13568 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13570 * gst/gstelementfactory.c: (gst_element_factory_create):
13571 Remove unnecessary ref/unref pair
13573 * gst/parse/grammar.y:
13574 Make sure to free the parse buffer on all code paths.
13575 Move a g_free up to the error handler where it's easier to see.
13577 * tests/check/gst/gstevent.c: (test_event):
13578 Extending timeout for downstream travelling events to 10 seconds to
13579 hopefully avoid intermittent failure on the buildbots.
13581 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13582 Don't manually set the state of the src element - it will happen as a
13583 natural consequence of the pipeline changing state, and that way it
13584 will do it in the right order too.
13586 2006-07-31 Wim Taymans <wim@fluendo.com>
13588 * libs/gst/base/gstbasetransform.c:
13589 (gst_base_transform_buffer_alloc):
13590 Use OBJECT_LOCK and refcounting to get the pad caps in the
13591 buffer_alloc function because the caps could change while we are
13592 busy with them. Fixes #349105
13594 2006-07-31 Wim Taymans <wim@fluendo.com>
13596 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13597 Protect _PAD_CAPS with OBJECT_LOCK.
13599 2006-07-31 Wim Taymans <wim@fluendo.com>
13601 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13602 (gst_pad_get_property), (gst_pad_activate_pull),
13603 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13604 (gst_pad_set_activate_function),
13605 (gst_pad_set_activatepull_function),
13606 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13607 (gst_pad_set_getrange_function),
13608 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13609 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13610 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13611 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13612 (gst_pad_set_acceptcaps_function),
13613 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13614 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13615 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13616 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13617 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13618 (gst_pad_configure_sink), (gst_pad_configure_src),
13619 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13620 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13621 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13622 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13623 (gst_pad_send_event):
13624 Use _DEBUG_OBJECT when it makes sense.
13625 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13626 Small cleanups and code reflows.
13627 Avoid caps refcounting in _accept_caps.
13628 Refactor alloc_buffer so that the code performed on the peer is in a
13629 separate function. Also if the pad does not implement a buffer alloc
13630 function, we should still check if the pad is flushing before falling
13631 back to the default allocator.
13633 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13635 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13636 Make all uses of identity and fakesink have silent=true to avoid
13637 serialising every passing data structure, which is breaking tests
13638 on FC4 for some unknown reason.
13640 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13642 * gst/parse/Makefile.am:
13643 * gst/parse/grammar.y:
13644 * gst/parse/parse.l:
13645 Reverted previous patch as it required to bump the flex dependency to
13646 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13648 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13650 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13652 * gst/parse/Makefile.am:
13653 * gst/parse/grammar.y:
13654 * gst/parse/parse.l:
13655 push & pop the state of the lexer for reentrant use case
13658 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13660 * libs/gst/base/gstbasesrc.h:
13661 Note in the docs that the ::newsegment vfunc is not actually used by
13664 2006-07-28 Wim Taymans <wim@fluendo.com>
13666 * libs/gst/base/gstcollectpads.c:
13667 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13668 (gst_collect_pads_clear), (gst_collect_pads_flush),
13669 (gst_collect_pads_event), (gst_collect_pads_chain):
13670 When flushing a pad, also clear the queued buffer so that we don't
13671 accidentally use it when we shouldn't.
13672 Fix leaks by inreffing incomming buffer.
13673 Flush out queued buffers in case of errors.
13676 2006-07-28 Wim Taymans <wim@fluendo.com>
13678 * docs/random/phonon-gst:
13679 Random notes about a Phonon backend.
13681 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13683 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13685 * tests/check/libs/gdp.c: (gst_dp_suite):
13686 Take a whack at fixing the ppc compile using a different define to
13687 disable the broken test.
13689 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13690 Remove excess g_print()
13692 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13694 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13695 Oops, meant to uncomment this line too to dampen the noise a bit.
13697 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13699 * gst/parse/grammar.y:
13700 * gst/parse/parse.l:
13701 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13702 (GST_START_TEST), (parse_suite):
13703 Fix some of the leaks exposed by extending the parse-launch testsuite,
13704 and move the 3 I can't figure out into a separate test that won't run
13705 the pipelines unless the appropriate line is uncommented.
13707 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13709 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13710 Requesting 0 bytes before the end of the file should result in
13711 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13714 2006-07-27 Wim Taymans <wim@fluendo.com>
13716 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13717 Fix useless assert, a uint is always positive.
13719 * gst/gststructure.c: (gst_structure_nth_field_name),
13720 (gst_structure_foreach), (gst_structure_map_in_place):
13721 Check input arguments for public functions to avoid obvious crashes.
13723 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13724 * plugins/elements/gstfakesink.h:
13725 Do less useless typechecking.
13727 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13729 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13730 Do not use mmap() by default since there are a number of error
13731 conditions that we would like to handle in a non-fatal way that
13732 will result in a SIGBUS if we use mmap(). Examples: external
13733 devices (USB harddrive, portable music player) being unplugged
13734 while in use; file on mounted CD/DVD that can't be read because
13735 the medium is partly damaged. Fixes #348455 and #348475.
13737 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13740 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13741 rates are a gdouble
13743 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13745 * gst/gstregistry.c:
13746 Move big documentation comment into class section header, so that it
13747 appears in the API docs.
13749 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13751 * docs/gst/gstreamer-sections.txt:
13752 Oops. Commit the docs additions too for new API.
13753 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13755 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13757 * gst/gststructure.c: (gst_structure_id_set),
13758 (gst_structure_id_set_valist):
13759 * gst/gststructure.h:
13760 Add API for setting values into structures without performing
13761 a quark lookup, if the appropriate quark is already known.
13763 API: gst_structure_id_set
13764 API: gst_structure_id_set_valist
13766 * gst/parse/grammar.y:
13767 * gst/parse/parse.l:
13768 Remove some dead code shown by the coverage information.
13769 Don't throw a critical g_warning when encountering a syntax error,
13770 just warn and let the normal error path handle it.
13772 * plugins/elements/gstelements.c:
13773 Bump the rank of filesink up to PRIMARY so that it is preferred over
13774 gnomevfssink for file:// sink uri's
13776 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13777 (GST_START_TEST), (run_delayed_test),
13778 (gst_parse_test_element_base_init),
13779 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13780 (gst_parse_test_element_change_state),
13781 (gst_register_parse_element), (parse_suite):
13782 Beef up the tests for parse syntax to check that more error cases
13783 fail as they are supposed to. Increases the test coverage a bit.
13785 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13787 * docs/manual/basics-elements.xml:
13788 Fix gst_element_link() example.
13791 Mention in API docs that one should usually gst_bin_add()
13792 elements to a bin or pipeline before doing the linking.
13794 2006-07-26 Wim Taymans <wim@fluendo.com>
13796 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13797 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13798 Avoid function call for known types by keeping the buffer and
13799 subbuffer GType global.
13801 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13802 Random silly optimisations in read() path.
13804 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13806 * tools/gst-launch.c: (main):
13807 If the top-level of the parse is a normal bin, it doesn't do the
13808 right logic to run as a top-level element, so place it inside a
13811 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13813 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13814 Remove superfluous g_object_notify() calls, GObject does
13815 that for us automatically.
13817 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13820 on Win32, use dllspec to export the debug category symbols
13822 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13824 * gst/gsttaglist.c: (_gst_tag_initialize):
13825 Allow more than one GST_TAG_IMAGE per taglist.
13827 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13829 * gst/gstminiobject.c:
13831 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13832 (gst_fd_src_create):
13833 log recurring events at LOG level
13834 add more debug for when the fd gets set
13836 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13838 * gst/gstparse.c: (gst_parse_launch):
13839 Also remove reentrance checks if flex is MT safe (#348179)
13840 Fix my empty ChangeLog entry below
13842 2006-07-21 Andy Wingo <wingo@pobox.com>
13844 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13846 * libs/gst/check/Makefile.am
13847 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13848 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13849 * libs/gst/check/gstbufferstraw.h:
13850 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13851 functions, thus proving I am still a GStreamer haxor. OK I wrote
13852 them a long time ago, but anyways.
13854 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13857 * gst/gstparse.c: (gst_parse_launch):
13858 Check for flex version and omit mutex if we have a MT save flex
13861 2006-07-21 Wim Taymans <wim@fluendo.com>
13863 * gst/gstparse.c: (gst_parse_launch):
13864 Protect recursive calls to _parse with a recursive mutex
13867 2006-07-21 Wim Taymans <wim@fluendo.com>
13869 * tests/check/gst/gstpad.c: (GST_START_TEST):
13872 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13874 * gst/gstparse.c: (gst_parse_launch):
13875 Do not hang on recursive usage of gst_parse_launch()
13877 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13879 * gst/gsttaglist.c:
13880 Add some more docs, comments and FIXME 0.11s here and there
13881 and also fix some typos.
13883 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13885 * gst/gstsegment.h:
13886 Convert tabs to spaces for better readability.
13888 2006-07-20 Edward Hervey <edward@fluendo.com>
13890 * tests/check/libs/gdp.c: (gst_dp_suite):
13891 the test_buffer test fails at line 140 on ppc64 at the following
13893 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13894 GST_BUFFER_FLAG_IN_CAPS),
13895 "GST_BUFFER_IN_CAPS flag should have been copied !");
13896 See bug #348114 for more details.
13898 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13900 * docs/pwg/advanced-scheduling.xml:
13902 Fix typos (#348000).
13904 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13906 * docs/pwg/intro-basics.xml:
13907 Fix wrong links (#347927).
13909 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13911 * gst/gstregistry.h:
13912 * gst/gstregistryxml.c: (load_feature),
13913 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13914 * win32/common/config.h:
13915 make --disable-index work (#342564)
13917 2006-07-18 Wim Taymans <wim@fluendo.com>
13919 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13923 The attached patch adds two missing defines to gsttrace.h when tracing
13924 is disabled. It also corrects one existing define.
13927 2006-07-17 Wim Taymans <wim@fluendo.com>
13929 * docs/gst/gstreamer-sections.txt:
13930 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13932 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13933 Add two functions to check and change the SIGSEGV behaviour
13934 when loading plugins.
13935 Don't mess with the SIGSEGV handler when we were told not to.
13937 API: gst_segtrap_is_enabled
13938 API: gst_segtrap_set_enabled
13940 2006-07-14 Wim Taymans <wim@fluendo.com>
13942 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13943 * tests/check/elements/filesrc.c: (GST_START_TEST):
13944 Revert fix for regression in #347408 after release.
13946 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13948 Patch by: Antoine Tremblay <hexa00 at gmail com>
13950 * gst/gstutils.c: (gst_element_unlink):
13951 Free iterator when done (#347311).
13953 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13954 And add a test case for this.
13956 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13959 Bump nano back to CVS
13961 === release 0.10.9 ===
13963 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13966 releasing 0.10.9, "On the road again"
13968 2006-07-13 Wim Taymans <wim@fluendo.com>
13970 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13971 * tests/check/elements/filesrc.c: (GST_START_TEST):
13972 Revert pull-0 fix for release. Disable check. Fixes #347408.
13974 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13976 * libs/gst/dataprotocol/dataprotocol.c:
13977 (gst_dp_event_from_packet_1_0):
13978 Fixes #347337: failure to deserialize event packets with
13979 empty payload (only event type)
13981 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13984 do not install a .c file in the header directory
13986 2006-07-13 Edward Hervey <edward@fluendo.com>
13988 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13989 GhostPad no longer implicitely use the padtemplates of the targets.
13992 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13994 * gst/gstvalue.c: (gst_value_compare_list),
13995 (gst_value_compare_array), (_gst_value_initialize):
13996 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13997 Make GstValueArray comparison be order dependent as designed.
13998 Add checks for value lists and value array comparisons.
14001 2006-07-11 Edward Hervey <edward@fluendo.com>
14003 * gst/gstbin.c: (activate_pads),
14004 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
14005 (gst_bin_change_state_func):
14006 (de)activate src pads before calling state_change on the childs.
14007 This is to avoid the case where a src ghostpad is blocked (holding the
14008 stream lock), which would block the deactivation of the ghostpad's
14010 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
14011 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
14012 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
14013 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14014 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14015 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14016 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
14017 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
14018 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
14019 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
14020 (gst_ghost_pad_class_init),
14021 (gst_ghost_pad_internal_do_activate_push),
14022 (gst_ghost_pad_internal_do_activate_pull),
14023 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
14024 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14025 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14026 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14027 GhostPads now create their internal GstProxyPad at creation (and not
14028 when they're linked, as it was being done previously).
14029 The internal and target pads are linked straight away.
14030 The data will also travel through the other pad in order to make
14031 pad blocking and probes non-hackish (the probe/block now really happens
14032 on the GhostPad and not on the target).
14033 * gst/gstpad.c: (gst_pad_set_blocked_async),
14034 (gst_pad_link_prepare), (gst_pad_push_event):
14035 Remove previous ghostpad cruft.
14036 * gst/gstutils.c: (gst_pad_add_data_probe),
14037 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14038 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14039 (gst_pad_remove_buffer_probe):
14040 Remove previous ghost pad cruft.
14041 Added more detailed debug statements.
14042 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14043 Fix the testsuite for refcounting changes.
14044 The comments about who has references were correct, but the refcount
14045 being checked wasn't the same (!?!).
14049 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14051 * docs/gst/gstreamer-sections.txt:
14052 * gst/gstconfig.h.in:
14053 More docs for configuration options, add docs to gtk-doc.
14055 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14058 * gst/gstconfig.h.in:
14059 * win32/common/config.h:
14060 Fix build when disabling tracing (fixes #344016). Also start to document
14061 the defines that disable the sub-systems.
14063 2006-07-10 Edward Hervey <edward@fluendo.com>
14065 * gst/gst.c: (ensure_current_registry_forking):
14066 let's make valgrind happy...
14068 2006-07-09 Wim Taymans <wim@fluendo.com>
14070 * gst/gstelement.c: (activate_pads),
14071 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14072 Better pad activation code: Reset the collect value too on resync.
14075 2006-07-09 Wim Taymans <wim@fluendo.com>
14077 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14078 (gst_pad_activate_push):
14079 Use some more macros where it makes sense.
14080 Allow pad mode switching instead of asserting. When a pad
14081 is activated in one mode and we activate it in another,
14082 deactivate it first before activating it in a different mode.
14085 2006-07-08 Andy Wingo <wingo@pobox.com>
14087 * tools/gst-launch.c (main): Handle err == NULL.
14089 * gst/gst.c (init_post, ensure_current_registry)
14090 (ensure_current_registry_forking)
14091 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14092 factoring out the registry scanning into separate functions. Don't
14093 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14094 Better environment var name/interface suggestions accepted.
14096 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14098 * gst/gstobject.c: (gst_object_set_name_default),
14099 (gst_object_set_name):
14100 Random micro-optimisation: don't use a hash table
14101 with strings as keys and the usual strdup/strcmp
14102 involved, but rather just use the GQuark of the
14103 type name as key, since it needs to be looked up
14104 anyway to get the type name string.
14106 * tests/check/gst/gstobject.c: (GST_START_TEST):
14109 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14111 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14112 (gst_bin_iterate_all_by_interface):
14113 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14114 GTypes are gulongs and thus the top 4 bytes might be cut
14115 off on some platforms when doing GPOINTER_TO_INT, leading
14116 to invalid GTypes and bad things happening (see RH bug #179654).
14117 Also add a check to make sure the type passed in is really
14120 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14125 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14129 * gst-element-check.m4:
14130 * gst-element-check.m4.in:
14131 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14132 instead of the unversioned gst-inspect (#324176, #168659).
14134 2006-07-06 Wim Taymans <wim@fluendo.com>
14136 * gst/gstmessage.h:
14137 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14140 2006-07-06 Wim Taymans <wim@fluendo.com>
14142 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14143 (gst_base_src_wait), (gst_base_src_update_length),
14144 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14145 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14146 (gst_base_src_loop), (gst_base_src_start),
14147 (gst_base_src_activate_pull):
14149 blocksize == 0 now means the default blocksize when working in push
14151 Remove some pointless asserts in _wait function.
14152 Fix offset/length calculations and EOS handling. We can now pull 0
14153 bytes as well, which is allowed.
14154 use _check_get_range() to decide if we can operate in _pull based
14156 Fix refcounting leak when check_get_range function was not
14158 API GstBaseSrc::blocksize range can be 0 too now (default)
14160 * tests/check/elements/filesrc.c: (GST_START_TEST),
14162 Added check to test _get_range() behaviour.
14164 2006-07-06 Wim Taymans <wim@fluendo.com>
14166 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14167 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14168 (gst_pad_pull_range):
14170 Lots of comments and docs added to the pad functions.
14171 Flesh out the expected behaviour of the get_range() functions.
14173 2006-07-06 Wim Taymans <wim@fluendo.com>
14178 * gst/gstiterator.h:
14182 Remove comma at end of enumerator list.
14184 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14186 * win32/common/libgstbase.def:
14187 * win32/common/libgstdataprotocol.def:
14188 * win32/common/libsgtreamer.def:
14189 Add new exported functions.
14191 2006-07-05 Wim Taymans <wim@fluendo.com>
14193 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14194 Add some more docs here and there.
14196 2006-07-05 Wim Taymans <wim@fluendo.com>
14198 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14199 (gst_base_sink_loop), (gst_base_sink_get_position):
14200 When operating in pull mode update the offset so that we
14203 2006-07-05 Wim Taymans <wim@fluendo.com>
14205 * gst/gstregistryxml.c: (read_string):
14206 Avoid strdup. (will happen in libxml, but hey!)
14209 Add some more docs.
14211 2006-07-05 Wim Taymans <wim@fluendo.com>
14213 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14214 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14215 (gst_buffer_suite):
14216 No point in checking if the size of the subbuffer > 0, the
14217 code handles it correclty as demonstrated by unit test.
14218 Also add a unit test for the zero sized _new_and_alloc and
14219 _copy. Fixes #346663.
14221 2006-07-05 Wim Taymans <wim@fluendo.com>
14223 * libs/gst/base/gstbasetransform.c:
14224 (gst_base_transform_prepare_output_buffer),
14225 (gst_base_transform_buffer_alloc),
14226 (gst_base_transform_handle_buffer):
14227 Make sure the buffer we pass to transform_ip has a refcount of
14228 1 and thus is writable. Fixes #343196
14230 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14232 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14233 (gst_file_src_init), (gst_file_src_set_property),
14234 (gst_file_src_get_property), (gst_file_src_map_region):
14235 * plugins/elements/gstfilesrc.h:
14236 Add "sequential" property, off by default, to use madvise and hint
14237 to the kernel that sequential access is desired.
14238 Touch all retrieved pages by default to ensure they are pulled
14239 into memory. (Closes #345720)
14241 2006-07-03 Wim Taymans <wim@fluendo.com>
14243 * docs/design/part-block.txt:
14244 * docs/design/part-dynamic.txt:
14245 Small docs updates.
14247 2006-07-03 Wim Taymans <wim@fluendo.com>
14249 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14250 (gst_caps_unref), (gst_static_caps_get),
14251 (gst_caps_append_structure):
14252 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14253 Use GSlice when the glib we build against is >= 2.10
14255 2006-07-03 Wim Taymans <wim@fluendo.com>
14257 * gst/gstelement.c: (gst_element_pads_activate):
14258 Small cleanup in pad activation code.
14260 2006-07-03 Wim Taymans <wim@fluendo.com>
14262 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14264 * gst/gst-i18n-app.h:
14265 * gst/gst-i18n-lib.h:
14266 * tools/gst-inspect.c: (print_signal_info):
14267 The attached patch will make the inclusion of gettext.h unconditional in
14268 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14269 libintl.h in tools/gst-inspect.c.
14270 This allows use of --disable-nls again and fixes #344642.
14272 2006-07-03 Edward Hervey <edward@fluendo.com>
14274 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14275 Implement pad blocking on events according to part-block.txt.
14276 More comments on behaviour.
14277 * tests/check/gst/gstevent.c: (test_event):
14278 Send event to peer pad of blocked pad (else it will block).
14280 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14282 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14283 (gst_check_run_suite):
14284 if we get the wrong message, give us the types as string
14285 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14287 * tests/check/elements/filesrc.c: (GST_START_TEST):
14288 add a test for trying to open a non-existing file
14290 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14292 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14293 add a test for adding self
14295 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14297 * libs/gst/check/gstcheck.h:
14298 add some assert_ as alias for fail_unless_*
14299 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14300 increase test coverage
14302 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14305 include lcov.mak for lcov coverage generation
14306 * tools/Makefile.am:
14309 2006-07-02 Edward Hervey <edward@fluendo.com>
14311 * tests/check/elements/.cvsignore:
14314 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14317 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14318 * tests/check/Makefile.am:
14319 clean up gcov files
14321 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14323 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14324 remove gst_caps_simplify; it was not declared and not used
14325 and deprecated in 0.8
14327 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14329 * docs/faq/gst-uninstalled:
14330 don't put empty paths on PYTHONPATH
14331 * docs/gst/gstreamer-sections.txt:
14332 remove some symbols that are not there
14334 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14336 * gst/gstcaps.c: (gst_caps_compare_structures):
14338 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14339 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14342 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14344 * libs/gst/dataprotocol/Makefile.am:
14345 build dataprotocol test by linking to the lib, instead of
14346 compiling the source, so we get coverage
14347 * tests/check/Makefile.am:
14348 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14349 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14350 add a test for filesrc
14352 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14354 * tests/check/gst/gststructure.c: (GST_START_TEST),
14355 (gst_structure_suite):
14356 Push coverage from 59.04% to 70.00%
14358 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14360 * tests/check/Makefile.am:
14361 gst-inspect every element; this makes sure that we also get
14362 coverage on element's get/set functions
14364 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14367 set CFLAGS and friends to -O0 if gcov is being used
14370 * libs/gst/base/Makefile.am:
14371 * libs/gst/check/Makefile.am:
14372 * libs/gst/controller/Makefile.am:
14373 * libs/gst/dataprotocol/Makefile.am:
14374 * libs/gst/net/Makefile.am:
14375 * plugins/elements/Makefile.am:
14376 * plugins/indexers/Makefile.am:
14377 add makefile rules to generate gcov data and clean up
14378 * tests/check/Makefile.am:
14379 add a coverage target that generates an html overview
14382 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14384 * tests/check/elements/fakesink.c:
14385 * tests/check/elements/fakesrc.c:
14386 * tests/check/elements/fdsrc.c:
14387 * tests/check/elements/identity.c:
14388 * tests/check/generic/sinks.c: (gst_sinks_suite):
14389 * tests/check/generic/states.c:
14390 * tests/check/gst/gst.c:
14391 * tests/check/gst/gstabi.c:
14392 * tests/check/gst/gstbin.c:
14393 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14394 * tests/check/gst/gstbus.c: (gst_bus_suite):
14395 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14396 * tests/check/gst/gstelement.c:
14397 * tests/check/gst/gstevent.c: (gst_event_suite):
14398 * tests/check/gst/gstghostpad.c:
14399 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14400 * tests/check/gst/gstmessage.c: (gst_message_suite):
14401 * tests/check/gst/gstminiobject.c:
14402 * tests/check/gst/gstobject.c:
14403 * tests/check/gst/gstpad.c:
14404 * tests/check/gst/gstpipeline.c:
14405 * tests/check/gst/gstplugin.c:
14406 * tests/check/gst/gstquery.c: (gst_query_suite):
14407 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14408 * tests/check/gst/gststructure.c:
14409 * tests/check/gst/gstsystemclock.c:
14410 * tests/check/gst/gsttag.c:
14411 * tests/check/gst/gsttask.c: (gst_task_suite):
14412 * tests/check/gst/gstutils.c:
14413 * tests/check/gst/gstvalue.c:
14414 * tests/check/libs/adapter.c:
14415 * tests/check/libs/basesrc.c:
14416 * tests/check/libs/collectpads.c:
14417 * tests/check/libs/controller.c:
14418 * tests/check/libs/gdp.c: (gst_dp_suite):
14419 * tests/check/libs/gstnetclientclock.c:
14420 * tests/check/libs/gstnettimeprovider.c:
14421 * tests/check/libs/libsabi.c: (libsabi_suite):
14422 * tests/check/libs/typefindhelper.c:
14423 * tests/check/pipelines/cleanup.c:
14424 * tests/check/pipelines/parse-launch.c:
14425 * tests/check/pipelines/simple-launch-lines.c:
14426 * tests/check/pipelines/stress.c: (stress_suite):
14429 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14431 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14432 * libs/gst/check/gstcheck.h:
14433 create a macro and function so that the simple unit test
14434 case can be just one macro to create main()
14436 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14438 * gst/gstbin.c: (gst_bin_restore_thyself):
14439 * gst/gstxml.c: (gst_xml_make_element):
14440 Fix deserialisation from XML. Set parent manually
14441 instead of using gst_bin_add(), since gst_bin_add()
14442 will unlink all pads of the element being added.
14445 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14447 Patch by: Peter Kjellerstedt <pkj at axis com>
14449 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14450 Fix missing g_strdup() and double free when using the
14451 --gst-plugin-load command line option (#346097).
14453 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14456 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14458 * libs/gst/net/gstnetclientclock.c:
14459 * libs/gst/net/gstnettimeprovider.c:
14460 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14462 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14464 * docs/manual/advanced-dataaccess.xml:
14465 Fix buffer probe example compilation in
14468 2006-06-22 Edward Hervey <edward@fluendo.com>
14470 * gst/gstelement.c: (gst_element_pads_activate):
14471 We need to deactivate src pads first and then sink pads.
14472 The reason is the src pads might be blocking while holding the streaming
14473 lock, so we need to deactivate them first so that deactivating the sink
14474 pads doesn't block (since it will require the streaming lock).
14476 2006-06-22 Wim Taymans <wim@fluendo.com>
14478 * libs/gst/base/gstbasetransform.c:
14479 (gst_base_transform_buffer_alloc):
14480 Forgot to remove two unneeded unrefs.
14481 Simplify a check _is_equal allready checks the obvious case.
14483 2006-06-22 Wim Taymans <wim@fluendo.com>
14485 * docs/design/part-block.txt:
14486 Some docs about what pad_block should do.
14488 2006-06-22 Wim Taymans <wim@fluendo.com>
14490 * gst/gstcaps.c: (gst_caps_replace):
14491 Fix crasher when passed NULL. Doc clarification.
14492 Optimize for the trivial case.
14494 * gst/gstpipeline.c: (gst_pipeline_change_state):
14497 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14498 Small documentation cleanup.
14500 * libs/gst/base/gstbasetransform.c:
14501 (gst_base_transform_buffer_alloc):
14502 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14503 is what we need and it avoids a whole lot of redundant
14504 refcount operations.
14506 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14508 Patch by: Philip Jägenstedt <philip at lysator liu se>
14510 * docs/manual/advanced-dataaccess.xml:
14511 Fix 'Embedding static elements' section to use
14512 GST_PLUGIN_DEFINE_STATIC (#345607).
14514 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14516 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14517 Attempt to 'fix' spuriously failing test case: it seems like the
14518 timeout of half a second is simply too small when the system is under
14519 load otherwise, and the timeout doesn't really seem to serve any
14520 particular purpose here. Give the pipeline a few seconds to preroll
14521 first, and then give it another half a second to go from PAUSED to
14522 PLAYING and marshal the message into the main thread.
14524 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14526 * tools/gst-feedback-m.m:
14527 Don't only use unversioned tools, try versioned tools as well
14530 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14532 * gst/gstbus.c: (gst_bus_class_init):
14533 Fix some typos, make docs more explicit.
14535 2006-06-20 Wim Taymans <wim@fluendo.com>
14537 * tests/check/gst/gstghostpad.c: (block_callback),
14538 (GST_START_TEST), (gst_ghost_pad_suite):
14539 Added some more ghostpad tests, mainly blocking
14542 2006-06-16 Wim Taymans <wim@fluendo.com>
14544 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14545 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14546 (gst_file_sink_event), (gst_file_sink_render):
14547 * plugins/elements/gstfilesink.h:
14548 Check if we can seek in the file instead of assuming
14549 we always can. Post an error when we are asked to seek in a
14550 non-seekable file (like a fifo). Fixes #343312.
14553 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14555 * tools/gst-launch.1.in:
14556 Un-garble (fourcc) bit in filtered caps section.
14558 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14560 * docs/manual/advanced-autoplugging.xml:
14561 * docs/manual/basics-helloworld.xml:
14562 * docs/manual/highlevel-components.xml:
14563 Don't leak bus reference in sample code.
14565 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14568 Add default for new --enable-plugin-docs switch.
14571 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14574 * docs/Makefile.am:
14575 Use new ENABLE_PLUGIN_DOCS conditional.
14577 2006-06-14 Wim Taymans <wim@fluendo.com>
14579 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14580 Make it clear with a FIXME and a real define what the #if 0
14581 previously disabled.
14583 2006-06-14 Wim Taymans <wim@fluendo.com>
14585 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14586 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14587 * libs/gst/base/gstbasetransform.c:
14588 (gst_base_transform_sink_eventfunc):
14589 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14590 Don't randomly and silently reset a segment when the format
14591 changes as this is a bug somewhere upstream. Fixes #330379.
14593 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14595 Patch by: Wouter Paesen <wouter at kangaroot net>
14597 * libs/gst/controller/gstcontroller.c:
14598 (gst_controlled_property_new):
14599 Fix controlling of float properties (#344849).
14601 * tests/check/libs/controller.c:
14602 (gst_test_mono_source_get_property),
14603 (gst_test_mono_source_set_property),
14604 (gst_test_mono_source_class_init), (GST_START_TEST):
14605 While we're at it, add some float stuff to unit test.
14607 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14610 * docs/images/gdp-header.svg:
14612 * docs/libs/Makefile.am:
14613 * docs/libs/gdp-header.png:
14614 * libs/gst/dataprotocol/dataprotocol.c:
14615 add it to the API docs
14616 * docs/manual/intro-motivation.xml:
14619 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14621 * gst/gst.c: (scan_and_update_registry), (init_post):
14622 If the fork()'ed child process can't write the updated registry cache
14623 file to disk for some reason, make it exit with a failure exit code,
14624 so that the parent can then re-scan the plugins itself and update the
14625 registry structures in memory and work with that (rather than failing
14626 when creating elements because seemingly no plugins are available).
14627 Refactor registry scanning code into separate function for this and
14628 also separate fork() and non-fork() code paths. Fixes #344748.
14630 2006-06-13 Wim Taymans <wim@fluendo.com>
14632 * docs/manual/advanced-dataaccess.xml:
14633 Fix wrong PluginDesc. Fixes #344755.
14635 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14637 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14638 Fix silly bug that prevented us from creating
14639 ~/.gstreamer-0.10 and writing the registry in one
14640 go (the first call to g_mkstemp() would overwrite the
14641 placeholder in the template string, so the second call
14642 to g_mkstemp() after creating the missing directory
14643 would then error out with 'invalid argument').
14645 2006-06-13 Edward Hervey <edward@fluendo.com>
14647 * gst/gst.c: (init_post):
14650 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14652 * gst/glib-compat-private.h:
14653 * gst/glib-compat.c:
14654 * gst/glib-compat.h:
14655 * gst/gstvalue.c: (gst_value_serialize_flags):
14656 remove GLib 2.6 compatibility code
14658 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14660 * gst/parse/Makefile.am:
14661 Fix build with 'make -j N' even more (#340016).
14663 2006-06-12 Wim Taymans <wim@fluendo.com>
14665 * docs/gst/gstreamer-sections.txt:
14668 2006-06-12 Wim Taymans <wim@fluendo.com>
14670 * gst/gstsegment.c: (gst_segment_set_duration),
14671 (gst_segment_set_last_stop), (gst_segment_set_seek),
14672 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14673 (gst_segment_to_running_time), (gst_segment_clip):
14674 Use G_UNLIKELY to help the compiler a bit.
14676 2006-06-12 Wim Taymans <wim@fluendo.com>
14678 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14680 * gst/gstevent.c: (gst_event_get_type):
14681 * gst/gstmessage.c:
14682 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14684 constify quark registration strings. Fixes #344115
14685 Avoid unneeded type checking is _pad_push() by internally
14686 calling gst_pad_chain_unchecked().
14688 2006-06-12 Wim Taymans <wim@fluendo.com>
14690 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14691 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14692 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14693 (gst_buffer_is_span_fast), (gst_buffer_span):
14694 Init _type for consistency.
14695 Use _FLAGS macro to avoid type check.
14696 Avoid unneeded type checks in subbufer code.
14698 2006-06-12 Wim Taymans <wim@fluendo.com>
14700 * gst/gst.c: (gst_debug_help):
14701 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14702 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14703 (gst_plugin_feature_list_free):
14704 * gst/gstregistry.c: (gst_registry_add_plugin),
14705 (gst_registry_add_feature), (gst_registry_plugin_filter),
14706 (gst_registry_feature_filter), (gst_registry_find_plugin),
14707 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14708 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14709 * gst/gstregistryxml.c: (load_feature),
14710 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14711 * gst/gstminiobject.c: (gst_mini_object_unref),
14712 (gst_mini_object_replace), (gst_value_mini_object_free),
14713 (gst_value_mini_object_copy):
14714 Use _CAST macros to avoid unneeded type checking.
14715 Added some more G_UNLIKELY.
14717 2006-06-12 Wim Taymans <wim@fluendo.com>
14720 Avoid unneeded type checking.
14721 API: GST_BUFFER_IS_DISCONT
14723 * gst/gstminiobject.h:
14724 Avoid type check in flag accessor.
14726 * gst/gstelementfactory.h:
14728 * gst/gstpluginfeature.h:
14730 API: GST_ELEMENT_FACTORY_CAST
14731 API: GST_PLUGIN_CAST
14732 API: GST_PLUGIN_FEATURE_CAST
14734 2006-06-12 Wim Taymans <wim@fluendo.com>
14736 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14737 (gst_object_unref):
14738 Add G_UNLIKELY in type registration.
14739 Avoid type check in _ref/_unref since that is also
14742 2006-06-12 Wim Taymans <wim@fluendo.com>
14744 * gst/gsterror.c: (gst_g_error_get_type):
14745 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14746 (gst_static_pad_template_get_type):
14747 * gst/gsttaglist.c: (gst_tag_list_get_type):
14748 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14749 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14750 * gst/gsturi.c: (gst_uri_handler_get_type):
14751 * gst/gstvalue.c: (gst_date_get_type):
14752 * gst/gstxml.c: (gst_xml_get_type):
14753 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14754 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14755 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14756 Add G_UNLIKELY in type registration.
14758 2006-06-12 Wim Taymans <wim@fluendo.com>
14760 * tools/gst-inspect.c: (print_signal_info):
14761 Properly print enum values.
14763 2006-06-12 Wim Taymans <wim@fluendo.com>
14765 * gst/gstinfo.c: (gst_debug_set_active),
14766 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14768 Add some G_[UN]LIKELY.
14769 Maintain __gst_debug_min to avoid formatting the arguments of
14770 debug messages that will be dropped anyway to avoid a lot of
14771 overhead from the debugging system.
14773 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14776 * po/POTFILES.skip:
14777 add missing files containing translatable strings, tell intltool about
14780 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14782 * tests/check/libs/.cvsignore:
14783 add test-binary to ignore list
14785 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14787 * docs/libs/gstreamer-libs-docs.sgml:
14788 reorder (put dp into a chapter) and indent
14790 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14795 === release 0.10.8 ===
14797 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14800 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14802 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14804 * gst/gst.c: (init_post):
14805 move pid declaration to declaration block
14807 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14809 * gst/gst.c: (init_post):
14810 use _exit() instead of exit() in our forked child; this ensures
14811 that none of the registered exit handlers from whatever is using
14812 GStreamer get executed. This fixes gnome-mixer-applet failing
14813 to load, because ORBit would shut down.
14814 Spotted by: Edward Hervey <edward@fluendo.com>
14815 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14818 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14823 === release 0.10.7 ===
14825 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14828 releasing 0.10.7, "Soepeke, ik zie ou"
14830 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14853 * win32/common/config.h:
14854 0.10.6.2 prerelease
14856 2006-06-07 Wim Taymans <wim@fluendo.com>
14858 * gst/gstindex.c: (gst_index_gtype_resolver):
14859 * tools/gst-xmlinspect.c: (print_plugin_info):
14860 Fix leak spotted by coverity checker. Fixes #343827
14861 Fix another other leak found by paolo borelli.
14863 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14865 * libs/gst/dataprotocol/dataprotocol.c:
14866 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14867 (gst_dp_version_get_type), (gst_dp_init),
14868 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14869 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14870 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14871 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14872 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14873 (gst_dp_packetizer_free):
14874 * libs/gst/dataprotocol/dataprotocol.h:
14875 API: add a GstDPPacketizer object, and create/free functions
14876 API: add GstDPVersion enum
14877 Add 1.0 event function that uses the string serialization
14878 Serialize more useful buffer flags
14881 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14883 * tests/check/Makefile.am:
14884 * tests/check/gst/gstabi.c:
14885 * tests/check/gst/struct_ppc64.h:
14886 * tests/check/libs/libsabi.c:
14887 * tests/check/libs/struct_ppc64.h:
14888 add ppc64 structure sizes
14890 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14892 * tests/check/Makefile.am:
14893 * tests/check/gst/gstabi.c:
14894 * tests/check/gst/struct_x86_64.h:
14895 * tests/check/libs/libsabi.c:
14896 * tests/check/libs/struct_x86_64.h:
14897 generate and add structure size lists for x86_64
14899 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14901 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14902 * libs/gst/check/gstcheck.h:
14903 factor out the method from tests that checks size of structures,
14904 and add code to generate the header containing these sizes
14905 * tests/check/gst/gstabi.c: (GST_START_TEST):
14906 * tests/check/gst/struct_i386.h:
14907 * tests/check/libs/libsabi.c: (GST_START_TEST):
14908 * tests/check/libs/struct_i386.h:
14911 2006-06-06 Michael Smith <msmith@fluendo.com>
14913 * gst/gstsegment.h:
14914 Don't use c++-style comments, fixes #343929
14916 2006-06-05 Edward Hervey <edward@fluendo.com>
14919 plugin_paths is not used if we build without registry support.
14921 * gst/gstsegment.c: (gst_segment_copy):
14922 _copy() was always returning NULL...
14924 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14926 * libs/gst/dataprotocol/dataprotocol.c:
14927 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14928 (gst_dp_packet_from_event):
14929 factor out CRC code
14931 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14933 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14934 make sure we unset caps
14936 2006-06-02 Michael Smith <msmith@fluendo.com>
14938 * libs/gst/check/gstcheck.c: (gst_check_init),
14939 (gst_check_chain_func):
14940 * libs/gst/check/gstcheck.h:
14941 Add a cond/mutex to the check support lib, signal this whenever we
14942 add to the buffers list. This will allow tests to not busy-wait on
14945 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14947 * libs/gst/dataprotocol/dataprotocol.c:
14948 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14949 (gst_dp_packet_from_event):
14950 factor out some common header init code
14952 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14954 * docs/libs/gstreamer-libs-sections.txt:
14955 * docs/libs/tmpl/gstdataprotocol.sgml:
14956 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14957 * libs/gst/dataprotocol/dataprotocol.h:
14958 API: make gst_dp_crc() public
14960 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14962 * plugins/indexers/gstindexers.c: (plugin_init):
14963 conditionally register fileindexer (fixes #343598)
14965 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14967 * gst/gsttagsetter.h:
14968 Can't cast ifaces to a class
14970 * libs/gst/net/gstnetclientclock.h:
14971 * libs/gst/net/gstnettimeprovider.h:
14972 * plugins/elements/gstfakesink.h:
14973 * plugins/elements/gstfakesrc.h:
14974 * plugins/elements/gstfdsink.h:
14975 * plugins/elements/gstfdsrc.h:
14976 * plugins/elements/gstfilesink.h:
14977 * plugins/elements/gstfilesrc.h:
14978 * plugins/elements/gstidentity.h:
14979 * plugins/elements/gstqueue.h:
14980 * plugins/elements/gsttee.h:
14981 * plugins/indexers/gstfileindex.c:
14982 * plugins/indexers/gstmemindex.c:
14983 * tests/old/examples/plugins/example.h:
14984 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14986 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14988 * libs/gst/dataprotocol/dataprotocol.c:
14989 (gst_dp_header_from_buffer):
14990 make sure we zero the whole ABI-compatible area
14992 2006-06-01 Wim Taymans <wim@fluendo.com>
14994 Patch by: Alessandro Decina <alessandro at nnva dot org>
14996 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14997 Make sure the EOS flag is cleared from pads after a flush
14998 or stop. Fixes #343538.
15000 * tests/check/libs/collectpads.c: (GST_START_TEST),
15001 (gst_collect_pads_suite):
15002 Added test for collectpads reusage after EOS.
15004 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
15007 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
15008 * win32/common/libgstbase.def:
15009 export gst_collect_pads_set_flushing
15010 * win32/common/libgstreamer.def:
15011 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
15012 gst_value_fraction_multiply
15013 * win32/vs6/gst_inspect.dsp:
15014 add a link to intl.lib
15016 2006-05-30 Wim Taymans <wim@fluendo.com>
15018 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15019 (gst_collect_pads_chain):
15020 Handle the case where a pad is removed from the collection
15021 that could cause the other pads to become collectable.
15023 2006-05-30 Wim Taymans <wim@fluendo.com>
15025 * gst/gstelement.c:
15026 Clarify the use of _release_request_pad() and
15027 _get_request_pad() a bit better.
15029 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15030 (gst_adapter_take_buffer):
15031 Fix some doc and comment typos.
15033 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15035 * docs/gst/gstreamer-sections.txt:
15036 * docs/libs/gstreamer-libs-sections.txt:
15037 add declared symbols
15039 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
15041 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15042 Add debug that can be enabled using a #define at the top of the file,
15043 for dumping stats about how late/early we were when waking up from
15044 waiting on the clock.
15046 2006-05-30 Wim Taymans <wim@fluendo.com>
15048 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15049 When rebuilding the pad list, don't leak the previous list.
15051 2006-05-30 Wim Taymans <wim@fluendo.com>
15053 Patch by: Lutz Mueller <lutz at topfrose dot de>
15055 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15056 (gst_base_src_get_query_types), (gst_base_src_update_length):
15057 Publish supported query types.
15058 Update last_stop field in get_range mode so the position
15059 query works. Fixes #342321.
15061 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
15063 * docs/gst/gstreamer-sections.txt:
15064 * gst/gsttaglist.c: (_gst_tag_initialize):
15065 * gst/gsttaglist.h:
15066 API: add GST_TAG_PREVIEW_IMAGE (#343341).
15068 2006-05-30 Wim Taymans <wim@fluendo.com>
15070 Patch by: Alessandro Decina <alessandro at nnva dot org>
15072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15073 Unlock mutex when removing an unknown pad.
15076 * tests/check/Makefile.am:
15077 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15078 (push_event), (setup), (teardown), (GST_START_TEST),
15079 (gst_collect_pads_suite), (main):
15080 Added collecpads check, disabled for now as check crashes for
15083 2006-05-29 Wim Taymans <wim@fluendo.com>
15085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15086 Don't leak pads lists.
15088 2006-05-29 Wim Taymans <wim@fluendo.com>
15090 * docs/libs/gstreamer-libs-sections.txt:
15091 * libs/gst/base/gstcollectpads.c:
15092 (gst_collect_pads_set_flushing_unlocked),
15093 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15094 (gst_collect_pads_stop):
15095 * libs/gst/base/gstcollectpads.h:
15096 API: gst_collect_pads_set_flushing()
15097 Added api to set the pads to flushing, useful for seeking
15098 code in elements using collectpads.
15099 Clear segment when receiving a flush.
15101 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15103 * gst/gst.c: (add_path_func), (init_post):
15104 Don't scan registry paths passed via --gst-plugin-path immediately
15105 (will crash, because absolutely nothing is set up and no types are
15106 registered etc.); do this later in init_post(). Fixes #343057.
15108 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15110 * gst/gst.c: (init_post):
15111 if we have fork, fork while reading/rebuilding the registry
15112 so the parent doesn't take the hit of having all plugins loaded
15113 in memory. Fixes #342777.
15115 Check if we have fork()
15116 * win32/common/config.h.in:
15119 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15121 * plugins/elements/gstelements.c:
15122 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15123 (gst_file_src_init), (gst_file_src_set_property),
15124 (gst_file_src_get_property), (gst_file_src_start):
15125 * plugins/elements/gstfilesrc.h:
15126 API: GstFileSrc::use-mmap
15128 Add a use-mmap property to enable easier testing of all code paths.
15129 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15130 in the absence of gnomevfssrc. (Closes #340501)
15132 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15134 * tools/gst-inspect.c:
15135 Add missing include, removes warning of ngettext not being defined on
15138 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15140 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15141 Handle NULL input and output pointers silently as a failed conversion,
15142 rather than g_warnings.
15144 2006-05-25 Wim Taymans <wim@fluendo.com>
15146 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15147 Initialize variable before using. Fixes #342820.
15149 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15151 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15152 Fix off-by-one bug that would only allow peeks of N-1 bytes
15153 from the start even if the buffer to typefind on contains
15154 in fact N bytes of data (makes vorbis typefinding from a
15155 vorbis identification header buffer work).
15157 * tests/check/Makefile.am:
15158 * tests/check/libs/.cvsignore:
15159 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15160 (gst_typefindhelper_suite), (main), (foobar_typefind),
15162 Add very basic unit test for gst_type_find_helper_for_buffer()
15163 that checks for the problem fixed above.
15165 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15167 * tools/gst-inspect.c: (print_interfaces),
15168 (print_element_properties_info), (print_element_list), (main):
15169 add more translatable strings
15171 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15173 Patch by: Julien Moutte <julien at moutte net>
15175 * docs/gst/gstreamer-sections.txt:
15176 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15178 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15179 (gst_fake_sink_preroll):
15180 * plugins/elements/gstfakesink.h:
15181 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15183 2006-05-23 Wim Taymans <wim@fluendo.com>
15185 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15187 Added _CUSTOM error and success GstFlowReturn that can be
15188 used be elements internally.
15189 Added macro to check for SUCCESS flowreturns.
15190 API: GST_FLOW_CUSTOM_SUCCESS
15191 API: GST_FLOW_CUSTOM_ERROR
15192 API: GST_FLOW_IS_SUCCESS
15194 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15195 Added check for GstFlowReturn sanity.
15197 2006-05-23 Wim Taymans <wim@fluendo.com>
15199 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15201 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15202 (gst_collect_pads_event):
15203 clear/reset segment info in FLUSH_STOP.
15206 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15208 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15209 (gst_collect_pads_check_collected):
15210 Flush queued buffer on _stop(), fixes playing again (#342454)
15212 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15214 * tests/check/gst/gststructure.c: (GST_START_TEST),
15215 (gst_structure_suite):
15216 add a test for a complete structure
15218 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15220 * docs/faq/developing.xml:
15221 * docs/faq/faq.xml:
15222 * docs/faq/troubleshooting.xml:
15223 * docs/faq/using.xml:
15224 Some minor FAQ updates that won't change the fact that
15225 our FAQ is badly structured, full of information hardly
15226 anyone new to GStreamer needs to know and lacking lots
15227 of information people constantly ask for.
15229 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15231 * gst/gstpad.c: (gst_pad_set_caps):
15232 Short-circuit gst_pad_set_caps if setting the existing
15233 caps pointer again, and avoid printing debug and
15234 reffing/unreffing the caps.
15236 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15237 There's actually no need to set the caps before pushing -
15238 the acceptcaps method will handle it anyway.
15240 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15242 * docs/gst/gstreamer-sections.txt:
15243 * win32/common/libgstreamer.def:
15244 * gst/gstutils.c: (gst_element_seek_simple):
15246 API: add gst_element_seek_simple() (#342238).
15248 2006-05-18 Edward Hervey <edward@fluendo.com>
15250 * gst/gsttypefind.c: (gst_type_find_get_type):
15251 * gst/gsttypefind.h:
15252 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15253 registered for GstTypeFind pointers. This allows wrapping the structure
15254 in bindings (i.e. gst-python).
15256 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15258 * gst/gsttagsetter.c:
15259 Docs additions and fixes (see #339918).
15261 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15263 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15264 The caps intersection algorithm can produce multiple copies of the
15265 caps. Until that is fixed, we need to simplify the result to be
15266 sure whether the allowed caps are fixed or not.
15268 * plugins/elements/gstqueue.c: (gst_queue_init),
15269 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15270 (gst_queue_push_one):
15271 Proxied buffer alloc should not set the caps on the source pad.
15272 When pushing buffers, we always accept the caps change that triggers.
15273 This prevents negotiation errors caused by caps changing mid-stream
15274 and then being refused on our source pad (because upstream is now
15275 refusing those caps).
15277 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15279 * tests/examples/helloworld/helloworld.c: (main):
15280 Must plug audioconvert and audioresample between decoder
15283 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15285 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15286 (load_feature), (load_plugin):
15287 Allow empty strings for some of the plugin fields so we don't
15288 drop valid plugin entries that were written out correctly
15291 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15293 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15294 Use g_remove and g_rename instead of remove and rename that don't
15295 handle utf8 characters. rename was failing for users who had specific
15296 characters in their name then the registry was built at each
15298 * win32/vs6/gst_inspect.dsp:
15299 * win32/vs6/gst_launch.dsp:
15300 * win32/vs6/libgstbase.dsp:
15301 * win32/vs6/libgstcoreelements.dsp:
15302 * win32/vs6/libgstreamer.dsp:
15303 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15304 build of libgstreamer and clean unused libraries in projects link
15307 2006-05-17 Edward Hervey <edward@fluendo.com>
15309 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15310 The queue is not responsible for pushing an EOS when receiving a fatal
15311 flow error. It's up to the real element driving the pipeline to do that.
15313 2006-05-16 Edward Hervey <edward@fluendo.com>
15315 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15316 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15317 buffer returned a fatal error. It should just send an EOS and stop
15319 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15320 when pushing buffers on the queue and will be able to handle the event.
15322 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15324 * docs/manual/basics-bins.xml:
15325 * docs/manual/basics-init.xml:
15326 Fix typos and minor errors in sample code (#341856).
15328 2006-05-16 Wim Taymans <wim@fluendo.com>
15330 * docs/design/part-qos.txt:
15331 Fix indexes in formulas to make more sense.
15333 2006-05-15 Wim Taymans <wim@fluendo.com>
15335 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15336 Don't report POSITION based on clock time if sync is
15337 disabled in a sink.
15339 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15342 Add cast to make compiler happy - refcount variable was a gint
15343 in GstObject but is a guint in GObject and g_atomic_int_get()
15346 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15348 * gst/parse/Makefile.am:
15349 chain commands using &&, which also makes parallel make work
15351 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15353 * docs/gst/gstreamer-sections.txt:
15356 * gst/gstmessage.h:
15359 === release 0.10.6 ===
15361 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15364 releasing 0.10.6, "Take the cannoli"
15366 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15368 * tools/gst-launch.c: (print_tag):
15369 Fix use of uninitialized variable in the hypothetical
15370 case that some broken plugin creates a GST_TAG_IMAGE
15371 tag containing a NULL buffer (#341667).
15373 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15375 * tools/gst-launch.c: (print_tag):
15376 Print something more intelligible for image tags when
15377 using the -t switch (#341556).
15379 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15384 define GST_MAJORMINOR so we have it available in win32/common/config.h
15385 Possibly remove it from our Makefile.am files later
15386 * win32/common/config.h:
15387 * win32/common/config.h.in:
15388 added GST_MAJORMINOR
15389 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15390 * win32/common/gstversion.h:
15393 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15396 Update win32 files listing.
15397 * win32/common/gstversion.h:
15398 Add GST_MAJORMINOR definition.
15399 * win32/common/libgstreamer.def:
15400 Add new exported functions.
15402 2006-05-12 Michael Smith <msmith@fluendo.com>
15404 * gst/gstplugin.c: (gst_plugin_load_file):
15405 If an so file has no plugin entry point, unload the module.
15407 2006-05-11 Wim Taymans <wim@fluendo.com>
15409 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15410 (gst_queue_set_property):
15411 Don't forget to signal the _chain or _loop function
15412 when the queue size or thresholds change since that might
15413 cause them to make progres again.
15415 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15417 * gst/gstclock.c: (gst_clock_class_init):
15418 * gst/gstindex.c: (gst_index_class_init):
15419 * gst/gstobject.c: (gst_object_class_init):
15420 * gst/gstpad.c: (gst_pad_class_init):
15421 * gst/gstpipeline.c: (gst_pipeline_class_init):
15422 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15423 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15424 * libs/gst/base/gstbasetransform.c:
15425 (gst_base_transform_class_init):
15426 * libs/gst/net/gstnetclientclock.c:
15427 (gst_net_client_clock_class_init):
15428 * libs/gst/net/gstnettimeprovider.c:
15429 (gst_net_time_provider_class_init):
15430 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15431 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15432 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15433 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15434 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15435 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15436 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15437 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15438 * plugins/elements/gsttee.c: (gst_tee_class_init):
15439 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15440 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15441 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15443 2006-05-11 Wim Taymans <wim@fluendo.com>
15445 * gst/gstbuffer.c: (_gst_buffer_initialize):
15446 Register subbufer along with the buffer type so that
15447 it does not accidentally gets registered from N
15448 different streaming threads in a non threadsafe way.
15450 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15454 * gst/gstmessage.h:
15455 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15456 gst_event_ref() and gst_message_ref() functions again
15457 (ugly hack, please do fix if there's a better way besides
15458 overrides.txt, which doesn't seem to work).
15460 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15462 * libs/gst/check/gstcheck.h:
15463 add an assert for setting state to avoid lots of repetitive code
15466 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15468 * gst/gstvalue.c: (gst_value_serialize_flags):
15469 fix a leak if no flags are set
15470 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15473 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15475 * docs/manual/basics-pads.xml:
15476 Expand a bit on caps and filtered links and update
15477 examples that were still using the no longer existing
15478 gst_pad_link_filtered() (#338206).
15480 2006-05-10 Wim Taymans <wim@fluendo.com>
15482 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15483 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15484 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15485 (gst_collect_pads_stop):
15486 * libs/gst/base/gstcollectpads.h:
15487 No need to call _stop in _finalize.
15488 Iterate the main pad list in _finalize.
15489 Added some more debug.
15490 Free lists and data in the right order.
15491 Also free data whem doing _remove_pad when stopped for
15492 backward compatibility protect ::started with PAD_LOCK as
15495 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15497 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15498 (gst_structure_parse_value):
15500 rename a method so that it actually says what it does better
15502 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15504 * gst/gstevent.c: (_gst_event_initialize):
15505 * gst/gstformat.c: (_gst_format_initialize):
15506 make sure some essential types used by events are registered
15507 as part of gst_init()
15508 * gst/gstvalue.c: (gst_value_serialize_flags):
15509 if no flags are set, serialize them to a value that represents NONE
15510 so that deserializing them works
15511 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15512 add tests for serialization and deserialization of flags
15514 2006-05-10 Wim Taymans <wim@fluendo.com>
15516 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15517 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15518 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15519 (gst_collect_pads_event), (gst_collect_pads_chain):
15522 Catch and return errors from the collect function
15523 Refuse data on eos pads.
15525 2006-05-10 Edward Hervey <edward@fluendo.com>
15527 * gst/gstinterface.h:
15528 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15529 GInterface type checking.
15530 They were previously using non-defined macros.
15532 2006-05-09 Wim Taymans <wim@fluendo.com>
15534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15535 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15536 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15537 (gst_collect_pads_start), (gst_collect_pads_stop),
15538 (gst_collect_pads_peek), (gst_collect_pads_pop),
15539 (gst_collect_pads_available), (gst_collect_pads_read),
15540 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15541 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15542 (gst_collect_pads_chain):
15543 * libs/gst/base/gstcollectpads.h:
15544 Clean up the mess that is collectpads, add comments and
15545 FIXMEs where needed.
15546 Maintain a separate pad list so we can add pads while
15547 collecting the other ones. For this we need a new separate
15549 Fix memory leak in finalize.
15550 Refactor some weird code to set/unset pad flushing flags, mark
15552 Don't crash in _available, _read, _flush when we're EOS.
15554 * tests/check/libs/.cvsignore:
15555 Ignore adapter check binary.
15557 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15559 * gst/gstindex.c: (gst_index_resolver_get_type):
15560 * plugins/elements/gstfakesink.c:
15561 (gst_fake_sink_state_error_get_type):
15562 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15563 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15564 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15565 Const-ify GEnumValue arrays.
15567 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15569 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15570 Add test case for flags + gst_buffer_make_metadata_writable().
15572 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15574 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15575 gst_buffer_make_metadata_writable() should maintain the
15576 buffer flags (those that make sense at least) (see #340859).
15578 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15580 * tools/gst-inspect.c:
15581 * tools/gst-launch.c:
15582 * tools/gst-typefind.c:
15583 * tools/gst-xmlinspect.c:
15585 Fix up includes: need to include stdlib.h in tools.h for exit().
15587 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15589 * gst/gsttaglist.c: (_gst_tag_initialize):
15590 * gst/gsttaglist.h:
15591 API: add GST_TAG_IMAGE tag (#340721).
15593 2006-05-08 Wim Taymans <wim@fluendo.com>
15596 Added some docs for the segment query.
15598 2006-05-08 Wim Taymans <wim@fluendo.com>
15600 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15601 (gst_base_src_loop), (gst_base_src_change_state):
15602 Always push non-flushing serialized events in the streaming
15605 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15607 * gst/gsterror.c: (_gst_stream_errors_init):
15608 Add a missing error string.
15610 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15612 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15613 Add applied_rate to the debug
15615 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15616 Copy applied_rate into the outgoing NEWSEGMENT event
15618 2006-05-08 Wim Taymans <wim@fluendo.com>
15620 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15622 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15623 (gst_base_sink_change_state):
15624 call ::unlock before taking the PREROLL_LOCK so we can safely
15625 handle elements that lock in ::render.
15628 2006-05-08 Edward Hervey <edward@fluendo.com>
15630 * autogen.sh: (CONFIGURE_DEF_OPT):
15631 Darwin's libtoolize is in fact called glibtoolize.
15632 Adding glibtoolize to the list of accepted names for libtoolize.
15634 2006-05-08 Wim Taymans <wim@fluendo.com>
15636 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15637 Unify error handling, don't post an error message
15638 when a push() returns EOS but perform our normal EOS
15639 handling code. Fixes #340772.
15641 2006-05-08 Wim Taymans <wim@fluendo.com>
15643 * docs/design/part-overview.txt:
15644 Make upsteam/downstream concepts more clear.
15645 Give an example of serialized/non-serialized events.
15647 * docs/design/part-events.txt:
15648 * docs/design/part-streams.txt:
15649 Mention applied_rate.
15651 * docs/design/part-trickmodes.txt:
15652 Mention applied rate, flesh out some more use cases.
15654 * gst/gstevent.c: (gst_event_new_new_segment),
15655 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15656 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15657 (gst_event_parse_tag), (gst_event_new_buffer_size),
15658 (gst_event_parse_buffer_size), (gst_event_new_qos),
15659 (gst_event_parse_qos), (gst_event_parse_seek),
15660 (gst_event_new_navigation):
15662 Add applied_rate field to NEWSEGMENT event.
15663 API: gst_event_new_new_segment_full()
15664 API: gst_event_parse_new_segment_full()
15666 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15667 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15668 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15669 * gst/gstsegment.h:
15670 Add applied_rate to GstSegment structure.
15671 Make calculation of stream_time and running_time more correct
15672 wrt rate/applied_rate.
15673 Add some more docs.
15674 API: GstSegment::applied_rate field
15675 API: gst_segment_set_newsegment_full();
15677 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15678 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15679 * libs/gst/base/gstbasetransform.c:
15680 (gst_base_transform_sink_eventfunc),
15681 (gst_base_transform_handle_buffer):
15682 Parse and use applied_rate in the GstSegment field.
15684 * tests/check/gst/gstevent.c: (GST_START_TEST):
15685 Add check for applied_rate field.
15687 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15688 (gstsegments_suite):
15689 Add more checks for various GstSegment operations.
15691 2006-05-08 Wim Taymans <wim@fluendo.com>
15693 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15694 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15695 (gst_base_sink_get_position), (gst_base_sink_change_state):
15696 Store the sync time of the buffer end position separatly in a
15697 new variable eos_rtime so we can properly sync the EOS event.
15699 Fix the docs for gst_base_sink_set_qos_enabled().
15700 Don't set segment start to invalid value when we receive a
15701 non TIME newsegment.
15702 get closer to handling position reporting for negative rates
15705 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15708 Docs about how to print caps for debug purposes.
15710 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15711 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15713 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15715 * gst/gstelement.c:
15716 use full enum names and preprend a '%' in docs strings to make recent
15717 gtk-doc turn that into a link
15719 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15721 * docs/manual/basics-bins.xml:
15722 * docs/manual/basics-bus.xml:
15723 * docs/manual/basics-pads.xml:
15724 Some typo fixes, some additions, some clarifications.
15726 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15728 * tools/gst-inspect.c: (main):
15729 * tools/gst-launch.c: (main):
15730 * tools/gst-run.c: (main):
15731 * tools/gst-typefind.c: (main):
15732 * tools/gst-xmlinspect.c: (main):
15733 Use the string passed to g_option_context_new() for
15734 what it's intended for - the program name is already
15737 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15739 * tools/Makefile.am:
15740 * tools/gst-inspect.c: (main):
15741 * tools/gst-launch.c: (main):
15742 * tools/gst-xmlinspect.c: (main):
15744 Add back --version command line option (#340460).
15746 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15747 Add --version option and use GOption for argument parsing; refactor a
15748 bit; accept directories as arguments and recurse into them; lastly,
15749 print a decent error message when things go wrong.
15751 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15753 * docs/manual/basics-bins.xml:
15754 Don't mention GstThread (#340611)
15755 * docs/manual/basics-elements.xml:
15756 Update link to GObject tutorial (#340607)
15758 2006-05-05 Wim Taymans <wim@fluendo.com>
15761 * gst/gstminiobject.c:
15762 Add note about refcounting and miniobject/buffer writeability
15763 to docs. Fixes #340604
15765 * gst/gstelementfactory.h:
15766 Added some explanation about @klass.
15768 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15770 * docs/manual/intro-motivation.xml:
15771 * docs/manual/manual.xml:
15772 Avoid CORBA & Bonobo references (#340598)
15774 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15776 * docs/manual/basics-bus.xml:
15777 * docs/manual/basics-pads.xml:
15778 Fix up some inaccuracies and omissions (#340609)
15780 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15782 * gst/gstghostpad.c:
15783 Small typo in docs (#340625)
15785 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15787 * gst/parse/Makefile.am:
15788 Make 'make -j' proof (see #340698).
15790 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15793 Require GLib-2.8 here as well.
15795 2006-05-05 Wim Taymans <wim@fluendo.com>
15797 * gst/glib-compat.c:
15798 * gst/gst.c: (init_pre):
15799 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15800 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15801 (gst_object_dispatch_properties_changed):
15803 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15804 * gst/gststructure.c: (gst_structure_set_valist):
15805 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15806 Remove pre glib2.8 compatibility, fixes #340508
15808 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15810 * gst/gsttaglist.h:
15811 Mention type of tags in doc blurbs.
15813 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15815 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15816 (gst_pad_configure_src), (gst_pad_push):
15817 Restore acceptcaps checking behaviour now that good plugins have
15820 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15822 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15829 * gst/gstmessage.c:
15833 * gst/parse/Makefile.am:
15834 * libs/gst/base/gstadapter.c:
15835 * libs/gst/base/gstbasesrc.c:
15836 * libs/gst/base/gstpushsrc.c:
15837 * libs/gst/base/gsttypefindhelper.c:
15838 * plugins/elements/gstfakesrc.c:
15839 * plugins/elements/gstidentity.c:
15840 Make sure gstprivate.h and/or config.h are
15841 always included first, otherwise some of our
15842 defines (like _FILE_OFFSET_BITS) might be
15843 redefined in the system headers. Fixes build
15844 on opensolaris (#340016).
15846 2006-05-04 Wim Taymans <wim@fluendo.com>
15848 * docs/libs/gstreamer-libs-sections.txt:
15849 API: addition: gst_adapter_take_buffer()
15851 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15852 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15853 (gst_adapter_available_fast):
15854 * libs/gst/base/gstadapter.h:
15855 Prepare for optimizing the hell out of this hugely inefficient
15857 Added gst_adapter_take_buffer() so we can at least start thinking
15858 about subbuffering and merging.
15859 Added some comments.
15861 * tests/check/Makefile.am:
15862 * tests/check/libs/adapter.c: (GST_START_TEST),
15863 (gst_adapter_suite), (main):
15864 Added GstAdapter check.
15866 2006-05-04 Wim Taymans <wim@fluendo.com>
15868 * docs/design/part-overview.txt:
15869 Fix some typos, add blurb about buffer flags.
15871 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15873 * docs/libs/gstreamer-libs-sections.txt:
15874 make sure GstBaseTransformClass shows up in the docs
15875 * libs/gst/base/gstbasetransform.c:
15876 * libs/gst/base/gstbasetransform.h:
15877 move docs so gtk-doc picks it up now
15879 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15881 * docs/libs/gstreamer-libs-sections.txt:
15882 add missing symbols to docs
15884 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15886 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15887 back out the newsegment handling change, see #340060 for ongoing
15890 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15892 * tools/gst-run.c: (get_candidates), (main):
15893 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15894 work); fix typo in error message. Fixes #340079.
15896 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15898 * common/Makefile.am:
15899 * docs/Makefile.am:
15900 * docs/faq/Makefile.am:
15901 * docs/gst/Makefile.am:
15902 * docs/libs/Makefile.am:
15903 * docs/manual/Makefile.am:
15904 * docs/plugins/Makefile.am:
15905 * docs/pwg/Makefile.am:
15906 * docs/slides/Makefile.am:
15908 * common/upload.mak:
15909 move upload.mak to common
15911 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15913 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15914 add more asserts on refcounts
15915 do more cleanup at end of tests
15916 fix test leaks showing in FC5
15918 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15920 * plugins/elements/gsttypefindelement.c:
15921 (gst_type_find_element_handle_event):
15922 reverted wrong change and reflowed code to avoid others falling into
15925 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15927 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15928 fix changelog entry about last collectpads change,
15929 add notes about proper fix
15931 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15934 * gst/gstregistry.c: (gst_registry_scan_path_level),
15935 (gst_registry_scan_path):
15936 * gst/gstregistry.h:
15937 only write out registry if it has changed, fixes #338339
15939 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15942 * gst/gstpipeline.c:
15943 * plugins/elements/gstcapsfilter.c:
15944 * plugins/elements/gstfakesink.c:
15945 * plugins/elements/gstfakesrc.c:
15946 * plugins/elements/gstfdsink.c:
15947 * plugins/elements/gstfdsrc.c:
15948 * plugins/elements/gstfilesink.c:
15949 * plugins/elements/gstfilesrc.c:
15950 * plugins/elements/gstidentity.c:
15951 * plugins/elements/gstqueue.c:
15952 * plugins/elements/gsttee.c:
15953 * plugins/elements/gsttypefindelement.c:
15954 (gst_type_find_element_handle_event):
15955 make GstElementDetails const
15957 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15959 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15960 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15961 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15962 more detailed debug and formatting cleanup,
15963 forward newsegments to src-pad (so that e.g. adder not eats them)
15965 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15967 * gst/gstutils.c: (gst_element_link_pads):
15968 cleanup double code
15970 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15972 * libs/gst/controller/gstcontroller.c:
15973 (gst_controller_sync_values):
15975 * tests/check/libs/controller.c: (GST_START_TEST),
15976 (gst_controller_suite):
15977 a new test for live value handling
15979 2006-04-28 Wim Taymans <wim@fluendo.com>
15981 * gst/gstutils.c: (push_and_ref):
15982 Added some more docs.
15983 Fix refcount issue whith gst_element_found_tags() helper
15984 function. Fixes #338335
15986 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15987 Added testsuite for gst_element_found_tags().
15989 2006-04-28 Michael Smith <msmith@fluendo.com>
15991 * gst/gstvalue.c: (gst_value_serialize_flags):
15992 Avoid NULL dereference when trying to serialize flags containing
15995 2006-04-28 Michael Smith <msmith@fluendo.com>
15997 * plugins/elements/gsttypefindelement.c:
15998 (gst_type_find_element_handle_event):
15999 If we get EOS before any data is accumulated, don't use
16000 uninitialised local variables.
16002 2006-04-28 Michael Smith <msmith@fluendo.com>
16004 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16005 (gst_dp_event_from_packet):
16006 Fixes in reading/writing events over GDP (not currently used?) -
16007 dereferencing NULL events for unknown/invalid event types, memory
16008 leak, and change g_warning to GST_WARNING.
16010 2006-04-28 Wim Taymans <wim@fluendo.com>
16012 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
16013 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16014 (gst_base_sink_get_position), (gst_base_sink_change_state):
16015 When frame dropping is enabled, we should not ignore frames
16016 without a duration.
16017 Update some documentation.
16019 2006-04-28 Wim Taymans <wim@fluendo.com>
16021 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16022 (gst_base_src_send_event), (gst_base_src_change_state):
16023 Documentation updates.
16025 2006-04-28 Wim Taymans <wim@fluendo.com>
16027 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16028 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16029 handle EAGAIN, EINTR and short writes correctly. Also clean
16030 up some error cases, avoid a deadlock on bad file descriptors and
16031 use GST_DEBUG_OBJECT.
16034 2006-04-28 Wim Taymans <wim@fluendo.com>
16036 * gst/gstvalue.c: (gst_value_serialize_buffer),
16037 (gst_value_deserialize_buffer):
16038 Don't try to serialize a GValue with a NULL buffer.
16041 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16042 Added check for serialisation of NULL buffers.
16044 2006-04-28 Wim Taymans <wim@fluendo.com>
16046 * gst/gstminiobject.c: (gst_value_take_mini_object):
16047 Taking a NULL miniobject is valid, fix the case where
16048 we try to unref the NULL miniobject.
16050 2006-04-28 Wim Taymans <wim@fluendo.com>
16052 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16054 * gst/gstbin.c: (gst_bin_handle_message_func):
16056 Don't leak bin refcount when a state recalc is
16057 in progress and we delay another one #339808.
16059 2006-04-28 Wim Taymans <wim@fluendo.com>
16061 * docs/design/part-TODO.txt:
16062 Mention QoS as an ongoing work item.
16064 * docs/design/part-buffering.txt:
16065 New doc about buffering that needs to be fleshed out
16068 * docs/design/part-qos.txt:
16069 More QoS policy for decoders/demuxers/transforms
16071 * docs/design/part-trickmodes.txt:
16074 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16079 === release 0.10.5 ===
16081 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16084 releasing 0.10.5, "Fogo"
16086 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16088 patch by: Wim Taymans
16090 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16091 (gst_pad_configure_src), (gst_pad_push):
16092 * gst/gstpipeline.c: (gst_pipeline_init):
16093 Fix internal data flow errors. Fixes #338711.
16095 2006-04-12 Wim Taymans <wim@fluendo.com>
16097 * tests/check/gst/gstelement.c: (GST_START_TEST):
16098 Don't leak the factory.
16100 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16103 * win32/common/config.h:
16106 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16108 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16109 (gst_controller_unset_all):
16110 Free allocated GstTimedValues when freeing list nodes.
16111 Should fix leaks 'make check-valgrind' complains about.
16113 * win32/common/libgstcontroller.def:
16114 Add gst_controller_unset_all.
16116 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16118 * docs/libs/gstreamer-libs-sections.txt:
16119 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16120 (gst_controller_unset_all):
16121 * libs/gst/controller/gstcontroller.h:
16122 API: Added new method gst_controller_unset_all()
16123 fixed gst_controller_unset()
16124 * tests/check/libs/controller.c: (GST_START_TEST),
16125 (gst_controller_suite):
16126 Added two testcases for new and fixed method
16128 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16130 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16131 MSG_DONTWAIT is not defined on Cygwin, so work
16132 around that (fixes #317048).
16134 2006-04-11 Wim Taymans <wim@fluendo.com>
16136 * gst/gstelementfactory.c: (gst_element_register),
16137 (gst_element_factory_create), (gst_element_factory_make):
16140 Updated docs (Fixes #131079)
16142 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16145 * tests/check/gst/gstelement.c: (GST_START_TEST),
16146 (gst_element_suite):
16147 Added testcase for elementfactory class field.
16149 2006-04-10 Wim Taymans <wim@fluendo.com>
16151 * gst/gstsegment.c:
16152 Added some more docs.
16154 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16155 (gst_base_sink_reset_qos):
16156 Calculate more accurate rate values.
16158 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16160 * gst/gst_private.h:
16161 add a new #ifdef to use __declspec(dllimport) only for
16162 other modules and not for gstreamer core
16163 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16164 use gst_guint64_to_gdouble for conversion
16165 * win32/common/libgstreamer.def:
16166 add new exported functions
16167 * win32/vs6/gst_inspect.dsp:
16168 * win32/vs6/gst_launch.dsp:
16169 * win32/vs6/libgstbase.dsp:
16170 * win32/vs6/libgstcontroller.dsp:
16171 * win32/vs6/libgstcoreelements.dsp:
16172 * win32/vs6/libgstdataprotocol.dsp:
16173 * win32/vs6/libgstnet.dsp:
16174 update project files
16176 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16178 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16179 * gst/gstclock.c: (gst_clock_class_init):
16180 * gst/gstelement.c: (gst_element_class_init):
16181 * gst/gstindex.c: (gst_index_class_init):
16182 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16183 * gst/gstobject.c: (gst_object_class_init),
16184 (gst_signal_object_class_init):
16185 * gst/gstpad.c: (gst_pad_class_init):
16186 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16187 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16188 * gst/gstregistry.c: (gst_registry_class_init):
16189 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16190 * gst/gsttask.c: (gst_task_class_init):
16191 * gst/gstxml.c: (gst_xml_class_init):
16192 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16193 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16194 (gst_base_src_loop):
16195 * libs/gst/controller/gstcontroller.c:/
16196 (_gst_controller_class_init):
16197 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16198 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16199 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16200 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16201 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16202 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16204 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16206 * gst/gstpad.c: (gst_pad_link):
16207 Must set peer pads before calling the link function, otherwise
16208 a task started from a link function might get a flow-not-linked
16209 result when trying to push because the other thread where the
16210 linking happens hasn't had a chance to set the peers yet. This
16211 might happen for example when a queue gets linked to a downstream
16212 element, as queue starts a streaming task when its source pad
16213 gets linked. Happens in real life when playing back flac/musepack
16214 files in playbin (#332390).
16216 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16220 * libs/gst/base/gstadapter.h:
16221 * libs/gst/base/gstbasesink.h:
16222 * libs/gst/base/gstbasesrc.h:
16223 * libs/gst/base/gstbasetransform.h:
16224 * libs/gst/base/gstcollectpads.h:
16225 * libs/gst/base/gstpushsrc.h:
16226 Fix broken GObject macros
16228 2006-04-07 Wim Taymans <wim@fluendo.com>
16230 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16231 Initialize start and stop times, thanks valgrind.
16233 2006-04-07 Wim Taymans <wim@fluendo.com>
16235 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16236 Be a bit nicer to badly behaving upstream elements that expect
16237 us to deal with non TIME segments and timestamps (such as fakesrc
16240 2006-04-07 Wim Taymans <wim@fluendo.com>
16243 Small documentation clarification about the signal watch.
16245 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16246 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16247 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16248 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16249 (gst_base_sink_get_position_last),
16250 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16251 Convert and store timestamps in stream time and running time, the
16252 raw timestamps are not useful, also document this better.
16253 Use different window sizes for good and bad QoS observations so
16254 we react to badness a little quicker.
16255 Keep track of the amount of rendered and dropped buffers.
16256 Send QoS timestamps in running time.
16258 * libs/gst/base/gstbasetransform.c:
16259 (gst_base_transform_sink_eventfunc),
16260 (gst_base_transform_handle_buffer):
16261 Compare QoS timestamps against running time.
16263 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16266 Typo fixes in docs.
16268 2006-04-06 Michael Smith <msmith@fluendo.com>
16270 * gst/gstpad.c: (gst_pad_set_property):
16271 Use g_value_get_object() instead of g_value_dup_gst_object(),
16272 to avoid double-reffing the pad template (which we then sink,
16273 so this worked previously if (and only if) the pad template
16276 * gst/gstpadtemplate.c: (gst_pad_template_init),
16277 (gst_pad_template_pad_created):
16278 Never return floating references to pad templates, create
16279 them as initially-sunken.
16281 Document an extra function (and make this stop sinking our
16282 pad template, since that is now guaranteed to do nothing,
16283 since we created it sunken).
16285 * gst/gstghostpad.c:
16288 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16290 * gst/gstinfo.c: (__gst_in_valgrind):
16293 * plugins/elements/gsttypefindelement.c:
16294 (gst_type_find_element_chain):
16295 Don't leak buffer caps.
16297 2006-04-06 Michael Smith <msmith@fluendo.com>
16299 * gst/parse/grammar.y:
16300 Fix a leak in parse-launch for any source-or-sink named element
16303 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16304 Unref the pipeline if it exists after we've failed parsing.
16306 2006-04-05 Michael Smith <msmith@fluendo.com>
16308 * gst/gstpipeline.c: (gst_pipeline_init):
16309 When we create a pipeline bus, initially create it in flushing mode.
16310 Fixes leaks in at least one test, and makes a new pipeline work the
16311 same as one that has gone to READY and then back to NULL.
16313 * gst/gstelement.c:
16316 2006-04-05 Michael Smith <msmith@fluendo.com>
16318 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16319 Unref a pad we reffed.
16320 * tests/check/gst/gstutils.c: (GST_START_TEST):
16323 2006-04-05 Michael Smith <msmith@fluendo.com>
16325 * gst/gstquery.c: (gst_query_set_formats),
16326 (gst_query_set_formatsv):
16327 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16329 2006-04-05 Michael Smith <msmith@fluendo.com>
16331 * tests/check/generic/sinks.c: (GST_START_TEST):
16332 Fix a variety of memleaks in sinks check, which are only sometimes
16333 shown by running the tests under valgrind (weird?).
16335 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16337 * docs/version.entities.in:
16338 Fix the substituted entity name after thomas' changes on the
16341 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16343 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16346 2006-04-05 Andy Wingo <wingo@pobox.com>
16348 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16350 * libs/gst/base/gstbasetransform.c
16351 (gst_base_transform_sink_eventfunc): When resetting our segment on
16352 FLUSH_STOP, also update the flag saying we haven't seen a
16355 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16357 Patch by: Paolo Borelli <pborelli at katamail dot com>
16359 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16360 (gst_plugin_check_license):
16361 minor clean-ups: G_DEFINE_TYPE already takes care of the
16362 parent_class stuff, no need to do it twice. Mark array of
16363 license strings as constant. (#337103)
16365 2006-04-04 Michael Smith <msmith@fluendo.com>
16367 * tools/gst-inspect.c: (print_element_list):
16368 Free the right plugin list; fixes a memory leak.
16370 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16372 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16374 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16375 Don't error out on empty buffers (#336945).
16377 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16379 * docs/libs/gstreamer-libs-sections.txt:
16380 * gst/gsttaglist.c:
16381 * libs/gst/base/gstbasesink.c:
16382 * libs/gst/base/gstbasesink.h:
16383 * libs/gst/base/gstbasesrc.c:
16384 * libs/gst/base/gstbasesrc.h:
16385 Documentation updates. Make BaseSink and BaseSrc docs contain the
16386 class structure so that people can actually see the prototypes for
16387 virtual functions they're supposed to be overriding.
16389 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16391 * plugins/elements/gsttypefindelement.c:
16392 (gst_type_find_element_chain):
16393 More debug info; when skipping typefinding, send cached
16394 events in all cases.
16396 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16399 use new AS_VERSION and AS_NANO macros
16400 * gst/gst-i18n-lib.h:
16403 * gst/gstversion.h.in:
16404 * win32/common/config.h:
16405 * win32/common/config.h.in:
16408 2006-03-31 Michael Smith <msmith@fluendo.com>
16410 * plugins/elements/gsttypefindelement.c:
16411 (gst_type_find_element_chain):
16412 Do not typefind content if the buffers already have caps.
16413 Neccesary for icydemux (#333657), and the right thing to do anyway.
16415 2006-03-30 Wim Taymans <wim@fluendo.com>
16417 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16418 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16419 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16420 (gst_base_sink_record_qos_observation),
16421 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16422 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16423 (gst_base_sink_change_state):
16424 More QoS measurements as described in the design doc.
16425 Get rid of ringbuffer with observations, running average is
16426 more simple and equally good.
16427 Calculates valid proportion now.
16428 Added beginning of flood measurement.
16430 2006-03-29 Wim Taymans <wim@fluendo.com>
16432 * docs/design/part-qos.txt:
16434 Small documentation updates and additions.
16436 2006-03-29 Wim Taymans <wim@fluendo.com>
16438 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16439 (gst_base_src_send_event), (gst_base_src_loop),
16440 (gst_base_src_change_state):
16441 Perform the EOS logic when we reach the segment stop position.
16442 Fix compilation on gcc4.1
16444 2006-03-29 Wim Taymans <wim@fluendo.com>
16446 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16448 * plugins/elements/gstqueue.c: (gst_queue_init),
16449 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16450 (gst_queue_set_property):
16451 * plugins/elements/gstqueue.h:
16452 In queue, when EOS is received, if minimum threshold > max_size -
16453 current_level, there is chance that queue blocks forever in conditional
16454 item del wait. This is because the queue is not emptied completely due
16455 to minimum threshold. Here is another approach. Instead of setting
16456 cur_levels to max in EOS, just zero all minimum threshold levels. This
16457 should make sure that queue gives out all data. When going to READY
16458 (stop) state, just reset the original minimum threshold levels.
16461 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16463 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16464 (gst_type_find_element_handle_event),
16465 (gst_type_find_element_send_cached_events),
16466 (gst_type_find_element_change_state):
16467 * plugins/elements/gsttypefindelement.h:
16468 When typefinding is done in push mode, we should cache
16469 events we receive during typefinding instead of just
16470 dropping them (e.g. newsegment, custom events from
16471 dvdreadsrc etc.) and then send them out once we've
16472 determined the type of the stream (and decodebin
16473 has had a chance to plug in a decoder/demuxer).
16475 2006-03-27 Wim Taymans <wim@fluendo.com>
16477 * docs/design/part-qos.txt:
16480 2006-03-27 Wim Taymans <wim@fluendo.com>
16482 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16484 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16485 (gst_base_src_send_event), (gst_base_src_change_state):
16486 Handle element seek correctly when we are streaming.
16489 2006-03-24 Michael Smith <msmith@fluendo.com>
16491 * docs/faq/gst-uninstalled:
16492 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16493 allow you to correctly run intalled applications built against old
16494 core, using plugins that require updated core (e.g. running
16495 installed totem against a full uninstalled gstreamer stack)
16497 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16502 2006-03-24 Wim Taymans <wim@fluendo.com>
16504 * docs/gst/gstreamer-sections.txt:
16505 Rearrange the order of the methods so that related methods
16506 are grouped together in sections.
16508 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16510 * gst/gstelement.c:
16511 Little clarification in the docs
16513 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16517 * plugins/elements/gstidentity.c:
16518 * plugins/elements/gstqueue.c:
16519 * plugins/elements/gsttee.c:
16520 * plugins/elements/gsttypefindelement.c:
16521 GST_ELEMENT_DETAILS formatting
16523 2006-03-24 Wim Taymans <wim@fluendo.com>
16525 * libs/gst/base/gstbasesink.h:
16526 Only add fields, not insert or we break ABI.
16528 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16530 * win32/common/libgstbase.def:
16531 * win32/common/libgstreamer.def:
16532 Update, add recently added functions.
16534 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16536 * docs/gst/gstreamer-sections.txt:
16537 * gst/gstutils.c: (gst_pad_query_peer_position),
16538 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16540 API: add some new utility functions:
16541 - gst_pad_query_peer_position()
16542 - gst_pad_query_peer_duration()
16543 - gst_pad_query_peer_convert()
16545 2006-03-23 Wim Taymans <wim@fluendo.com>
16547 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16548 (gst_base_sink_init), (gst_base_sink_finalize),
16549 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16550 (gst_base_sink_set_property), (gst_base_sink_get_property),
16551 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16552 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16553 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16554 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16555 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16556 (gst_base_sink_preroll_object), (gst_base_sink_event),
16557 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16558 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16559 (gst_base_sink_query), (gst_base_sink_change_state):
16560 Decouple max-lateness and the fact that QoS messages are generated
16561 with a new property (qos).
16562 added API: GstBaseSink::async_play()
16563 Add vmethod so subclasses can be notified of ASYNC playing
16565 Collect timestamp start and stop to report better current
16566 position in EOS/PLAYING/PAUSED/READY/NULL.
16567 Refactor QoS/frame dropping and other measurements.
16568 API: GstBaseSrc::qos
16571 * libs/gst/base/gstbasesink.h:
16572 Added Private struct.
16573 API: gst_base_sink_set_qos_enabled()
16574 API: gst_base_sink_is_qos_enabled()
16576 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16578 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16579 If compiling against GLib-2.8 or newer, try to read the
16580 registry file using GMappedFile first before falling back
16581 to fopen() + fread() (#332151).
16583 2006-03-22 Wim Taymans <wim@fluendo.com>
16585 * gst/gstinfo.c: (gst_debug_set_active),
16586 (gst_debug_category_set_threshold):
16587 Disable debugging unless explicitly activated.
16590 2006-03-22 Wim Taymans <wim@fluendo.com>
16592 * gst/gstelement.c: (gst_element_set_locked_state),
16593 (gst_element_dispose):
16594 Cleanup the error case.
16596 * gst/gstobject.c: (gst_object_dispose):
16597 print a critical when some object was disposed with
16598 a parent, also revive the object since it might
16601 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16603 * tools/gst-launch.1.in:
16606 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16609 * tests/check/Makefile.am:
16610 disable some tests when we don't have a registry
16611 * tests/check/gst/gstutils.c: (gst_utils_suite):
16612 don't build the part that needs parsing
16614 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16617 * tests/examples/Makefile.am:
16618 fix --disable-parse build
16620 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16622 * tools/gst-feedback.1.in:
16623 Fix typo: s/feeback/feedback/ (#133494).
16625 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16627 * tools/Makefile.am:
16628 * tools/gst-launch.1.in:
16629 Add FILES section and correct entry about GST_REGISTRY_PATH
16630 environment variable (#133495; #133494).
16632 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16634 * tools/Makefile.am:
16635 * tools/gst-md5sum.1.in:
16636 * tools/gst-md5sum.c:
16637 Remove gst-md5sum and man page (the md5sink element
16638 required was removed ages ago)
16640 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16642 * gst/gststructure.c: (gst_structure_id_set_value):
16643 Make sure that string fields in structures/taglists
16644 contain valid UTF-8 - we don't want to pass rubbish to
16645 applications because of a buggy plugin (cp. #334167).
16647 2006-03-21 Edward Hervey <edward@fluendo.com>
16649 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16650 (gst_bin_handle_message_func):
16651 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16652 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16653 (gst_element_set_bus_func):
16654 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16655 * gst/gstminiobject.c: (gst_value_set_mini_object),
16656 (gst_value_take_mini_object):
16657 * gst/gstpad.c: (gst_pad_set_pad_template):
16658 * gst/gstpipeline.c: (gst_pipeline_dispose),
16659 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16660 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16661 (gst_collect_pads_chain):
16662 * libs/gst/net/gstnettimeprovider.c:
16663 (gst_net_time_provider_set_property):
16664 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16665 It's in fact all issues with gst_*object_replace().
16667 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16669 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16671 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16672 * pkgconfig/gstreamer-check.pc.in:
16673 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16675 2006-03-21 Edward Hervey <edward@fluendo.com>
16679 * gst/gstmessage.h:
16680 gst_[buffer|event|message]_ref() macros are replaced by a static
16681 inline functions because gcc-4.1 will about if the return value
16683 * tests/check/gst/gstevent.c: (event_probe):
16684 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16686 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16689 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16690 the type' case. (Closes: #335195 for now). In the future, when we
16691 depend on GLib 2.10, we could also intern the type name using
16692 g_intern_static_string()
16694 2006-03-20 Wim Taymans <wim@fluendo.com>
16696 * gst/gstbin.c: (gst_bin_handle_message_func),
16697 (bin_query_max_init), (bin_query_position_fold),
16698 (bin_query_position_done), (gst_bin_query):
16699 Position query should also take max of all streams.
16701 2006-03-20 Wim Taymans <wim@fluendo.com>
16703 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16704 (gst_fake_src_finalize):
16705 Fix leaks in fakesrc.
16707 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16708 Fix leaks in the testcase.
16710 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16712 * gst/gst_private.h:
16713 add win32 specific import decoration(__declspec(dllimport))
16714 for all extern GstDebugCategory * variables
16715 * win32/common/libgstbase.def:
16716 * win32/common/libgstcontroller.def:
16717 * win32/common/libgstreamer.def:
16718 Add some exports, remove empty lines
16719 * win32/common/libgstdataprotocol.def:
16720 * win32/common/libgstdataprotocol.dsp:
16721 * win32/common/libgstnet.def:
16722 * win32/common/libgstnet.dsp:
16723 new project files and exportation files added
16725 2006-03-19 Wim Taymans <wim@fluendo.com>
16727 * tests/check/libs/basesrc.c: (eos_event_counter):
16728 Use proper return value for probe.
16730 2006-03-17 Wim Taymans <wim@fluendo.com>
16732 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16734 Don't leak buffers, caps and pads on negotiation errors.
16736 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16738 * docs/faq/cvs.xml:
16739 * docs/faq/dependencies.xml:
16740 * docs/faq/developing.xml:
16741 * docs/faq/faq.xml:
16742 * docs/faq/general.xml:
16743 * docs/faq/getting.xml:
16744 * docs/faq/legal.xml:
16745 * docs/faq/troubleshooting.xml:
16746 * docs/faq/using.xml:
16747 Faq review and update.
16749 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16751 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16753 Don't pound the cpu to pieces by checking get_caps when accept_caps
16754 is called with the same caps as the pad already has.
16755 Use GST_DEBUG_OBJECT when outputting caps change information.
16757 2006-03-15 Wim Taymans <wim@fluendo.com>
16759 * gst/gstclock.c: (gst_clock_class_init):
16762 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16767 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16768 (gst_pad_accept_caps), (gst_pad_configure_sink),
16769 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16770 Make the default acceptcaps behaviour be to check the requested
16771 caps against the gst_pad_get_caps output.
16773 Ensure that gst_pad_accept_caps is used to check caps when a pad
16774 doesn't have a setcaps function, so that pads automatically refuse
16775 caps that they don't allow in their pad template. (Fixes #332986)
16777 When a buffer with attached caps is pushed, ensure that the source
16778 pad receives those caps even if the element didn't call
16779 gst_pad_set_caps first.
16781 2006-03-15 Wim Taymans <wim@fluendo.com>
16783 * libs/gst/base/gstadapter.c:
16786 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16788 * win32/common/libgstbase.def:
16789 * win32/common/libgstcontroller.def:
16790 * win32/common/libgstreamer.def:
16791 Add a whole bunch of missing functions (#334434).
16793 2006-03-14 Wim Taymans <wim@fluendo.com>
16795 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16796 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16797 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16798 Better debug info when we receive a segment event.
16799 Reorganize a bit so we can pass the get_times() results around.
16800 Use the segment format when calculating the running time.
16801 Don't do QoS is sync is disabled or we have no clock or the
16802 element does not want us to sync to the clock.
16803 Don't drop buffers if QoS is disabled for now.
16805 2006-03-14 Wim Taymans <wim@fluendo.com>
16807 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16808 Marked the stats property as unimplemented so people don't get
16810 Add debug message when regression goes wrong.
16811 Added some more docs.
16813 2006-03-14 Wim Taymans <wim@fluendo.com>
16815 * gst/gstsegment.c: (gst_segment_to_stream_time):
16816 Return correct return type in case of errors.
16818 2006-03-14 Wim Taymans <wim@fluendo.com>
16820 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16821 Don't segfault on invalid formats.
16823 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16825 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16826 Can't use gst_segment_to_running_time() when the segment
16827 is not in GST_TIME_FORMAT (like with filesink, for example).
16828 Stops flac encoding pipelines from spewing critical warnings
16831 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16833 * gst/gstpipeline.c: (gst_pipeline_class_init):
16834 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16836 * plugins/elements/gsttypefindelement.c:
16837 (gst_type_find_element_handle_event):
16838 Don't try to typefind empty streams.
16840 2006-03-14 Wim Taymans <wim@fluendo.com>
16842 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16843 (gst_base_sink_do_qos):
16844 Separate QoS calculation.
16845 Only drop buffers when lateness is bigger than the
16846 duration of the buffer.
16848 2006-03-13 Wim Taymans <wim@fluendo.com>
16850 * gst/gstpipeline.c: (gst_pipeline_set_property),
16851 (gst_pipeline_get_property), (do_pipeline_seek),
16852 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16853 (gst_pipeline_get_delay):
16854 Don't deadlock when reading properties.
16856 2006-03-13 Wim Taymans <wim@fluendo.com>
16858 * libs/gst/base/gstbasetransform.c:
16859 (gst_base_transform_class_init), (gst_base_transform_init),
16860 (gst_base_transform_sink_event),
16861 (gst_base_transform_sink_eventfunc),
16862 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16863 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16864 (gst_base_transform_set_property),
16865 (gst_base_transform_get_property),
16866 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16867 (gst_base_transform_set_qos_enabled),
16868 (gst_base_transform_is_qos_enabled):
16869 * libs/gst/base/gstbasetransform.h:
16870 Make basetransform virtual method for src events too.
16871 Handle QOS in basetransform.
16872 API: gst_base_transform_update_qos()
16873 API: gst_base_transform_set_qos_enabled()
16874 API: gst_base_transform_is_qos_enabled()
16876 2006-03-13 Wim Taymans <wim@fluendo.com>
16878 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16879 (gst_base_sink_do_sync):
16881 Use QOS debug category.
16883 2006-03-13 Wim Taymans <wim@fluendo.com>
16885 * plugins/elements/gstqueue.c:
16886 Very small doc update.
16888 2006-03-13 Wim Taymans <wim@fluendo.com>
16890 * gst/gst_private.h:
16891 * gst/gstinfo.c: (_gst_debug_init):
16892 Added QOS debug category
16894 2006-03-13 Wim Taymans <wim@fluendo.com>
16896 * docs/gst/gstreamer-sections.txt:
16897 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16899 * gst/gstbus.c: (gst_bus_class_init):
16902 * gst/gstelement.c: (gst_element_set_locked_state):
16903 * gst/gstsegment.c:
16904 Documentation updates.
16906 * gst/gstpipeline.c: (gst_pipeline_get_type),
16907 (gst_pipeline_class_init), (gst_pipeline_init),
16908 (gst_pipeline_dispose), (gst_pipeline_set_property),
16909 (gst_pipeline_get_property), (do_pipeline_seek),
16910 (gst_pipeline_send_event), (gst_pipeline_change_state),
16911 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16912 (gst_pipeline_get_delay):
16913 * gst/gstpipeline.h:
16914 Added methods for setting the delay.
16915 API: gst_pipeline_set_delay()
16916 API: gst_pipeline_get_delay()
16917 Add pipeline debug category
16920 Don't reset stream time when seek failed.
16922 2006-03-13 Wim Taymans <wim@fluendo.com>
16924 * docs/design/draft-klass.txt:
16925 * docs/design/part-clocks.txt:
16926 * docs/design/part-events.txt:
16927 * docs/design/part-gstbin.txt:
16928 * docs/design/part-gstpipeline.txt:
16929 * docs/design/part-messages.txt:
16930 * docs/design/part-negotiation.txt:
16931 * docs/design/part-overview.txt:
16932 * docs/design/part-preroll.txt:
16933 * docs/design/part-seeking.txt:
16934 * docs/design/part-states.txt:
16935 * docs/design/part-streams.txt:
16936 Documentation updates.
16938 2006-03-12 Julien MOUTTE <julien@moutte.net>
16940 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16941 us to leak strings...
16943 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16945 * libs/gst/net/gstnettimeprovider.c:
16947 * win32/common/config.h:
16950 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16952 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16955 Don't check for libgnomeui (leftover from old examples
16956 that aren't built or disted any longer) (#334303).
16958 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16960 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16961 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16962 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16963 there's no space left on the device.
16965 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16968 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16969 to cast the input to GstClockTime before comparing with
16970 another GstClockTime value.
16972 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16977 === release 0.10.4 ===
16979 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16982 releasing 0.10.4, "Light"
16984 2006-03-10 Michael Smith <msmith@fluendo.com>
16986 * libs/gst/dataprotocol/dataprotocol.c:
16987 Fix docs for dataprocotol to not get the return types completely
16988 wrong for a few functions.
16990 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16992 * docs/gst/gstreamer-sections.txt:
16993 * gst/gstpipeline.c: (gst_pipeline_class_init),
16994 (gst_pipeline_init), (gst_pipeline_set_property),
16995 (gst_pipeline_get_property), (gst_pipeline_change_state),
16996 (gst_pipeline_set_auto_flush_bus),
16997 (gst_pipeline_get_auto_flush_bus):
16998 * gst/gstpipeline.h:
16999 Add new API: gst_pipeline_set_auto_flush_bus() and
17000 gst_pipeline_get_auto_flush_bus() to disable automatic
17001 flushing of the pipeline's GstBus when going from READY
17002 to NULL state (#332045).
17004 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17006 * docs/gst/gstreamer-sections.txt:
17007 * gst/gsturi.c: (gst_uri_has_protocol):
17009 Add new API: gst_uri_has_protocol() (#333779).
17011 2006-03-09 Wim Taymans <wim@fluendo.com>
17013 * gst/gstclock.c: (gst_clock_entry_new),
17014 (gst_clock_id_compare_func), (gst_clock_id_wait),
17015 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
17016 (gst_clock_init), (gst_clock_get_internal_time),
17017 (gst_clock_set_master), (do_linear_regression),
17018 (gst_clock_add_observation), (gst_clock_set_property):
17022 Fix a possible segfault when the window-size is made smaller.
17023 Calculate jitter before performing the clock wait. Ideally
17024 the clock implementation should calculate jitter but we need
17025 API breakage for that.
17027 * gst/gstsystemclock.c: (gst_system_clock_init):
17030 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17031 Remove leftover else
17033 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17034 (gst_systemclock_suite):
17035 Added check to test GST_CLOCK_DIFF.
17037 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17039 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17040 (gst_type_find_helper_get_range):
17041 If we are provided with the size, we should implement
17042 GstTypeFind::get_length, so that typefind functions who
17043 want to can actually peek at the middle of a file.
17045 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
17047 * docs/manual/advanced-dataaccess.xml:
17048 Add some very very basic error checking.
17050 * docs/pwg/appendix-checklist.xml:
17051 Some updates to the list of things to check when writing an element.
17053 2006-03-08 Wim Taymans <wim@fluendo.com>
17055 * docs/design/part-element-transform.txt:
17056 Added some docs about the design of tranform elements.
17058 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17059 (gst_base_src_loop), (gst_base_src_change_state):
17060 Mark buffers with the DISCONT flag.
17062 2006-03-08 Michael Smith <msmith@fluendo.com>
17064 * gst/gstregistry.h:
17065 * gst/gstregistryxml.c: (gst_registry_save),
17066 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17067 (gst_registry_xml_save_pad_template),
17068 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17069 (gst_registry_xml_write_cache):
17070 Rewrite registry-saving to avoid race conditions and check for
17073 2006-03-08 Wim Taymans <wim@fluendo.com>
17075 * libs/gst/base/gstbasetransform.c:
17076 (gst_base_transform_transform_caps),
17077 (gst_base_transform_transform_size),
17078 (gst_base_transform_prepare_output_buffer),
17079 (gst_base_transform_get_unit_size),
17080 (gst_base_transform_buffer_alloc),
17081 (gst_base_transform_handle_buffer),
17082 (gst_base_transform_change_state):
17083 Cleanups, separate normal flow from errors, add sensible
17085 Don't try to renegotiate when allocating an output buffer.
17086 Also copy DISCONT buffer flag when copying a buffer.
17087 Reset the transform after we finish streaming, not during.
17089 2006-03-08 Wim Taymans <wim@fluendo.com>
17091 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17092 Use last buffer timestamp in qos message.
17094 2006-03-07 Wim Taymans <wim@fluendo.com>
17096 Patch by: Christophe Fergeau
17098 * docs/pwg/advanced-tagging.xml:
17099 * docs/pwg/building-pads.xml:
17102 2006-03-07 Wim Taymans <wim@fluendo.com>
17104 * docs/libs/gstreamer-libs-sections.txt:
17105 Added basesink new methods.
17109 Docs updates. Flesh out the QoS docs.
17111 * libs/gst/base/gstadapter.c:
17112 Small doc clarification about ownership and flushing.
17114 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17115 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17116 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17117 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17118 * libs/gst/base/gstbasesink.h:
17120 Added new methods to allow subclass to control max-lateness
17122 Generate very basic QoS events based on last sync observation.
17123 Updated docs, fix typo, added some QoS blurb.
17125 * libs/gst/base/gstbasesrc.c:
17126 Remove obsolete _get_state() calls from docs.
17128 2006-03-07 Wim Taymans <wim@fluendo.com>
17130 * docs/libs/gstreamer-libs-sections.txt:
17131 * libs/gst/base/gstbasetransform.h:
17132 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17133 Fix docs for GstBaseSrc.
17135 2006-03-07 Wim Taymans <wim@fluendo.com>
17137 * docs/gst/gstreamer-sections.txt:
17140 * libs/gst/base/gstbasetransform.h:
17141 Small documentation fixes.
17143 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17146 Document thread-unsafety of gst_value_register_foo_func()
17147 when used at the same time as gst_value_foo() (#322628).
17149 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17151 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17152 (gst_push_src_check_get_range):
17153 Push sources don't support pull mode by default.
17155 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17157 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17158 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17159 (gst_base_src_default_check_get_range):
17160 * libs/gst/base/gstbasesrc.h:
17161 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17162 provide default implementation, and rename
17163 gst_base_src_check_get_range() to
17164 gst_base_src_pad_check_get_range() for clarity.
17166 2006-03-06 Wim Taymans <wim@fluendo.com>
17168 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17169 Make property overridable.
17171 2006-03-06 Wim Taymans <wim@fluendo.com>
17173 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17174 (gst_base_sink_init), (gst_base_sink_set_property),
17175 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17176 * libs/gst/base/gstbasesink.h:
17177 API addition: Make max-lateness a property.
17179 2006-03-06 Wim Taymans <wim@fluendo.com>
17181 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17182 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17183 Don't ever draw a frame that is >10ms late.
17185 2006-03-06 Michael Smith <msmith@fluendo.com>
17187 * gst/gstmessage.c: (_gst_message_copy):
17188 When copying a message, set the parent_refcount of the enclosed
17189 structure to point at the copy, not the original message.
17191 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17193 Patch by: Christophe Fergeau
17196 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17197 usable in c++ code (#333417)
17199 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17202 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17204 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17206 * libs/gst/base/gstbasetransform.c:
17207 (gst_base_transform_transform_caps):
17208 Make sure caps are writable before passing them to
17211 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17214 Fix some minor docs errors.
17216 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17218 Patch by: Ross Burton <ross at burtonini dot com>
17220 * gst/gsterror.c: (_gst_resource_errors_init):
17222 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17224 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17227 Add a check and output a g_warning when GStreamer is built
17228 against GLib 2.6 but running against 2.8 or higher, and vice
17229 versa. (Closes: #323542)
17231 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17233 * gst/parse/parse.l:
17234 Commit patch for parse_launch syntax from #331255. Removes
17235 support for quoted strings and mimetypes when writing filtered
17236 caps. See the bug report for more details - I'm pretty sure this
17237 obscure feature is not in use by _anyone_ anywhere.
17239 With this simple change, the size of the gstreamer.so here
17240 drops from 2193KB to 1565KB.
17242 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17244 * plugins/elements/gsttypefindelement.h:
17245 * plugins/elements/gsttypefindelement.c:
17246 (gst_type_find_element_src_event), (start_typefinding),
17247 (stop_typefinding), (gst_type_find_element_handle_event),
17248 (gst_type_find_element_chain),
17249 (gst_type_find_element_chain_do_typefinding):
17250 Use gst_type_find_helper_for_buffer() for chain-based
17253 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17255 * plugins/elements/gsttypefindelement.c:
17256 (gst_type_find_element_class_init),
17257 (gst_type_find_element_set_property),
17258 (gst_type_find_element_get_property):
17259 Deprecate "maximum" property (not only was it only taken into
17260 account for typefinding in push-mode anyway, it also was never
17261 actually possible to set it in the first place because the
17262 property was registered with the numeric property ID for the
17263 "minimum" property). Register "maximum" property correctly,
17264 for the sake of future copy'n'pasters. Remove some cruft
17265 from property get/set functions.
17267 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17269 * plugins/elements/gsttypefindelement.c:
17270 (gst_type_find_element_activate):
17271 Use gst_type_find_helper_get_range() here, so we
17272 can honour the "minimum" property and also emit
17273 the signal with the correct probability of the found caps.
17275 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17277 * docs/libs/gstreamer-libs-sections.txt:
17278 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17279 (helper_find_suggest), (gst_type_find_helper_get_range),
17280 (gst_type_find_helper):
17281 * libs/gst/base/gsttypefindhelper.h:
17282 New API: gst_type_find_helper_get_range() (#333042).
17284 2006-03-02 Michael Smith <msmith@fluendo.com>
17286 * gst/gstregistryxml.c: (load_feature):
17287 Asserting on a failure to read part of the registry is Not Cool.
17288 Just log a warning and return NULL (which is already handled)
17290 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17292 * win32/common/libgstbase.def:
17293 added export of gst_type_find_helper_for_buffer
17294 * win32/common/libgstbase.def:
17295 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17296 gst_ghost_pad_get_target
17298 2006-02-28 Wim Taymans <wim@fluendo.com>
17300 * docs/design/draft-klass.txt:
17302 Added Connector to mark elements that are only used to
17303 allow pipeline connections.
17304 Moved Debug to extra feature since most of them are
17305 functionally something else.
17307 2006-02-28 Wim Taymans <wim@fluendo.com>
17309 * docs/design/draft-klass.txt:
17310 Some updates and clarifications.
17312 2006-02-28 Wim Taymans <wim@fluendo.com>
17314 * docs/design/draft-klass.txt:
17315 Proposal for klass field values.
17317 * docs/design/part-streams.txt:
17318 Start of a doc describing stream anatomy.
17320 2006-02-28 Wim Taymans <wim@fluendo.com>
17322 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17323 Help the compiler a bit with type registration.
17324 Use existing forward cod path instead of duplicating it when
17325 handling a message.
17327 * gst/gstbus.c: (gst_bus_get_type):
17328 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17329 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17330 * gst/gstclock.c: (gst_clock_get_type):
17331 * gst/gstelement.c: (gst_element_get_type),
17332 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17333 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17334 * gst/gstminiobject.c: (gst_mini_object_get_type):
17335 * gst/gstpad.c: (gst_pad_get_type):
17336 * gst/gstsegment.c: (gst_segment_get_type):
17337 * gst/gststructure.c: (gst_structure_get_type):
17338 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17339 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17341 Help compiler with type registration.
17343 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17346 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17348 * plugins/elements/gsttypefindelement.c:
17349 (gst_type_find_element_handle_event):
17350 When we get an EOS event and have not found a type yet
17351 (most likely because we had not yet accumulated
17352 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17353 type given the data we have so far. Fixes typefinding
17354 for very short streams again, most notably quicktime
17355 redirections as used on Apple's trailer site (#331701).
17357 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17359 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17360 (gst_type_find_helper):
17361 Try typefinding factories with the highest rank first.
17363 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17365 * docs/libs/gstreamer-libs-docs.sgml:
17366 * docs/libs/gstreamer-libs-sections.txt:
17367 * libs/gst/base/gsttypefindhelper.c:
17368 Add section for typefind helper and add documentation
17369 for the old and the new function.
17371 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17373 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17374 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17375 (gst_type_find_helper_for_buffer):
17376 * libs/gst/base/gsttypefindhelper.h:
17377 New API: gst_type_find_helper_for_buffer() (#332723).
17379 2006-02-27 Michael Smith <msmith@fluendo.com>
17381 Patch by: Loïc Minier
17384 * docs/Makefile.am:
17385 * docs/slides/Makefile.am:
17386 prevent CVS directories getting disted.
17388 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17390 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17391 Use the REFCOUNTING category for caps refcounting.
17393 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17395 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17396 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17398 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17400 * plugins/elements/gsttypefindelement.c:
17401 (gst_type_find_element_activate):
17402 Use gst_pad_check_pull_range() before _activate_pull()
17403 to avoid unnecessary open/close (see #331690).
17405 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17408 Docs enhancement: make it crystal clear what the
17409 gst_pad_add_*_probe() callbacks should look like.
17411 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17413 * libs/gst/base/gstbasesrc.c:
17414 Document how applications can stop recording from
17415 live sources (see #330996).
17417 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17419 * tests/check/Makefile.am:
17420 * tests/check/libs/basesrc.c: (eos_event_counter),
17421 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17422 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17423 (gst_basesrc_suite), (main):
17424 ... and add some tests for the base source EOS stuff.
17426 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17428 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17429 Test case originally showed the problem fixed below,
17430 but was then amended. Add checks back at the place
17431 where they used to be.
17433 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17435 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17436 (gst_base_src_init), (gst_base_src_loop),
17437 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17438 (gst_base_src_change_state):
17439 * libs/gst/base/gstbasesrc.h:
17440 Don't unconditionally send EOS when going from PAUSED to
17441 READY state, esp. make sure we don't send two EOS events
17442 in some cases (e.g. one when reaching EOS and one when
17443 going from PAUSED to READY). Also, we don't want to send
17444 EOS events when operating in pull mode. However, we do
17445 want to send an EOS event when shutting down a live
17446 source explicitly, for example (fixes #330996).
17448 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17450 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17451 Update src->read_position after a seek when not using mmap.
17452 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17454 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17460 Make things work with --disable-parse as they do with
17461 --disable-load-save - the symbols involved disappear, but the
17462 header is still installed and GST_DISABLE_PARSE is included via
17465 2006-02-20 Julien MOUTTE <julien@moutte.net>
17467 * libs/gst/base/gstbasetransform.c:
17468 (gst_base_transform_change_state): Fix a stupid bug. I was
17469 sure I compiled that.
17471 2006-02-20 Julien MOUTTE <julien@moutte.net>
17473 * gst/gstpad.c: (gst_pad_set_blocked_async):
17474 * gst/gstutils.c: (gst_pad_add_data_probe),
17475 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17476 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17477 (gst_pad_remove_buffer_probe): Make those function act on the
17478 ghostpad target when it's a ghostpad. (Closes #331727)
17480 2006-02-20 Julien MOUTTE <julien@moutte.net>
17482 * libs/gst/base/gstbasetransform.c:
17483 (gst_base_transform_change_state): Make basetransform reusable.
17486 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17488 * docs/random/release:
17489 Move the current documentation of how to do a release to the top
17492 * gst/gstbin.c: (gst_bin_class_init),
17493 (gst_bin_handle_message_func):
17494 Allow multiple state-recalculation threads. (Closes #328873)
17496 2006-02-19 Julien MOUTTE <julien@moutte.net>
17498 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17499 * gst/gstpad.c: (gst_pad_set_event_function),
17500 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17501 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17502 2 strings. You can't use the STR_NULL macro on that.
17504 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17506 * gst/gstpad.c: (gst_pad_set_event_function),
17507 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17508 (gst_pad_set_getcaps_function)
17509 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17510 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17511 So now, we can use --gst-debug-level=5 on Windows
17512 * win32/common/libgstcontroller.def:
17513 Added export of gst_controller_init
17514 * win32/vs6/libgstcontroller.dsp:
17515 Fixed Release post build configuration
17517 2006-02-17 Wim Taymans <wim@fluendo.com>
17519 * tests/check/gst/gstquery.c: (GST_START_TEST):
17520 Added another check.
17522 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17524 * plugins/elements/gsttypefindelement.c: (find_peek):
17525 We can do peeks at non-zero offsets, as long as they
17526 fall within the buffer we have.
17528 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17530 * tests/check/Makefile.am:
17531 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17532 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17533 (parse_suite), (main):
17534 Add testsuite for parse launch syntax
17536 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17538 * plugins/elements/gsttypefindelement.c:
17539 (gst_type_find_element_chain):
17540 When typefinding is unsuccessful in the chain function, don't
17541 error out immediately. Only error out with NO_CAPS_FOUND if
17542 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17543 otherwise simply wait for more data so we can try typefinding
17544 again with more data later. Also, don't attempt to typefind
17545 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17546 this should improve typefinding from network sources where the
17547 size of the first buffer can be somewhat random.
17549 2006-02-14 Wim Taymans <wim@fluendo.com>
17551 * docs/gst/gstreamer-sections.txt:
17552 * gst/gstpadtemplate.c:
17553 * gst/gstpadtemplate.h:
17554 Fix padtemplate docs, fixes #328805.
17556 2006-02-14 Wim Taymans <wim@fluendo.com>
17558 * tools/gst-launch.c: (main):
17559 NO_PREROLL is not an ERROR so don't send confusing messages
17562 2006-02-14 Wim Taymans <wim@fluendo.com>
17564 Patch by: Torsten Schoenfeld
17566 * gst/gstregistry.c: (gst_registry_get_default),
17567 (_gst_registry_cleanup):
17568 Protect default registry with lock and ref/sink it.
17571 2006-02-14 Wim Taymans <wim@fluendo.com>
17574 * gst/gstquery.c: (gst_query_list_add_format),
17575 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17576 (gst_query_parse_formats_nth):
17577 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17580 2006-02-14 Wim Taymans <wim@fluendo.com>
17582 * docs/gst/gstreamer-sections.txt:
17583 Reworked query docs.
17585 * gst/gstquery.c: (gst_query_new_formats),
17586 (gst_query_list_add_format), (gst_query_set_formats),
17587 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17588 (gst_query_parse_formats_nth):
17590 Flesh out formats query, added some new methods.
17591 Fix part of #324398.
17593 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17594 Added query creation tests.
17596 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17598 * gst/gstpad.c: (fixate_value):
17599 Add a default fixation for fraction lists.
17601 2006-02-13 Wim Taymans <wim@fluendo.com>
17603 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17604 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17607 Detect and warn for obvious deadlocks. fixes #320340
17608 Fix error case where lock was not released.
17610 * tests/check/Makefile.am:
17611 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17612 (task_func), (gst_element_suite), (main):
17615 2006-02-13 Wim Taymans <wim@fluendo.com>
17617 * docs/gst/gstreamer-sections.txt:
17619 Add new functions to docs.
17621 2006-02-13 Wim Taymans <wim@fluendo.com>
17623 * docs/design/part-TODO.txt:
17624 Updated TODO list, basesrc supports seeking to non-bytes
17627 * docs/design/part-element-sink.txt:
17630 * gst/gstbin.c: (bin_replace_message),
17631 (gst_bin_handle_message_func):
17632 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17633 * gst/gstevent.c: (gst_event_finalize):
17634 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17635 (gst_pad_send_event):
17636 Use shiny new _TYPE_NAME macros.
17638 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17639 Move debug statement up.
17641 * gst/gstelement.c: (gst_element_set_locked_state):
17642 Add some debugging.
17644 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17646 * docs/gst/gstreamer-sections.txt:
17647 * gst/gstmessage.h:
17649 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17650 macros (#330906). Also, document the already existing
17651 GST_QUERY_TYPE macro.
17653 2006-02-13 Wim Taymans <wim@fluendo.com>
17655 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17656 (event_probe), (GST_START_TEST):
17657 Only events up to the pipeline EOS are counted, there are
17658 some more when going to NULL currently which we don't care
17661 2006-02-13 Wim Taymans <wim@fluendo.com>
17663 * gst/gstpad.c: (gst_pad_send_event):
17664 Correctly check flushing and emit probes. fixes #330125
17666 2006-02-10 Andy Wingo <wingo@pobox.com>
17668 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17670 (gst_bus_init): Cache the location of the private data in the
17671 instance structure.
17672 (gst_bus_enable_sync_message_emission)
17673 (gst_bus_disable_sync_message_emission): Implement new public
17675 (gst_bus_post): Emit the sync-message signal if the user asked for
17678 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17679 location of the bus-private structure.
17680 (gst_bus_enable_sync_message_emission)
17681 (gst_bus_disable_sync_message_emission): API addition
17683 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17685 Patch by: Vincent Torri
17687 * docs/pwg/building-boiler.xml:
17688 PWG patch from #326800
17690 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17693 * docs/Makefile.am:
17694 * docs/design/Makefile.am:
17697 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17702 === release 0.10.3 ===
17704 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17707 releasing 0.10.3, "Like a virgin"
17709 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17712 2nd prerelease of 0.10.3
17713 Bump libtool versioning.
17715 2006-02-07 Andy Wingo <wingo@pobox.com>
17717 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17718 update last_stop if we're in TIME format and the timestamp is
17721 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17722 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17723 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17724 If we get a new newsegment with a different format, adapt
17727 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17728 of 0. Not a problem, really.
17730 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17733 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17738 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17741 project files updated to the default vs7 configuration
17742 * win32/common/libgstbase.def:
17743 * win32/common/libgstreamer.def:
17745 removed empty lines,
17746 sorted all exported symbols alphabetically
17747 * win32/common/dirent.c:
17748 * win32/common/dirent.h:
17749 * win32/common/gchar.h:
17750 use windows line end.
17752 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17754 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17755 Send EOS event when stopping.
17757 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17760 Tell folks what to do if the plugin-foobar.xml file
17761 hasn't been generated for a newly-added plugin.
17763 2006-02-05 Julien MOUTTE <julien@moutte.net>
17765 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17766 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17767 (gst_collect_pads_start), (gst_collect_pads_stop),
17768 (gst_collect_pads_event): Collectpads now holds a reference
17769 to the GstPad that was added. Indeed we don't want to look
17770 at pads that might just go away with no warning...
17772 2006-02-05 Julien MOUTTE <julien@moutte.net>
17774 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17775 (gst_collect_pads_start), (gst_collect_pads_stop),
17776 (gst_collect_pads_event), (gst_collect_pads_chain):
17777 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17778 Mark Nauwelaerts's patch on bug #328491.
17780 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17782 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17784 Add some simple tests for gst_parse_bin_from_description() and
17785 gst_bin_find_unconnected_pad() (#329069).
17787 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17789 * tools/gst-launch.c: (event_loop), (main):
17790 Catch errors during preroll (#320084).
17792 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17794 * plugins/elements/gsttypefindelement.c:
17795 (gst_type_find_element_activate):
17796 Post TYPE_NOT_FOUND error message when typefinding
17797 is unsuccessful in the activate function as well.
17799 2006-02-02 Wim Taymans <wim@fluendo.com>
17801 * docs/design/part-element-sink.txt:
17804 2006-02-02 Wim Taymans <wim@fluendo.com>
17806 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17807 (gst_base_sink_render_object),
17808 (gst_base_sink_queue_object_unlocked):
17809 Only keep track of prerollable items when we are
17811 Before rendering after preroll, always check if we
17813 Added some more debugging.
17815 2006-02-02 Wim Taymans <wim@fluendo.com>
17817 * gst/gstelement.c: (gst_element_continue_state),
17818 (gst_element_set_state_func), (gst_element_change_state):
17819 Fixed #326576, been running this for quite some time with
17820 no regressions at all.
17822 2006-02-02 Wim Taymans <wim@fluendo.com>
17825 Added more suppressions
17827 2006-02-02 Wim Taymans <wim@fluendo.com>
17829 * docs/design/part-element-sink.txt:
17832 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17833 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17834 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17835 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17836 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17837 (gst_base_sink_preroll_object),
17838 (gst_base_sink_queue_object_unlocked),
17839 (gst_base_sink_queue_object), (gst_base_sink_event),
17840 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17841 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17842 (gst_base_sink_get_position), (gst_base_sink_change_state):
17843 * libs/gst/base/gstbasesink.h:
17844 Totally refactored matching the design doc.
17845 Use two segments, one to clip incomming buffers and another to
17847 Handle queueing correctly, bypass the queue when playing.
17848 Make EOS cancelable.
17849 Handle errors correctly when operating in pull based mode.
17851 * tests/check/elements/fakesink.c: (GST_START_TEST),
17853 Added new check for sinks.
17855 2006-02-02 Wim Taymans <wim@fluendo.com>
17857 * gst/gstsegment.c: (gst_segment_clip):
17858 No reason to refuse to clip when start == -1
17860 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17863 * docs/manual/intro-basics.xml:
17864 * docs/manual/intro-preface.xml:
17865 * docs/manual/manual.xml:
17866 * docs/pwg/advanced-dparams.xml:
17867 * docs/pwg/intro-basics.xml:
17868 * docs/pwg/intro-preface.xml:
17869 * docs/pwg/pwg.xml:
17870 describe dparams (controller) for plugins
17871 unify docs a little more
17873 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17875 * docs/gst/gstreamer-sections.txt:
17876 * gst/gstutils.c: (element_find_unconnected_pad),
17877 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17879 Add new API: gst_parse_bin_from_description() and
17880 gst_bin_find_unconnected_pad() (#329069).
17882 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17884 * docs/manual/README:
17885 uncover a nasty detail of the docs build
17887 2006-01-31 Wim Taymans <wim@fluendo.com>
17889 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17890 Don't cache duration messages if we're not going to use or
17893 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17895 * docs/manual/advanced-dparams.xml:
17896 * docs/pwg/advanced-dparams.xml:
17900 * libs/gst/controller/lib.c: (gst_controller_init):
17903 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17905 * gst/gstelement.c: (gst_element_message_full):
17906 also show file/line/func if no additional debug was given
17908 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17910 * win32/vs7/grammar.vcproj:
17911 activate copy of autogenerated files for Release mode
17913 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17915 * win32/common/libgstreamer.def:
17916 export gst_value_compare
17918 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17920 * plugins/elements/Makefile.am:
17921 * plugins/elements/gstelements.c:
17922 * plugins/elements/gstfdsink.c: (_do_init),
17923 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17924 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17925 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17926 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17927 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17928 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17929 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17930 * plugins/elements/gstfdsink.h:
17931 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17933 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17935 * docs/manual/advanced-dparams.xml:
17936 describe controller
17937 * docs/manual/advanced-position.xml:
17938 * docs/manual/basics-init.xml:
17939 * docs/manual/manual.xml:
17940 * docs/manual/titlepage.xml:
17941 * docs/pwg/pwg.xml:
17942 * docs/pwg/titlepage.xml:
17943 cleanup xml (more to come)
17944 * libs/gst/controller/gstcontroller.c:
17947 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17949 * win32/vs6/grammar.dsp:
17950 add autogen of gstmarshal.c,h for Release mode
17952 2006-01-30 Wim Taymans <wim@fluendo.com>
17954 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17955 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17956 (gst_base_sink_handle_object), (gst_base_sink_event),
17957 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17958 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17959 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17960 (gst_base_sink_deactivate), (gst_base_sink_activate),
17961 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17962 (gst_base_sink_query), (gst_base_sink_change_state):
17963 Basesink cleanups, remove some old code.
17964 Handle the case where a subclass can preroll in the render
17965 method (mostly audiosinks).
17966 Handle more events.
17967 Remove some locks around variables that are now protected
17968 with the PREROLL_LOCK (clock_id, flushing, ..).
17969 Optimize position query some more, do correct locking.
17970 Remove old code to push queue in state change, this is not
17971 needed anymore since preroll blocks on all prerollable items
17973 Almost implemented as described in design doc.
17975 2006-01-30 Wim Taymans <wim@fluendo.com>
17977 * tests/check/gst/gstbin.c: (GST_START_TEST):
17978 Wait for refcount to settle down before checking.
17980 2006-01-30 Wim Taymans <wim@fluendo.com>
17982 * docs/design/part-element-sink.txt:
17983 Pseudo code overview of desired sink behaviour regarding
17986 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17987 * win32/vs6/grammar.dsp:
17988 fix some bugs in Release mode for autogenerated files
17990 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17991 * win32/common/libgstbase.def:
17992 * win32/common/libgstreamer.def:
17993 export some new symbols: gst_base_src_set_format,
17994 gst_iterator_next, gst_structure_set_valist
17996 2006-01-29 Julien MOUTTE <julien@moutte.net>
17998 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17999 Set pad functions unconditionally. Fixes #329105.
18001 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
18003 add vs8 project files created by Sergey Scobich
18005 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
18007 * gst/gstutils.c: (gst_element_unlink_pads):
18008 Don't leak pad references.
18010 * tests/check/elements/fakesink.c: (GST_START_TEST):
18011 * tests/check/generic/sinks.c: (GST_START_TEST):
18012 * tests/check/generic/states.c: (GST_START_TEST):
18013 * tests/check/gst/gstbin.c: (GST_START_TEST):
18014 * tests/check/gst/gstcaps.c: (GST_START_TEST):
18015 * tests/check/gst/gstelement.c: (GST_START_TEST):
18016 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
18017 * tests/check/gst/gstiterator.c: (GST_START_TEST):
18018 * tests/check/gst/gstvalue.c: (GST_START_TEST):
18019 Fix a bunch of leaks. Make generic/sinks.c
18020 use a bit less cpu by slowing the buffer rate
18021 between fakesrc and fakesink.
18023 2006-01-27 Stefan Kost <ensonic@users.sf.net>
18025 * gst/gstelement.c: (gst_element_send_event):
18028 * gst/gstiterator.c:
18029 * gst/gstiterator.h:
18030 * gst/gstpad.c: (gst_pad_send_event):
18031 * gst/gststructure.c:
18035 * libs/gst/base/gstadapter.c:
18036 doc fixes, to link to function, just write gst_cool_function(), don't
18039 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18041 * plugins/elements/gsttee.c: (gst_tee_do_push),
18042 (gst_tee_handle_buffer):
18043 Always prefer an actual return value from a src
18044 pad in place of NOT_LINKED. This means we return
18045 WRONG_STATE when all src pads are WRONG_STATE
18046 instead of NOT_LINKED.
18048 Lock when replacing the last message to prevent
18049 racing with the get_property method.
18053 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18055 * tests/check/Makefile.am:
18056 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18058 Add a very simple check that should have caught the memleak I fixed
18059 last night (if not for the slice allocator hiding it)
18061 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18063 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18064 (gst_bin_remove_func), (gst_bin_handle_message_func),
18065 (bin_query_duration_fold), (bin_query_generic_fold):
18066 Clean up references to the clock provider when disposed or when
18067 handling a clock-lost message from it.
18069 Unref sinks when performing a query via gst_iterator_fold, as the
18070 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18072 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18073 (gst_clock_set_master):
18074 Drop our reference to the master clock, if any, when we are disposed.
18076 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18077 Chain up in dispose.
18079 2006-01-26 Wim Taymans <wim@fluendo.com>
18081 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18082 Add some debugging.
18084 2006-01-26 Julien MOUTTE <julien@moutte.net>
18086 * plugins/elements/gsttee.c: (gst_tee_do_push),
18087 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18088 handles pad being NOT_LINKED or in WRONG_STATE.
18090 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18095 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18098 remove obsolete entry
18100 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18102 * docs/gst/gstreamer-sections.txt:
18103 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18104 (gst_bin_iterate_sources), (gst_bin_send_event):
18106 * gst/gstelement.c: (gst_element_send_event):
18108 * gst/gstpad.c: (gst_pad_send_event):
18109 added code for downstream events, reviewed docs in gstevent.c
18111 2006-01-25 Julien MOUTTE <julien@moutte.net>
18113 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18114 We only query position using the clock in the playing state.
18115 Query peer in the other cases.
18116 * win32/common/config.h: Updates.
18118 2006-01-24 Wim Taymans <wim@fluendo.com>
18120 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18121 A clock entry that is scheduled for the exact time of the
18122 clock is still in time.
18124 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18125 (gst_base_sink_do_sync):
18126 Add some more debug info.
18128 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18131 Add new vs7 project files and solution.
18133 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18136 all files removed as they were out-dated.
18138 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18140 * docs/random/release:
18142 * gst/gstbin.c: (gst_bin_init):
18143 * gst/gstbus.c: (gst_bus_new):
18145 * gst/gstpipeline.c: (gst_pipeline_init):
18146 use gst_bus_new(), improve logging, fix docs
18147 * win32/common/config.h:
18148 update for cvs build
18150 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18153 up required version of automake to 1.7
18155 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18157 * win32/common/libgstreamer.def:
18158 export gst_buffer_is_metadata_writable
18160 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18162 * docs/gst/gstreamer-sections.txt:
18164 Add gst_event_replace() (#327001)
18166 2006-01-20 Wim Taymans <wim@fluendo.com>
18168 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18169 Make it actually compile too..
18171 2006-01-20 Wim Taymans <wim@fluendo.com>
18174 Clarify behaviour of _is_equal() when passing NULL parameters.
18176 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18177 (gst_pad_set_caps):
18178 Cleanups. Don't unref NULL caps.
18179 When setting the same caps, protect caps of the pad with
18181 Use full functionality of _is_equal() when comparing caps.
18183 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18185 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18186 Don't loop infinitely if there are no buffers to present. Partially
18187 fixes #327197, but collectpads is just broken for reusing elements
18188 to do multiple encodes atm.
18190 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18192 * tools/gst-inspect.c: (print_element_features):
18193 * tools/gst-xmlinspect.c: (main):
18194 URL_HANDLER is not a plugin feature we can search for in
18197 2006-01-19 Edward Hervey <edward@fluendo.com>
18199 * gst/gstelement.c: (gst_element_pads_activate):
18200 When activating, do src pads first, then sink pads.
18201 When de-activating, do sink pads first, then src pads.
18203 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18205 * docs/gst/gstreamer-sections.txt:
18206 Add gst_index_add_associationv to the docs
18208 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18213 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18214 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18215 Do some refactoring. Doesn't actually change functionality,
18216 but makes landing the DRAIN event easier later.
18218 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18220 * docs/pwg/advanced-scheduling.xml:
18221 Update from 0.9.x to 0.10 API and make example a bit
18224 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18226 * docs/gst/gstreamer-sections.txt:
18227 Add gst_buffer_(is|make)_metadata_writable methods.
18229 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18231 * docs/design/part-sparsestreams.txt:
18232 Update sparse streams doc, hopefully for greater clarity
18234 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18236 * docs/design/part-events.txt:
18237 Remove mention of FILLER events.
18240 * docs/design/part-sparsestreams.txt:
18241 Write some things about using NEWSEGMENT to keep sparse streams
18244 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18246 * gst/gstbin.c: (gst_bin_dispose):
18247 Guard gst_object_unref call against a NULL object (dispose
18248 can theoretically be called multiple times).
18250 2006-01-18 Wim Taymans <wim@fluendo.com>
18252 * gst/gstbin.c: (gst_bin_element_set_state):
18253 * gst/gstclock.c: (gst_clock_id_wait):
18254 Added some more debug info.
18256 * libs/gst/base/gstadapter.c:
18259 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18260 (gst_base_sink_do_sync), (gst_base_sink_chain):
18261 Added some comments.
18263 2006-01-18 Wim Taymans <wim@fluendo.com>
18265 * tests/check/Makefile.am:
18266 * tests/check/elements/fakesink.c: (chain_async_buffer),
18267 (chain_async), (chain_async_return), (GST_START_TEST),
18268 (fakesink_suite), (main):
18269 Added fakesink test that checks prerolling and clipping
18272 * tests/check/gst/gstutils.c: (GST_START_TEST):
18273 Make check run faster so that buildbots don't timeout.
18275 2006-01-18 Wim Taymans <wim@fluendo.com>
18277 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18278 (gst_base_sink_do_sync):
18280 When the sink finishes blocking on the preroll buffer, it can
18281 immediatly render it instead of rendering when the next buffer
18284 2006-01-18 Wim Taymans <wim@fluendo.com>
18286 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18287 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18288 (gst_base_sink_chain):
18290 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18291 Don't store _last_stop if the buffer is dropped.
18293 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18295 * plugins/elements/gsttypefindelement.c:
18296 (gst_type_find_element_class_init):
18297 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18298 object method handler that sets the caps on the pad and we want
18299 that to happen before we emit the signal (fixes e.g. feeding a
18300 plain text file to decodebin).
18302 2006-01-18 Christian Schaller <Christian@fluendo.com>
18304 * gst/gstplugin.c: Add MPL and Proprietary as license options
18306 2006-01-18 Andy Wingo <wingo@pobox.com>
18308 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18309 symbol was exported before, it appears this was just an oversight.
18311 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18313 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18314 prototype to gint. OK since this prototype was not in the header.
18316 2006-01-17 Andy Wingo <wingo@pobox.com>
18318 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18319 registry while we remove plugins.
18321 * tools/gst-inspect.c (print_element_info): Don't unref the
18322 factory arg, that should be the responsibility of whatever code
18323 received the ref. Fixes a double-free when called from
18324 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18325 (main): Unref the factory if we have one.
18326 (print_element_list): No change -- relies on the
18327 plugin_feature_list_free to free the list of features.
18329 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18331 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18332 (gst_buffer_make_metadata_writable):
18334 * libs/gst/base/gstbasetransform.c:
18335 (gst_base_transform_prepare_output_buf):
18336 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18337 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18338 Replace gst_buffer_(make|is)_metadata_writable patch now
18339 that the release is out.
18341 2006-01-17 Andy Wingo <wingo@pobox.com>
18343 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18344 in the present tense without reference to versions.
18346 * gst/gstregistry.c (gst_registry_add_plugin)
18347 (gst_registry_remove_plugin, gst_registry_remove_feature)
18348 (gst_registry_find_feature, gst_registry_get_feature_list)
18349 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18350 (gst_registry_lookup, gst_registry_scan_path)
18351 (_gst_registry_remove_cache_plugins)
18352 (gst_registry_get_feature_list_by_plugin): Add argument
18355 === release 0.10.2 ===
18357 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18360 releasing 0.10.2, "If man is five"
18362 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18366 * libs/gst/base/gstbasetransform.c:
18367 (gst_base_transform_prepare_output_buf):
18368 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18369 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18370 Back out patch until after the release.
18372 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18374 * gst/gstminiobject.c:
18375 Spelling fix in docs.
18376 * ChangeLog - remove conflict indicator
18378 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18380 Reviewed By: Andy Wingo
18382 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18383 (gst_buffer_make_metadata_writable):
18385 Add gst_buffer_(is|make)_metadata_writable as analogues of
18386 gst_buffer_(is|make)_writable.
18388 * libs/gst/base/gstbasetransform.c:
18389 (gst_base_transform_prepare_output_buf):
18390 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18391 Use name gst_buffer_(is|make)_metadata_writable functions.
18393 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18394 Test gst_buffer_(is|make)_metadata_writable
18398 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18400 * docs/manual/Makefile.am:
18401 don't do parallel make
18404 * win32/common/config.h.in:
18405 add generations for HOST_CPU and GST_MAJORMINOR
18406 * win32/common/config.h:
18407 commit generated result
18409 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18411 * docs/manual/appendix-integration.xml:
18412 Update GNOME integration section to use gst_init_get_option_group()
18413 instead of the old popt stuff (#322911). Also, GNOME applications
18414 should now use gconf*sink and gconf*src instead of the old gconf
18417 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18420 * docs/gst/gstreamer-docs.sgml:
18421 * docs/gst/gstreamer-sections.txt:
18422 * docs/libs/gstreamer-libs-sections.txt:
18423 add new API entries to the docs
18424 * libs/gst/controller/Makefile.am:
18425 * libs/gst/controller/gstcontroller.c:
18426 * libs/gst/controller/gstcontroller.h:
18427 * libs/gst/controller/gstcontrollerprivate.h:
18428 * libs/gst/controller/gsthelper.c:
18429 * libs/gst/controller/gstinterpolation.c:
18430 move private structs to private header
18432 gstreamer-0.7 -> gstreamer-0.10
18433 * tests/check/libs/struct_i386.h:
18434 remove private structs
18436 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18438 * plugins/indexers/Makefile.am:
18439 Fixes as part of #317048
18441 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18443 * plugins/indexers/Makefile.am:
18444 fix #316086 - compilation when mmap is missing
18446 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18448 * libs/gst/base/gstbasesink.c:
18449 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18450 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18451 * win32/common/config.h:
18452 added some defines GST_MAJORMINOR and HOST_CPU
18453 * win32/common/libgstbase.def:
18454 * win32/common/libgstreamer.def:
18455 added some exported functions.
18457 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18459 * libs/gst/controller/gstcontroller.c:
18460 (gst_controlled_property_set_interpolation_mode),
18461 (gst_controlled_property_new):
18462 * libs/gst/controller/gstcontroller.h:
18463 * libs/gst/controller/gstinterpolation.c:
18464 (interpolate_none_get_string_value_array):
18465 make G_TYPE_STRING controlable
18467 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18470 * tools/gst-feedback.1.in:
18471 * tools/gst-inspect.1.in:
18472 * tools/gst-launch.1.in:
18473 * tools/gst-md5sum.1.in:
18474 * tools/gst-typefind.1.in:
18475 * tools/gst-xmlinspect.1.in:
18476 * tools/gst-xmllaunch.1.in:
18477 cleanup man-pages, remove reference to gst-register, document env-vars
18479 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18481 * gst/gstbuffer.c: (gst_buffer_span):
18482 gst_buffer_span should copy the timestamp of the first buffer
18483 if they were both originally overlapping subbuffers of the
18484 same parent, using the same logic as the 'slow copy' case.
18486 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18488 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18489 Need to awaken ALL the pads when we pop a buffer, otherwise
18490 collectpads only works when there is 2 input streams.
18492 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18494 * docs/random/ensonic/media-device-daemon.txt:
18497 fix doc example, add clarification
18498 * tools/gst-launch.1.in:
18499 add initial info about GST_PLUGIN_PATH, needs more work
18501 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18503 * docs/manual/basics-bins.xml:
18504 * docs/manual/basics-elements.xml:
18505 * docs/manual/intro-basics.xml:
18506 Some more minor docs additions and updates.
18508 2006-01-11 Wim Taymans <wim@fluendo.com>
18510 * docs/manual/basics-bins.xml:
18511 * docs/manual/basics-elements.xml:
18512 Some small fixes as pointed out by Ser-ver on IRC.
18514 2006-01-10 Edward Hervey <edward@fluendo.com>
18516 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18517 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18518 the single-segment mode.
18520 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18522 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18524 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18525 (gst_base_src_perform_seek), (gst_base_src_send_event),
18526 (gst_base_src_set_property), (gst_base_src_get_property),
18527 (gst_base_src_loop), (gst_base_src_start),
18528 (gst_base_src_activate_push):
18529 * libs/gst/base/gstbasesrc.h:
18530 Name (private) union; makes Sun's Forte compiler happy (#324900).
18532 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18535 gst-register is gone.
18537 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18539 * gst/gstvalue.c: (_gst_value_initialize):
18540 make the G_TYPE_DATE instantiation work if debug is disabled
18542 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18544 * gst/gstmessage.c: (gst_message_parse_tag),
18545 (gst_message_parse_error), (gst_message_parse_warning):
18546 Don't crash when return location for error/warning debug
18547 string is NULL; add fact that return locations can be
18548 NULL to docs where appropriate.
18550 2006-01-05 Wim Taymans <wim@fluendo.com>
18552 * gst/gstplugin.c: (gst_plugin_load_file):
18553 Replace strdup by g_strdup.
18555 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18557 * docs/pwg/advanced-types.xml:
18560 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18562 submitted by: Abel Cheung
18566 Added Chinese (traditional) translation
18568 2006-01-04 Wim Taymans <wim@fluendo.com>
18570 * docs/manual/basics-pads.xml:
18571 * docs/plugins/Makefile.am:
18572 * docs/plugins/gstreamer-plugins-docs.sgml:
18573 * docs/plugins/gstreamer-plugins-sections.txt:
18574 * docs/pwg/advanced-clock.xml:
18575 * docs/pwg/advanced-scheduling.xml:
18576 * docs/pwg/advanced-types.xml:
18577 * plugins/elements/gstfdsink.c:
18578 * plugins/elements/gstfdsrc.c:
18579 * plugins/elements/gstfdsrc.h:
18580 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18581 * plugins/elements/gstidentity.h:
18582 * plugins/elements/gstqueue.h:
18583 * plugins/elements/gsttee.c:
18584 * plugins/elements/gsttee.h:
18585 * plugins/elements/gsttypefindelement.c:
18586 (gst_type_find_element_class_init):
18587 * plugins/elements/gsttypefindelement.h:
18588 Small updates to various docs.
18589 Added core plugins to docs.
18591 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18594 add a suppression for liboil's uninitialized variable
18596 2006-01-02 James Livingston <jrl at ids dot org dot au>
18598 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18601 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18602 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18603 compiler switch is being used (#325429).
18605 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18607 * gst/gstbin.c: (gst_bin_query):
18608 Disable duration query caching in bins until it gets
18609 fixed (see #324807).
18611 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18613 * tools/gst-inspect.c: (print_element_properties_info):
18614 Handle properties of POINTER and BOXED type.
18616 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18618 * gst/gst.c: (init_post):
18619 Init tags stuff and some other things before loading
18620 any static plugins (there may be other static plugins
18621 than just the GStreamer ones, and they may want to
18622 register their own tags or formats or whatever, and
18623 preferably without segfaulting).
18625 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18626 Print at least a warning in the debug logs if we drop a
18627 query just because we don't know how to adjust the value
18628 in the particular format.
18630 2005-12-24 David Schleef <ds@schleef.org>
18632 * tools/gstreamer-completion:
18633 Replacement for gst-complete written in sh and sed. Only
18634 completes names of features, but that's 90% of what I want
18635 it for. Properties are not available in registry.xml. (Maybe
18638 === release 0.10.1 ===
18640 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18643 releasing 0.10.1, "Nollaig chridheil"
18645 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18647 * docs/faq/cvs.xml:
18648 Add missing quote, should be make ERROR_CFLAGS="".
18650 2005-12-20 Wim Taymans <wim@fluendo.com>
18652 * docs/design/part-trickmodes.txt:
18653 More documentation on trickmodes.
18655 2005-12-20 Edward Hervey <edward@fluendo.com>
18657 * gst/gstcaps.c: (gst_static_caps_get_type):
18659 API addition: GST_TYPE_STATIC_CAPS
18660 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18661 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18662 * gst/gstpadtemplate.h:
18663 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18664 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18667 2005-12-18 Wim Taymans <wim@fluendo.com>
18669 * libs/gst/base/gstadapter.c:
18670 * libs/gst/base/gstadapter.h:
18671 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18672 (gst_base_sink_get_position):
18673 * libs/gst/base/gstbasesink.h:
18674 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18675 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18676 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18677 (gst_base_src_send_event), (gst_base_src_update_length),
18678 (gst_base_src_get_range), (gst_base_src_loop),
18679 (gst_base_src_start):
18680 * libs/gst/base/gstbasesrc.h:
18681 * libs/gst/base/gstbasetransform.h:
18682 * libs/gst/base/gstcollectpads.h:
18683 * libs/gst/base/gstpushsrc.c:
18684 * libs/gst/base/gstpushsrc.h:
18685 * libs/gst/dataprotocol/dataprotocol.c:
18686 * libs/gst/dataprotocol/dataprotocol.h:
18687 * libs/gst/net/gstnetclientclock.h:
18688 * libs/gst/net/gstnettimeprovider.h:
18689 Documentation updates.
18691 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18693 * docs/manual/basics-helloworld.xml:
18694 Remove superfluous closing bracket in helloworld example.
18696 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18698 * tools/gst-launch.1.in:
18699 Update gst-launch man page; add a section with useful
18700 environment variables. Fixes #323882.
18702 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18705 * gst/gst_private.h:
18706 change some char* into char[]
18708 2005-12-16 Wim Taymans <wim@fluendo.com>
18710 * gst/gstregistryxml.c: (load_feature):
18712 Don't use g_object_unref on GstObjects so that we avoid
18713 leaks on unsafe glibs.
18715 2005-12-16 Wim Taymans <wim@fluendo.com>
18717 * gst/gstbin.c: (gst_bin_recalc_state):
18720 2005-12-16 Wim Taymans <wim@fluendo.com>
18722 * common/check.mak:
18723 Added make forever target for check.
18725 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18727 * gst/gst.c: (init_post):
18728 make the registry cache file HOST_CPU-dependent
18730 2005-12-16 Andy Wingo <wingo@pobox.com>
18732 * plugins/elements/gstbufferstore.c
18733 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18736 * tests/check/gst/gstobject.c
18737 (test_fake_object_name_threaded_unique): Pay attention to
18738 g_list_sort return value.
18740 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18742 * tools/gst-feedback-m.m:
18743 Update for 0.9/0.10 (fixes #323870).
18745 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18747 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18748 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18750 * tests/check/gst/gstminiobject.c: (my_foo_init),
18751 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18752 (test_value_collection), (gst_mini_object_suite):
18753 Add test to ensure refcounts end up as expected when passing
18754 GstMiniObjects through g_object_get() and g_object_set().
18756 2005-12-14 Julien MOUTTE <julien@moutte.net>
18758 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18759 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18760 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18761 of collectpads. This version removes a lot of races without
18762 touching API/ABI. Yay !
18764 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18766 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18767 Don't allow activation of a srcpad in pull_range if it has no
18769 Change some debug statements to be a little clearer
18771 * plugins/elements/gsttypefindelement.c:
18772 (gst_type_find_handle_src_query):
18773 Check that we have a peer before executing queries thereupon.
18775 * tests/examples/metadata/read-metadata.c: (message_loop):
18776 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18777 immediately return us any available message with 0 timeout.
18779 2005-12-12 Michael Smith <msmith@fluendo.com>
18781 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18782 Don't unref factories after calling them.
18783 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18784 * plugins/elements/gsttypefindelement.c:
18785 (gst_type_find_element_chain):
18786 Free lists of factories after using them. Fixing typefinding memory
18789 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18791 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18792 (gst_plugin_feature_load):
18793 more meaningful debug output
18795 * tests/Makefile.am:
18796 * tests/old/examples/Makefile.am:
18797 make make distcheck happy again
18799 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18801 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18802 Catch the special case where we are operating chain-based,
18803 but the downstream peer pad has no chain function. Emit a
18804 custom error message in this case instead of letting the
18805 core generate one implying that this is some sort of core
18806 bug. It's not, it just means that whatever got plugged
18807 into the pipeline downstream when we announced the type
18808 can only operate pull-based, while our source can only
18809 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18810 Error string has not been marked for translation yet, as
18811 it probably needs some more work first.
18813 (gst_type_find_element_get_best_possibility):
18814 Add helper function to find the best of all available
18815 found possibilities that qualify given the min. threshold.
18817 (gst_type_find_element_handle_event):
18818 Fix the case where we get an EOS while still in TYPEFIND
18819 mode (we want to chose the best of all possible types,
18820 not just the first type that happens to be in our unsorted
18821 list of possible types).
18823 (gst_type_find_element_chain):
18824 Make sure we return GST_FLOW_ERROR when we errored out
18825 in stop_typefinding(); also, don't just find the best of
18826 all found type entries and then use the last examined
18827 type entry, but actually use the best entry.
18829 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18831 * tests/examples/typefind/typefind.c: (type_found):
18832 * tests/examples/xml/runxml.c: (xml_loaded):
18833 More gcc4 fixes and a mem leak fix.
18835 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18837 * tests/examples/xml/createxml.c: (object_saved):
18840 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18842 * tests/Makefile.am:
18843 enable the examples even more
18845 2005-12-12 Andy Wingo <wingo@pobox.com>
18847 * libs/gst/net/gstnettimeprovider.c
18848 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18849 (gst_net_time_provider_set_property)
18850 (gst_net_time_provider_get_property):
18851 API addition: Export "active" as a GObject property.
18852 (gst_net_time_provider_thread): Only respond to time queries if
18853 the time provider is active.
18855 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18856 NetTimeProvider, preserving binary compat.
18858 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18860 * tests/examples/controller/audio-example.c: (main):
18861 * tests/examples/launch/Makefile.am:
18862 convert comments again
18864 2005-12-12 Wim Taymans <wim@fluendo.com>
18866 * libs/gst/base/gstpushsrc.c:
18869 2005-12-12 Wim Taymans <wim@fluendo.com>
18871 * docs/libs/gstreamer-libs-sections.txt:
18872 Added new symbol to docs.
18874 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18875 (gst_base_src_init), (gst_base_src_set_format),
18876 (gst_base_src_default_query), (gst_base_src_query),
18877 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18878 (gst_base_src_perform_seek), (gst_base_src_send_event),
18879 (gst_base_src_default_event), (gst_base_src_event_handler),
18880 (gst_base_src_set_property), (gst_base_src_get_property),
18881 (gst_base_src_wait), (gst_base_src_do_sync),
18882 (gst_base_src_update_length), (gst_base_src_get_range),
18883 (gst_base_src_check_get_range), (gst_base_src_loop),
18884 (gst_base_src_default_negotiate), (gst_base_src_start),
18885 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18886 (gst_base_src_change_state):
18887 * libs/gst/base/gstbasesrc.h:
18888 Implement seeking to other formats than _BYTES.
18889 Implement more seeking methods correctly.
18891 Added query vmethod.
18892 Added do_seek vmethod to make life easier for subclasses
18894 API addition: gst_base_src_set_format()
18896 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18898 * tests/examples/Makefile.am:
18901 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18904 * docs/random/ensonic/media-device-daemon.txt:
18905 * tests/examples/controller/.cvsignore:
18906 * tests/examples/controller/Makefile.am:
18907 * tests/examples/controller/audio-example.c: (main):
18908 * tests/examples/helloworld/.cvsignore:
18909 * tests/examples/helloworld/Makefile.am:
18910 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18911 * tests/examples/launch/.cvsignore:
18912 * tests/examples/launch/Makefile.am:
18913 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18914 * tests/examples/metadata/.cvsignore:
18915 * tests/examples/metadata/Makefile.am:
18916 * tests/examples/metadata/read-metadata.c: (message_loop),
18917 (make_pipeline), (print_tag), (main):
18918 * tests/examples/queue/.cvsignore:
18919 * tests/examples/queue/Makefile.am:
18920 * tests/examples/queue/queue.c: (event_loop), (main):
18921 * tests/examples/typefind/.cvsignore:
18922 * tests/examples/typefind/Makefile.am:
18923 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18925 * tests/examples/xml/.cvsignore:
18926 * tests/examples/xml/Makefile.am:
18927 * tests/examples/xml/createxml.c: (object_saved), (main):
18928 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18929 * tests/old/examples/Makefile.am:
18930 * tests/old/examples/TODO:
18931 * tests/old/examples/controller/.cvsignore:
18932 * tests/old/examples/controller/Makefile.am:
18933 * tests/old/examples/controller/audio-example.c:
18934 * tests/old/examples/helloworld/.cvsignore:
18935 * tests/old/examples/helloworld/Makefile.am:
18936 * tests/old/examples/helloworld/helloworld.c:
18937 * tests/old/examples/launch/.cvsignore:
18938 * tests/old/examples/launch/Makefile.am:
18939 * tests/old/examples/launch/mp3parselaunch.c:
18940 * tests/old/examples/launch/mp3play:
18941 * tests/old/examples/manual/Makefile.am:
18942 * tests/old/examples/metadata/Makefile.am:
18943 * tests/old/examples/metadata/read-metadata.c:
18944 * tests/old/examples/queue/.cvsignore:
18945 * tests/old/examples/queue/Makefile.am:
18946 * tests/old/examples/queue/queue.c:
18947 * tests/old/examples/typefind/.cvsignore:
18948 * tests/old/examples/typefind/Makefile.am:
18949 * tests/old/examples/typefind/typefind.c:
18950 * tests/old/examples/xml/.cvsignore:
18951 * tests/old/examples/xml/Makefile.am:
18952 * tests/old/examples/xml/createxml.c:
18953 * tests/old/examples/xml/runxml.c:
18954 applied some simple fixing to some examples
18955 re-enabled the working examples
18957 2005-12-12 Wim Taymans <wim@fluendo.com>
18959 * gst/gstsegment.c: (gst_segment_init),
18960 (gst_segment_set_last_stop), (gst_segment_set_seek),
18961 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18962 (gst_segment_to_running_time):
18963 Added more documentation.
18964 Make sure the last_pos value is updated properly.
18965 Make sure to_stream_time and to_running_time don't
18966 operate on wrong values.
18968 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18971 2005-12-12 Michael Smith <msmith@fluendo.com>
18973 * plugins/elements/gsttypefindelement.c: (free_entry),
18974 (gst_type_find_element_chain):
18975 Now that we're not leaking factories, make sure we keep references
18976 to them while we need them.
18978 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18980 * tests/check/gst/struct_i386.h:
18981 ifdef out the XML structs
18983 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18985 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18986 floor is not needed, F is always positive; this obviates the
18987 need for adding -lm when building without libxml
18989 2005-12-12 Wim Taymans <wim@fluendo.com>
18991 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18992 Take current playback rate into account when reporting
18995 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18997 * docs/manual/mime-world.fig:
18998 Let's try this again, this time with a file that is
18999 actually in XFig format.
19001 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19003 * docs/manual/mime-world.fig:
19004 Add audioconvert element to diagram so that it
19005 matches the text and the code (fixes #319526).
19007 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19009 * docs/pwg/building-chainfn.xml:
19010 * docs/pwg/building-pads.xml:
19011 * docs/pwg/building-state.xml:
19012 * docs/pwg/other-source.xml:
19013 Update state change stuff for 0.10 (fixes #322969).
19015 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19017 * docs/manual/advanced-dataaccess.xml:
19018 * docs/manual/appendix-checklist.xml:
19019 * docs/manual/appendix-programs.xml:
19020 * docs/manual/basics-pads.xml:
19021 * docs/manual/highlevel-components.xml:
19022 * docs/manual/manual.xml:
19023 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
19024 add converters in front of pipelines; remove curly
19025 brackets for threads stuff, they no longer exist; use
19026 GST_TYPE_FRACTION for framerates; update some pieces of
19027 code to 0.10, but there's plenty more to do.
19029 * docs/manual/appendix-porting.xml:
19030 Expand on asynchroneous state changes; s/0.9/0.10/;
19031 mention disappearance of gst_init_get_popt_table()
19034 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19036 * docs/faq/using.xml:
19037 Spider no longer exists, and neither does gst-launch-ext.
19038 Update examples to use decodebin and playbin and put
19039 converters in front of sinks (fixes #323726).
19041 2005-12-09 Michael Smith <msmith@fluendo.com>
19043 * plugins/elements/gsttypefindelement.c: (find_peek),
19044 (gst_type_find_element_chain):
19045 Fix leaking element factories in typefinding.
19046 Fix problem where we forgot about a probable type on non-seekable
19047 files, and thus later mis-typefound it.
19049 2005-12-09 Michael Smith <msmith@fluendo.com>
19051 * common/m4/gst-makecontext.m4:
19052 * common/m4/gst-mcsc.m4:
19054 * win32/common/config.h:
19055 * win32/common/config.h.in:
19056 Remove makecontext stuff; not used in 0.10 and causes problems on
19057 HPUX according to bug #322441
19059 2005-12-07 Wim Taymans <wim@fluendo.com>
19061 * tests/check/Makefile.am:
19062 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19064 * tests/check/libs/struct_i386.h:
19065 Added ABI check for libs
19067 2005-12-07 Wim Taymans <wim@fluendo.com>
19069 * tests/check/Makefile.am:
19070 And add the struct_i386.h to dist.
19072 2005-12-07 Wim Taymans <wim@fluendo.com>
19074 * tests/check/Makefile.am:
19075 * tests/check/gst/.cvsignore:
19076 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19078 * tests/check/gst/struct_i386.h:
19079 Added check for ABI compatibility.
19081 2005-12-07 Wim Taymans <wim@fluendo.com>
19083 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19084 (gst_fake_src_get_times), (gst_fake_src_create):
19085 Fix broken sync option, fixes #323259
19087 2005-12-07 Wim Taymans <wim@fluendo.com>
19092 * gst/gstcaps.c: (gst_caps_is_equal):
19093 Don't assert on NULL <--> X. Fixes #323260
19095 * gst/gstminiobject.c: (gst_mini_object_replace):
19096 If we're doing atomic operations, we might just as well use
19097 the proper way to get an atomic pointer.
19099 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19100 Clean up debugging.
19102 2005-12-07 Michael Smith <msmith@fluendo.com>
19104 * gst/parse/grammar.y:
19105 Remove handling of { } for threads.
19107 2005-12-06 David Schleef <ds@schleef.org>
19109 * libs/gst/base/gstbasetransform.c: speling fix.
19111 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19113 * docs/libs/tmpl/gstdataprotocol.sgml:
19114 * docs/random/omega/testing/gstobject.c:
19117 * gst/gstelement.c:
19118 * gst/gstelementfactory.c:
19121 * gst/gstghostpad.c:
19123 * gst/gstpadtemplate.c:
19124 * gst/gstregistryxml.c:
19125 * gst/gsttaglist.c:
19126 * gst/gsttagsetter.c:
19127 * gst/gsttypefind.c:
19129 * libs/gst/base/gstbasesrc.c:
19130 * libs/gst/net/gstnetclientclock.c:
19131 * libs/gst/net/gstnettimeprovider.c:
19132 * plugins/elements/gstfakesrc.c:
19133 * plugins/elements/gstfdsrc.c:
19134 * plugins/elements/gstfilesrc.c:
19135 * plugins/elements/gstidentity.c:
19136 * plugins/elements/gstqueue.c:
19137 * plugins/elements/gsttypefindelement.c:
19138 * plugins/indexers/gstfileindex.c:
19139 * plugins/indexers/gstmemindex.c:
19140 * tests/check/gst/gsttag.c:
19141 * tests/old/examples/cutter/cutter.c:
19142 * tests/old/examples/mixer/mixer.c:
19143 * tests/old/examples/xml/runxml.c: (main):
19144 * tests/old/testsuite/caps/normalisation.c:
19145 * tests/old/testsuite/debug/global.c:
19146 * tests/old/testsuite/parse/parse1.c:
19147 * tools/gst-xmlinspect.c:
19148 * win32/common/dirent.c:
19151 === release 0.10.0 ===
19153 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19156 releasing 0.10.0, "Maroilles"
19158 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19160 submitted by: Funda Wang <fundawang@linux.net.cn>
19164 added Chinese (Traditional) translation
19166 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19168 * docs/gst/gstreamer-sections.txt:
19169 * docs/libs/tmpl/gstdataprotocol.sgml:
19170 * docs/random/thomasvs/TODO:
19175 2005-12-05 Andy Wingo <wingo@pobox.com>
19177 patch by: Wim Taymans <wim@fluendo.com>
19179 * libs/gst/base/gstbasetransform.c
19180 (gst_base_transform_prepare_output_buf)
19181 (gst_base_transform_buffer_alloc):
19182 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19183 alloc_buffer_and_set_caps.
19185 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19186 set_caps on the source pad.
19187 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19188 alloc_buffer used to do. Fixes #322874.
19190 * docs/gst/gstreamer-sections.txt:
19191 * docs/design/part-negotiation.txt:
19192 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19195 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19197 patch by: Sebastien Moutte
19200 * win32/common/config.h.in:
19201 * win32/vs6/libgstcontroller.dsp:
19204 2005-12-05 Wim Taymans <wim@fluendo.com>
19206 * gst/gstcaps.c: (gst_caps_is_equal):
19207 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19208 (gst_fake_src_create):
19209 Back out previous code changes, leave doc updates, file bugs
19212 2005-12-05 Wim Taymans <wim@fluendo.com>
19214 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19215 (gst_fake_src_get_times), (gst_fake_src_create):
19216 * plugins/elements/gstfakesrc.h:
19217 Fix broken sync code.
19219 2005-12-05 Wim Taymans <wim@fluendo.com>
19221 * gst/gstcaps.c: (gst_caps_is_equal):
19222 Comparing NULL against !NULL yields different caps, not a
19225 2005-12-05 Wim Taymans <wim@fluendo.com>
19227 * gst/gstpipeline.c:
19228 Fix small typo in docs.
19230 2005-12-05 Andy Wingo <wingo@pobox.com>
19232 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19234 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19235 registries/plugins with a MAJORMINOR one.
19236 (plugin_desc): Rename library from gstcoreleements to
19237 staticelements. Fixes #323222.
19239 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19241 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19242 Change debug category to 'collectpads' from 'collect_pads'
19245 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19247 patch by: Sebastien Moutte
19249 * libs/gst/controller/gstinterpolation.c:
19250 use convert function for uint64/double
19251 * win32/vs6/libgstcontroller.dsp:
19254 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19256 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19257 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19259 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19260 add tests that seem to show that the guint64/gdouble conversions
19263 2005-12-02 Wim Taymans <wim@fluendo.com>
19265 * gst/gstregistry.c: (gst_registry_add_path):
19266 * gst/gstregistry.h:
19267 * gst/gstregistryxml.c:
19270 2005-12-02 Wim Taymans <wim@fluendo.com>
19272 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19273 (gst_util_uint64_scale_int):
19276 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19277 Add debug log line.
19279 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19282 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19285 * win32/common/config.h:
19286 * win32/vs6/gstreamer.dsw:
19287 * win32/vs6/libgstcoreelements.dsp:
19288 * win32/vs6/libgstelements.dsp:
19289 renamed core elements plugin
19291 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19293 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19295 do piece-wise major/minor comparison so 0.9 < 0.10
19296 also allow .exe extensions for tools
19298 2005-12-02 Michael Smith <msmith@fluendo.com>
19301 Escape a % to make gtkdoc happier; bug 322958.
19303 === release 0.9.7 ===
19305 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19308 releasing 0.9.7, "My Dog Has No Nose"
19310 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19312 * common/gst-xmlinspect.py:
19314 * docs/libs/tmpl/gstdataprotocol.sgml:
19315 * docs/random/release:
19334 * win32/common/config.h:
19335 * win32/common/config.h.in:
19336 * win32/vs6/gst_inspect.dsp:
19337 * win32/vs6/gst_launch.dsp:
19338 * win32/vs6/libgstbase.dsp:
19339 * win32/vs6/libgstelements.dsp:
19340 * win32/vs6/libgstreamer.dsp:
19341 * win32/vs7/GStreamer.vcproj:
19342 * win32/vs7/gst-inspect.vcproj:
19343 * win32/vs7/gst-launch.vcproj:
19344 * win32/vs7/libgstbase.vcproj:
19345 bump GST_MAJORMINOR to 0.10
19346 reset libtool version
19348 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19352 Added Bulgarian translation by (Alexander Shopov)
19354 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19356 * tests/check/gst/gstplugin.c:
19359 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19361 * common/gst-xmlinspect.py:
19362 * common/gtk-doc-plugins.mak:
19364 * docs/Makefile.am:
19365 * docs/gst/Makefile.am:
19366 * docs/gst/gstreamer-docs.sgml:
19367 * docs/gst/gstreamer-sections.txt:
19368 * docs/gst/gstreamer.types:
19369 * docs/gst/gstreamer.types.in:
19370 * docs/plugins/Makefile.am:
19371 * docs/plugins/gstreamer-plugins-docs.sgml:
19372 * docs/plugins/gstreamer-plugins-sections.txt:
19373 * docs/plugins/gstreamer-plugins.types:
19374 * docs/plugins/inspect.stamp:
19375 * docs/plugins/inspect/plugin-coreelements.xml:
19376 * docs/plugins/inspect/plugin-coreindexers.xml:
19377 * docs/plugins/scanobj-build.stamp:
19378 * gstreamer.spec.in:
19379 * plugins/elements/Makefile.am:
19380 * plugins/elements/gstelements.c:
19381 * plugins/elements/gstfakesink.c:
19382 * plugins/elements/gstfakesrc.c:
19383 * plugins/elements/gstfilesink.c:
19384 * plugins/elements/gstfilesrc.c:
19385 * plugins/elements/gstqueue.c:
19386 * plugins/indexers/Makefile.am:
19387 * plugins/indexers/gstindexers.c:
19388 document core plugins in a separate document just like all the
19390 rename these plugins to something starting with core
19392 2005-12-01 Andy Wingo <wingo@pobox.com>
19394 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19395 padding here before, but it missed the commit.
19397 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19399 * libs/gst/controller/gstinterpolation.c:
19400 whitespace prices have crashed, we should feel free to use some now
19401 use gst_guint64_to_gdouble
19403 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19405 * libs/gst/controller/gstcontroller.c:
19406 * libs/gst/controller/gsthelper.c:
19407 * libs/gst/controller/gstinterpolation.c:
19408 * libs/gst/controller/lib.c:
19409 wrap config.h include
19411 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19413 * docs/gst/gstreamer-sections.txt:
19416 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19418 * plugins/elements/gstelements.c:
19419 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19420 (gst_fd_sink__class_init), (gst_fd_sink__init),
19421 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19422 (gst_fd_sink__get_property):
19423 * plugins/elements/gstfdsink.h:
19424 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19425 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19426 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19427 (gst_fd_src_unlock), (gst_fd_src_set_property),
19428 (gst_fd_src_get_property), (gst_fd_src_create),
19429 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19430 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19431 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19432 (gst_fd_src_uri_handler_init):
19433 * plugins/elements/gstfdsrc.h:
19434 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19437 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19439 * docs/gst/Makefile.am:
19440 * docs/gst/gstreamer.types.in:
19444 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19450 * gst/gstregistry.h:
19451 * tests/benchmarks/complexity.c:
19452 * tests/benchmarks/mass-elements.c:
19453 * tests/check/Makefile.am:
19454 * tools/Makefile.am:
19455 * tools/gst-inspect.c:
19456 * tools/gst-xmlinspect.c:
19457 various fixes to make
19458 --disable-nls --disable-registry --disable-loadsave
19459 --disable-parse --disable-gst-debug
19460 work and get the core .so down to 360444 bytes after stripping
19462 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19467 * docs/random/thomasvs/TODO:
19468 * tests/Makefile.am:
19472 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19474 * win32/GStreamer.vcproj:
19477 * win32/Makefile.inspect:
19478 * win32/Makefile.launch:
19479 * win32/Makefile.register:
19480 * win32/README.txt:
19481 * win32/gst-inspect.vcproj:
19482 * win32/gst-launch.vcproj:
19483 * win32/gst-register.vcproj:
19484 * win32/gstelements.vcproj:
19485 * win32/gstgetbits.def:
19486 * win32/gstgetbits.vcproj:
19487 * win32/gstreamer-dbg.def:
19488 * win32/gstreamer.def:
19489 * win32/libgstbase.def:
19490 * win32/libgstbase.vcproj:
19491 * win32/link_oldruntime.c:
19495 * win32/msvc71.sln:
19496 move even more stuff, win32/ is nice and clean now
19498 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19500 * libs/gst/control/.cvsignore:
19505 * win32/gstbytestream.def:
19506 * win32/gstbytestream.vcproj:
19507 * win32/gstconfig.h:
19508 * win32/gstenumtypes.c:
19509 * win32/gstenumtypes.h:
19510 * win32/gstoptimalscheduler.vcproj:
19511 * win32/gstversion.h:
19513 * win32/testsuite/bins.vcproj:
19514 * win32/testsuite/bytestream.vcproj:
19515 * win32/testsuite/caps.vcproj:
19516 * win32/testsuite/cleanup.vcproj:
19517 * win32/testsuite/clock.vcproj:
19518 * win32/testsuite/debug.vcproj:
19519 * win32/testsuite/dlopen.vcproj:
19520 * win32/testsuite/dynparams.vcproj:
19521 * win32/testsuite/elements.vcproj:
19522 * win32/testsuite/ghostpads.vcproj:
19523 * win32/testsuite/indexers.vcproj:
19524 * win32/testsuite/negotiation.vcproj:
19525 * win32/testsuite/parse.vcproj:
19526 * win32/testsuite/plugin.vcproj:
19527 * win32/testsuite/refcounting.vcproj:
19528 * win32/testsuite/schedulers.vcproj:
19529 * win32/testsuite/states.vcproj:
19530 * win32/testsuite/tags.vcproj:
19531 * win32/testsuite/threads.vcproj:
19532 remove old win32 stuff that isn't maintained and should be
19535 2005-11-30 Andy Wingo <wingo@pobox.com>
19537 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19538 loading the gst.interfaces python module bork.
19540 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19541 available since GLib 2.2. Fixes #318031.
19543 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19546 * check/.cvsignore:
19547 * check/Makefile.am:
19548 * check/elements/.cvsignore:
19549 * check/elements/fakesrc.c:
19550 * check/elements/fdsrc.c:
19551 * check/elements/identity.c:
19552 * check/generic/.cvsignore:
19553 * check/generic/states.c:
19554 * check/gst-libs/.cvsignore:
19555 * check/gst-libs/controller.c:
19556 * check/gst-libs/gdp.c:
19557 * check/gst/.cvsignore:
19558 * check/gst/capslist.h:
19560 * check/gst/gstbin.c:
19561 * check/gst/gstbuffer.c:
19562 * check/gst/gstbus.c:
19563 * check/gst/gstcaps.c:
19564 * check/gst/gstelement.c:
19565 * check/gst/gstevent.c:
19566 * check/gst/gstghostpad.c:
19567 * check/gst/gstiterator.c:
19568 * check/gst/gstmessage.c:
19569 * check/gst/gstminiobject.c:
19570 * check/gst/gstobject.c:
19571 * check/gst/gstpad.c:
19572 * check/gst/gstpipeline.c:
19573 * check/gst/gstplugin.c:
19574 * check/gst/gstsegment.c:
19575 * check/gst/gststructure.c:
19576 * check/gst/gstsystemclock.c:
19577 * check/gst/gsttag.c:
19578 * check/gst/gstutils.c:
19579 * check/gst/gstvalue.c:
19580 * check/net/.cvsignore:
19581 * check/net/gstnetclientclock.c:
19582 * check/net/gstnettimeprovider.c:
19583 * check/pipelines/.cvsignore:
19584 * check/pipelines/cleanup.c:
19585 * check/pipelines/simple_launch_lines.c:
19586 * check/pipelines/stress.c:
19587 * check/states/.cvsignore:
19588 * check/states/sinks.c:
19590 * examples/Makefile.am:
19591 * examples/appreader/.cvsignore:
19592 * examples/appreader/Makefile.am:
19593 * examples/appreader/appreader.c:
19594 * examples/controller/.cvsignore:
19595 * examples/controller/Makefile.am:
19596 * examples/controller/audio-example.c:
19597 * examples/cutter/.cvsignore:
19598 * examples/cutter/Makefile.am:
19599 * examples/cutter/cutter.c:
19600 * examples/cutter/cutter.h:
19601 * examples/events/Makefile.am:
19602 * examples/events/seek.c:
19603 * examples/helloworld/.cvsignore:
19604 * examples/helloworld/Makefile.am:
19605 * examples/helloworld/helloworld.c:
19606 * examples/helloworld2/.cvsignore:
19607 * examples/helloworld2/Makefile.am:
19608 * examples/helloworld2/helloworld2.c:
19609 * examples/launch/.cvsignore:
19610 * examples/launch/Makefile.am:
19611 * examples/launch/mp3parselaunch.c:
19612 * examples/launch/mp3play:
19613 * examples/manual/.cvsignore:
19614 * examples/manual/Makefile.am:
19615 * examples/manual/extract.pl:
19616 * examples/metadata/Makefile.am:
19617 * examples/metadata/read-metadata.c:
19618 * examples/mixer/.cvsignore:
19619 * examples/mixer/Makefile.am:
19620 * examples/mixer/mixer.c:
19621 * examples/mixer/mixer.h:
19622 * examples/pingpong/.cvsignore:
19623 * examples/pingpong/Makefile.am:
19624 * examples/pingpong/pingpong.c:
19625 * examples/plugins/.cvsignore:
19626 * examples/plugins/Makefile.am:
19627 * examples/plugins/example.c:
19628 * examples/plugins/example.h:
19629 * examples/pwg/.cvsignore:
19630 * examples/pwg/Makefile.am:
19631 * examples/pwg/extract.pl:
19632 * examples/queue/.cvsignore:
19633 * examples/queue/Makefile.am:
19634 * examples/queue/queue.c:
19635 * examples/queue2/.cvsignore:
19636 * examples/queue2/Makefile.am:
19637 * examples/queue2/queue2.c:
19638 * examples/queue3/.cvsignore:
19639 * examples/queue3/Makefile.am:
19640 * examples/queue3/queue3.c:
19641 * examples/queue4/.cvsignore:
19642 * examples/queue4/Makefile.am:
19643 * examples/queue4/queue4.c:
19644 * examples/retag/.cvsignore:
19645 * examples/retag/Makefile.am:
19646 * examples/retag/retag.c:
19647 * examples/retag/transcode.c:
19648 * examples/thread/.cvsignore:
19649 * examples/thread/Makefile.am:
19650 * examples/thread/thread.c:
19651 * examples/typefind/.cvsignore:
19652 * examples/typefind/Makefile.am:
19653 * examples/typefind/typefind.c:
19654 * examples/xml/.cvsignore:
19655 * examples/xml/Makefile.am:
19656 * examples/xml/createxml.c:
19657 * examples/xml/runxml.c:
19658 * tests/Makefile.am:
19659 * tests/check/Makefile.am:
19660 * testsuite/.cvsignore:
19661 * testsuite/Makefile.am:
19663 * testsuite/caps/.cvsignore:
19664 * testsuite/caps/Makefile.am:
19665 * testsuite/caps/app_fixate.c:
19666 * testsuite/caps/audioscale.c:
19667 * testsuite/caps/caps.c:
19668 * testsuite/caps/caps.h:
19669 * testsuite/caps/caps_strings:
19670 * testsuite/caps/compatibility.c:
19671 * testsuite/caps/deserialize.c:
19672 * testsuite/caps/enumcaps.c:
19673 * testsuite/caps/eratosthenes.c:
19674 * testsuite/caps/filtercaps.c:
19675 * testsuite/caps/fixed.c:
19676 * testsuite/caps/fraction-convert.c:
19677 * testsuite/caps/fraction-multiply-and-zero.c:
19678 * testsuite/caps/intersect2.c:
19679 * testsuite/caps/intersection.c:
19680 * testsuite/caps/normalisation.c:
19681 * testsuite/caps/random.c:
19682 * testsuite/caps/renegotiate.c:
19683 * testsuite/caps/sets.c:
19684 * testsuite/caps/simplify.c:
19685 * testsuite/caps/string-conversions.c:
19686 * testsuite/caps/structure.c:
19687 * testsuite/caps/subtract.c:
19688 * testsuite/caps/union.c:
19689 * testsuite/debug/.cvsignore:
19690 * testsuite/debug/Makefile.am:
19691 * testsuite/debug/category.c:
19692 * testsuite/debug/commandline.c:
19693 * testsuite/debug/global.c:
19694 * testsuite/debug/output.c:
19695 * testsuite/debug/printf_extension.c:
19696 * testsuite/dlopen/.cvsignore:
19697 * testsuite/dlopen/Makefile.am:
19698 * testsuite/dlopen/dlopen_gst.c:
19699 * testsuite/dlopen/loadgst.c:
19700 * testsuite/elements/.cvsignore:
19701 * testsuite/elements/Makefile.am:
19702 * testsuite/elements/gst-inspect-check.in:
19703 * testsuite/elements/struct_i386.h:
19704 * testsuite/elements/struct_size.c:
19705 * testsuite/indexers/.cvsignore:
19706 * testsuite/indexers/Makefile.am:
19707 * testsuite/indexers/cache1.c:
19708 * testsuite/indexers/indexdump.c:
19709 * testsuite/parse/.cvsignore:
19710 * testsuite/parse/Makefile.am:
19711 * testsuite/parse/parse1.c:
19712 * testsuite/parse/parse2.c:
19713 * testsuite/plugin/.cvsignore:
19714 * testsuite/plugin/Makefile.am:
19715 * testsuite/plugin/README:
19716 * testsuite/plugin/dynamic.c:
19717 * testsuite/plugin/linked.c:
19718 * testsuite/plugin/loading.c:
19719 * testsuite/plugin/registry.c:
19720 * testsuite/plugin/static.c:
19721 * testsuite/plugin/static2.c:
19722 * testsuite/plugin/testplugin.c:
19723 * testsuite/plugin/testplugin2.c:
19724 * testsuite/plugin/testplugin2_s.c:
19725 * testsuite/plugin/testplugin_s.c:
19726 * testsuite/refcounting/.cvsignore:
19727 * testsuite/refcounting/Makefile.am:
19728 * testsuite/refcounting/bin.c:
19729 * testsuite/refcounting/element.c:
19730 * testsuite/refcounting/element_pad.c:
19731 * testsuite/refcounting/mainloop.c:
19732 * testsuite/refcounting/mem.c:
19733 * testsuite/refcounting/mem.h:
19734 * testsuite/refcounting/object.c:
19735 * testsuite/refcounting/pad.c:
19736 * testsuite/refcounting/sched.c:
19737 * testsuite/refcounting/thread.c:
19738 * testsuite/states/.cvsignore:
19739 * testsuite/states/Makefile.am:
19740 * testsuite/states/bin.c:
19741 * testsuite/states/locked.c:
19742 * testsuite/states/parent.c:
19743 * testsuite/threads/.cvsignore:
19744 * testsuite/threads/159566.c:
19745 * testsuite/threads/159852.c:
19746 * testsuite/threads/Makefile.am:
19747 * testsuite/threads/queue.c:
19748 * testsuite/threads/signals.c:
19749 * testsuite/threads/staticrec.c:
19750 * testsuite/threads/thread.c:
19751 * testsuite/threads/threadb.c:
19752 * testsuite/threads/threadc.c:
19753 * testsuite/threads/threadd.c:
19754 * testsuite/threads/threade.c:
19755 * testsuite/threads/threadf.c:
19756 * testsuite/threads/threadg.c:
19757 * testsuite/threads/threadh.c:
19758 * testsuite/threads/threadi.c:
19759 move all of these under tests
19761 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19764 * tests/Makefile.am:
19767 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19769 * docs/gst/gstreamer-sections.txt:
19770 * tests/sched/.cvsignore:
19771 * tests/sched/Makefile.am:
19772 * tests/sched/cases/(fs-fs).xml:
19773 * tests/sched/cases/(fs-i-fs).xml:
19774 * tests/sched/cases/(fs-i-i-fs).xml:
19775 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19776 * tests/sched/dynamic-pipeline.c:
19777 * tests/sched/interrupt1.c:
19778 * tests/sched/interrupt2.c:
19779 * tests/sched/interrupt3.c:
19780 * tests/sched/runtestcases:
19781 * tests/sched/runxml.c:
19782 * tests/sched/sched-stress.c:
19783 * tests/sched/sort.c:
19784 * tests/sched/testcases:
19785 * tests/sched/testcases1.tc:
19786 * tests/seeking/.cvsignore:
19787 * tests/seeking/Makefile.am:
19788 * tests/seeking/seeking1.c:
19789 * tests/threadstate/.cvsignore:
19790 * tests/threadstate/Makefile.am:
19791 * tests/threadstate/test1.c:
19792 * tests/threadstate/test2.c:
19793 * tests/threadstate/threadstate1.c:
19794 * tests/threadstate/threadstate2.c:
19795 * tests/threadstate/threadstate3.c:
19796 * tests/threadstate/threadstate4.c:
19797 * tests/threadstate/threadstate5.c:
19798 remove obsolete tests
19800 * tests/bench-complexity.scm:
19801 * tests/bench-mass_elements.scm:
19802 * tests/complexity.c:
19803 * tests/complexity.gnuplot:
19804 * tests/instantiate/.cvsignore:
19805 * tests/instantiate/Makefile.am:
19806 * tests/instantiate/caps.c:
19807 * tests/mass_elements.c:
19808 * tests/network-clock-utils.scm:
19809 * tests/network-clock.scm:
19811 First pass at cleaning up tests/ dir before moving the rest
19812 Combined with CVS surgery
19814 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19817 queue has moved, update
19819 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19821 * docs/gst/gstreamer-sections.txt:
19822 remove double entries from the docs
19823 * gst/gst_private.h:
19824 * gst/gstinfo.c: (_gst_debug_init):
19825 remove the THREAD debug category
19829 * docs/gst/gstreamer.types:
19830 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19831 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19832 completely move queue and fix up debugging categories
19834 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19836 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19837 make initialization portable, using LL is not
19839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19841 * win32/common/gstconfig.h:
19844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19846 * win32/common/libgstreamer.def:
19847 rename symbols; sort base section
19849 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19851 * gst/gstclock.c: (do_linear_regression):
19852 remove crack non-portable handrolled DEBUG macro
19854 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19856 * docs/random/release:
19858 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19859 (gst_object_flags_get_type), (register_gst_bin_flags),
19860 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19861 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19862 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19863 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19864 (gst_caps_flags_get_type), (register_gst_clock_return),
19865 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19866 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19867 (gst_clock_flags_get_type), (register_gst_state),
19868 (gst_state_get_type), (register_gst_state_change_return),
19869 (gst_state_change_return_get_type), (register_gst_state_change),
19870 (gst_state_change_get_type), (register_gst_element_flags),
19871 (gst_element_flags_get_type), (register_gst_core_error),
19872 (gst_core_error_get_type), (register_gst_library_error),
19873 (gst_library_error_get_type), (register_gst_resource_error),
19874 (gst_resource_error_get_type), (register_gst_stream_error),
19875 (gst_stream_error_get_type), (register_gst_event_type_flags),
19876 (gst_event_type_flags_get_type), (register_gst_event_type),
19877 (gst_event_type_get_type), (register_gst_seek_type),
19878 (gst_seek_type_get_type), (register_gst_seek_flags),
19879 (gst_seek_flags_get_type), (register_gst_format),
19880 (gst_format_get_type), (register_gst_index_certainty),
19881 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19882 (gst_index_entry_type_get_type),
19883 (register_gst_index_lookup_method),
19884 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19885 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19886 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19887 (gst_index_flags_get_type), (register_gst_debug_level),
19888 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19889 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19890 (gst_iterator_result_get_type), (register_gst_iterator_item),
19891 (gst_iterator_item_get_type), (register_gst_message_type),
19892 (gst_message_type_get_type), (register_gst_mini_object_flags),
19893 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19894 (gst_pad_link_return_get_type), (register_gst_flow_return),
19895 (gst_flow_return_get_type), (register_gst_activate_mode),
19896 (gst_activate_mode_get_type), (register_gst_pad_direction),
19897 (gst_pad_direction_get_type), (register_gst_pad_flags),
19898 (gst_pad_flags_get_type), (register_gst_pad_presence),
19899 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19900 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19901 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19902 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19903 (gst_plugin_flags_get_type), (register_gst_rank),
19904 (gst_rank_get_type), (register_gst_query_type),
19905 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19906 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19907 (gst_tag_flag_get_type), (register_gst_task_state),
19908 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19909 (gst_alloc_trace_flags_get_type),
19910 (register_gst_type_find_probability),
19911 (gst_type_find_probability_get_type), (register_gst_uri_type),
19912 (gst_uri_type_get_type), (register_gst_parse_error),
19913 (gst_parse_error_get_type):
19914 * win32/common/gstenumtypes.h:
19915 * win32/common/gstversion.h:
19916 update visual studio generated files
19918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19920 * win32/vs6/libgstbase.dsp:
19921 * win32/vs6/libgstelements.dsp:
19922 update project files for new locations
19924 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19929 reinstate and update
19934 * docs/random/LICENSE:
19937 2005-11-30 Edward Hervey <edward@fluendo.com>
19939 * gst/gsttypefind.c: (gst_type_find_register):
19940 * gst/gsttypefind.h:
19941 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19942 (gst_type_find_factory_dispose):
19943 * gst/gsttypefindfactory.h:
19944 Fix memory leak in GstTypeFindFactory.
19946 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19949 * plugins/elements/Makefile.am:
19950 * plugins/elements/gstelements.c:
19951 * plugins/elements/gstqueue.c:
19952 move queue from core to the elements plugin
19954 2005-11-29 Andy Wingo <wingo@pobox.com>
19956 * libs/gst/base/gstbasetransform.h:
19957 * libs/gst/base/gstbasesrc.h:
19958 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19960 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19961 of pointers by which to pad very extensible base classes (like the
19962 ones in libs/gst/base).
19964 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19966 * docs/gst/gstreamer-docs.sgml:
19967 * docs/gst/gstreamer-sections.txt:
19968 * docs/libs/gstreamer-libs-docs.sgml:
19969 * docs/libs/gstreamer-libs-sections.txt:
19970 moving documentation from core to lib
19972 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19974 * check/Makefile.am:
19976 * docs/gst/Makefile.am:
19978 * gst/base/.cvsignore:
19979 * gst/base/Makefile.am:
19981 * gst/base/gstadapter.c:
19982 * gst/base/gstadapter.h:
19983 * gst/base/gstbasesink.c:
19984 * gst/base/gstbasesink.h:
19985 * gst/base/gstbasesrc.c:
19986 * gst/base/gstbasesrc.h:
19987 * gst/base/gstbasetransform.c:
19988 * gst/base/gstbasetransform.h:
19989 * gst/base/gstcollectpads.c:
19990 * gst/base/gstcollectpads.h:
19991 * gst/base/gstpushsrc.c:
19992 * gst/base/gstpushsrc.h:
19993 * gst/base/gsttypefindhelper.c:
19994 * gst/base/gsttypefindhelper.h:
19995 * gst/check/Makefile.am:
19996 * gst/check/gstcheck.c:
19997 * gst/check/gstcheck.h:
19998 * gst/net/Makefile.am:
19999 * gst/net/gstnet.h:
20000 * gst/net/gstnetclientclock.c:
20001 * gst/net/gstnetclientclock.h:
20002 * gst/net/gstnettimepacket.c:
20003 * gst/net/gstnettimepacket.h:
20004 * gst/net/gstnettimeprovider.c:
20005 * gst/net/gstnettimeprovider.h:
20006 * libs/gst/Makefile.am:
20007 * libs/gst/base/Makefile.am:
20008 * libs/gst/base/gstbasetransform.c:
20009 * libs/gst/check/Makefile.am:
20010 * plugins/elements/Makefile.am:
20012 CVS surgery + support to move base, check, and net out of gst
20015 2005-11-29 Andy Wingo <wingo@pobox.com>
20017 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
20019 * gst/gststructure.h (struct _GstStructure): Only one pointer of
20022 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
20024 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20026 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20028 * gst/gstobject.h: (struct _GstObject): Only one pointer of
20029 padding; reduces object size by about 30%. We don't expect
20030 anything else to go into gstobject.
20032 * gst/gstminiobject.h (struct _GstMiniObject)
20033 (struct _GstMiniObjectClass): Only one pointer of padding; the
20034 payload is only a pointer and two ints anyway. For the class there
20035 are only two methods as well.
20037 * gst/gstelement.h (struct _GstElementClass): Removed
20038 the state_changed signal callback, it is not used.
20040 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20042 * docs/gst/gstreamer.types:
20043 fix includes, though they are a little dinky
20045 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20047 * check/Makefile.am:
20048 look in the right place for elements, a lot more chance of
20051 remove indexers and elements subdirs
20052 * plugins/Makefile.am:
20053 make indexers conditional
20055 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20059 * plugins/elements/Makefile.am:
20060 * plugins/elements/gstcapsfilter.c:
20061 * plugins/elements/gstfilesink.c:
20062 * plugins/elements/gstfilesrc.c:
20063 * plugins/elements/gstidentity.c:
20064 * plugins/indexers/Makefile.am:
20065 do CVS surgery and related build fixery to move elements
20066 and indexers in a new gstreamer/plugins directory, out of the
20069 2005-11-29 Andy Wingo <wingo@pobox.com>
20071 * check/Makefile.am:
20072 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20073 * pkgconfig/gstreamer-net.pc.in:
20074 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20077 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20079 * tools/Makefile.am:
20080 * tools/gst-complete.1.in:
20081 * tools/gst-complete.c:
20082 * tools/gst-compprep.1.in:
20083 * tools/gst-compprep.c:
20084 removing -compprep and -complete
20086 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20088 * gst/gstevent.c: (gst_event_new_new_segment),
20089 (gst_event_parse_new_segment):
20091 fix #320529 - clean up new_segment API and structure.
20092 Let's hope everyone was using the methods, and not the structure.
20094 2005-11-29 Edward Hervey <edward@fluendo.com>
20096 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20097 (gst_base_sink_event), (gst_base_sink_do_sync),
20098 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20099 Properly handle non GST_FORMAT_TIME segment
20100 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20101 Properly handle non GST_FORMAT_TIME segment
20102 * gst/gstsegment.c:
20103 This function is valid if the accumulator is 0 and the format
20104 is different from the requested format.
20106 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20108 * docs/gst/gstreamer-sections.txt:
20109 Add gst_query_new_seeking and gst_query_parse_seeking to the
20112 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20114 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20115 Treat a pad alloc with new caps the same as if we were not
20116 negotiated, in order to allow a changing upstream output
20117 to produce a new format of data.
20119 2005-11-29 Edward Hervey <edward@fluendo.com>
20121 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20122 (gst_base_transform_event), (gst_base_transform_eventfunc):
20123 The event virtual method is now properly implemented, with a default
20125 Sub classes should call the parent_class event method. They should
20126 return FALSE if they had a problem handling the given event, or don't
20127 want GstBaseTransform to send that even downstream
20128 * gst/elements/gstidentity.c: (gst_identity_class_init),
20129 (gst_identity_init), (gst_identity_event),
20130 (gst_identity_transform_ip), (gst_identity_set_property),
20131 (gst_identity_get_property):
20132 * gst/elements/gstidentity.h:
20133 Added the single-segment boolean property.
20134 If set to TRUE, it will output a single segment of data, starting from
20135 0, will eat up all incoming newsegment, and modify the timestamp of the
20136 buffers accordingly
20138 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20140 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20141 Don't ref NULL target pad (#322751). Improve docs.
20143 2005-11-29 Michael Smith <msmith@fluendo.com>
20145 * gst/gstregistryxml.c: (load_plugin):
20146 Don't crash if we failed to load a feature from a plugin.
20148 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20150 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20152 use more check API and less GLib API
20154 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20157 don't run checks if we don't have check
20158 * common/check.mak:
20159 remove the registry when running make torture
20160 * docs/gst/gstreamer-sections.txt:
20161 remove second multiply
20162 * gst/gstqueue.c: (gst_queue_loop):
20163 fix a compile warning when disabling debug
20165 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20168 Hey! Let's print the pad name if the pointer != NULL instead
20169 of when it == NULL :-)
20171 2005-11-28 Wim Taymans <wim@fluendo.com>
20173 * check/gst/gstutils.c: (GST_START_TEST):
20174 Updated check, add some scaling accuracy checking code.
20176 * gst/gstutils.c: (gst_util_div128_64),
20177 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20178 (gst_util_uint64_scale_int):
20179 Fix 6 times faster division code. Optimize for common
20180 1/1 and less common X/1 cases.
20182 2005-11-28 Wim Taymans <wim@fluendo.com>
20184 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20187 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20188 (do_linear_regression), (gst_clock_add_observation):
20190 Release lock when the clock cannot be slaved.
20191 Catch the case where the regression returned an invalid denominator.
20193 * gst/gstutils.c: (gst_util_div128_64_iterate),
20194 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20195 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20196 Add protentially more performant non-iterative 128/64 divide function
20197 that unfortunatly does not work yet.
20198 Shortcut the trivial 0/X = 0 case.
20199 Remove the warnings on overflow.
20201 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20203 * gst/gstplugin.c: (gst_plugin_register_func):
20204 everything causing a plugin not to load should be at least a WARNING
20206 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20208 * docs/random/ensonic/dparams.txt:
20209 some TODOs for the next dev cycle
20210 * libs/gst/controller/gstcontroller.c:
20211 (gst_controlled_property_set_interpolation_mode),
20212 (gst_controlled_property_new):
20213 * libs/gst/controller/gstcontroller.h:
20214 use base type to assign acccessor functions
20216 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20218 * check/Makefile.am:
20219 Oops, that should have been top_srcdir
20221 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20223 * check/Makefile.am:
20224 * check/elements/fdsrc.c: (GST_START_TEST):
20225 Use a cmdline define to specify the location of a file to use for
20226 testing, to avoid breaking distcheck.
20228 2005-11-28 Andy Wingo <wingo@pobox.com>
20230 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20232 2005-11-28 Edward Hervey <edward@fluendo.com>
20234 * tools/gst-launch.c: (main):
20235 Clarify the output strings, makes it easier to translate.
20238 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20241 don't try and build net if we don't even have <sys/socket.h>
20243 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20245 * check/Makefile.am:
20246 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20247 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20248 Add tests for fdsrc seekability
20250 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20251 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20252 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20253 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20254 * gst/elements/gstfdsrc.h:
20255 fdsrc should not be a 'live' source.
20256 Implement seeking on seekable fd's.
20258 * gst/gstquery.c: (gst_query_new_seeking),
20259 (gst_query_parse_seeking):
20261 Implement SEEKING query functions:
20262 *_new_seeking and *_parse_seeking
20264 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20266 * gst/gstelement.c: (gst_element_dispose):
20269 * gst/gstiterator.c:
20270 * gst/gststructure.c:
20273 * libs/gst/controller/gstcontroller.c:
20274 (gst_controlled_property_set_interpolation_mode):
20275 * libs/gst/controller/gstcontroller.h:
20276 * libs/gst/controller/gstinterpolation.c:
20277 (interpolate_none_get_enum_value_array):
20278 support controlling enums
20280 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20283 Improve documentation for gst_value_union().
20286 Change return value for union, intersect and subtract functions
20287 from gint to gboolean.
20289 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20291 * gst/gstvalue.c: (gst_value_serialize_any_list),
20292 (gst_value_transform_any_list_string),
20293 (gst_value_deserialize_list), (gst_value_deserialize_array),
20294 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20295 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20296 (gst_value_set_fraction_range_full),
20297 (gst_value_deserialize_fraction_range),
20298 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20299 (gst_value_deserialize_boolean),
20300 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20301 (gst_value_serialize_float), (gst_value_deserialize_float),
20302 (gst_string_wrap), (gst_value_deserialize_string),
20303 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20304 (gst_value_union_int_range_int_range),
20305 (gst_value_intersect_int_range_int_range),
20306 (gst_value_intersect_double_range_double_range),
20307 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20308 (gst_value_subtract_int_range_int_range),
20309 (gst_value_subtract_double_double_range),
20310 (gst_value_subtract_double_range_double_range),
20311 (gst_value_deserialize_fraction):
20313 Use gint, gdouble and gchar in our API instead of int, double and
20314 char (and make usage in gstvalue.c more consistent).
20316 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20318 * check/Makefile.am:
20319 * libs/gst/controller/Makefile.am:
20320 * libs/gst/dataprotocol/Makefile.am:
20321 fix up Makefile.am and remove GST_ENABLE_NEW
20323 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20327 * gst/base/Makefile.am:
20328 * gst/check/Makefile.am:
20329 * gst/elements/Makefile.am:
20330 * gst/net/Makefile.am:
20331 update LDFLAGS use some more
20333 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20335 * common/m4/gst-doc.m4:
20338 2005-11-26 Edward Hervey <edward@fluendo.com>
20340 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20341 This shouldn't issue a g_warning since it returns NULL if it
20342 couldn't find the plugin, and all functions using this behave
20343 properly on a NULL return. Switching to a GST_WARNING.
20345 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20347 * gst/gstbin.c: (gst_bin_handle_message_func):
20348 Don't leak clock messages.
20350 2005-11-25 Wim Taymans <wim@fluendo.com>
20352 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20353 (gst_util_uint64_scale_int):
20354 Optimisations, remove unneeded vars.
20356 2005-11-25 Wim Taymans <wim@fluendo.com>
20358 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20359 Added more checks for the high precision uint64 cases.
20361 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20362 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20363 Implement high precision (guint64 * guint64) / guint64.
20365 2005-11-24 Wim Taymans <wim@fluendo.com>
20367 * gst/base/gstbasesrc.c: (gst_base_src_query):
20368 Fix wrong percentage query.
20370 * gst/gstutils.c: (gst_util_uint64_scale),
20371 (gst_util_uint64_scale_int):
20372 Add some more common cases that can be handled
20373 efficiently to _scale.
20375 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20377 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20378 (gst_mini_object_suite):
20379 don't use check calls from threads; check probably isn't
20380 threadsafe and using a lock to make it threadsafe would
20381 defeat the purpose of this check
20382 * gst/check/gstcheck.c:
20383 * gst/check/gstcheck.h:
20384 use GST_DEBUG some more
20386 2005-11-24 Wim Taymans <wim@fluendo.com>
20388 * gst/gstutils.c: (gst_util_uint64_scale),
20389 (gst_util_uint64_scale_int):
20390 Chain trivial case to _scale_int.
20392 2005-11-24 Wim Taymans <wim@fluendo.com>
20394 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20395 Added test for scaling.
20400 * gst/gstutils.c: (gst_util_uint64_scale_int):
20401 Implemented high precision scaling code.
20403 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20406 do not crash on pad==NULL
20408 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20410 Patch by: Stefan Kost
20412 * common/gtk-doc.mak:
20413 * docs/gst/Makefile.am:
20414 * docs/libs/Makefile.am:
20415 Fix distcheck issues for the libraries docs build
20418 2005-11-24 Michael Smith <msmith@fluendo.com>
20420 * docs/manual/basics-helloworld.xml:
20421 Fix bug #315027: memory leak in example code in docs.
20423 2005-11-24 Michael Smith <msmith@fluendo.com>
20425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20426 Unlock the PREROLL_LOCK in a failure case.
20428 2005-11-24 Wim Taymans <wim@fluendo.com>
20430 * docs/gst/gstreamer-sections.txt:
20431 * gst/base/gstadapter.h:
20432 * gst/base/gstbasesink.h:
20433 * gst/base/gstbasesrc.h:
20434 * gst/base/gstbasetransform.h:
20435 * gst/base/gstpushsrc.h:
20436 * gst/elements/gstfakesink.h:
20437 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20438 * gst/elements/gstfakesrc.h:
20439 * gst/elements/gstfilesink.h:
20440 * gst/elements/gstfilesrc.h:
20443 * gst/gstbuffer.c: (_gst_buffer_copy):
20446 * gst/gstchildproxy.c:
20448 * gst/gstelement.c:
20449 * gst/gstelementfactory.c:
20450 * gst/gstelementfactory.h:
20452 * gst/gstghostpad.h:
20454 * gst/gstinterface.h:
20455 * gst/gstminiobject.c:
20456 * gst/gstminiobject.h:
20459 * gst/gstpadtemplate.h:
20460 * gst/gstpipeline.h:
20461 * gst/gstpluginfeature.h:
20464 * gst/gsttaglist.c:
20465 * gst/gsttaglist.h:
20466 * gst/gsttagsetter.c:
20467 * gst/gsttagsetter.h:
20470 * gst/gsttypefind.h:
20473 * gst/net/gstnetclientclock.c:
20474 * gst/net/gstnetclientclock.h:
20475 * gst/net/gstnettimepacket.c:
20476 * gst/net/gstnettimeprovider.c:
20477 * gst/net/gstnettimeprovider.h:
20480 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20482 * configure.ac: back to HEAD
20484 === release 0.9.6 ===
20486 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20489 releasing 0.9.6, "Always On Time"
20491 2005-11-23 Wim Taymans <wim@fluendo.com>
20493 * docs/gst/gstreamer-sections.txt:
20494 * gst/glib-compat.c:
20495 * gst/gsttagsetter.c:
20497 * gst/net/gstnetclientclock.c:
20498 * gst/net/gstnettimepacket.h:
20501 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20503 * docs/faq/using.xml:
20504 * docs/libs/tmpl/gstcontrol.sgml:
20505 * docs/manual/advanced-dparams.xml:
20506 * docs/manual/appendix-checklist.xml:
20507 * docs/manual/basics-elements.xml:
20508 * docs/pwg/other-source.xml:
20509 * docs/random/moving-plugins:
20511 * tools/gst-launch.1.in:
20512 remove mentions of sinesrc
20514 2005-11-23 Michael Smith <msmith@fluendo.com>
20516 * docs/gst/gstreamer-sections.txt:
20517 Update for new API and API changes.
20519 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20521 Documentation typo fix.
20522 * gst/net/gstnettimepacket.c:
20523 Documentation fixes for arguments.
20525 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20527 * gst/gststructure.c: (gst_structure_get_fraction),
20528 (gst_structure_parse_value),
20529 (gst_structure_fixate_field_nearest_fraction):
20530 * gst/gststructure.h:
20531 * gst/gstutils.c: (gst_util_uint64_scale_int):
20533 * scripts/update-funcnames:
20535 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20536 Make gst_structure_fixate_field_nearest_fraction take a numerator
20537 and denominator argument instead of a GValue
20538 add gst_structure_get_fraction helper function.
20540 2005-11-23 Wim Taymans <wim@fluendo.com>
20542 * docs/design/part-TODO.txt:
20545 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20546 * gst/net/gstnetclientclock.h:
20547 Use parent fields for timeout and window_size.
20549 2005-11-23 Andy Wingo <wingo@pobox.com>
20551 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20552 rate_num/rate_denom change.
20554 * gst/net/gstnetclientclock.c
20555 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20556 OBJECT_LOCK. Don't call add_observation with the lock.
20558 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20560 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20562 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20563 deal with rate as a fraction whose numerator and denominator are
20564 GstClockTime values.
20565 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20566 master; the other fields are protected by the SLAVE_LOCK.
20567 (do_linear_regression): Note that this must be called with the
20569 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20570 OBJECT_LOCK. Call set_calibration instead of touching the
20571 variables directly.
20572 (gst_clock_set_property, gst_clock_get_property): Protect
20573 master/slave parameters with the SLAVE_LOCK.
20575 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20576 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20577 note that all of the instance variables that add_observation and
20578 the set_master functions use are protected by that lock and not
20580 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20582 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20583 the caller to take the object lock.
20585 2005-11-23 Wim Taymans <wim@fluendo.com>
20587 * gst/gsterror.c: (_gst_core_errors_init):
20589 Add error for clock stuff.
20591 * gst/gstpipeline.c: (gst_pipeline_change_state),
20592 (gst_pipeline_set_clock):
20593 Post clock error when clock cannot be used in a pipeline.
20595 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20597 * docs/gst/gstreamer-sections.txt:
20598 make two symbols from gstinfo private for the docs
20599 * gst/base/gstcollectpads.h:
20601 fix doc typos, update docs
20603 2005-11-22 Wim Taymans <wim@fluendo.com>
20605 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20606 (gst_base_sink_wait), (gst_base_sink_do_sync),
20607 (gst_base_sink_handle_event):
20608 * gst/base/gstbasesink.h:
20609 No need to store the clock, the parent element class already
20612 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20613 Updates for clock_set returning a gboolean
20615 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20616 (gst_clock_id_wait_async), (gst_clock_class_init),
20617 (gst_clock_init), (gst_clock_finalize),
20618 (gst_clock_get_internal_time), (gst_clock_get_time),
20619 (gst_clock_slave_callback), (gst_clock_set_master),
20620 (gst_clock_get_master), (do_linear_regression),
20621 (gst_clock_add_observation), (gst_clock_set_property),
20622 (gst_clock_get_property):
20624 Implement master/slave. When setting a clock as a slave, a
20625 periodic timeout is scheduled to sample master and slave times.
20626 Then the slave clock is recalibrated to match offset and rate
20627 of the master clock.
20628 Update logging a bit.
20629 Add flag so that a clock can state that is cannot be slaved to
20632 * gst/gstelement.c: (gst_element_set_clock):
20633 * gst/gstelement.h:
20634 The set clock returns a gboolean for when an element cannot
20635 deal with the selected clock in the pipeline.
20637 * gst/gstpipeline.c: (gst_pipeline_change_state),
20638 (gst_pipeline_set_clock):
20639 * gst/gstpipeline.h:
20640 Handle the case where the selected clock cannot be set on
20643 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20644 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20645 (gst_net_client_clock_set_property),
20646 (gst_net_client_clock_get_property),
20647 (gst_net_client_clock_observe_times):
20648 * gst/net/gstnetclientclock.h:
20649 Use regression code in GstClock parent, remove duplicated
20652 2005-11-22 Michael Smith <msmith@fluendo.com>
20654 * gst/gstutils.c: (gst_util_clock_time_scale):
20656 * docs/gst/gstreamer-sections.txt:
20657 Rename method to have extra underscore.
20659 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20661 * gst/elements/Makefile.am:
20662 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20663 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20664 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20665 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20666 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20667 * gst/elements/gstfakesrc.h:
20668 * gst/gstqueue.c: (queue_leaky_get_type):
20669 correctly fix GEnumValues so that nick is the short lowercase
20671 * tools/gst-inspect.c: (print_element_properties_info):
20672 also show the nick, since it's useful to use from parse_launch
20676 2005-11-22 Michael Smith <msmith@fluendo.com>
20678 * gst/gstutils.c: (gst_util_clocktime_scale):
20680 * docs/gst/gstreamer-sections.txt:
20681 Add util method for scaling a clocktime by a fraction. Useful
20682 implementation is left as an exercise for the reader.
20684 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20686 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20687 If needed, allocate storage in the destination value during
20690 2005-11-22 Edward Hervey <edward@fluendo.com>
20692 * docs/gst/gstreamer-sections.txt:
20695 * gst/gsturitype.c:
20696 * gst/gsturitype.h:
20697 * gst/gstutils.c: (gst_util_set_object_arg):
20698 * tools/gst-compprep.c: (main):
20699 * tools/gst-inspect.c: (print_element_properties_info):
20700 Removed GstURI, closes bug #321061
20702 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20704 * check/gst/gststructure.c: (GST_START_TEST):
20705 * gst/gststructure.c: (gst_structure_parse_value):
20706 Oops, broke automatic string type parsing.
20707 Add a test to catch it in future.
20709 2005-11-22 Andy Wingo <wingo@pobox.com>
20711 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20712 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20713 Actually rename the function implementations. Grr.
20715 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20717 * check/gst/capslist.h:
20719 * check/gst/gststructure.c: (GST_START_TEST),
20720 (gst_structure_suite):
20721 Test automatic value type detection in gst_structure_from_string.
20722 * gst/gststructure.c: (gst_structure_parse_value):
20723 Add fraction as a type we try and guess automatically in
20724 caps/structure strings.
20726 2005-11-22 Andy Wingo <wingo@pobox.com>
20728 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20730 * gst/gsttagsetter.h:
20731 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20732 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20733 (gst_tag_setter_add_tag_valist)
20734 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20735 _add_values, _add_valist, and _add_valist_values. Since this is an
20736 interface the function suffixes should be more explicit so
20737 language binding don't end up with element.add_valist ->
20738 gst_tag_setter_add_valist, for example. Fixes #322069.
20740 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20742 * check/gst/gstcaps.c: (GST_START_TEST):
20743 Extend caps string tests to check that a caps to string
20744 conversion is reversible and produces the same caps.
20746 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20747 Output "fraction" as the generic type fraction range, so caps
20748 serialisation and deserialisation works.
20749 * check/gst/capslist.h:
20750 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20751 Support 'MIN' and 'MAX' for deserialising fractions.
20753 2005-11-22 Andy Wingo <wingo@pobox.com>
20755 * gst/gstevent.h (gst_event_new_new_segment)
20756 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20757 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20758 Renamed from *_newsegment, *_buffersize, *_notarget.
20760 * scripts/update-funcnames: New script, performs the changes
20763 2005-11-22 Wim Taymans <wim@fluendo.com>
20765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20766 Make sure the GstFlowReturn is returned.
20768 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20769 (gst_bus_add_signal_watch):
20771 add gst_bus_add_signal_watch_full.
20773 * gst/gstplugin.c: (gst_plugin_load_file):
20774 Small style cleanup.
20776 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20778 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20779 Block the fakesrc srcpad when we send an event, to avoid
20780 contention on the stream_lock causing random test failures.
20782 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20784 * check/gst/gstvalue.c: (GST_START_TEST):
20785 * gst/gstvalue.c: (gst_value_fraction_subtract):
20788 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20791 include "gstchildproxy.h"
20792 * gst/gstchildproxy.h:
20793 * libs/gst/controller/gstcontroller.h:
20794 use G_GNUC_NULL_TERMINATED
20796 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20798 * check/gst/capslist.h:
20799 * check/gst/gstcaps.c: (GST_START_TEST):
20800 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20801 * gst/gststructure.c: (gst_structure_parse_range),
20802 (gst_structure_fixate_field_nearest_fraction):
20803 * gst/gststructure.h:
20804 * gst/gstvalue.c: (gst_value_init_fraction_range),
20805 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20806 (gst_value_collect_fraction_range),
20807 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20808 (gst_value_set_fraction_range_full),
20809 (gst_value_get_fraction_range_min),
20810 (gst_value_get_fraction_range_max),
20811 (gst_value_serialize_fraction_range),
20812 (gst_value_transform_fraction_range_string),
20813 (gst_value_compare_fraction_range),
20814 (gst_value_deserialize_fraction_range),
20815 (gst_value_intersect_fraction_fraction_range),
20816 (gst_value_intersect_fraction_range_fraction_range),
20817 (gst_value_subtract_fraction_fraction_range),
20818 (gst_value_subtract_fraction_range_fraction),
20819 (gst_value_subtract_fraction_range_fraction_range),
20820 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20821 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20822 (gst_value_transform_string_fraction), (_gst_value_initialize):
20824 Implement fraction ranges and extend GstFraction to support
20825 arithmetic subtraction, as well as deserialization from integer
20826 strings such as "100"
20827 Add a testsuite as for int and double range set operations
20829 2005-11-21 Andy Wingo <wingo@pobox.com>
20831 * gst/gsttaglist.h:
20833 * gst/gststructure.h: Add glib-compat.h.
20835 2005-11-21 Wim Taymans <wim@fluendo.com>
20837 * gst/gstbin.c: (gst_bin_change_state_func):
20840 2005-11-21 Wim Taymans <wim@fluendo.com>
20842 * gst/gstsegment.h:
20843 And add a nice define too.
20845 2005-11-21 Wim Taymans <wim@fluendo.com>
20847 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20848 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20849 (gst_segment_set_duration), (gst_segment_set_last_stop),
20850 (gst_segment_set_seek), (gst_segment_set_newsegment),
20851 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20852 (gst_segment_clip):
20853 * gst/gstsegment.h:
20854 Make binding friendly.
20856 2005-11-21 Andy Wingo <wingo@pobox.com>
20858 * gst/gsttagsetter.h:
20859 * gst/gsttaglist.h:
20860 * gst/gststructure.h:
20862 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20865 * gst/gsterror.c (_gst_core_errors_init):
20866 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20869 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20870 (noinst_HEADERS): noinst the -private.
20872 2005-11-21 Michael Smith <msmith@fluendo.com>
20875 * gst/gstregistry.h:
20876 Remove unimplemented declarations for which we can see no sensible
20879 2005-11-21 Andy Wingo <wingo@pobox.com>
20881 * gst/gst.h: Include glib-compat.h.
20883 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20885 * gst/glib-compat.c: Include the public and the private header.
20887 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20891 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20893 * check/gst/gstevent.c (create_custom_events): Check that
20894 FLUSH_STOP is serialized.
20896 * check/elements/identity.c (event_func):
20897 * check/elements/fakesrc.c (event_func): No stream lock, the core
20900 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20901 stream lock taking, yay.
20903 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20904 ensure that core takes the stream lock.
20906 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20909 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20910 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20911 it already. For the flush start we do take it though so we get the
20912 right preroll state change messages.
20914 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20915 the stream lock here, the core does it for us.
20917 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20918 GST_STREAM_GET_LOCK.
20919 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20920 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20921 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20922 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20923 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20924 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20926 * gst/gstpad.c: Update for stream lock name change.
20928 * gst/base/gstbasesink.c: Update for preroll lock name change.
20930 2005-11-21 Wim Taymans <wim@fluendo.com>
20932 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20933 (gst_clock_get_master):
20935 * gst/gstsystemclock.c: (gst_system_clock_init):
20936 Convert Clock flags to object flags.
20937 Added methods to manage master/slave clocks.
20939 2005-11-21 Wim Taymans <wim@fluendo.com>
20941 * check/gst/gstsegment.c: (GST_START_TEST):
20942 * docs/design/part-TODO.txt:
20943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20944 (gst_base_sink_event), (gst_base_sink_do_sync),
20945 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20946 (gst_base_sink_query), (gst_base_sink_change_state):
20947 * gst/base/gstbasesink.h:
20948 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20949 (gst_base_src_default_newsegment),
20950 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20951 (gst_base_src_get_range), (gst_base_src_loop),
20952 (gst_base_src_change_state):
20953 * gst/base/gstbasesrc.h:
20954 * gst/base/gstbasetransform.c:
20955 (gst_base_transform_prepare_output_buf),
20956 (gst_base_transform_event), (gst_base_transform_change_state):
20957 * gst/base/gstbasetransform.h:
20958 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20959 (gst_collect_pads_event):
20960 * gst/base/gstcollectpads.h:
20961 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20962 (gst_fake_src_create):
20963 * gst/elements/gstfakesrc.h:
20964 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20965 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20966 (gst_segment_set_last_stop), (gst_segment_set_seek),
20967 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20968 (gst_segment_to_running_time), (gst_segment_clip):
20969 * gst/gstsegment.h:
20970 More segment updates, replace code in plugins with segment
20973 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20975 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20976 Don't ignore sscanf results
20978 2005-11-21 Andy Wingo <wingo@pobox.com>
20980 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20983 * *.c: Ran scripts/update-macros. Oh yes.
20985 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20986 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20989 * scripts/update-macros: New script. Run it on your files to
20990 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20993 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20995 * docs/gst/Makefile.am:
20996 * docs/gst/gstreamer-docs.sgml:
20997 * docs/gst/gstreamer-sections.txt:
20998 * docs/gst/gstreamer.types:
21000 more docs fixes, add new api to the docs
21002 2005-11-21 Andy Wingo <wingo@pobox.com>
21004 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
21005 state_broadcast call.
21007 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
21009 2005-11-21 Julien MOUTTE <julien@moutte.net>
21011 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
21012 function calls for arrays.
21014 2005-11-21 Stefan Kost <ensonic@users.sf.net>
21016 * docs/random/ensonic/media-device-daemon.txt:
21017 wild idea, can this be done?
21018 * docs/gst/gstreamer-sections.txt:
21023 * gst/gstpluginfeature.c:
21027 doc fixes and additions
21029 2005-11-21 Andy Wingo <wingo@pobox.com>
21031 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
21032 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
21033 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
21034 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21035 private to the basesrc implementation.
21037 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21038 behalf of event function if necessary. It should no longer be
21039 necessary to take the stream lock in pad's event functions. Fixes
21042 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21043 * docs/gst/gstreamer-sections.txt:
21044 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21045 (gst_structure_fixate_field_nearest_double),
21046 (gst_structure_fixate_field_boolean):
21047 * gst/gststructure.h:
21048 * win32/common/libgstreamer.def:
21049 * win32/gstreamer.def:
21051 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21054 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21056 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21057 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21058 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21059 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21060 (gst_fdsrc_uri_handler_init):
21061 * gst/elements/gstfdsrc.h:
21062 Port fd:// URI handler from 0.8 to fdsrc
21064 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21066 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21067 (gst_value_serialize_fourcc):
21069 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21070 consistent with our other format defines (#320324).
21072 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21074 * gst/gstvalue.c: (gst_value_is_fixed):
21075 Revert previous commit. Value lists are by definition
21076 not fixed, as they are a list of possible values.
21078 2005-11-21 Andy Wingo <wingo@pobox.com>
21080 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21081 during the stable series if we need it. Fixes #319178.
21083 * gst/gstevent.c (gst_event_new_filler): Removed.
21085 * check/gst/gstevent.c: Update comment about filler events.
21087 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21089 * gst/gstvalue.c: (gst_value_is_fixed):
21090 Should handle both value arrays and value lists.
21092 2005-11-21 Andy Wingo <wingo@pobox.com>
21094 patch by: Alessandro Dessina <alessandro nnva org>
21096 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21097 functions to access arrays. Fixes #321962.
21099 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21101 * docs/gst/gstreamer.types:
21102 gst_collectpads_get_type => gst_collect_pads_get_type.
21104 * gst/base/gstbasetransform.c:
21105 Remove unused SIGNAL_HANDOFF enum.
21107 2005-11-21 Andy Wingo <wingo@pobox.com>
21109 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21110 the event type (upstream, downstream, serialized). Renamed
21111 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21112 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21113 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21115 * gst/gstevent.c: Update for new CUSTOM event names.
21117 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21120 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21123 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21125 * docs/gst/gstreamer-sections.txt:
21126 * win32/common/libgstbase.def:
21127 * win32/libgstbase.def:
21128 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21129 (gst_collect_pads_class_init), (gst_collect_pads_init),
21130 (gst_collect_pads_finalize), (gst_collect_pads_new),
21131 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21132 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21133 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21134 (gst_collect_pads_start), (gst_collect_pads_stop),
21135 (gst_collect_pads_peek), (gst_collect_pads_pop),
21136 (gst_collect_pads_available), (gst_collect_pads_read),
21137 (gst_collect_pads_flush), (gst_collect_pads_event),
21138 (gst_collect_pads_chain):
21139 * gst/base/gstcollectpads.h:
21140 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21141 unimplemented functions as unimplemented. Add padding to
21142 GstCollectData. (#320766, #320423)
21144 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21146 * gst/gstmessage.c:
21147 Improve docs for DURATION message (usage of duration parameter)
21150 2005-11-20 Wim Taymans <wim@fluendo.com>
21152 * check/Makefile.am:
21153 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21157 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21158 (gst_segment_set_seek), (gst_segment_set_newsegment),
21159 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21160 (gst_segment_clip):
21161 * gst/gstsegment.h:
21162 Added segment helper structure and methods. Not fully implemented
21164 Added segment check.
21166 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21168 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21169 Add a deserialisation test for fractions
21170 * examples/metadata/read-metadata.c: (message_loop),
21171 (make_pipeline), (main):
21172 Fix up metadata reading sample.
21173 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21175 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21176 Don't try and fixate empty caps
21177 * gst/gst_private.h:
21178 Wrap in G_BEGIN_DECLS/G_END_DECLS
21179 * gst/gstvalue.c: (gst_value_collect_fraction),
21180 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21181 (gst_value_transform_string_fraction),
21182 (gst_value_compare_fraction):
21183 Add some extra guards to ensure that we don't end up
21184 with an invalid denominator of 0 in a gstfraction and
21185 that fractions always get reduced.
21187 2005-11-20 Wim Taymans <wim@fluendo.com>
21189 * docs/gst/gstreamer-sections.txt:
21191 * gst/gstelement.c:
21200 2005-11-20 Wim Taymans <wim@fluendo.com>
21202 * docs/design/part-TODO.txt:
21204 Make a proper enum of the flag.
21206 2005-11-19 Wim Taymans <wim@fluendo.com>
21208 * docs/design/part-TODO.txt:
21209 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21210 (gst_format_to_quark), (gst_format_register):
21212 * gst/gstquery.c: (_gst_query_initialize),
21213 (gst_query_type_get_name), (gst_query_type_to_quark),
21214 (gst_query_type_register):
21216 Add type to quark and type to string conversions.
21218 2005-11-19 Andy Wingo <wingo@pobox.com>
21220 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21223 2005-11-19 Wim Taymans <wim@fluendo.com>
21225 * docs/design/part-TODO.txt:
21226 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21227 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21228 (gst_bin_handle_message_func):
21230 Make message handling overridable.
21232 2005-11-19 Andy Wingo <wingo@pobox.com>
21234 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21237 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21239 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21240 is a GstClockTime. Fixes #321710.
21242 * gst/gstclock.h (GstClock): Remove offset property. Add
21243 internal_calibration and external_calibration. Fix padding. Pad
21244 also by GstClockTime so we don't run into problems.
21246 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21247 (gst_clock_get_rate_offset): Remove.
21248 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21251 * gst/gstutils.c (g_static_rec_cond_wait)
21252 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21254 * gst/gstbin.c: Remove terrible continue_state prototype.
21256 * gst/gstelement.h (gst_element_continue_state): Make public.
21258 * gst/gstelement.h:
21259 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21260 by continue_state. Fixes #319389.
21262 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21263 Really fixes #168438. However I don't see anywhere where the
21264 filter function is called... stupid GStreamer...
21266 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21267 don't have a dispose function, so it won't get called when the
21268 object is unreffed, but oh well!
21270 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21271 allows a destroy function to be set so user_data can be freed.
21273 (gst_index_set_filter): Call gst_index_set_filter_full.
21275 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21277 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21278 string should produce an error, given the lack of a way to
21279 represent NULL strings. Fixes #165650.
21282 * gst/gstvalue.c (gst_value_array_append_value)
21283 (gst_value_array_prepend_value, gst_value_array_get_size)
21284 (gst_value_array_get_value): New API, copied from
21285 gst_value_list_*, only operates on arrays.
21286 (gst_value_list_append_value, gst_value_list_prepend_value)
21287 (gst_value_list_concat, gst_value_list_get_size)
21288 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21290 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21291 init_list, because it works on both.
21292 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21293 (gst_value_copy_list_or_array): Renamed from copy_list.
21294 (gst_value_free_list_or_array): Renamed from free_list.
21295 (gst_value_collect_list_or_array): Renamed from collect_list.
21296 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21297 (gst_value_list_or_array_peek_pointer): Renamed from
21299 (_gst_value_array_value_table, _gst_value_list_value_table):
21300 Update value table functions.
21301 (gst_value_compare_list_or_array): Renamed from compare_list.
21303 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21306 * gst/gsttaglist.c:
21307 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21308 GstTagList*. Fixes #143472.
21310 * gst/gststructure.h: Clarify what the foreach/map functions can
21311 or can't do to their arguments.
21313 2005-11-18 Wim Taymans <wim@fluendo.com>
21315 * gst/gstclock.c: (gst_clock_set_calibration),
21316 (gst_clock_get_calibration):
21318 Calibration can be set with internal time equal to current
21321 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21327 2005-11-18 Andy Wingo <wingo@pobox.com>
21330 * pkgconfig/gstreamer-net.pc.in:
21331 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21332 * pkgconfig/Makefile.am: Add net pkgconfig files.
21334 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21337 * gst/gstghostpad.c:
21343 2005-11-18 Andy Wingo <wingo@pobox.com>
21345 * gst/net/gstnetclientclock.c: Turn off debugging.
21347 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21348 times connverge somewhat. Can't make a real test.
21350 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21351 integer arithmetic. Return the minimum of the domain, which can be
21352 set as "internal" for gst_clock_set_calibration.
21353 (gst_net_client_clock_observe_times): Call _set_calibration.
21354 (gst_net_client_clock_new): Call _set_calibration instead of
21357 * check/net/gstnetclientclock.c (test_functioning): Use the right
21361 * gst/gstclock.c (gst_clock_get_calibration)
21362 (gst_clock_set_calibration): New functions, obsolete the ones I
21363 added yesterday. Doh. Precision issues mean we have to extrapolate
21364 from a point in the more recent past than 1970.
21365 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21367 (gst_clock_adjust_unlocked): Use the right calibration data.
21369 2005-11-18 Edward Hervey <edward@fluendo.com>
21371 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21372 Also reset the ->current_* values in READY->PAUSED
21374 2005-11-18 Andy Wingo <wingo@pobox.com>
21376 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21377 Whoops, check the right fd. Also add some debugging.
21378 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21379 (do_linear_regression): Add a crapload of debugging. Subtract off
21380 the minimum values from the input series to discard unneeded bits.
21381 Use only int arithmetic. There is still double arithmetic when
21382 calculating the intercept that needs fixing. Return boolean to
21383 indicate success; FALSE would mean the domain or range is too
21384 great. Still needs fixes.
21386 2005-11-18 Wim Taymans <wim@fluendo.com>
21388 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21389 For the current position in stream time, we need to subtract
21392 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21393 Release lock before calling the callback function of async
21396 2005-11-18 Andy Wingo <wingo@pobox.com>
21398 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21399 Port goes all the way to MAXUINT16.
21401 * gst/net/gstnettimeprovider.c: Make the port range the same as
21402 for the kernel: 0 assigns, otherwise ports are less than
21405 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21408 * check/net/gstnetclientclock.c (test_functioning): Add the start
21411 2005-11-18 Wim Taymans <wim@fluendo.com>
21413 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21414 (gst_bin_remove_func), (bin_bus_handler):
21416 Removing a clock provider from a bin, triggers a clock lost message
21417 so that a new clock will be selected.
21418 Adding a clock to a bin triggers a clock provider message.
21419 Make sure we reselect a clock when we received a clock lost message.
21420 Keep a reference to the element that provided the clock.
21422 2005-11-18 Andy Wingo <wingo@pobox.com>
21424 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21425 the clock initially so it produces values around the base time.
21426 (gst_net_client_clock_class_init): Typo fix.
21427 (gst_net_client_clock_thread): Add note on when the socket gets
21430 2005-11-17 Wim Taymans <wim@fluendo.com>
21432 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21433 Free remote and local time arrays.
21435 2005-11-17 Wim Taymans <wim@fluendo.com>
21437 * gst/net/gstnetclientclock.c: (do_linear_regression),
21438 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21439 Fix compilation, uninitialized vars and a forgotten continue.
21441 2005-11-17 Andy Wingo <wingo@pobox.com>
21443 * check/Makefile.am (check_PROGRAMS):
21444 * check/net/gstnetclientclock.c: Add a most minimal test for the
21445 net client clock. More to come later.
21447 * gst/net/gstnet.h:
21448 * gst/net/Makefile.am: Add netclientclock.
21450 * gst/net/gstnetclientclock.h:
21451 * gst/net/gstnetclientclock.c: New files, implement an untested
21452 GstClock that takes its time from a network time provider.
21453 Implements the algorithm in network-clock.scm.
21455 * tests/network-clock.scm (*window-size*): Rename from
21457 * tests/network-clock.scm (network-time):
21458 * tests/network-clock-utils.scm (q-push): Update callers.
21460 2005-11-17 Wim Taymans <wim@fluendo.com>
21462 * gst/gstbin.c: (gst_bin_provide_clock_func),
21463 (gst_bin_sort_iterator_new):
21464 And unref the child too..
21466 2005-11-17 Wim Taymans <wim@fluendo.com>
21468 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21469 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21470 Refactor the sort iterator so it can be used while holding the
21472 Make clock selection select a clock closest to the source.
21474 2005-11-17 Michael Smith <msmith@fluendo.com>
21476 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21477 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21479 Anonymous structs are a gcc (and some other compilers) extension, so
21480 don't use them. Since this is only for ABI-compatibility, and our
21481 API/ABI freeze is over in a few days, this whole thing will only
21482 last a few days, so don't bother trying to think up a meaningful
21483 name for the struct.
21485 2005-11-17 Andy Wingo <wingo@pobox.com>
21487 * gst/gstclock.h (GstClock): Add rate and offset properties,
21488 preserving ABI stability. Add rate/offset accessors. Will file bug
21489 for the freeze break.
21491 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21492 and offset, trying to keep precision and avoiding
21493 underflow/overflow.
21494 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21495 functions. Make gst_clock_set_time_adjust obsolete.
21496 (gst_clock_set_time_adjust): Note that this function is obsolete.
21497 Will file bug soon.
21499 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21500 greppable by using GST_PADDING-1+1.
21502 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21504 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21506 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21507 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21509 * gst/gstpadtemplate.h:
21510 * gst/gstpluginfeature.h:
21511 Don't use c++ style comments in headers (#321638).
21513 2005-11-16 Andy Wingo <wingo@pobox.com>
21515 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21518 * check/net/gstnettimeprovider.c: Check to see that the time
21519 provider actually provides times. Works, yo!
21521 2005-11-16 Wim Taymans <wim@fluendo.com>
21523 * check/Makefile.am:
21526 * check/elements/fakesrc.c: (GST_START_TEST):
21527 Set element to NULL before disposing it.
21529 2005-11-16 Andy Wingo <wingo@pobox.com>
21531 * gst/net/Makefile.am:
21532 * gst/net/gstnet.h:
21533 * gst/net/gstnettimeprovider.c:
21534 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21535 provider, include it from gstnet.h, and add it to the build.
21537 * gst/net/gstnettimepacket.h:
21538 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21539 sending and receiving.
21541 2005-11-16 Wim Taymans <wim@fluendo.com>
21543 * check/Makefile.am:
21544 Enable valgrind check.
21546 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21547 (gst_fake_src_alloc_buffer):
21550 2005-11-16 Wim Taymans <wim@fluendo.com>
21552 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21553 Call parent finalize too.
21555 2005-11-16 Wim Taymans <wim@fluendo.com>
21557 * check/Makefile.am:
21558 Enable valgrind check that should work fine now.
21560 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21561 * gst/gstqueue.c: (gst_queue_init):
21562 Fix memleaks in pad allocation.
21564 2005-11-16 Andy Wingo <wingo@pobox.com>
21566 * gst/net/Makefile.am:
21567 * gst/net/gstnet.h: New part of core to hold network elements and
21568 objects. Put in core because it exposes API that applications want
21569 to use. The library is named libgstnet-tempname right now because
21570 of the existing libgstnet in gst-plugins-base. Solution is
21571 probably to rename the one in plugins-base; will file a bug for
21574 * gst/net/gstnettimeprovider.c:
21575 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21576 get_time call over the network.
21579 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21581 * check/Makefile.am:
21582 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21583 get additions shortly.
21585 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21587 * gst/gstpad.c: (gst_pad_new_from_static_template):
21589 add gst_pad_new_from_static_template functions
21590 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21591 (gst_check_setup_sink_pad):
21592 * gst/elements/gsttee.c: (gst_tee_init):
21595 2005-11-16 Wim Taymans <wim@fluendo.com>
21597 * gst/gstpad.c: (gst_pad_pause_task):
21598 Removed warning, it's not really an error either.
21600 2005-11-16 Wim Taymans <wim@fluendo.com>
21602 * gst/base/gstbasetransform.c:
21603 (gst_base_transform_prepare_output_buf),
21604 (gst_base_transform_event):
21605 Check if the caps are NULL, this can happen if the element
21606 is shutting down and the pad caps are set to NULL.
21608 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21610 * gst/elements/gsttee.c: (gst_tee_init):
21611 fix pad template leak in tee
21613 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21615 * gst/glib-compat.c: (g_value_dup_gst_object):
21616 * gst/glib-compat.h:
21617 * gst/gstpad.c: (gst_pad_set_property):
21618 use gst_object_ref when setting the pad template; this will
21619 trigger the pad template leaks on GLib 2.6 and the slaves
21621 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21623 * gst/glib-compat.c: (gst_flags_get_first_value):
21624 * gst/glib-compat.h:
21625 * gst/gstregistryxml.c:
21626 remove functions copied from GLib 2.6
21628 2005-11-16 Michael Smith <msmith@fluendo.com>
21631 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21632 do, but only breaks with newer valgrind versions. We're not a
21633 valgrind tool, we have no link-time dependencies on libcoregrind.
21635 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21637 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21639 * gst/gstmessage.h:
21642 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21644 * gst/base/gstbasesrc.c: (gst_base_src_init):
21645 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21646 * gst/gstqueue.c: (gst_queue_init):
21647 * gst/gstregistryxml.c: (load_feature):
21648 Revert all these unrefs, they don't even pass make check !
21650 2005-11-15 Johan Dahlin <johan@gnome.org>
21652 * gst/base/gstbasesrc.c: (gst_base_src_init):
21653 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21654 * gst/gstqueue.c: (gst_queue_init):
21655 Free pad templates, fixes a couple of leaks.
21657 2005-11-15 Daniel Fischer <dan at f3c dot com>
21659 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21661 * gst/gstpad.c: (gst_pad_get_property):
21662 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21663 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21666 2005-11-15 Wim Taymans <wim@fluendo.com>
21671 2005-11-15 Andy Wingo <wingo@pobox.com>
21673 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21675 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21676 using GST_CLOCK_TIME_NONE to disable base time management.
21677 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21678 time if it was NONE before.
21679 (gst_pipeline_change_state): Only munge the base time if
21680 stream_time != GST_CLOCK_TIME_NONE.
21682 * check/gst/gstpipeline.c (test_base_time): Punt around the
21683 problem of the probe not being called, because that's not the
21684 issue I'm looking at. Add a check that setting stream_time to NONE
21685 disables base time management.
21687 2005-11-15 Wim Taymans <wim@fluendo.com>
21689 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21690 segment_stop == -1 at startup.
21692 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21693 (gst_base_transform_change_state):
21694 Init segment values at start.
21696 2005-11-15 Wim Taymans <wim@fluendo.com>
21698 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21699 0 segment values are 0 in any format.
21701 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21702 * gst/base/gstbasetransform.h:
21703 Parse newsegment correctly in basetransform
21705 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21706 Sync to clock using updated segment values.
21708 2005-11-15 Andy Wingo <wingo@pobox.com>
21710 * check/gst/gstpipeline.c (test_base_time): Add check that the
21711 base time and stream time are reset correctly.
21713 2005-11-15 Wim Taymans <wim@fluendo.com>
21715 * docs/design/part-TODO.txt:
21716 Some more TODO items.
21718 2005-11-15 Andy Wingo <wingo@pobox.com>
21720 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21721 error if the user selected "no clock" as the clocking method.
21723 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21724 timestamps with live capture.
21726 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21727 is 0 but we are a live source, timestamp the buffers using the
21730 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21732 * docs/gst/gstreamer-sections.txt:
21734 * gst/gstghostpad.c:
21739 2005-11-14 Wim Taymans <wim@fluendo.com>
21742 add suppressions from Wim's Debian machine
21744 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21747 add suppressions from Andy's AMD64 Ubuntu machine
21749 2005-11-14 Andy Wingo <wingo@pobox.com>
21751 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21752 STATE_LOCK not necessary. Fixes #311489.
21754 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21757 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21758 this function is not implemented.
21760 2005-11-14 Julien MOUTTE <julien@moutte.net>
21762 * gst/base/gstbasetransform.c:
21763 (gst_base_transform_prepare_output_buf):
21764 Ref the source pad caps while we need them.
21767 2005-11-11 Wim Taymans <wim@fluendo.com>
21769 * docs/gst/gstreamer-sections.txt:
21770 Added some docs for GstCollectData.
21772 * gst/base/gstadapter.c:
21773 Some small code example fix.
21775 * gst/base/gstcollectpads.c:
21776 * gst/base/gstcollectpads.h:
21777 Document some more.
21779 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21781 * configure.ac: back to HEAD
21783 === release 0.9.5 ===
21785 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21788 releasing 0.9.5, "Bike Lunch Day"
21790 2005-11-11 Wim Taymans <wim@fluendo.com>
21792 * gst/gstbuffer.c: (_gst_buffer_copy):
21795 * gst/gstcaps.c: (gst_caps_is_equal):
21797 Make _is_equal fast in the trivial cases.
21799 * gst/gstminiobject.c:
21800 * gst/gstminiobject.h:
21801 More docs. Spifify .h file.
21806 2005-11-11 Wim Taymans <wim@fluendo.com>
21808 * gst/base/gstbasetransform.c:
21809 (gst_base_transform_prepare_output_buf),
21810 (gst_base_transform_handle_buffer):
21812 If we're processing a buffer and need to allocate an output
21813 buffer, we cannot accept a format change. If we did get a
21814 format change, we have to alloc a buffer ourselves of the
21817 2005-11-11 Wim Taymans <wim@fluendo.com>
21819 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21820 While checking the flag for reentrancy in the gstcaps function
21821 is nice to detect recursive invocations, it also makes it
21822 impossible to call getcaps from multiple threads, which must be
21823 possible. So, checking for recursive calls has to go.
21825 2005-11-11 Michael Smith <msmith@fluendo.com>
21827 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21828 Don't sync on buffers that fall partially outside our current
21829 segment. Prevents an assertion failure/abort playing some files.
21831 2005-11-10 Andy Wingo <wingo@pobox.com>
21833 * check/gst/gstbin.c (test_message_state_changed_children): Style
21836 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21837 gst_bus_poll with the signal watch. Ensures that poll and a signal
21838 watch see the same messages.
21840 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21841 a poll and a watch at the same time get the same messages.
21843 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21845 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21846 * gst/gstcaps.c: (gst_caps_intersect):
21847 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21848 and it's not needed.
21850 2005-11-10 Wim Taymans <wim@fluendo.com>
21852 * docs/design/part-TODO.txt:
21855 2005-11-10 Wim Taymans <wim@fluendo.com>
21857 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21858 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21859 (gst_base_src_do_sync), (gst_base_src_get_range):
21860 Implement clock sync in base class.
21862 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21864 patch by: Tim-Philipp Müller <tim at centricular dot net>
21866 * gst/gststructure.c: (gst_structure_parse_field),
21867 (gst_structure_from_string):
21868 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21869 so that gst_parse_launch() can deal with spaces in filtered link
21870 caps (fixes #164479)
21871 * check/gst/capslist.h:
21872 * check/gst/gststructure.c: (GST_START_TEST):
21873 add unit tests for this change
21875 2005-11-10 Wim Taymans <wim@fluendo.com>
21877 * docs/gst/gstreamer-sections.txt:
21878 * gst/gstelement.c:
21879 * gst/gstelement.h:
21880 Fix docs, move some STATE macros to private.
21882 2005-11-10 Wim Taymans <wim@fluendo.com>
21884 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21885 Added check for bug #317341
21889 Some more spiffifying.
21891 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21892 Call peer linkfunction if we are a source pad. Totally fixes
21896 Update docs, source pads should call the peer linkfunction
21897 so they can atomically perform the pad link.
21899 2005-11-09 Wim Taymans <wim@fluendo.com>
21903 Uber-spiffy-spiffify some more.
21905 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21907 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21908 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21909 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21910 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21911 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21912 * gst/gstpad.c: (gst_pad_init):
21913 Use GST_DEBUG_FUNCPTR() more extensively.
21915 2005-11-09 Wim Taymans <wim@fluendo.com>
21917 * gst/gstobject.c: (gst_object_class_init):
21919 Documentation fixes.
21921 2005-11-09 Edward Hervey <edward@fluendo.com>
21923 * gst/gsttypefindfactory.c:
21926 2005-11-09 Edward Hervey <edward@fluendo.com>
21928 * gst/base/gsttypefindhelper.c:
21929 * gst/gsttypefind.c:
21930 * gst/gsttypefind.h:
21933 2005-11-09 Wim Taymans <wim@fluendo.com>
21935 * gst/gstiterator.c:
21942 2005-11-09 Wim Taymans <wim@fluendo.com>
21948 2005-11-09 Wim Taymans <wim@fluendo.com>
21950 * docs/gst/gstreamer-sections.txt:
21951 Moved the message async delivery private lock and cond
21952 to the private section.
21954 * gst/gstmessage.c:
21955 * gst/gstmessage.h:
21958 2005-11-09 Edward Hervey <edward@fluendo.com>
21960 * docs/gst/gstreamer-sections.txt:
21963 Document GstURIHandler
21965 2005-11-09 Wim Taymans <wim@fluendo.com>
21967 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21968 (gst_iterator_find_custom):
21969 * gst/gstiterator.h:
21972 2005-11-09 Wim Taymans <wim@fluendo.com>
21975 Document another field.
21977 * gst/gststructure.c:
21978 * gst/gststructure.h:
21981 2005-11-09 Wim Taymans <wim@fluendo.com>
21984 Documented structs.
21986 2005-11-09 Wim Taymans <wim@fluendo.com>
21988 * docs/gst/gstreamer-sections.txt:
21989 Added some new macros.
21996 2005-11-09 Wim Taymans <wim@fluendo.com>
21998 * docs/design/part-TODO.txt:
21999 Some more items for the TODO
22005 2005-11-09 Andy Wingo <wingo@pobox.com>
22007 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
22008 to work on something else now tho...
22010 * gst/base/gstadapter.c: More adapter docs.
22012 * gst/elements/gstfilesink.c (gst_file_sink_start)
22013 (gst_file_sink_stop): New functions, replace the state change
22015 (gst_file_sink_class_init): Hook up the start and stop functions.
22016 (gst_file_sink_base_init): Don't set the state change handler any
22017 more. It was a bit ugly too, being set from here...
22018 (gst_file_sink_get_property, gst_file_sink_set_property):
22020 (gst_file_sink_set_location): More robust check that doesn't call
22021 GST_STATE. Ugggggg.
22023 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
22025 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22026 Hold STREAM_LOCK while pushing newsegment or tag events as well.
22028 2005-11-08 Wim Taymans <wim@fluendo.com>
22030 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22031 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22032 (gst_base_sink_chain), (gst_base_sink_change_state):
22033 * gst/base/gstbasesink.h:
22034 * gst/base/gstbasesrc.h:
22035 * gst/gstelement.h:
22037 Avoid excessive typechecking in macros.
22039 * gst/gstminiobject.c: (gst_mini_object_get_type),
22040 (gst_mini_object_init), (gst_mini_object_new),
22041 (gst_mini_object_free):
22042 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22043 (gst_object_finalize):
22044 Remove cruft code, optimize alloc_trace.
22046 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
22048 * docs/faq/gst-uninstalled:
22049 fix up PS1 for systems that try to reset it
22051 2005-11-07 Wim Taymans <wim@fluendo.com>
22053 * gst/base/gstbasesrc.c: (gst_base_src_init),
22054 (gst_base_src_get_range):
22055 Set the segment_end to -1 initially. Fixed typefind.
22057 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
22059 * gst/base/gstadapter.c:
22060 Debug category should be 'adapter', not 'GstAdapter'.
22062 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22063 (gst_collectpads_class_init), (gst_collectpads_init),
22064 (gst_collectpads_peek), (gst_collectpads_pop),
22065 (gst_collectpads_event), (gst_collectpads_chain):
22066 Add debug category and some debugging output. Use boilerplate
22067 macros. Remove some extraneous words from docs.
22069 2005-11-05 Andy Wingo <wingo@pobox.com>
22071 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22074 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22076 * docs/gst/gstreamer-sections.txt:
22079 * gst/gstminiobject.h:
22084 2005-11-04 Wim Taymans <wim@fluendo.com>
22086 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22087 Small update to stop at the configured segment_end
22090 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22092 * gst/gstregistry.c:
22093 * gst/gstregistry.h:
22096 2005-11-04 Edward Hervey <edward@fluendo.com>
22098 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22099 Check if we are doing a segment seek and have arrived at the
22100 end of that segment.
22102 2005-11-04 Wim Taymans <wim@fluendo.com>
22104 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22105 Don't leak a mutex unlock in case of an error.
22110 2005-11-04 Wim Taymans <wim@fluendo.com>
22112 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22114 Get the context to wake up only once.
22116 2005-11-03 Wim Taymans <wim@fluendo.com>
22118 * check/states/sinks.c: (GST_START_TEST):
22119 Uncomment fixed check.
22121 * docs/design/part-TODO.txt:
22124 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22125 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22126 (gst_base_sink_get_position):
22127 If we are going to PLAYING, post the right pending state
22128 when we post the intermediate paused message.
22130 * gst/gstelement.c: (gst_element_continue_state),
22131 (gst_element_set_state_func), (gst_element_change_state):
22132 Don't post state changes that were between the same state
22133 and were not ASYNC.
22135 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22137 * docs/gst/gstreamer-sections.txt:
22140 * gst/gstminiobject.h:
22143 more docs and doc style fixes
22145 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22147 * docs/gst/gstreamer-sections.txt:
22148 * gst/gstelement.c:
22149 * gst/gstminiobject.c:
22152 2005-11-03 Andy Wingo <wingo@pobox.com>
22154 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22155 state-changed messages actually have the right order and the right
22158 2005-11-03 Wim Taymans <wim@fluendo.com>
22160 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22161 Added some more checks. Specifically the case where NO_PREROLL
22162 elements are in the pipeline.
22164 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22165 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22166 (gst_base_sink_get_position):
22167 Post READY->PAUSED state change messages too.
22168 Fix bug where VOID was posted as pending state...
22170 * gst/gstbin.c: (gst_bin_recalc_state):
22171 use _element_continue_state() to continue the state change.
22173 * gst/gstelement.c: (gst_element_continue_state),
22174 (gst_element_commit_state), (gst_element_set_state_func),
22175 (gst_element_change_state), (gst_element_change_state_func):
22176 Lots of state change cleanups, assign the STATE_RETURN in
22177 a new continue_state() function that also propagates the
22178 last return value from a state change to the app.
22179 Update some debug statements with proper category.
22181 2005-11-03 Wim Taymans <wim@fluendo.com>
22183 * docs/design/part-events.txt:
22184 * docs/design/part-gstpipeline.txt:
22185 * docs/design/part-messages.txt:
22186 * docs/design/part-overview.txt:
22187 * docs/design/part-seeking.txt:
22188 * docs/design/part-states.txt:
22189 * docs/design/part-trickmodes.txt:
22190 * docs/manual/advanced-position.xml:
22191 Small docs updates.
22194 People think !! is ugly, this looks better.
22196 * gst/gstpad.c: (gst_pad_set_blocked_async):
22197 Remove !! since it's fixed elsewhere now.
22199 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22201 * gst/gstminiobject.h:
22203 Add !! to _FLAG_IS_SET macros to make the result boolean.
22205 2005-11-03 Edward Hervey <edward@fluendo.com>
22207 * gst/gstpad.c: (gst_pad_set_blocked_async):
22208 comparing a flag and a gboolean rarely returns coherent results...
22209 Added two characters (!!) to make that work correctly.
22211 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22213 * gst/gstbus.c: (gst_bus_class_init):
22216 * gst/gstqueue.c: (gst_queue_loop):
22217 Don't assume a miniobject that isn't a buffer is an
22218 event (it could be that there is a refcounting
22219 problem somewhere and the pointer is stale and
22220 refers to an already destroyed miniobject).
22222 2005-11-03 Julien MOUTTE <julien@moutte.net>
22224 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22226 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22228 * docs/manual/advanced-position.xml:
22229 Update seek example and explanations to current 0.9 API.
22231 * gst/elements/gsttypefindelement.c:
22232 (gst_type_find_element_activate):
22233 Remove FIXME comment now that the found caps
22236 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22238 * gst/gstregistryxml.c: (load_feature):
22239 Add another GST_STR_NULL instance
22241 2005-11-02 Edward Hervey <edward@fluendo.com>
22243 * gst/gstpad.c: (handle_pad_block):
22244 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22246 2005-11-02 Wim Taymans <wim@fluendo.com>
22251 * gst/gstelement.c: (gst_element_commit_state):
22252 Remove unused value.
22254 * gst/gstiterator.c:
22255 Mention that the returned element is reffed in the docs.
22257 2005-11-02 Wim Taymans <wim@fluendo.com>
22259 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22260 (gst_pad_push), (gst_pad_push_event):
22261 Unlock blocked pads when they are flushed.
22263 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22266 * docs/gst/gstreamer-sections.txt:
22269 * gst/gstregistry.c: (gst_registry_scan_path_level):
22270 fix for a nasty little missed situation where an installed plug-in
22271 which was in the cache did not get overridden by an uninstalled one
22272 which was earlier in the plugin path because the newly created plugin
22273 for the uninstalled one (not in the registry) didn't get its
22274 ->registered set to TRUE
22276 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22278 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22279 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22280 (gst_collectpads_is_active), (gst_collectpads_collect),
22281 (gst_collectpads_collect_range), (gst_collectpads_start),
22282 (gst_collectpads_stop), (gst_collectpads_peek),
22283 (gst_collectpads_pop), (gst_collectpads_available),
22284 (gst_collectpads_read), (gst_collectpads_flush):
22285 Guard public API with assertions.
22288 Fix docs for gst_pad_set_link_function().
22290 2005-11-02 Johan Dahlin <johan@gnome.org>
22292 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22293 Unref found_caps after we used it.
22295 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22297 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22298 Don't try to ref NULL.
22300 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22302 * win32/common/config.h.in:
22303 provide a GST_FUNCTION that just gives a string for now
22305 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22307 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22308 (gst_object_flags_get_type), (register_gst_bin_flags),
22309 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22310 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22311 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22312 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22313 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22314 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22315 (gst_clock_flags_get_type), (register_gst_state),
22316 (gst_state_get_type), (register_gst_state_change_return),
22317 (gst_state_change_return_get_type), (register_gst_state_change),
22318 (gst_state_change_get_type), (register_gst_element_flags),
22319 (gst_element_flags_get_type), (register_gst_core_error),
22320 (gst_core_error_get_type), (register_gst_library_error),
22321 (gst_library_error_get_type), (register_gst_resource_error),
22322 (gst_resource_error_get_type), (register_gst_stream_error),
22323 (gst_stream_error_get_type), (register_gst_event_type),
22324 (gst_event_type_get_type), (register_gst_seek_type),
22325 (gst_seek_type_get_type), (register_gst_seek_flags),
22326 (gst_seek_flags_get_type), (register_gst_format),
22327 (gst_format_get_type), (register_gst_index_certainty),
22328 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22329 (gst_index_entry_type_get_type),
22330 (register_gst_index_lookup_method),
22331 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22332 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22333 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22334 (gst_index_flags_get_type), (register_gst_debug_level),
22335 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22336 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22337 (gst_iterator_result_get_type), (register_gst_iterator_item),
22338 (gst_iterator_item_get_type), (register_gst_message_type),
22339 (gst_message_type_get_type), (register_gst_mini_object_flags),
22340 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22341 (gst_pad_link_return_get_type), (register_gst_flow_return),
22342 (gst_flow_return_get_type), (register_gst_activate_mode),
22343 (gst_activate_mode_get_type), (register_gst_pad_direction),
22344 (gst_pad_direction_get_type), (register_gst_pad_flags),
22345 (gst_pad_flags_get_type), (register_gst_pad_presence),
22346 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22347 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22348 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22349 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22350 (gst_plugin_flags_get_type), (register_gst_rank),
22351 (gst_rank_get_type), (register_gst_query_type),
22352 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22353 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22354 (gst_tag_flag_get_type), (register_gst_task_state),
22355 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22356 (gst_alloc_trace_flags_get_type),
22357 (register_gst_type_find_probability),
22358 (gst_type_find_probability_get_type), (register_gst_uri_type),
22359 (gst_uri_type_get_type), (register_gst_parse_error),
22360 (gst_parse_error_get_type):
22361 * win32/common/gstversion.h:
22362 update win32 copies
22364 2005-11-01 Luca Ognibene <luogni@tin.it>
22367 fix docs. popt is dead, long live GOption.
22369 2005-10-31 Wim Taymans <wim@fluendo.com>
22374 2005-10-31 Andy Wingo <wingo@pobox.com>
22378 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22380 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22381 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22382 the possibility of deadlocks here if code calling notify() or
22383 set() has a lock that can be taken in another notify handler (ABBA
22384 with class lock and e.g. python GIL state lock).
22386 2005-10-28 Julien MOUTTE <julien@moutte.net>
22388 * gst/gstbus.c: Doc updates.
22390 2005-10-28 Wim Taymans <wim@fluendo.com>
22392 * docs/design/part-TODO.txt:
22393 * gst/gstiterator.c:
22394 * gst/gstsystemclock.c:
22395 * gst/gstsystemclock.h:
22398 2005-10-28 Edward Hervey <edward@fluendo.com>
22400 * docs/gst/gstreamer-docs.sgml:
22401 * docs/gst/gstreamer-sections.txt:
22402 the GstURIType documentation page is private, it only defines GstURIType
22403 which should be defined in the GstURIHandler page
22405 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22407 * gst/gstbin.c: (gst_bin_class_init):
22410 Documentation updates.
22412 2005-10-28 Wim Taymans <wim@fluendo.com>
22414 * docs/gst/gstreamer-sections.txt:
22417 Documented the clocks.
22419 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22421 * docs/gst/gstreamer-sections.txt:
22422 move some macros to private sections
22423 * gst/gstminiobject.c:
22424 * gst/gstminiobject.h:
22425 add descriptions provided by ds and some more
22427 mark macro as to be removed
22429 2005-10-28 Wim Taymans <wim@fluendo.com>
22431 * docs/design/part-TODO.txt:
22432 Add an item to TODO.
22434 * gst/gstiterator.c: (gst_iterator_fold),
22435 (gst_iterator_find_custom):
22436 * gst/gstiterator.h:
22439 2005-10-28 Wim Taymans <wim@fluendo.com>
22441 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22442 (gst_base_transform_init):
22445 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22446 An EOS event marks the queue as completely filled.
22448 2005-10-27 Wim Taymans <wim@fluendo.com>
22450 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22451 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22452 Some more debugging.
22454 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22455 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22456 (gst_base_transform_event), (gst_base_transform_getrange),
22457 (gst_base_transform_chain):
22458 * gst/base/gstbasetransform.h:
22460 Protect transform and concurrent buffer alloc with a new lock.
22461 Try not to break ABI/API.
22463 2005-10-27 Wim Taymans <wim@fluendo.com>
22465 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22466 (gst_base_src_init), (gst_base_src_query),
22467 (gst_base_src_default_newsegment),
22468 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22469 (gst_base_src_send_event), (gst_base_src_event_handler),
22470 (gst_base_src_pad_get_range), (gst_base_src_loop),
22471 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22472 (gst_base_src_start), (gst_base_src_deactivate),
22473 (gst_base_src_activate_push), (gst_base_src_change_state):
22474 Move some stuff around and cleanup things.
22476 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22478 * gst/base/gstbasesrc.c: (gst_base_src_query):
22479 Add missing break statements.
22481 2005-10-27 Wim Taymans <wim@fluendo.com>
22483 * check/gst/gstbin.c: (GST_START_TEST):
22484 An extra refcount is taken in basesrc.
22486 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22487 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22488 (gst_base_src_loop):
22489 Small cleanups, check for flushing after being unlocked from the
22490 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22491 Don't send out EOS when going to READY.
22493 2005-10-27 Wim Taymans <wim@fluendo.com>
22495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22496 (gst_base_sink_get_position):
22499 * gst/gstbin.c: (message_check), (bin_replace_message),
22500 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22501 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22502 (bin_query_duration_init), (bin_query_duration_fold),
22503 (bin_query_duration_done), (bin_query_generic_fold),
22505 * tools/gst-launch.c: (main):
22508 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22510 * examples/controller/audio-example.c: (main):
22511 * examples/queue/queue.c: (event_loop):
22512 * gst/base/gstbasetransform.h:
22513 * gst/gstelement.c: (gst_element_send_event):
22515 * gst/gstpad.c: (gst_pad_send_event):
22518 changing log priority in error situations
22520 2005-10-25 Wim Taymans <wim@fluendo.com>
22522 * gst/gstbin.c: (message_check), (bin_replace_message),
22523 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22524 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22525 (bin_query_duration_init), (bin_query_duration_fold),
22526 (bin_query_duration_done), (bin_query_generic_fold),
22528 Some doc and debug updates.
22529 Cache previously requested query DURATION for speed. invalidate
22530 cached duration if element posts a DURATION message.
22532 2005-10-25 Wim Taymans <wim@fluendo.com>
22534 * docs/design/part-TODO.txt:
22537 * gst/gstbin.c: (message_check), (bin_replace_message),
22538 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22539 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22540 (bin_query_duration_init), (bin_query_duration_fold),
22541 (bin_query_duration_done), (bin_query_generic_fold),
22543 Handle SEGMENT_START/DONE messages correctly.
22544 More evolved query algorithm that handles duration queries
22547 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22548 (gst_element_get_state_func), (gst_element_abort_state),
22549 (gst_element_commit_state), (gst_element_lost_state):
22550 Some more debugging.
22552 * gst/gstmessage.h:
22555 2005-10-25 Wim Taymans <wim@fluendo.com>
22557 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22558 Don't use invalid stream_time.
22560 * gst/gstevent.c: (gst_event_new_newsegment):
22561 stream_time in newsegment cannot be undefined.
22563 2005-10-24 Wim Taymans <wim@fluendo.com>
22568 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22570 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22572 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22574 * docs/libs/tmpl/gstdparam.sgml:
22575 * docs/libs/tmpl/gstdplinint.sgml:
22576 * docs/libs/tmpl/gstdpman.sgml:
22577 * docs/libs/tmpl/gstdpsmooth.sgml:
22578 * docs/libs/tmpl/gstunitconvert.sgml:
22581 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22586 === release 0.9.4 ===
22588 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22591 releasing 0.9.4, "Tyrannosaurus Rex"
22593 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22595 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22596 (gst_file_sink_get_current_offset):
22597 Use fseeko() and ftello() if available. When falling back on
22598 lseek() to get the current offset, fflush() first to make sure
22599 everything is up-to-date and we get the right offset.
22601 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22604 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22605 * gst/gsterror.c: (_gst_stream_errors_init):
22607 * gst/gstqueue.c: (gst_queue_loop):
22609 remove prematurely added error category and clean up the instances
22611 2005-10-21 Wim Taymans <wim@fluendo.com>
22613 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22614 (gst_base_sink_get_position), (gst_base_sink_query),
22615 (gst_base_sink_change_state):
22616 Simply set the right flag when going to playing, that's all
22617 we need to do instead of calling a function inside the object
22618 lock (that could take the lock as well and deadlock)
22620 2005-10-21 Wim Taymans <wim@fluendo.com>
22622 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22623 (gst_base_src_loop):
22624 Don't warn, the peer element knows what to do best when
22625 the seek failed, it might try something else.
22627 2005-10-21 Wim Taymans <wim@fluendo.com>
22629 * gst/base/gstbasesrc.c: (gst_base_src_init),
22630 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22633 2005-10-21 Wim Taymans <wim@fluendo.com>
22635 * docs/design/part-segments.txt:
22638 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22639 Correctly set caps, even on the subbufer.
22641 2005-10-21 Wim Taymans <wim@fluendo.com>
22643 * docs/gst/gstreamer-docs.sgml:
22644 * docs/gst/gstreamer-sections.txt:
22645 * gst/gstelement.h:
22648 * gst/gstmessage.h:
22651 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22655 And 2% more doc coverage.
22657 2005-10-21 Andy Wingo <wingo@pobox.com>
22659 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22660 position reporting.
22662 2005-10-20 Wim Taymans <wim@fluendo.com>
22664 * gst/gsterror.c: (gst_error_get_message):
22667 * gst/gststructure.c:
22672 2005-10-20 Wim Taymans <wim@fluendo.com>
22677 Another 1% more coverage.
22679 2005-10-20 Wim Taymans <wim@fluendo.com>
22681 * docs/gst/gstreamer-sections.txt:
22682 * gst/gstelement.c: (gst_element_get_state_func),
22683 (gst_element_abort_state), (gst_element_commit_state),
22684 (gst_element_lost_state):
22686 * gst/gstquery.c: (gst_query_set_position),
22687 (gst_query_parse_position), (gst_query_set_duration),
22688 (gst_query_parse_duration), (gst_query_new_convert):
22690 Yay! 1% more docs coverage.
22692 2005-10-20 Wim Taymans <wim@fluendo.com>
22695 * gst/gstquery.c: (gst_query_set_position),
22696 (gst_query_parse_position), (gst_query_set_duration),
22697 (gst_query_parse_duration), (gst_query_new_convert):
22699 * gst/gstutils.c: (gst_element_query_convert):
22701 Docs and consistency fixes.
22703 2005-10-20 Wim Taymans <wim@fluendo.com>
22709 2005-10-20 Wim Taymans <wim@fluendo.com>
22711 * gst/gstbin.c: (message_check), (bin_replace_message),
22712 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22713 (update_degree), (gst_bin_sort_iterator_next),
22714 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22715 Reworked the message handling a bit, cache the messages instead of
22716 only the senders. alows us to do more in the future.
22718 2005-10-20 Wim Taymans <wim@fluendo.com>
22720 * docs/design/part-TODO.txt:
22723 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22724 (gst_base_sink_query):
22725 Don't use clock time to report position when in EOS.
22727 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22729 * tools/gst-inspect.c: (print_interfaces),
22730 (print_element_properties_info), (print_element_info):
22731 Fix interface output with gst-inspect -a; don't print
22732 newlines after double/float properties.
22734 2005-10-20 Wim Taymans <wim@fluendo.com>
22736 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22737 (gst_base_sink_query):
22738 Speed up current position calculation.
22740 * gst/base/gstbasesrc.c: (gst_base_src_query),
22741 (gst_base_src_default_newsegment):
22742 Correctly set stream position in newsegment.
22744 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22745 (update_degree), (gst_bin_sort_iterator_next),
22746 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22747 * gst/gstmessage.c: (gst_message_new_custom):
22748 Clean up debugging info
22750 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22751 (gst_queue_loop), (gst_queue_handle_src_query):
22754 2005-10-19 Wim Taymans <wim@fluendo.com>
22756 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22757 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22758 Fix query handling again.
22760 2005-10-19 Wim Taymans <wim@fluendo.com>
22762 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22763 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22764 * gst/base/gstbasesrc.c: (gst_base_src_query):
22765 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22766 * gst/elements/gsttypefindelement.c:
22767 (gst_type_find_handle_src_query), (find_element_get_length),
22768 (gst_type_find_element_activate):
22771 * gst/gstquery.c: (gst_query_new_position),
22772 (gst_query_set_position), (gst_query_parse_position),
22773 (gst_query_new_duration), (gst_query_set_duration),
22774 (gst_query_parse_duration), (gst_query_set_segment),
22775 (gst_query_parse_segment):
22777 Bundling query position/duration is not a good idea since duration
22778 does not change much and we don't want to recalculate it for every
22779 position query, so they are separated again..
22780 Base value in segment query is not needed.
22782 * gst/gstqueue.c: (gst_queue_handle_src_query):
22783 * gst/gstutils.c: (gst_element_query_position),
22784 (gst_element_query_duration), (gst_pad_query_position),
22785 (gst_pad_query_duration):
22787 Updates for query API change.
22788 Added some docs here and there.
22790 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22792 * check/gst/gstbin.c: (GST_START_TEST):
22793 * check/gst/gstghostpad.c: (GST_START_TEST):
22794 * check/pipelines/cleanup.c: (GST_START_TEST):
22795 wait on thread to die so we can check refcount correctly
22797 2005-10-18 Wim Taymans <wim@fluendo.com>
22799 * check/pipelines/stress.c: (GST_START_TEST):
22800 Make check a little more time consuming.
22802 2005-10-18 Wim Taymans <wim@fluendo.com>
22804 * check/Makefile.am:
22805 * check/pipelines/stress.c: (GST_START_TEST),
22806 (simple_launch_lines_suite), (main):
22807 Small state change torture test.
22809 * docs/design/part-states.txt:
22810 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22811 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22812 (gst_base_sink_change_state):
22813 Never take state lock from streaming thread, clean up ugly
22814 hacks. Unfortunatly core does not yet support nice ways to
22815 async commit state.
22817 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22819 Start state recalc if a STATE_DIRTY message is posted, but only
22820 on the toplevel bin.
22822 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22823 (gst_element_get_state_func), (gst_element_abort_state),
22824 (gst_element_commit_state), (gst_element_lost_state),
22825 (gst_element_set_state_func), (gst_element_change_state):
22826 * gst/gstelement.h:
22827 State variables are now protected with the LOCK, the state
22828 lock is only used to serialize _set_state().
22830 2005-10-18 Wim Taymans <wim@fluendo.com>
22832 * check/gst/gstbin.c: (GST_START_TEST):
22833 * check/gst/gstmessage.c: (GST_START_TEST):
22834 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22835 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22837 * gst/gstelement.c: (gst_element_abort_state),
22838 (gst_element_commit_state), (gst_element_lost_state):
22839 * gst/gstmessage.c: (gst_message_new_state_changed),
22840 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22841 (gst_message_new_segment_done), (gst_message_new_duration),
22842 (gst_message_parse_state_changed),
22843 (gst_message_parse_segment_start),
22844 (gst_message_parse_segment_done), (gst_message_parse_duration):
22845 * gst/gstmessage.h:
22846 * tools/gst-launch.c: (event_loop):
22847 Seriously, this is better than a previous commit as we only need
22848 to notify the fact that an element changed state in a streaming
22849 thread, marking the state of the parents dirty, hence the
22850 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22853 2005-10-18 Wim Taymans <wim@fluendo.com>
22855 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22856 (gst_bin_recalc_func):
22857 * gst/gstelement.c: (gst_element_set_clock),
22858 (gst_element_abort_state), (gst_element_lost_state):
22859 Cleanups, prepare for state change fixes.
22861 2005-10-18 Wim Taymans <wim@fluendo.com>
22864 * gst/gstelement.c: (gst_element_class_init),
22865 (gst_element_set_state), (gst_element_set_state_func):
22866 * gst/gstelement.h:
22867 Pending ABI changes.
22868 GThreadPool in GstBinClass to monitor async state changes.
22869 state_cookie in GstElement to detect concurrent gst/set state.
22870 set_state is now virtual too in case a very complicated element
22871 has to be constructed.
22873 2005-10-18 Wim Taymans <wim@fluendo.com>
22875 * check/gst/gstbin.c: (GST_START_TEST):
22876 * check/gst/gstmessage.c: (GST_START_TEST):
22877 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22878 * gst/gstbin.c: (bin_bus_handler):
22879 * gst/gstelement.c: (gst_element_commit_state),
22880 (gst_element_lost_state):
22881 * gst/gstmessage.c: (gst_message_new_state_changed),
22882 (gst_message_new_segment_start), (gst_message_new_segment_done),
22883 (gst_message_new_duration), (gst_message_parse_state_changed),
22884 (gst_message_parse_segment_start),
22885 (gst_message_parse_segment_done), (gst_message_parse_duration):
22886 * gst/gstmessage.h:
22887 * tools/gst-launch.c: (event_loop):
22888 Make messages future proof.
22889 state-change gets a flag if it was a message comming from the
22891 segment-start/stop can also be specified in other formats.
22892 A message to notify an app that a pipeline changed playback
22894 Also fix a GstMessage leak in -launch
22896 2005-10-18 Andy Wingo <wingo@pobox.com>
22898 * gst/gstelement.c (gst_element_dispose): More helpful message.
22900 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22902 reviewed by: <delete if not using a buddy>
22904 * common/gtk-doc.mak:
22906 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22908 * gst/gstregistry.c: (gst_registry_scan_path_level):
22909 unref a plug-in we get that was already initialized
22911 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22913 * docs/gst/gstreamer-sections.txt:
22914 * docs/libs/gstreamer-libs-sections.txt:
22915 * gst/gstelement.h:
22916 add new api entries
22917 hide internal macro
22919 2005-10-17 Andy Wingo <wingo@pobox.com>
22921 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22924 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22926 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22928 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22929 (gst_element_get_state_func): Better debug message.
22930 (gst_element_commit_state): s/INFO/DEBUG/.
22931 (gst_element_lost_state, gst_element_change_state):
22933 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22934 (gst_message_new_custom): s/INFO/LOG/.
22936 2005-10-17 Michael Smith <msmith@fluendo.com>
22938 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22939 Check if end time is valid using end time, not start time.
22941 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22943 * check/gst-libs/controller.c: (GST_START_TEST),
22944 (gst_controller_suite):
22945 * libs/gst/controller/gstcontroller.c:
22946 (gst_controlled_property_set_interpolation_mode):
22947 * libs/gst/controller/gstcontroller.h:
22948 * libs/gst/controller/gstinterpolation.c:
22949 * testsuite/controller/.cvsignore:
22950 * testsuite/controller/Makefile.am:
22951 * testsuite/controller/interpolator.c:
22952 merge controller testsuites
22954 remove mem-chunk from docs
22956 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22958 * gst/gstmemchunk.c:
22959 * gst/gstmemchunk.h:
22960 * gst/gsttrashstack.c:
22961 * gst/gsttrashstack.h:
22962 out. get out. you're fired. to the Attic !
22964 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22966 * gst/gstcaps.c: (gst_caps_intersect):
22967 fix signedness issues in a (hopefully) correct way
22968 * gst/gstelement.c: (gst_element_pads_activate):
22970 * gst/gstobject.c: (gst_object_set_parent):
22973 2005-10-17 Julien MOUTTE <julien@moutte.net>
22975 * gst/gstvalue.h: Fix prototypes.
22977 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22979 * docs/gst/gstreamer-sections.txt:
22980 * gst/gst.c: (gst_version_string):
22982 * gst/gstversion.h.in:
22983 * win32/common/libgstreamer.def:
22984 add gst_version_string ()
22986 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22990 * gst/gst.c: (init_post):
22991 * win32/common/config.h.in:
22993 * gst/gstcaps.c: (gst_caps_intersect):
22994 use gint64, the range could be bigger than a guint
22996 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22999 document potential problem in 2038
23001 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23003 * gst/gstcaps.c: (gst_caps_intersect):
23004 Fix guint j diving under 0
23006 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23009 * win32/common/config.h:
23010 * win32/common/config.h.in:
23011 check for process.h, declares getpid() on Windows
23013 include process.h if we have it
23014 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
23015 * gst/gstmemchunk.h:
23016 fix signedness issues
23017 * win32/common/libgstreamer.def:
23020 2005-10-16 Julien MOUTTE <julien@moutte.net>
23022 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
23023 fix. Because of unsigned ints, caps intersection was going nuts and
23024 trying to access structures with G_MAXUINT index. That fixes
23025 videotestsrc ! ffmpegcolorspace ! fakesink
23026 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23029 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23032 use the gettext macro
23033 * gst/elements/gstelements.c:
23035 * gst/indexers/gstindexers.c:
23036 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23037 * win32/common/config.h:
23039 * win32/common/config.h.in:
23040 add the template to generate config.h
23041 * win32/common/gstenumtypes.c:
23042 * win32/common/gstversion.h:
23045 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23047 * gst/gst.c: (gst_version):
23048 * gst/gstversion.h.in:
23051 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23054 Oops, add missing closing bracket.
23056 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23059 use common m4's for argument checking
23061 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23063 * docs/gst/gstreamer-sections.txt:
23065 Add GST_EVENT_TYPE_NAME() macro.
23067 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23070 * gst/gstpluginfeature.c:
23072 privatize more symbols
23074 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23077 add srcdir, builddir includes to GST_ALL_CFLAGS, since
23078 everything that uses GStreamer API should have the includes
23080 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23082 * docs/gst/gstreamer-sections.txt:
23083 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23085 give each value a _get_type, removes the DATA exports
23087 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23091 remove _gst_registry_auto_load, not used anymore
23092 * gst/gstbin.c: (gst_bin_get_type):
23094 * gst/gstelement.c: (gst_element_get_type):
23095 * gst/gstelement.h:
23096 * gst/gstobject.c: (gst_object_get_type):
23098 * gst/gstpad.c: (gst_pad_get_type):
23100 make _get_type functions similar, fixes data export from library
23102 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23105 correctly make conditionals
23106 * gst/elements/Makefile.am:
23107 * gst/elements/gstelements.c:
23108 fix typo causing fdsrc not to build
23110 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23112 * testsuite/Makefile.am:
23113 * testsuite/bytestream/.cvsignore:
23114 * testsuite/bytestream/Makefile.am:
23115 * testsuite/bytestream/filepadsink.c:
23116 * testsuite/bytestream/gstbstest.c:
23117 * testsuite/bytestream/test1.c:
23118 * testsuite/bytestream/testfile1:
23119 * testsuite/caps/normalisation.c:
23120 * testsuite/caps/random.c: (main):
23121 * testsuite/cleanup/.cvsignore:
23122 * testsuite/cleanup/Makefile.am:
23123 * testsuite/cleanup/cleanup1.c:
23124 * testsuite/cleanup/cleanup2.c:
23125 * testsuite/cleanup/cleanup3.c:
23126 * testsuite/cleanup/cleanup4.c:
23127 * testsuite/cleanup/cleanup5.c:
23128 * testsuite/controller/interpolator.c:
23129 * testsuite/debug/printf_extension.c: (main):
23130 * testsuite/elements/tee.c:
23131 * testsuite/negotiation/.cvsignore:
23132 * testsuite/negotiation/Makefile.am:
23133 * testsuite/negotiation/pad_link.c:
23134 * testsuite/pad/Makefile.am:
23135 * testsuite/pad/chainnopull.c:
23136 * testsuite/pad/getnopush.c:
23137 * testsuite/pad/link.c:
23138 * testsuite/refcounting/sched.c: (create_pipeline):
23139 * testsuite/registry/Makefile.am:
23140 * testsuite/registry/gst-print-formats.c:
23141 * testsuite/schedulers/.cvsignore:
23142 * testsuite/schedulers/142183-2.c:
23143 * testsuite/schedulers/142183.c:
23144 * testsuite/schedulers/143777-2.c:
23145 * testsuite/schedulers/143777.c:
23146 * testsuite/schedulers/147713.c:
23147 * testsuite/schedulers/147819.c:
23148 * testsuite/schedulers/147894-2.c:
23149 * testsuite/schedulers/147894.c:
23150 * testsuite/schedulers/Makefile.am:
23151 * testsuite/schedulers/group_link.c:
23152 * testsuite/schedulers/queue_link.c:
23153 * testsuite/schedulers/relink.c:
23154 * testsuite/schedulers/unlink.c:
23155 * testsuite/schedulers/unref.c:
23156 * testsuite/schedulers/useless_iteration.c:
23157 * testsuite/states/bin.c:
23158 clean out/remove some stuff from the testsuite directories
23160 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23163 check for some headers
23164 * gst/elements/Makefile.am:
23165 * gst/elements/gstelements.c:
23166 don't compile fdsrc without sys/socket.h
23167 * gst/indexers/Makefile.am:
23168 * gst/indexers/gstindexers.c: (plugin_init):
23169 don't compile fileindex without mmap
23171 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23178 * check/Makefile.am:
23179 * docs/gst/Makefile.am:
23180 * examples/helloworld/Makefile.am:
23182 * gst/base/Makefile.am:
23183 * gst/check/Makefile.am:
23184 * gst/elements/Makefile.am:
23185 * gst/indexers/Makefile.am:
23186 * gst/parse/Makefile.am:
23187 * libs/gst/controller/Makefile.am:
23188 * libs/gst/dataprotocol/Makefile.am:
23189 * examples/helloworld/helloworld.c: (event_loop):
23190 compile fixes, though it's not being compiled currently
23192 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23194 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23195 Add some simple tests for the new taglist date API.
23197 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23199 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23200 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23201 Beautify 'last-message' output: print 'none' for buffer timestamps
23202 and durations if none is set; improve alignment with next messages.
23204 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23206 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23207 * gst/gstpluginfeature.h:
23208 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23209 * gst/gstregistry.h:
23210 * docs/gst/gstreamer-sections.txt:
23211 Add new API to check plugin feature version requirements.
23213 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23214 Some basic tests for the above.
23216 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23218 * gst/gststructure.c: (gst_structure_to_string):
23219 guard against NULL printf - happens when for example
23220 a message structure with GstClock gets serialized
23222 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23224 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23225 Fix presumable copy'n'pasto.
23227 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23229 * gst/elements/gstfakesrc.h:
23230 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23231 * gst/elements/gsttypefindelement.c:
23232 fix some signedness
23233 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23234 I wonder if this could actually write +2GB files before
23236 2005-10-13 Andy Wingo <wingo@pobox.com>
23238 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23239 Fix Timmeke Waymans bug.
23240 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23241 string of the proper length to gst_caps_from_string. There's a
23242 potential for, before this fix, that this could cause someone
23243 connecting over the network to cause a segfault if the payload is
23244 not NUL-terminated.
23246 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23248 * docs/design/draft-push-pull.txt:
23249 * docs/design/part-overview.txt:
23250 * docs/random/TODO-pre-0.9:
23251 * docs/random/old/ChangeLog.gstreamer:
23252 * gst/base/gstpushsrc.c:
23256 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23258 * gst/glib-compat.c: (gst_flags_get_first_value):
23259 * gst/glib-compat.h:
23260 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23261 (gst_value_compare_double), (gst_value_serialize_flags):
23262 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23265 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23268 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23270 * tools/gst-launch.c: (event_loop):
23271 print out clock nicely
23273 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23275 * docs/gst/gstreamer-sections.txt:
23276 * gst/gsttaglist.h:
23277 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23278 (gst_tag_list_get_date_index):
23279 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23280 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23282 2005-10-13 Julien MOUTTE <julien@moutte.net>
23284 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23285 (gst_collectpads_chain):
23286 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23289 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23291 * docs/gst/gstreamer-sections.txt:
23294 * tools/gst-inspect.c: (main):
23295 * tools/gst-launch.c: (main):
23296 * tools/gst-run.c: (main):
23297 * tools/gst-xmlinspect.c: (main):
23298 fix GOption context leaks
23301 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23305 * win32/common/config.h:
23307 * win32/vs6/grammar.dsp:
23308 * win32/vs6/libgstelements.dsp:
23309 * win32/vs6/libgstreamer.dsp:
23312 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23315 * gst/base/gstbasesrc.c: (gst_base_src_query):
23316 fix more guint64<->gdouble conversions
23318 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23321 add win32-update target
23322 * win32/common/gstconfig.h:
23323 * win32/common/gstenumtypes.c:
23324 * win32/common/gstenumtypes.h:
23325 * win32/common/gstversion.h:
23326 add files that visual studio can't generate
23328 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23331 add a win32-update target
23334 2005-10-12 Wim Taymans <wim@fluendo.com>
23336 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23337 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23338 * gst/gstelement.c: (gst_element_commit_state),
23339 (gst_element_set_state):
23340 Protect flags with proper lock.
23341 unref provided cached clock in dispose.
23343 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23346 * gst/gstminiobject.h:
23348 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23349 removed unused flags from miniobject
23352 2005-10-12 Wim Taymans <wim@fluendo.com>
23354 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23355 (gst_file_sink_event), (gst_file_sink_render):
23356 Flush before seeking.
23358 2005-10-12 Andy Wingo <wingo@pobox.com>
23360 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23361 always been the case.
23363 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23365 * check/gst/gstbin.c: (GST_START_TEST):
23366 * docs/gst/gstreamer-sections.txt:
23367 * gst/base/gstbasesink.c: (gst_base_sink_init):
23368 * gst/base/gstbasesrc.c: (gst_base_src_init),
23369 (gst_base_src_get_range), (gst_base_src_check_get_range),
23370 (gst_base_src_start), (gst_base_src_stop):
23371 * gst/base/gstbasesrc.h:
23372 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23373 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23374 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23378 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23380 * gst/gstelement.c: (gst_element_is_locked_state),
23381 (gst_element_set_locked_state), (gst_element_commit_state),
23382 (gst_element_set_state):
23383 * gst/gstelement.h:
23384 * gst/gstindex.c: (gst_index_init):
23386 * gst/gstminiobject.h:
23387 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23388 (gst_object_set_parent):
23390 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23391 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23393 * gst/gstpadtemplate.h:
23394 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23395 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23396 * gst/gstpipeline.h:
23397 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23398 (gst_file_index_commit):
23399 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23400 * testsuite/pad/link.c: (gst_test_src_init),
23401 (gst_test_filter_init), (gst_test_sink_init):
23402 * testsuite/states/locked.c: (main):
23403 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23404 moved bitshift from macro to enum definition
23406 2005-10-12 Wim Taymans <wim@fluendo.com>
23408 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23409 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23410 (gst_file_sink_render):
23411 Some more debugging info.
23413 2005-10-12 Wim Taymans <wim@fluendo.com>
23415 * docs/design/part-states.txt:
23416 * tools/gst-launch.c: (main):
23418 Revert non-intentional change.
23420 2005-10-12 Wim Taymans <wim@fluendo.com>
23422 * check/gst/gstbin.c: (GST_START_TEST):
23423 * check/gst/gstelement.c: (GST_START_TEST):
23424 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23425 * check/gst/gstghostpad.c: (GST_START_TEST):
23426 * check/gst/gstpipeline.c: (GST_START_TEST):
23427 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23428 * check/states/sinks.c: (GST_START_TEST):
23429 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23430 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23431 (gst_bin_remove_func), (gst_bin_get_state_func),
23432 (gst_bin_recalc_state), (gst_bin_change_state_func),
23434 * gst/gstelement.c: (gst_element_get_state_func),
23435 (gst_element_get_state), (gst_element_abort_state),
23436 (gst_element_commit_state), (gst_element_set_state),
23437 (gst_element_change_state), (gst_element_change_state_func):
23438 * gst/gstelement.h:
23439 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23440 (gst_pipeline_provide_clock_func):
23441 * gst/gstutils.c: (gst_element_link_pads_filtered):
23442 * tools/gst-launch.c: (main):
23443 * tools/gst-typefind.c: (main):
23444 Use GstClockTime in _get_state() instead of GTimeVal.
23445 Remove old code in gstutils.c
23447 2005-10-12 Andy Wingo <wingo@pobox.com>
23449 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23452 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23453 there is no task. Shouldn't affect any code, as nothing in our
23454 plugins checks this return value.
23455 (gst_pad_stop_task): Also take the stream lock if the pad has no
23456 task. Docs updated.
23458 2005-10-12 Wim Taymans <wim@fluendo.com>
23460 * gst/gstpad.c: (pre_activate), (post_activate),
23461 (gst_pad_activate_pull), (gst_pad_activate_push):
23462 Cleanup activation code. Reset old state if
23465 2005-10-12 Wim Taymans <wim@fluendo.com>
23467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23468 (gst_base_sink_change_state):
23469 No need to prerol after receiving EOS.
23471 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23472 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23473 * gst/elements/gstidentity.c: (gst_identity_event):
23474 Print events more verbosely.
23476 2005-10-12 Wim Taymans <wim@fluendo.com>
23478 * check/Makefile.am:
23479 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23480 * check/states/sinks2.c:
23481 Moved sinks2 testcode in sinks check.
23483 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23484 (gst_bin_remove_func), (gst_bin_recalc_state),
23485 (gst_bin_change_state_func), (bin_bus_handler):
23486 Fix potential race condition when _get_state() iterated over an
23487 ASYNC element right before it posted a state completion.
23490 Do proper cast here.
23492 * gst/gstevent.c: (gst_event_new_newsegment),
23493 (gst_event_parse_newsegment):
23494 A playback rate of 0.0 is not allowed.
23496 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23498 * win32/common/config.h:
23499 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23500 (_trewinddir), (_ttelldir), (_tseekdir):
23501 * win32/common/dirent.h:
23502 * win32/common/gtchar.h:
23503 * win32/common/libgstbase.def:
23504 * win32/common/libgstreamer.def:
23505 * win32/vs6/grammar.dsp:
23506 * win32/vs6/gst_inspect.dsp:
23507 * win32/vs6/gst_launch.dsp:
23508 * win32/vs6/gstreamer.dsw:
23509 * win32/vs6/libgstbase.dsp:
23510 * win32/vs6/libgstelements.dsp:
23511 * win32/vs6/libgstreamer.dsp:
23512 Visual Studio 6 project files, and a new common directory.
23515 2005-10-11 Wim Taymans <wim@fluendo.com>
23517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23518 (gst_base_sink_do_sync), (gst_base_sink_query),
23519 (gst_base_sink_change_state):
23520 * gst/base/gstbasesink.h:
23521 Correctly parse newsegment info.
23523 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23525 * gst/gst.c: (init_post):
23526 split plugin paths correctly
23528 2005-10-11 Wim Taymans <wim@fluendo.com>
23530 * check/gst/gstevent.c: (GST_START_TEST):
23531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23532 (gst_base_sink_change_state):
23533 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23534 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23535 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23536 * gst/gstevent.c: (gst_event_new_newsegment),
23537 (gst_event_parse_newsegment):
23539 Added extra flag to newsegment for future API freeze.
23540 Updated check and base elements.
23542 2005-10-11 Julien MOUTTE <julien@moutte.net>
23544 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23545 (gst_collectpads_add_pad), (gst_collectpads_pop),
23546 (gst_collectpads_event), (gst_collectpads_chain):
23547 * gst/base/gstcollectpads.h: Handle EOS correctly.
23549 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23551 * tools/gst-launch.c: (main):
23552 more null protecting
23554 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23556 * gst/gst-i18n-lib.h:
23557 check for ENABLE_NLS, not GETTEXT_PACKAGE
23558 * gst/gstregistry.c: (gst_registry_add_plugin),
23559 (gst_registry_scan_path_level),
23560 (_gst_registry_remove_cache_plugins):
23561 protect possibly NULL strings
23562 * gst/parse/types.h:
23563 config.h already included before
23564 * tools/gst-inspect.c: (main):
23565 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23566 check for ENABLE_NLS, not GETTEXT_PACKAGE
23567 * tools/gst-launch.c: (main):
23568 check for ENABLE_NLS, not GETTEXT_PACKAGE
23570 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23573 if we don't have glib, fail before testing 2.8
23574 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23575 fix a leak, should fix plugins-base testsuite
23577 2005-10-11 Andy Wingo <wingo@pobox.com>
23579 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23580 take the mode we're going to as an arg. Go head and set the mode
23581 and flushing flags now, so that if the activate function starts a
23582 thread all the flags will be in the right state.
23583 (post_activate): Renamed also. Just handle making sure streaming
23584 finishes for the deactivation case, and setting the deactivated
23586 (gst_pad_set_active): Complain loudly if deactivation fails.
23587 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23588 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23589 remove the terrible hack.
23591 2005-10-11 Wim Taymans <wim@fluendo.com>
23593 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23594 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23595 (gst_bin_recalc_state), (gst_bin_change_state_func),
23596 (gst_bin_dispose), (bin_bus_handler):
23598 Prepare to make current EOS message queue more generic.
23601 * gst/gstevent.c: (gst_event_new_newsegment),
23602 (gst_event_parse_newsegment):
23604 Rename base to stream_time.
23606 * gst/gstmessage.h:
23609 2005-10-11 Wim Taymans <wim@fluendo.com>
23611 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23612 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23613 (gst_bin_change_state_func), (bin_bus_handler):
23615 Work on proper clock selection.
23617 2005-10-11 Edward Hervey <edward@fluendo.com>
23619 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23620 * libs/gst/controller/gstcontroller.h:
23621 Added GList* version of _remove_properties() in order to be able to wrap
23624 2005-10-11 Wim Taymans <wim@fluendo.com>
23626 * docs/design/part-states.txt:
23629 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23630 (gst_bin_change_state_func), (bin_bus_handler):
23631 Doc updates. Don't distribute the same clock over and over again.
23637 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23638 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23639 (gst_pad_send_event):
23641 Make probe emission threadsafe again.
23642 Register quarks and move _get_name() from utils.
23645 * gst/gstpipeline.c: (gst_pipeline_class_init),
23646 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23647 Only redistribute the clock of it changed.
23649 * gst/gstsystemclock.h:
23654 Moved the _flow_get_name() to GstPad.
23656 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23658 * check/gst-libs/gdp.c: (GST_START_TEST):
23659 * check/gst/gstcaps.c: (GST_START_TEST):
23660 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23661 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23662 (gst_dp_packet_from_caps):
23663 fix more valgrind warnings before turning up the heat
23665 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23667 * gst/parse/grammar.y:
23668 some cleanup before the hacking
23670 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23672 * gst/base/gstbasesrc.c: (gst_base_src_query):
23674 * gst/gstutils.c: (gst_guint64_to_gdouble),
23675 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23677 externalize, basesrc uses it
23678 obviously the implementation needs testing
23680 2005-10-10 Wim Taymans <wim@fluendo.com>
23682 * tests/sched/Makefile.am:
23683 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23684 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23686 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23688 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23689 apparently converting from guint64 to double is not implemented
23692 2005-10-10 Wim Taymans <wim@fluendo.com>
23694 * check/Makefile.am:
23695 * check/generic/states.c: (GST_START_TEST):
23696 * check/gst/gstbin.c: (GST_START_TEST):
23697 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23698 * check/states/sinks.c: (GST_START_TEST):
23699 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23701 Check fixes, use API as stated in design docs, remove hacks.
23703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23704 (gst_base_sink_change_state):
23705 Catch stopping our task while we're shutting down.
23707 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23708 (gst_bin_remove_func), (gst_bin_get_state_func),
23709 (gst_bin_recalc_state), (gst_bin_change_state_func),
23712 * gst/gstelement.c: (gst_element_init),
23713 (gst_element_get_state_func), (gst_element_abort_state),
23714 (gst_element_commit_state), (gst_element_lost_state),
23715 (gst_element_set_state), (gst_element_change_state),
23716 (gst_element_change_state_func):
23717 * gst/gstelement.h:
23718 New state change algorithm (see #318116)
23720 * gst/gstpipeline.c: (gst_pipeline_class_init),
23721 (gst_pipeline_init), (gst_pipeline_set_property),
23722 (gst_pipeline_get_property), (do_pipeline_seek),
23723 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23724 * gst/gstpipeline.h:
23725 Remove crude state change hacks.
23728 Remove crude hacks.
23730 * tools/gst-launch.c: (main):
23731 Fixes for state change. Needs some more work to fully use the
23734 2005-10-10 Andy Wingo <wingo@pobox.com>
23736 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23738 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23739 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23742 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23744 * gst/gstiterator.c: (gst_iterator_new):
23745 Fix my previous commit: GTypes passed to gst_iterator_new()
23746 can be fundamental types.
23748 2005-10-10 Wim Taymans <wim@fluendo.com>
23750 * gst/gstelement.c: (gst_element_iterate_pad_list),
23751 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23752 (gst_element_iterate_sink_pads):
23753 Use src/sink pads lists for the respective iterators instead
23756 2005-10-10 Andy Wingo <wingo@pobox.com>
23758 Merged in popt removal + GOption addition patch from Ronald, bug
23761 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23762 GstElement macros around, remove popt-related symbols, add goption
23765 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23767 * docs/gst/Makefile.am:
23768 * docs/libs/Makefile.am: No POPT_CFLAGS.
23770 * examples/manual/Makefile.am:
23771 * docs/manual/basics-init.xml: Doc updates with an example.
23773 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23774 (gst_init), (parse_one_option), (parse_goption_arg):
23775 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23776 bit of hand merging and debugging to get the GOption stuff working
23779 * tests/Makefile.am:
23780 * tools/Makefile.am:
23781 * tools/gst-inspect.c: (main):
23782 * tools/gst-launch.c: (main):
23783 * tools/gst-run.c: (main):
23784 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23786 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23788 * gst/gstiterator.c: (gst_iterator_new):
23789 Add assertions to make sure passed GType is likely to really
23790 be a GType (as the compiler won't catch it if the size and
23791 GType arguments get mixed up, see #318447).
23793 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23795 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23797 * gst/gstbin.c: (gst_bin_iterate_sorted):
23798 Pass GType and size arguments to gst_iterator_new() in the right
23799 order (maybe we should make _new() take the GType as first argument
23800 just like _new_list()?) (#318447).
23803 2005-10-10 Wim Taymans <wim@fluendo.com>
23805 * gst/gstelement.c: (gst_element_finalize):
23806 And free the GStaticRecMutex too
23808 2005-10-10 Andy Wingo <wingo@pobox.com>
23810 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23811 Allocate and free the mutex properly.
23813 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23815 (GstElement): The state_lock is now recursive. Rebuild your
23816 plugins, suckers. Old macros adapted.
23818 * docs/gst/gstreamer-sections.txt: Doc updates.
23821 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23822 (g_static_rec_cond_wait): Ported from state changes patch, while
23823 we wait on bug #317802 to be solved in a well-distributed GLib.
23825 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23826 gst_element_change_state, variable name changes.
23827 (gst_element_change_state): Split out of gst_element_set_state in
23828 preparation for the state change merge. Doesn't pay attention to
23829 the 'transition' argument.
23830 (gst_element_set_state): Updates, hopefully purely cosmetic.
23831 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23832 state change patch.
23833 (gst_element_get_state_func): Renamed from get_state, cosmetic
23836 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23838 * gst/elements/gstelements.c:
23839 * win32/GStreamer.vcproj:
23841 * win32/dirent.c: (_tseekdir):
23842 * win32/gst-inspect.vcproj:
23843 * win32/gst-launch.vcproj:
23844 * win32/gstconfig.h:
23845 * win32/gstelements.vcproj:
23846 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23847 * win32/gstreamer.def:
23848 * win32/msvc71.sln:
23849 updates for the win32 build (patch from Sebastien Moutte)
23851 2005-10-10 Andy Wingo <wingo@pobox.com>
23853 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23854 gst_bin_get_state, cleaned up (but no logic changes).
23855 (bin_element_is_sink): Comment updates.
23856 (sink_iterator_filter): Remove needless cast.
23857 (gst_bin_iterate_sinks): Doc update.
23858 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23859 cleaned up (but no logic changes).
23861 * check/states/sinks.c (test_src_sink): Cleanups from the state
23863 (test_livesrc_sink): Sync on the state.
23865 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23866 the state change patch.
23868 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23871 * check/gst/gstbin.c: Merge in some style fixes and additional
23872 checks from Wim's state change patch.
23874 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23876 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23877 (gst_type_find_helper):
23878 Check whether we have the requested data already in our list of
23879 cached buffers before pulling a new buffer; also make the buffer
23880 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23882 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23887 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23888 don't use long long, it's not portable. Replacing with
23889 gint64 seems to work; let's hope no skeletons fall out of the closet.
23891 2005-10-10 Andy Wingo <wingo@pobox.com>
23893 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23895 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23897 * docs/gst/gstreamer-sections.txt:
23902 * gst/gstmessage.c: (gst_message_parse_state_changed):
23905 more docs, fix compilation
23907 2005-10-09 Philippe Khalaf <burger@speedy.org>
23908 * gst/gstmessage.c:
23909 Fixed a few forgotten variables on previous commit
23911 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23913 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23914 Fix evil typefind crasher: getrange() might return a short
23915 buffer at the end of a file, but gst_type_find_peek() must
23916 either return the full data as requested or NULL, but
23917 never a short buffer.
23919 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23921 * gst/gstmessage.c: (gst_message_new_state_changed),
23922 (gst_message_parse_state_changed):
23923 * gst/gstmessage.h:
23924 don't use "new", it's a C++ keyword
23926 2005-10-08 Wim Taymans <wim@fluendo.com>
23928 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23929 * gst/gstelement.c: (gst_element_post_message):
23930 * gst/gstpipeline.c: (gst_pipeline_change_state):
23931 Small docs and debug updates.
23933 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23935 * docs/gst/gstreamer-sections.txt:
23936 * gst/gstelementfactory.c:
23938 * gst/gsttaglist.c:
23941 2005-10-08 Wim Taymans <wim@fluendo.com>
23943 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23944 (gst_bin_dispose), (bin_bus_handler):
23945 Fix typos, add comments.
23946 Clear EOS list when going to PAUSED from any direction and do it
23947 in a threadsafe way.
23948 Get base time in a threadsafe way too.
23949 Fix confusing debug in the change_state function.
23950 Various other small cleanups.
23952 * gst/gstelement.c: (gst_element_post_message):
23953 Fix very verbose bus posting code.
23955 * gst/gstpipeline.c: (gst_pipeline_class_init),
23956 (gst_pipeline_set_property), (gst_pipeline_get_property),
23957 (gst_pipeline_change_state):
23958 Small ARG_ -> PROP_ cleanup
23960 2005-10-08 Wim Taymans <wim@fluendo.com>
23962 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23963 Do a less CPU demanding EOS check because we can.
23965 2005-10-08 Wim Taymans <wim@fluendo.com>
23967 * libs/gst/dataprotocol/dataprotocol.c:
23968 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23969 (gst_dp_packet_from_event):
23970 * libs/gst/dataprotocol/dataprotocol.h:
23971 * libs/gst/dataprotocol/dp-private.h:
23972 It's about time we bump the version number.
23973 Since event types don't fit in the guint8 anymore describing
23974 the payload type, make payload type 16 bits wide.
23976 2005-10-08 Wim Taymans <wim@fluendo.com>
23978 * docs/design/part-TODO.txt:
23979 * docs/design/part-clocks.txt:
23980 * docs/design/part-events.txt:
23981 * docs/design/part-gstbin.txt:
23982 * docs/design/part-gstelement.txt:
23983 * docs/design/part-gstpipeline.txt:
23984 * docs/design/part-live-source.txt:
23985 * docs/design/part-messages.txt:
23986 * docs/design/part-overview.txt:
23987 * docs/design/part-states.txt:
23990 2005-10-08 Wim Taymans <wim@fluendo.com>
23994 Fix event quark registration.
23995 Add some space between events so we can insert them in the
23998 2005-10-08 Wim Taymans <wim@fluendo.com>
24000 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24001 (gst_base_sink_handle_buffer):
24002 Better log message.
24005 * gst/gstelement.h:
24008 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24009 (gst_queue_set_property), (gst_queue_get_property):
24011 Remove old unused properties.
24013 2005-10-08 Stefan Kost <ensonic@users.sf.net>
24014 * docs/gst/gstreamer-sections.txt:
24015 * gst/gstmessage.c:
24016 * gst/gstmessage.h:
24017 * gst/gstminiobject.c:
24018 * gst/gstminiobject.h:
24022 lots of new docs and doc fixes
24024 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24026 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24028 * gst/gstregistry.c: (gst_registry_lookup_locked),
24029 (gst_registry_scan_path_level):
24030 * gst/gstregistryxml.c: (load_plugin):
24031 Only ever load one plugin for a given plugin basename.
24032 This ensures correct overriding of GST_PLUGIN_PATH over
24033 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24034 system installed plugins.
24036 2005-10-08 Wim Taymans <wim@fluendo.com>
24038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24039 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24040 Prepare for doing QOS.
24042 2005-10-08 Wim Taymans <wim@fluendo.com>
24044 * check/gst/gstbin.c: (GST_START_TEST):
24045 * check/pipelines/cleanup.c: (GST_START_TEST):
24046 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24047 Allow new clock message too.
24049 2005-10-08 Wim Taymans <wim@fluendo.com>
24051 * gst/gstmessage.c: (gst_message_new_error),
24052 (gst_message_new_warning), (gst_message_new_tag),
24053 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24054 (gst_message_new_clock_lost), (gst_message_new_new_clock),
24055 (gst_message_new_segment_start), (gst_message_new_segment_done),
24056 (gst_message_parse_state_changed),
24057 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24058 (gst_message_parse_new_clock):
24059 * gst/gstmessage.h:
24060 Also carry the clock in question.
24062 2005-10-08 Wim Taymans <wim@fluendo.com>
24064 * gst/gstmessage.c: (gst_message_new_custom),
24065 (gst_message_new_eos), (gst_message_new_error),
24066 (gst_message_new_warning), (gst_message_new_tag),
24067 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24068 (gst_message_new_new_clock), (gst_message_new_segment_start),
24069 (gst_message_new_segment_done), (gst_message_parse_state_changed),
24070 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24071 * gst/gstmessage.h:
24073 Added clock related messages.
24075 * gst/gstpipeline.c: (gst_pipeline_change_state):
24076 Post message when the clock changed.
24078 * tools/gst-launch.c: (event_loop):
24081 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
24083 * tools/gst-inspect.c: (print_element_properties_info):
24084 Can't pass NULL strings to g_print() on windows.
24086 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24088 * docs/Makefile.am:
24089 * docs/gst/Makefile.am:
24090 * docs/gst/gstreamer-docs.sgml:
24091 * docs/gst/running.xml:
24092 * docs/version.entities.in:
24093 add a chapter on running GStreamer.
24094 document GST_DEBUG and GST_PLUGIN* env vars
24096 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24101 remove PLUGINS_BUILDDIR stuff
24102 * gst/gst.c: (init_post):
24103 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24105 remove, it was condescending and not needed
24107 2005-10-08 Wim Taymans <wim@fluendo.com>
24109 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24110 (gst_base_sink_handle_object), (gst_base_sink_event),
24111 (gst_base_sink_wait), (gst_base_sink_handle_event),
24112 (gst_base_sink_change_state):
24113 * gst/base/gstbasesink.h:
24114 Repost EOS message while going to PLAYING if still EOS.
24115 Make sure that when receiving a FLUSH_START we don't attempt
24116 to sync on the clock anymore.
24118 2005-10-08 Wim Taymans <wim@fluendo.com>
24120 * tools/gst-launch.c: (event_loop):
24121 Better message printout.
24123 2005-10-08 Wim Taymans <wim@fluendo.com>
24125 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24126 (gst_bin_child_proxy_get_children_count):
24127 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24128 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24129 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24130 (gst_child_proxy_set_valist):
24131 * gst/parse/grammar.y:
24132 Make ChildProxy threadsafe and fix mem leaks.
24134 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24136 * gst/gst.c: (init_post):
24137 debug the GST_PLUGIN_ env vars
24139 2005-10-08 Wim Taymans <wim@fluendo.com>
24141 * check/gst/gstbin.c: (GST_START_TEST):
24142 * check/gst/gstmessage.c: (GST_START_TEST):
24143 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24144 * gst/gstelement.c: (gst_element_commit_state),
24145 (gst_element_lost_state):
24146 * gst/gstmessage.c: (gst_message_new_state_changed),
24147 (gst_message_parse_state_changed):
24148 * gst/gstmessage.h:
24149 * tools/gst-launch.c: (event_loop):
24150 Added extra field to STATE_CHANGE message with the pending
24151 state, which will be different from the new state soon.
24153 2005-10-08 Wim Taymans <wim@fluendo.com>
24155 * gst/gstbus.c: (gst_bus_pop):
24157 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24158 Small cleanups and doc updates.
24160 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24162 * gst/gst.c: (init_pre):
24163 * gst/gstbin.c: (gst_bin_add_func):
24164 log distributing clocks and base time
24165 * gst/gstregistry.c: (gst_registry_add_plugin),
24166 (gst_registry_scan_path_level), (gst_registry_scan_path):
24167 clean up the debugging output a little
24168 * gst/gstutils.c: (gst_element_state_get_name):
24169 warn about a memleak (I've actually seen this be used, though
24170 it was probably a bug)
24172 2005-10-07 Wim Taymans <wim@fluendo.com>
24174 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24175 (gst_base_src_init), (gst_base_src_default_newsegment),
24176 (gst_base_src_newsegment), (gst_base_src_do_seek),
24177 (gst_base_src_loop), (gst_base_src_start):
24178 * gst/base/gstbasesrc.h:
24179 Make the newsegment event customizable by subclasses.
24181 2005-10-07 Wim Taymans <wim@fluendo.com>
24183 * gst/gstevent.c: (gst_event_new_buffersize),
24184 (gst_event_parse_buffersize):
24186 New event for future idea.
24188 2005-10-07 Andy Wingo <wingo@pobox.com>
24190 * gst/gstelement.c (gst_element_post_message): Doc update.
24192 * docs/gst/gstreamer-sections.txt: Update.
24194 * gst/gstmessage.c (gst_message_new_application): Made into a
24195 function like honest API calls.
24196 (gst_message_new_element): New message type.
24198 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24200 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24201 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24204 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24205 NO_PREROLL from gst_element_change_state to fall through.
24207 2005-10-07 Wim Taymans <wim@fluendo.com>
24209 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24210 (gst_ghost_pad_do_activate_push):
24211 Activating a ghostpad with no internal pad in push mode
24214 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24217 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24218 Fixes compilation on Windows.
24220 2005-10-07 Michael Smith <msmith@fluendo.com>
24222 * tools/gst-inspect.c:
24223 Print out feature and plugin count at the end when printing out
24226 2005-10-04 Michael Smith <msmith@fluendo.com>
24228 * gst/gsterror.c: (_gst_stream_errors_init):
24229 Add another error string used in a few existing plugins.
24232 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24233 * tools/gst-inspect.c: (print_element_info):
24234 When a feature disappears from a plugin (and the feature exists in
24235 the cached registry file), things went horribly wrong. This isn't a
24236 complete fix, we should actually be removing the 'missing' features
24237 from the features list when we load the actual plugin. That's not
24240 2005-10-04 Johan Dahlin <johan@gnome.org>
24242 * check/gst/gstiterator.c: (GST_START_TEST):
24243 * gst/gstbin.c: (gst_bin_iterate_elements),
24244 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24245 * gst/gstelement.c: (gst_element_iterate_pads):
24246 * gst/gstformat.c: (gst_format_iterate_definitions):
24247 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24248 (gst_iterator_new_list), (gst_iterator_filter):
24249 * gst/gstiterator.h:
24250 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24251 Add a GType to GstIterator, update callsites and tests.
24253 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24255 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24256 give events a chance to be handled by event probes when the pad
24259 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24261 * gst/gstevent.c: (gst_event_type_get_name),
24262 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24264 add string representations for event types
24266 2005-10-06 Wim Taymans <wim@fluendo.com>
24268 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24269 Don't use NULL pointers.
24271 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24273 * gst/gst_private.h:
24275 * gst/gstelement.c:
24277 * gst/gstpluginfeature.c:
24278 widen the debug category in output to fit the biggest one we have
24279 add a bus category and use it
24280 play with the colors
24281 fix up some categories
24283 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24285 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24286 add push activation of sink ghost pads.
24287 Andye, please verify
24289 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24291 * gst/gstutils.c: (gst_element_link_pads):
24292 fix a bug in the case where neither element has a pad
24293 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24294 add a test for that case
24296 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24298 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24299 emit have-data before checking for peers. This allows
24300 for probe handlers to connect elements. This helps autopluggers.
24301 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24303 add six checks, linked/unlinked with no/true/false probe
24305 2005-10-04 Wim Taymans <wim@fluendo.com>
24307 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24308 (gst_fake_sink_event), (gst_fake_sink_preroll),
24309 (gst_fake_sink_render), (gst_fake_sink_change_state):
24310 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24311 (gst_fake_src_get_property), (gst_fake_src_create),
24312 (gst_fake_src_stop):
24313 * gst/elements/gstidentity.c: (gst_identity_stop):
24314 Protect last_message with lock.
24316 2005-10-04 Edward Hervey <edward@fluendo.com>
24319 Added precision in the comments for GST_FORMAT_DEFAULT
24321 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24323 * tools/gst-launch.c: (main):
24324 Don't try to run erroneous pipelines.
24326 2005-10-04 Julien MOUTTE <julien@moutte.net>
24328 * gst/gstbus.c: We don't need this header.
24330 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24333 back to development
24335 === release 0.9.3 ===
24337 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24341 Releasing 0.9.3, "Unregistered"
24343 2005-10-03 Andy Wingo <wingo@pobox.com>
24345 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24346 whereby calling a pad's activatepush() function can start a thread
24347 that starts to push or pull before the pad gets the FLUSHING flag
24348 unset. Hack around it by holding the stream lock until the flag is
24349 set. Need to replace this with a proper solution. Together with
24350 the ghost pad fixes, this fixes mp3 playing/tagreading.
24352 * docs/design/part-gstghostpad.txt: Add a note about activation of
24353 proxy pads outside of ghost pads.
24355 * gst/gstghostpad.c: Implement the ghost pad activation design.
24357 2005-10-02 Andy Wingo <wingo@pobox.com>
24359 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24360 It is volatile, after all.
24362 * docs/design/part-gstghostpad.txt: Flesh out activation with
24365 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24368 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24371 Fix (unused) AM_CONDITIONAL tests.
24373 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24375 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24377 * gst/gstutils.c: (gst_pad_query_convert):
24378 Add assertion that makes sure src_val is >=0, just like
24379 gst_query_new_convert() has. (#315895)
24381 2005-09-30 Edward Hervey <edward@fluendo.com>
24383 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24384 Let's not iterate pads we're not interested in, it avoids getting
24385 sky-high refcounts on sinkpad.
24387 2005-09-30 Wim Taymans <wim@fluendo.com>
24389 * gst/gstelement.c: (gst_element_set_state),
24390 (gst_element_change_state):
24391 Small tweak, element in ASYNC remains ASYNC.
24393 2005-09-30 Wim Taymans <wim@fluendo.com>
24395 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24396 Only error is an error.
24398 * gst/gstbin.c: (gst_bin_change_state):
24401 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24402 Also call pad_block in pad alloc.
24404 * gst/gstutils.c: (gst_flow_get_name):
24407 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24409 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24410 (gst_base_src_get_range):
24411 Fix documentation typos. Add some more debug info.
24413 2005-09-29 David Schleef <ds@schleef.org>
24415 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24416 more end-user friendly.
24417 * tools/gst-inspect.c: (main): Check if command-line argument is
24418 a file and attempt to load that file as a plugin.
24420 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24422 * check/gst/gstbin.c:
24423 * check/states/sinks.c:
24424 fix tests for the new warning
24425 * check/gst/gstpipeline.c:
24426 add a test for pipeline and bus interaction
24427 * gst/gstelement.c:
24428 elements should be NULL if they get disposed; add a warning if not
24430 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24433 for 2.6 refcounting, make debug log more correct by printing
24434 the actual refcounts at the time of swap (Wim)
24436 2005-09-29 Andy Wingo <wingo@pobox.com>
24438 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24439 removes signal watches previously added via
24440 gst_bus_add_signal_watch.
24441 (gst_bus_add_signal_watch): Don't return the source id, just store
24442 it on the bus if there wasn't an id already.
24444 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24445 add_signal_watch and remove_signal_watch.
24447 2005-09-29 Edward Hervey <edward@fluendo.com>
24449 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24450 Better if we actually iterate the list :)
24452 2005-09-29 Wim Taymans <wim@fluendo.com>
24454 * check/gst/gstbin.c: (GST_START_TEST):
24455 Change for new bus API.
24457 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24458 (send_messages), (GST_START_TEST), (gstbus_suite):
24459 Change for new bus signal API.
24461 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24462 (gst_bus_source_prepare), (gst_bus_source_check),
24463 (gst_bus_create_watch), (gst_bus_add_watch_full),
24464 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24465 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24467 Remove support for multiple GSources operating on different
24468 message types as it is too complex and unneeded when using
24470 Added support for receiving signals from the bus.
24472 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24474 * docs/libs/tmpl/gstdataprotocol.sgml:
24475 * docs/manual/advanced-dataaccess.xml:
24476 * gst/elements/gstcapsfilter.c:
24478 rename filter-caps to caps property
24480 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24482 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24483 More robust fraction string parsing.
24485 * docs/pwg/appendix-porting.xml:
24486 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24488 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24490 * gst/gstcaps.c: (gst_caps_do_simplify):
24491 Thou shalt not free a structure and then continue using it
24492 in the next loop iteration.
24494 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24496 Add test case for caps simplification.
24498 2005-09-29 Wim Taymans <wim@fluendo.com>
24500 * check/gst/gstbin.c: (GST_START_TEST):
24503 2005-09-29 Wim Taymans <wim@fluendo.com>
24505 * check/gst/gstbin.c: (GST_START_TEST):
24508 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24509 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24510 (find_element), (gst_bin_sort_iterator_next),
24511 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24512 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24513 (gst_bin_change_state), (gst_bin_dispose):
24514 A bin does not have a bus, it gets the bus from the parent.
24516 * gst/gstelement.c: (gst_element_requires_clock),
24517 (gst_element_provides_clock), (gst_element_is_indexable),
24518 (gst_element_is_locked_state), (gst_element_change_state),
24519 (gst_element_set_bus_func):
24522 * gst/gstpipeline.c: (gst_pipeline_class_init),
24523 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24524 The pipeline provides a bus.
24526 2005-09-28 Johan Dahlin <johan@gnome.org>
24528 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24529 gst_structure_get_enum instead of gst_structure_get_int
24531 * gst/gststructure.c (gst_structure_get_enum): Impl.
24533 * gst/gststructure.h (gst_structure_get_enum): Add
24535 * docs/gst/gstreamer-sections.txt: Ditto
24537 * gst/gstmessage.c (gst_message_new_state_changed): Use
24538 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24539 which does introspection.
24540 Reviewed by Christian Schaller
24542 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24544 * gst/gstinfo.c: (gst_debug_log_default):
24545 don't do dummy g_strdup()s
24546 * libs/gst/controller/gstcontroller.c:
24547 (on_object_controlled_property_changed),
24548 (gst_controlled_property_new), (gst_controller_new_valist),
24549 (gst_controller_new_list),
24550 (gst_controller_remove_properties_valist), (gst_controller_set),
24551 (gst_controller_get), (gst_controller_sync_values),
24552 (gst_controller_get_value_array), (_gst_controller_class_init),
24553 (gst_controller_get_type):
24554 * libs/gst/controller/gstcontroller.h:
24555 * libs/gst/controller/gstinterpolation.c:
24556 (gst_controlled_property_find_timed_value_node):
24557 convert // to /**/ comments
24559 2005-09-28 Wim Taymans <wim@fluendo.com>
24561 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24562 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24563 (gst_bus_sync_signal_handler):
24565 Added async-message and sync-message signals to the bus.
24566 Added helper BusFunc to emit signals for all posted messages.
24568 * gst/gstmessage.c: (gst_message_type_get_name),
24569 (gst_message_type_to_quark), (gst_message_get_type):
24570 * gst/gstmessage.h:
24571 Register quarks for message names.
24573 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24575 * docs/libs/gstreamer-libs-sections.txt:
24576 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24577 (gst_controller_new_list):
24578 * libs/gst/controller/gstcontroller.h:
24579 added another constructor for language bindings
24581 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24583 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24587 * gst/gstinfo.c: (_gst_debug_init):
24588 slightly more readable color for refcount debugging
24590 2005-09-28 Wim Taymans <wim@fluendo.com>
24592 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24593 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24594 (find_element), (gst_bin_sort_iterator_next),
24595 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24596 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24597 (gst_bin_change_state), (gst_bin_dispose):
24598 Small doc fixes. get_clock -> provide_clock.
24600 * gst/gstelement.c: (gst_element_class_init),
24601 (gst_element_provides_clock), (gst_element_provide_clock),
24602 (gst_element_get_clock), (gst_element_commit_state),
24603 (gst_element_lost_state):
24604 * gst/gstelement.h:
24605 Make get/set_clock() symetric. Add provide_clock vmethod since
24606 that is actually what this function does.
24608 * gst/gstpipeline.c: (gst_pipeline_class_init),
24609 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24610 (gst_pipeline_get_clock):
24611 get_clock -> provide_clock.
24613 2005-09-28 Andy Wingo <wingo@pobox.com>
24615 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24616 lieu of real docs...
24618 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24620 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24622 * gst/elements/gstcapsfilter.c:
24623 * gst/elements/gstfakesink.c:
24624 * gst/elements/gstfakesrc.c:
24625 * gst/elements/gstfdsink.c:
24626 * gst/elements/gstfdsrc.c:
24627 * gst/elements/gstfilesink.c:
24628 * gst/elements/gstfilesrc.c:
24629 * gst/elements/gstidentity.c:
24630 * gst/elements/gsttee.c:
24631 * gst/elements/gsttypefindelement.c:
24632 Make element details static.
24634 2005-09-28 Wim Taymans <wim@fluendo.com>
24636 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24637 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24638 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24639 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24640 (gst_bin_change_state), (gst_bin_dispose):
24641 Some documentation updates.
24642 Clean up dispose handlers.
24644 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24645 * gst/gstpad.c: (gst_pad_dispose):
24646 Clean up dispose handler.
24648 * gst/gstpipeline.c: (gst_pipeline_change_state):
24649 Removed spurious UNLOCK.
24651 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24653 * docs/gst/gstreamer-sections.txt:
24654 * gst/base/gstbasesrc.h:
24655 * gst/gstelement.h:
24659 * gst/gstpipeline.c:
24660 * gst/gstpipeline.h:
24663 added two new functions to the docs
24664 documents all undocumented GstXXXFlags
24665 completed some incomplete docs
24667 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24669 * gst/gstbin.c: (gst_bin_dispose):
24670 * gst/gstelement.c: (gst_element_dispose):
24671 remove now useless and leaky resurrection code in dispose
24672 * gst/base/gstbasesrc.c: (gst_base_src_init):
24673 * gst/gstelementfactory.c: (gst_element_factory_create):
24674 * gst/gstobject.c: (gst_object_set_parent):
24677 2005-09-27 Wim Taymans <wim@fluendo.com>
24679 * docs/design/part-TODO.txt:
24682 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24683 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24684 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24685 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24686 (gst_bin_change_state):
24687 * gst/gstelement.h:
24688 Remove element variable, we keep element info in the iterator now.
24690 2005-09-27 Andy Wingo <wingo@pobox.com>
24692 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24695 2005-09-27 Wim Taymans <wim@fluendo.com>
24697 * check/gst/gstbin.c: (GST_START_TEST):
24698 Enable check that works now.
24700 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24701 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24702 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24703 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24704 (gst_bin_change_state):
24706 Redid the state change algorithm using a topological sort algo.
24707 Handles all cases correctly.
24708 Exposed iterator for state change order.
24710 * gst/gstelement.h:
24711 Temp storage for state changes. Need to get rid of this soon.
24713 2005-09-27 Wim Taymans <wim@fluendo.com>
24715 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24716 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24717 (link_fold_func), (gst_pad_proxy_setcaps):
24718 Leak fixes, the fold functions need to unref the passed object and
24719 _get_parent_*() returns ref to parent.
24721 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24723 * check/gst/gstbuffer.c: (test_make_writable):
24724 Plug leak in test case and fix 'make check-valgrind'
24726 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24728 * gst/gstbuffer.c: (gst_subbuffer_init):
24729 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24730 works correctly in all circumstances (we could have just copied
24731 the parent buffer's readonly flag, but conceptually it seems
24732 cleaner to mark all subbuffers as read-only). (based on patch
24733 by Alessandro Decina, #314710).
24735 * check/gst/gstbuffer.c: (create_read_only_buffer),
24736 (test_make_writable), (test_subbuffer_make_writable),
24738 Add some tests for gst_buffer_make_writable().
24740 2005-09-27 Wim Taymans <wim@fluendo.com>
24742 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24743 use gst_object_has_ancestor().
24745 * gst/gstobject.c: (gst_object_has_ancestor):
24747 gst_object_has_ancestor() copied from gstbin.c as it is a
24750 * tests/instantiate/create.c: (create_all_elements):
24751 * tests/lat.c: (handoff_src), (handoff_sink):
24752 * tests/sched/runxml.c: (main):
24753 * tests/seeking/seeking1.c: (main):
24754 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24756 Fix compilation of some tests.
24758 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24761 Remove comment. GST_TYPE_G_ERROR is here to stay,
24762 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24763 (#316961, #300610).
24765 2005-09-26 Wim Taymans <wim@fluendo.com>
24767 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24768 Added check that shows error in state change order.
24770 2005-09-26 Wim Taymans <wim@fluendo.com>
24772 * gst/gstbin.c: (gst_bin_change_state):
24773 Make state change function use 3 queues again, we were
24774 adding elements in the wrong order.
24776 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24779 * gst/gstpad.c: (gst_pad_dispose):
24780 Added some debug info first.
24782 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24784 * docs/design/draft-push-pull.txt:
24785 * docs/design/part-events.txt:
24786 * docs/design/part-overview.txt:
24787 * docs/design/part-scheduling.txt:
24788 Replace all _pull_region() with _pull_range()
24790 2005-09-26 Andy Wingo <wingo@pobox.com>
24792 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24794 * check/gst-libs/controller.c: Update for controller api change.
24797 * tests/Makefile.am:
24798 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24799 over by GLib bug 118439.
24801 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24802 routines to a function.
24804 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24806 * libs/gst/controller/gsthelper.c:
24807 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24808 (gst_object_sync_values): Renamed from sink_values. Ugh.
24810 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24812 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24813 Renamed from controller_key, as it is exported.
24815 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24817 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24822 * gst/gstpadtemplate.h:
24825 * gst/gstqueryutils.c:
24826 * gst/gstqueryutils.h:
24827 remove queryutils headers after moving the two used functions
24828 to gstquery. also fixes build problem for gstsiddec
24830 2005-09-26 Michael Smith <msmith@fluendo.com>
24832 * tools/gst-launch.1.in:
24833 Correct documentation in manpage of debug syntax
24835 2005-09-26 Wim Taymans <wim@fluendo.com>
24837 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24838 (gst_base_src_is_seekable), (gst_base_src_change_state):
24839 Some more debugging info.
24841 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24843 * docs/gst/gstreamer-sections.txt:
24844 * gst/base/gstbasetransform.h:
24848 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24850 * docs/gst/.cvsignore:
24851 * docs/gst/tmpl/.cvsignore:
24852 * docs/gst/tmpl/gstpipeline.sgml:
24853 * docs/gst/tmpl/gstplugin.sgml:
24854 * gst/gstpipeline.c:
24857 inlined the last two docs files
24858 removed the tmpl directory from cvs (no more conflicts here!)
24860 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24862 * docs/gst/gstreamer-sections.txt:
24863 * docs/gst/tmpl/.cvsignore:
24864 * docs/gst/tmpl/gstpad.sgml:
24865 * docs/gst/tmpl/gstpadtemplate.sgml:
24867 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24868 (gst_pad_finalize), (gst_pad_set_pad_template):
24870 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24871 (gst_pad_template_class_init), (gst_pad_template_init),
24872 (gst_pad_template_dispose), (name_is_valid),
24873 (gst_static_pad_template_get), (gst_pad_template_new),
24874 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24875 (gst_pad_template_pad_created):
24876 * gst/gstpadtemplate.h:
24877 inlined two more docs
24878 factored gstpadtemplate out of gstpad
24880 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24882 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24883 (test_children_state_change_order_semi_sink):
24884 Fix test case: we can't rely on a fixed state change order when
24885 going from READY => PAUSED because the sink might commit its
24886 new state first when the first buffer created by the source
24887 reaches the sink before the source has finished its change state.
24888 (Test case still fails at times, see #316856, comment 5 onwards)
24890 2005-09-24 Wim Taymans <wim@fluendo.com>
24892 * docs/design/part-events.txt:
24893 * docs/design/part-gstbus.txt:
24894 * docs/design/part-gstpipeline.txt:
24895 * docs/design/part-messages.txt:
24896 * docs/design/part-overview.txt:
24897 * docs/design/part-segments.txt:
24901 * gst/gstelement.c:
24904 * gst/gstiterator.c:
24905 Various documentation updates.
24907 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24910 Well, that's embarassing. Luckily we weren't using
24911 GST_CLOCK_DIFF anywhere.
24913 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24915 * common/gtk-doc.mak:
24916 don't fail on building XML, FC4 slave shows a bunch of doc
24917 missing bits that I don't get
24919 * gst/gstpipeline.c:
24920 * gst/gststructure.c:
24923 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24925 * docs/design/part-gstbin.txt:
24926 * docs/design/part-gstbus.txt:
24928 Add blurb about how the bus goes into flushing mode and
24929 drops all messages when its bin goes from READY into NULL
24932 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24934 * docs/gst/gstreamer-sections.txt:
24935 * gst/gststructure.c: (gst_structure_get_clock_time):
24936 * gst/gststructure.h:
24937 add a method to get a GstClockTime out of a structure
24939 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24941 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24942 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24943 Added test to check state change order in bins (can still be made
24944 to fail here under heavy disk load; bails out with 'Push on pad
24945 fakesink:sink0, but it was not activated in push mode').
24947 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24948 Fix state change order when there is only a semi sink (#316856)
24950 * gst/gstbus.c: (gst_bus_class_init):
24951 Use _class_peek_parent(), not _class_ref(); fix docs to say
24952 'default main context' instead of 'mainloop' where that is
24955 * gst/gstelement.c: (gst_element_commit_state),
24956 (gst_element_set_state):
24957 Fix typos in debug messages
24959 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24962 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24963 * gst/gstpluginfeature.c:
24965 various doc updates
24966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24967 change an assert into an error until it gets fixed properly
24969 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24971 * docs/gst/gstreamer-sections.txt:
24972 * docs/gst/tmpl/.cvsignore:
24973 * docs/gst/tmpl/gstelement.sgml:
24974 * docs/gst/tmpl/gstinfo.sgml:
24975 * docs/gst/tmpl/gstobject.sgml:
24976 * gst/gstelement.c:
24977 * gst/gstelement.h:
24980 * gst/gstobject.c: (gst_object_class_init):
24982 inlined 3 more biiiig doc files and added some missing docs on the fly
24984 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24986 * check/gst/.cvsignore:
24987 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24988 * gst/gstregistryxml.c: (load_plugin),
24989 (gst_registry_xml_save_plugin):
24990 put back source in registry. add checks for find_plugin.
24991 * testsuite/states/bin.c: (assert_state), (empty_bin),
24992 (test_adding_one_element), (main):
24993 * testsuite/states/locked.c: (main):
24994 some compile/run fixes
24996 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24998 * check/gst/gstvalue.c: (GST_START_TEST):
24999 fix leaks in the test itself
25001 2005-09-22 Wim Taymans <wim@fluendo.com>
25003 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25004 (gst_base_sink_send_event), (gst_base_sink_peer_query),
25005 (gst_base_sink_query):
25006 Prepare for more accurate position reporting and query
25009 * gst/gstelement.c: (gst_element_send_event),
25010 (gst_element_set_state):
25013 2005-09-22 Wim Taymans <wim@fluendo.com>
25015 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
25016 (gst_query_parse_segment):
25018 More documentation.
25019 Add segment query for future use.
25021 2005-09-22 Wim Taymans <wim@fluendo.com>
25023 * gst/gstbin.c: (gst_bin_add_func):
25024 Some more debug info.
25026 * gst/gstelement.c: (gst_element_send_event):
25027 Simplify send_event
25029 * gst/gstelement.h:
25030 Don't know how flags got broken.
25035 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25037 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25038 Add simplistic test suite for GST_TYPE_DATE serialisation and
25041 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25043 * docs/gst/gstreamer-sections.txt:
25044 * gst/gststructure.c: (gst_structure_set_valist),
25045 (gst_structure_get_date):
25046 * gst/gststructure.h:
25047 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25048 (gst_date_copy), (gst_value_compare_date),
25049 (gst_value_serialize_date), (gst_value_deserialize_date),
25050 (gst_value_transform_date_string),
25051 (gst_value_transform_string_date), (_gst_value_initialize):
25053 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25054 bunch of utility functions along with a hack that checks that
25055 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25056 is required. Part of the grand scheme in #170777.
25058 2005-09-22 Andy Wingo <wingo@pobox.com>
25060 * gst/gstconfig.h.in: Psych out gtk-doc.
25062 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25064 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25066 * tools/gst-inspect.c (print_element_list): Plug some
25067 inconsequential leaks.
25069 * gst/gstregistry.c (gst_registry_get_default): Doc.
25071 * check/gst/gstplugin.c:
25072 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25073 * gst/gstelementfactory.c (gst_element_factory_create):
25074 * gst/gstindexfactory.c (gst_index_factory_create): Update for
25077 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25078 (gst_plugin_feature_load): Doc, don't eat refs.
25080 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25081 (gst_plugin_list_free): Doc.
25082 (gst_plugin_load_file): Doc updates.
25084 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25085 accessors returning refcounted objects, return a ref.
25087 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25088 accessor for caps. IDEMPOTENCE. Oh yes.
25090 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25092 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25094 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25095 (_gst_debug_register_funcptr):
25096 Add mutex to serialise access to the hash table with
25097 the function pointer => function name string mapping;
25098 make that hash table static scope (#316809).
25100 * gst/registries/.cvsignore:
25101 Remove left-over file.
25103 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25105 * docs/pwg/appendix-porting.xml:
25106 And something about newsegment events and caps-on-buffers to
25107 the porting guide (feel free to improve).
25109 2005-09-21 Andy Wingo <wingo@pobox.com>
25111 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25112 data and event probes on the same pad.
25113 (test_buffer_probe_once): Test that removing probes from within
25114 the probe functions works.
25116 2005-09-21 Andy Wingo <wingo@pobox.com>
25118 * check/gst/gstutils.c: New file.
25119 (test_buffer_probe_n_times): A simple buffer probe test. More to
25122 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25123 have-data::buffer, not have-data.
25124 (gst_pad_add_event_probe): Likewise for have-data::event.
25125 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25126 peer' isn't quite right yet though.
25127 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25128 (gst_pad_remove_data_probe): Change to take the guint handler_id
25129 as their arg, not the function+data, which is more glib-like.
25131 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25132 the signal emission to indicate if the data is a buffer or an
25134 (gst_pad_get_type): Initialize buffer and event quarks.
25135 (gst_pad_class_init): have-data is now a detailed signal, yes it
25138 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25140 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25141 * gst/gstutils.c: (gst_util_set_value_from_string),
25142 (gst_util_set_object_arg):
25143 Don't put functional code in g_return_if_fail() or
25144 g_return_val_if_fail() statements, otherwise things will
25145 break when G_DISABLE_CHECKS is defined during compilation.
25147 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25149 * docs/gst/tmpl/.cvsignore:
25150 * docs/gst/tmpl/gstvalue.sgml:
25153 inlied another one and added some obvious docs
25155 2005-09-21 Wim Taymans <wim@fluendo.com>
25157 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25158 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25159 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25160 (gst_fdsrc_get_property), (gst_fdsrc_create):
25161 * gst/elements/gstfdsrc.h:
25162 Properly implement fdsrc. Removed signal and timeout,
25163 better implemented somewhere else.
25165 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25167 * docs/gst/tmpl/.cvsignore:
25168 * docs/gst/tmpl/gstimplementsinterface.sgml:
25169 * gst/gstinterface.c:
25172 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25174 * docs/gst/gstreamer-sections.txt:
25175 * docs/gst/tmpl/.cvsignore:
25176 * docs/gst/tmpl/gstenumtypes.sgml:
25177 remove obsolete doc file
25179 2005-09-21 David Schleef <ds@schleef.org>
25181 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25182 little beer, fix a little leak.
25184 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25186 * docs/gst/gstreamer-docs.sgml:
25187 * docs/gst/gstreamer-sections.txt:
25188 * docs/gst/tmpl/.cvsignore:
25192 * gst/gstelement.h:
25193 * gst/gstindex.c: (gst_index_class_init):
25195 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25196 (gst_index_factory_class_init), (gst_index_factory_init),
25197 (gst_index_factory_finalize), (gst_index_factory_new),
25198 (gst_index_factory_destroy), (gst_index_factory_find),
25199 (gst_index_factory_create), (gst_index_factory_make):
25200 * gst/gstindexfactory.h:
25201 * gst/gstpluginfeature.c:
25202 * gst/gstpluginfeature.h:
25203 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25204 more docs inlined, splitted gstindex.{c,h}
25206 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25208 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25211 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25213 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25214 Set sync to FALSE by default.
25216 2005-09-20 Wim Taymans <wim@fluendo.com>
25218 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25219 (gst_base_sink_init):
25220 Make sync property settable from subclass.
25222 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25223 (gst_fake_sink_change_state):
25224 Set sync to FALSE by default.
25226 2005-09-20 Wim Taymans <wim@fluendo.com>
25228 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25229 * tools/gst-launch.c: (main):
25230 The timeout handler should have lower priority than the source
25231 so we don't timeout before popping a message with 0 timeout.
25232 Dump error messages after failed state change.
25234 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25236 * tools/gst-inspect.c: (print_element_properties_info):
25239 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25241 * check/gst/gstevent.c:
25242 * gst/elements/gstfakesink.c:
25243 * gst/elements/gstfakesink.h:
25244 remove the sync property from fakesink.
25245 has the side effect of setting sync TRUE
25246 for fakesink, which is a change. Anyone who knows how
25247 to fix this nicely in a GObject-y way, feel free.
25249 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25251 * docs/gst/gstreamer-docs.sgml:
25252 remove probe refsection
25254 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25256 * check/Makefile.am:
25257 disable valgrinding the controller test again
25258 * docs/gst/gstreamer-sections.txt:
25259 update for api-changes
25261 2005-09-20 Wim Taymans <wim@fluendo.com>
25263 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25264 (gst_base_sink_set_property), (gst_base_sink_get_property),
25265 (gst_base_sink_do_sync):
25266 * gst/base/gstbasesink.h:
25267 Added sync property to basesink to disable clock sync.
25269 2005-09-20 Andy Wingo <wingo@pobox.com>
25271 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25272 eating the caller's refcount.
25274 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25275 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25278 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25279 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25280 of GLib 2.8 public, so we can know which refcount to check in
25283 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25284 (gst_object_init): Only set the gst refcount if we're going ahead
25285 with the refcount hack.
25287 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25289 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25290 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25291 more leaks plumbed, added more debug-logging
25295 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25297 * gst/gstmessage.c:
25298 remove include of gstmemchunk.h
25300 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25302 * gst/gstclock.c: (_gst_clock_id_free):
25303 Commit from the Political Party For More Atomic CVS Commits,
25304 so that people don't waste too much of their day fishing
25305 out obvious leaks out of massive commits.
25306 Oh, and fix a pretty damn obvious leak in the memchunk
25309 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25311 * check/Makefile.am:
25312 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25313 plug mem-leak, re-add to valgrindable tests
25315 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25318 unbreak the build for those who have chronic arthritis
25319 and typing "make check" is just too taxing on the hands
25321 2005-09-20 Andy Wingo <wingo@pobox.com>
25323 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25324 really want it out, you should fix plugins at the same time.
25326 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25329 * docs/gst/gstreamer-sections.txt:
25331 added missing symbols to api docs
25332 disable ref-count hack if we have glib >= 2.8
25334 2005-09-19 David Schleef <ds@schleef.org>
25336 * docs/gst/Makefile.am: Ignore a few more internal headers
25337 * docs/gst/gstreamer-docs.sgml: Remove old sections
25338 * docs/gst/gstreamer-sections.txt: Remove old sections
25339 * docs/gst/tmpl/gstobject.sgml: update
25340 * docs/gst/tmpl/gstplugin.sgml: update
25341 * docs/gst/tmpl/gstpluginfeature.sgml: update
25342 * docs/random/ds/0.9-suggested-changes: update.
25343 * gst/Makefile.am: remove memchunk and trashstack, since they're
25345 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25346 * gst/gst.h: don't include some headers
25347 * gst/gstchildproxy.c: add gstmarshal.h
25348 * gst/gstclock.c: Don't use memchunks
25349 * gst/gstminiobject.c: Add some docs
25350 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25351 * gst/gstobject.h: same
25352 * gst/gstplugin.c: include gstmacros.h
25353 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25354 * gst/gstquery.c: don't use memchunks
25355 * gst/gstregistry.c: rename gst_registry_deinit()
25356 * gst/gstregistry.h: same
25358 2005-09-19 David Schleef <ds@schleef.org>
25360 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25361 * docs/libs/gstreamer-libs-sections.txt:
25362 * docs/libs/tmpl/gstgetbits.sgml:
25363 * docs/libs/tmpl/gstputbits.sgml:
25365 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25367 * win32/gstenumtypes.c:
25368 * win32/gstenumtypes.h:
25371 2005-09-19 Wim Taymans <wim@fluendo.com>
25373 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25374 Automatically PAUSE and RESUME a pipeline when a flushing seek
25377 2005-09-19 Andy Wingo <wingo@pobox.com>
25379 * gst/gstregistry.h: Spacing fixen.
25381 2005-09-19 Wim Taymans <wim@fluendo.com>
25383 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25384 Handle state change failure more correctly.
25386 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25388 * check/Makefile.am:
25389 * check/pipelines/cleanup.c: (run_pipeline):
25390 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25392 enable cleanup again after fixing the leak
25394 some more info on docs
25396 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25398 * check/Makefile.am:
25399 re-enable tests now that leaks are plugged
25401 * check/gst/gstbin.c:
25402 * check/gst/gstpipeline.c:
25403 add some more tests while fixing leaks
25404 * common/check.mak:
25405 make sure binaries are uptodate when valgrinding/gdbing
25407 * gst/gstelementfactory.c:
25408 remove a ref too many, and add a FIXME for when we get
25409 round to disposing of classes
25411 fix the refcounting when loading a plugin from a file and
25412 the code pretends that the pointer is the same even though
25413 of course it can change
25414 * gst/gstpluginfeature.c:
25415 unref plugins marked cached (a bit confusing as a name)
25416 as the docs state should be done
25417 various doc additions to explain refcounting
25418 * gst/gstregistry.c:
25419 * gst/gstregistryxml.c:
25422 2005-09-19 Wim Taymans <wim@fluendo.com>
25424 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25425 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25426 (send_messages), (GST_START_TEST), (gstbus_suite):
25427 * check/gst/gstpipeline.c: (GST_START_TEST):
25428 * check/pipelines/cleanup.c: (run_pipeline):
25429 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25431 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25432 (gst_bus_source_check), (gst_bus_source_dispatch),
25433 (gst_bus_create_watch), (gst_bus_add_watch_full),
25434 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25436 * tools/gst-launch.c: (event_loop):
25437 * tools/gst-md5sum.c: (event_loop):
25438 GstBusHandler -> GstBusFunc, return value has the same meaning as
25439 any other GSource (FALSE == remove source).
25440 _add_watch() and _add_watch_full() now take a MessageType mask to
25441 only handle specific types of messages.
25442 _poll() returns the GstMessage instead of the message type to avoid
25444 _have_pending() takes a MessageType mask now too.
25445 Added testsuite for multiple bus watches.
25446 Fix testsuites and applications for new bus API.
25448 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25450 * check/Makefile.am:
25451 mark a bunch of the tests as to fix until we fix them
25453 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25455 * common/check.mak:
25456 use GST_PLUGIN settings for valgrind tests as well, so we're
25457 valgrinding the correct thing
25458 * gst/gst.c: (init_post):
25461 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25463 * gst/gst.c: (init_post), (gst_deinit):
25464 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25465 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25466 * gst/gstindex.c: (gst_index_factory_class_init),
25467 (gst_index_factory_finalize):
25468 * gst/gstobject.c: (gst_object_dispose):
25469 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25470 (gst_plugin_load_file), (gst_plugin_desc_free):
25471 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25472 (gst_plugin_feature_finalize):
25473 * gst/gstregistry.c: (gst_registry_class_init),
25474 (gst_registry_init), (gst_registry_finalize),
25475 (gst_registry_get_default), (gst_registry_deinit):
25476 * gst/gstregistry.h:
25477 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25478 various cleanups and memleak plugging. make valgrind is happy now.
25480 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25482 * common/check.mak:
25483 add a check-valgrind target
25485 2005-09-18 David Schleef <ds@schleef.org>
25487 * tools/gst-inspect.c: Revert the GOption code.
25489 2005-09-17 David Schleef <ds@schleef.org>
25491 * check/Makefile.am: Fix environment variables.
25492 * check/gst/gstplugin.c: Fix for API changes.
25493 * tools/gst-inspect.c: Fix for API changes.
25494 * tools/gst-xmlinspect.c: Fix for API changes.
25495 * gst/gstelementfactory.c:
25498 * gst/gstpluginfeature.c:
25499 * gst/gstpluginfeature.h:
25500 * gst/gstregistry.c:
25501 * gst/gstregistry.h:
25502 * gst/gstregistryxml.c:
25503 * gst/gsttypefind.c:
25504 * gst/gsttypefindfactory.c:
25505 * gst/indexers/gstfileindex.c:
25506 * gst/indexers/gstmemindex.c:
25507 * gst/schedulers/Makefile.am:
25508 Change registry to keep track of both plugins and features,
25509 removing the feature tracking from plugins themselves.
25511 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25513 * check/Makefile.am:
25514 * tools/gst-register.1.in:
25515 remove gst-register
25517 2005-09-15 David Schleef <ds@schleef.org>
25519 * check/gst/gstplugin.c:
25520 * gst/gstelementfactory.c:
25522 * gst/gstpluginfeature.c:
25523 * gst/gstregistry.c:
25524 Getting tired of debugging. Disabled all the unreffing of
25525 plugins and features, which fixes the segfaults, but of
25526 course leaks like crazy. At least playbin works.
25528 2005-09-15 David Schleef <ds@schleef.org>
25530 * check/gst/gstplugin.c: (register_check_elements),
25531 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25533 * gst/elements/gsttypefindelement.c: Fix refcounting.
25534 * gst/gsttypefind.c:
25535 * gst/gsttypefindfactory.c:
25536 * gst/gsttypefindfactory.h:
25538 2005-09-15 David Schleef <ds@schleef.org>
25540 * gst/gstindex.c: get refcounting correct.
25541 * gst/gstregistry.c: Handle the case where a feature/plugin is
25544 2005-09-15 David Schleef <ds@schleef.org>
25546 * check/Makefile.am:
25547 * check/gst/gstplugin.c: Add test
25548 * gst/gstplugin.c: Fix problems noticed by testsuite
25550 * gst/gstregistry.c:
25551 * gst/gstregistry.h:
25553 2005-09-15 David Schleef <ds@schleef.org>
25555 * gst/gstplugin.c: Implement semi-decent recounting and locking
25556 in plugins and plugin features.
25558 * gst/gstpluginfeature.c:
25559 * gst/gstpluginfeature.h:
25560 * gst/gstregistry.c:
25562 2005-09-15 Michael Smith <msmith@fluendo.com>
25564 * gst/gstregistry.c: (gst_registry_get_feature_list):
25565 Implement this. Makes oggdemux work; decodebin still broken.
25567 2005-09-14 David Schleef <ds@schleef.org>
25569 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25571 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25572 * gst/check/Makefile.am:
25573 * libs/gst/controller/Makefile.am:
25574 * libs/gst/dataprotocol/Makefile.am:
25576 2005-09-14 David Schleef <ds@schleef.org>
25578 * configure.ac: Remove getbits library. Nothing uses it, and
25579 it should be in something like liboil if someone did want
25581 * libs/gst/Makefile.am:
25582 * libs/gst/getbits/Makefile.am:
25583 * libs/gst/getbits/gbtest.c:
25584 * libs/gst/getbits/getbits.c:
25585 * libs/gst/getbits/getbits.h:
25586 * libs/gst/getbits/gstgetbits_generic.c:
25587 * libs/gst/getbits/gstgetbits_i386.s:
25588 * libs/gst/getbits/gstgetbits_inl.h:
25590 2005-09-14 David Schleef <ds@schleef.org>
25592 * gst/Makefile.am: Dist glib-compat.h
25594 2005-09-14 David Schleef <ds@schleef.org>
25596 * configure.ac: Remove gst/registries, since it's no longer used.
25597 * gst/registries/Makefile.am:
25598 * gst/registries/gstlibxmlregistry.c:
25599 * gst/registries/gstlibxmlregistry.h:
25600 * gst/registries/gstxmlregistry.c:
25601 * gst/registries/gstxmlregistry.h:
25602 * gst/registries/registrytest.c:
25604 2005-09-14 David Schleef <ds@schleef.org>
25606 * gst/glib-compat.h:
25607 * gst/gstregistryxml.c:
25608 Convergence is near. Seriously.
25610 2005-09-14 David Schleef <ds@schleef.org>
25612 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25613 * gst/glib-compat.h:
25614 Attempt #4 to appease the buildbots.
25616 2005-09-14 David Schleef <ds@schleef.org>
25618 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25621 2005-09-14 David Schleef <ds@schleef.org>
25623 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25626 2005-09-14 David Schleef <ds@schleef.org>
25628 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25631 2005-09-14 David Schleef <ds@schleef.org>
25633 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25634 * gst/glib-compat.h: Add some functions that are in newer versions
25635 of glib than we care to require.
25636 * gst/gstregistryxml.c: Use them.
25638 2005-09-14 David Schleef <ds@schleef.org>
25640 * po/POTFILES.in: remove gst-register.c
25642 2005-09-14 David Schleef <ds@schleef.org>
25644 * docs/gst/gstreamer-docs.sgml:
25645 * docs/gst/gstreamer-sections.txt:
25646 * docs/gst/gstreamer.types:
25647 * docs/gst/tmpl/gstelement.sgml:
25648 * docs/gst/tmpl/gstplugin.sgml:
25649 * docs/gst/tmpl/gstpluginfeature.sgml:
25650 Documentation updates for registry changes.
25652 2005-09-14 David Schleef <ds@schleef.org>
25654 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25655 because we don't require glib-2.8.
25657 2005-09-14 David Schleef <ds@schleef.org>
25659 * gst/gstregistryxml.c: Added. Essentially moved out of the
25660 registries directory.
25662 2005-09-14 David Schleef <ds@schleef.org>
25664 * check/Makefile.am:
25665 * check/generic/states.c:
25669 * gst/gst_private.h:
25670 * gst/gstelementfactory.c:
25675 * gst/gstpluginfeature.c:
25676 * gst/gstpluginfeature.h:
25677 * gst/gstregistry.c:
25678 * gst/gstregistry.h:
25679 * gst/gstregistrypool.c: remove
25680 * gst/gstregistrypool.h: remove
25681 * gst/gsttypefind.c:
25682 * gst/gsttypefindfactory.c:
25684 * tools/Makefile.am:
25685 * tools/gst-compprep.c:
25686 * tools/gst-inspect.c:
25687 * tools/gst-register.c: remove
25688 * tools/gst-xmlinspect.c:
25689 Registry rewrite. Changes registry from being a file created
25690 by a tool into a simple cache file created automatically by
25691 libgstreamer. Removed gst-register (because it's no longer
25692 needed). Remove registry pools, because we only have one
25693 registry implementation (XML). Fix up other subsystems as
25696 2005-09-13 Michael Smith <msmith@fluendo.com>
25698 * gst/gstconfig.h.in:
25699 Don't Use windows linking attributes for MinGW. Fixes #316157
25701 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25703 * gst/gstutils.c: (set_state_async_thread_func),
25704 (gst_element_set_state_async):
25705 Apparently people think it's better if this function doesn't
25706 try to set the state to whatever state was asked for on the first
25707 call to this function for any object. Seriously.
25709 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25711 * check/gst/gstpipeline.c: (GST_START_TEST):
25712 * docs/gst/gstreamer-sections.txt:
25713 * gst/gstutils.c: (set_state_async_thread_func),
25714 (gst_element_set_state_async):
25716 add a "gst_element_set_state_async" method that
25717 sets the state and starts a thread to make sure the state
25718 change completes as best as it can
25720 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25722 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25723 codify design+behaviour in testsuite after discussion
25725 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25727 * docs/gst/tmpl/gstelement.sgml:
25728 * docs/manual/appendix-quotes.xml:
25730 * gst/gstelement.c: (gst_element_set_state):
25733 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25735 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25736 (gst_base_transform_prepare_output_buf),
25737 (gst_base_transform_handle_buffer):
25738 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25739 (gst_capsfilter_prepare_buf):
25740 Remove the requirement for sub-classes to call the parent
25741 implementation of prepare_output_buffer with a wrapper function.
25743 * gst/gsttaglist.h:
25744 * gst/gsttagsetter.h:
25745 Fix #define wrapper
25747 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25749 * docs/gst/gstreamer-sections.txt:
25752 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25754 * docs/gst/gstreamer-sections.txt:
25755 * docs/gst/tmpl/gstelement.sgml:
25756 * docs/gst/tmpl/gstplugin.sgml:
25757 * gst/gstminiobject.c:
25759 docs now stop throwing warnings
25761 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25763 * docs/gst/gstreamer-sections.txt:
25764 * docs/gst/gstreamer.types:
25765 * docs/gst/tmpl/gstpad.sgml:
25766 * docs/gst/tmpl/gsttypes.sgml:
25767 * gst/base/gstadapter.h:
25768 * gst/base/gstbasesink.h:
25769 * gst/base/gstbasesrc.h:
25775 * gst/gstelement.h:
25777 * gst/gstmessage.h:
25779 * gst/gststructure.c:
25780 * gst/registries/gstlibxmlregistry.h:
25781 various documentation fixes
25783 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25785 * docs/gst/gstreamer-sections.txt:
25786 * docs/gst/tmpl/gstvalue.sgml:
25787 rearrange gstvalue section
25788 * gst/gstutils.c: (gst_element_state_get_name):
25790 * gst/gstvalue.c: (_gst_value_initialize):
25794 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25796 * check/gst-libs/controller.c:
25797 Header include fix.
25798 * gst/base/gstbasetransform.c:
25799 (gst_base_transform_default_prepare_buf),
25800 (gst_base_transform_handle_buffer):
25801 * gst/base/gstbasetransform.h:
25802 Some more basetransform changes and fixes to enable sub-classes
25803 that modify buffer metadata only.
25804 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25805 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25806 (gst_capsfilter_prepare_buf):
25807 If the output pad has fixed allowed caps and input buffers
25808 don't have any, set the fixed caps on outgoing buffers.
25810 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25811 * check/elements/identity.c: (GST_START_TEST):
25812 Make the error a little clearer when the test fails because
25813 identity made a copy of the buffer.
25814 * docs/gst/gstreamer-sections.txt:
25815 New symbols in gstbasetransform.h
25816 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25817 (gst_base_transform_init), (gst_base_transform_transform_size),
25818 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25819 (gst_base_transform_default_prepare_buf),
25820 (gst_base_transform_get_unit_size),
25821 (gst_base_transform_buffer_alloc),
25822 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25823 (gst_base_transform_change_state),
25824 (gst_base_transform_set_passthrough),
25825 (gst_base_transform_set_in_place),
25826 (gst_base_transform_is_in_place):
25827 * gst/base/gstbasetransform.h:
25828 Change BaseTransform to separate in_place operate from same_caps
25829 output. in_place implies that the element can perform the transform
25830 on incoming buffers in-place, even if the caps on the output are
25832 Sub-class elements can now implement special buffer allocation
25833 methods for outgoing buffers if they wish to.
25834 Big documentation addition.
25835 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25836 * gst/elements/gstelements.c:
25837 Changes for basetransform modifications.
25838 * gst/elements/Makefile.am:
25839 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25840 Compile fix. Extra debug output.
25842 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25844 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25846 add tests for valid pad naming
25847 * gst/check/gstcheck.c: (gst_check_log_message_func),
25848 (gst_check_log_critical_func):
25850 remove printing of code, it is fragile when the code contains
25851 % and the line number is enough info
25852 * gst/check/gstcheck.h:
25853 * gst/gstpad.c: (gst_pad_template_new):
25856 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25859 say what CHECK flags we use
25860 * docs/libs/gstreamer-libs.types:
25861 * libs/gst/controller/Makefile.am:
25862 * libs/gst/controller/gst-controller.c:
25863 * libs/gst/controller/gst-controller.h:
25864 * libs/gst/controller/gst-helper.c:
25865 * libs/gst/controller/gst-interpolation.c:
25866 * libs/gst/controller/gstcontroller.c:
25867 * libs/gst/controller/gsthelper.c:
25868 * libs/gst/controller/gstinterpolation.c:
25869 * tools/gst-inspect.c: (print_plugin_info):
25870 we don't use dashes in header names
25872 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25874 * check/Makefile.am:
25875 * check/gst/.cvsignore:
25876 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25877 (gst_pipeline_suite), (main):
25878 adding a test for pipelines and state changes
25879 * gst/gstutils.c: (get_state_func):
25881 * gstreamer.spec.in:
25884 2005-09-08 Michael Smith <msmith@fluendo.com>
25886 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25887 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25888 (gst_file_src_is_seekable), (gst_file_src_get_size),
25889 (gst_file_src_start):
25890 * gst/elements/gstfilesrc.h:
25891 Various fixes for unseekable, unmmapable, and non-normal files, so
25892 that fallback to read() rather than mmap() works.
25893 * gst/gstevent.c: (gst_event_new_newsegment):
25894 Allow newsegment events with segment_start == segment_end, as will
25895 correctly happen if you use filesrc on a zero-size file, for
25898 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25900 * gst/gstplugin.c: (gst_plugin_load_file):
25901 Call g_module_close when we don't load the module
25903 * gst/registries/gstlibxmlregistry.c:
25904 (gst_xml_registry_get_property):
25905 Port leak fix from 0.8
25907 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25909 * docs/gst/gstreamer-docs.sgml:
25910 * docs/gst/tmpl/.cvsignore:
25911 * docs/gst/tmpl/gsttrace.sgml:
25912 * docs/gst/tmpl/gsttrashstack.sgml:
25915 * gst/gstelement.h:
25917 * gst/gstmessage.c:
25918 * gst/gstmessage.h:
25921 * gst/gsttaginterface.c:
25922 * gst/gsttaginterface.h:
25923 * gst/gsttaglist.c:
25924 * gst/gsttaglist.h:
25925 * gst/gsttagsetter.c:
25926 * gst/gsttagsetter.h:
25929 * gst/gsttrashstack.c:
25930 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25931 inlined docs for gsttrace, gsttrashstack
25933 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25936 * gst/elements/gstbufferstore.h:
25937 * gst/elements/gsttypefindelement.c:
25938 * gst/elements/gsttypefindelement.h:
25940 * gst/gsttypefind.c:
25941 * gst/gsttypefind.h:
25942 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25943 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25944 (gst_type_find_factory_dispose),
25945 (gst_type_find_factory_unload_thyself),
25946 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25947 (gst_type_find_factory_get_caps),
25948 (gst_type_find_factory_get_extensions),
25949 (gst_type_find_factory_call_function):
25950 * gst/gsttypefindfactory.h:
25951 * gst/registries/gstlibxmlregistry.c:
25952 * gst/registries/gstxmlregistry.c:
25953 splitted gsttypefind into gsttypefind, gsttypefindfactory
25955 2005-09-07 Andy Wingo <wingo@pobox.com>
25957 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25958 condition whereby the pad's task function is entered before the
25959 pad_mode variable was set.
25961 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25963 * gst/gstpad.c: (gst_pad_alloc_buffer):
25964 Catch misbehaving pad_alloc functions that don't
25965 set up caps and do it for them.
25967 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25969 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25970 test for pipe!=NULL
25971 * docs/gst/tmpl/.cvsignore:
25972 * docs/gst/tmpl/gstmemchunk.sgml:
25973 * docs/gst/tmpl/gstparse.sgml:
25974 * docs/gst/tmpl/gsttaglist.sgml:
25975 * docs/gst/tmpl/gsttagsetter.sgml:
25976 * docs/gst/tmpl/gsttypefind.sgml:
25977 * docs/gst/tmpl/gsttypefindfactory.sgml:
25978 * gst/gstmemchunk.c:
25981 * gst/gsttaginterface.c:
25982 * gst/gsttypefind.c:
25983 * gst/gsttypefind.h:
25986 === release 0.9.2 ===
25988 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25993 releasing 0.9.2, "South"
25995 2005-09-05 Andy Wingo <wingo@pobox.com>
25997 * gst/registries/gstxmlregistry.h:
25998 * gst/registries/gstxmlregistry.c: Um... resurrect...
26000 * gst/registries/gstxmlregistry.h:
26001 * gst/registries/gstxmlregistry.c: and update to newer API.
26002 Incidentally they should be a bit faster now that they don't have
26005 2005-09-05 Andy Wingo <wingo@pobox.com>
26007 * gst/registries/gstxmlregistry.h:
26008 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
26009 replaced by the libxml registry a while back
26011 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
26013 * docs/gst/tmpl/gstplugin.sgml:
26014 * gst/elements/gstelements.c:
26016 * gst/gstplugin.c: (gst_plugin_register_func),
26017 (gst_plugin_desc_copy), (gst_plugin_desc_free),
26018 (gst_plugin_get_source):
26020 * gst/registries/gstlibxmlregistry.c: (load_plugin),
26021 (gst_xml_registry_save_plugin):
26022 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
26023 (gst_xml_registry_save_plugin):
26024 * tools/gst-inspect.c: (print_plugin_info):
26025 add a "source" plugin description field, to represent the source
26026 module this plugin is a part of. By default GST_PLUGIN_DEFINE
26027 will set it to PACKAGE, which is automake's idea of the name of
26028 the source project.
26030 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
26035 * docs/Makefile.am:
26036 * docs/faq/Makefile.am:
26037 * docs/gst/tmpl/gstelement.sgml:
26038 * docs/gst/tmpl/gsttypes.sgml:
26039 * docs/htmlinstall.mak:
26040 * docs/manual/Makefile.am:
26041 * docs/pwg/Makefile.am:
26042 reorganize doc build a little
26043 split out docbook and gtk-doc stuff
26044 have two separate --enable's and enable them through autogen
26045 but disable by default in configure (to be similar to other
26047 * gstreamer.spec.in:
26048 clean up docs install
26066 translation updates
26068 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
26070 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26073 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26074 (gst_fake_sink_change_state):
26075 Make state change function thread-safe.
26077 * gst/gstpad.c: (gst_pad_alloc_buffer):
26078 Set offset on generic buffer allocated by fallback.
26080 2005-09-03 Stefan Kost <ensonic@users.sf.net>
26082 * docs/gst/gstreamer-sections.txt:
26083 * docs/gst/tmpl/gstelement.sgml:
26085 * libs/gst/controller/gst-controller.c:
26086 (gst_controlled_property_set_interpolation_mode),
26087 (gst_controlled_property_new),
26088 (gst_controller_find_controlled_property):
26089 run the wingo-magic script against the docs
26091 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26093 * docs/gst/gstreamer-docs.sgml:
26094 * docs/gst/gstreamer-sections.txt:
26095 * docs/gst/tmpl/.cvsignore:
26096 * docs/gst/tmpl/gstelementdetails.sgml:
26097 * docs/gst/tmpl/gstelementfactory.sgml:
26100 * gst/gstelementfactory.c:
26101 * gst/gstelementfactory.h:
26102 merged elementdetails docs into elementfactory docs
26105 2005-09-02 Andy Wingo <wingo@pobox.com>
26107 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26108 consider this enum an enum and not a flags.
26110 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26112 * docs/gst/gstreamer-docs.sgml:
26113 * docs/gst/tmpl/.cvsignore:
26114 * docs/gst/tmpl/gstghostpad.sgml:
26115 * docs/gst/tmpl/gstiterator.sgml:
26116 * docs/gst/tmpl/gstmacros.sgml:
26117 * docs/gst/tmpl/gstrealpad.sgml:
26118 * docs/gst/tmpl/gstregistry.sgml:
26119 * docs/gst/tmpl/gstregistrypool.sgml:
26120 * docs/gst/tmpl/gststructure.sgml:
26121 * docs/gst/tmpl/gstsystemclock.sgml:
26122 * docs/gst/tmpl/gsttrace.sgml:
26123 * gst/gstghostpad.c:
26125 * gst/gstmemchunk.c:
26126 * gst/gstmemchunk.h:
26128 * gst/gstregistry.c:
26129 * gst/gstregistrypool.c:
26130 * gst/gststructure.c:
26131 * gst/gstsystemclock.c:
26134 2005-09-02 Andy Wingo <wingo@pobox.com>
26136 * gst/gstelement.h (GstState): Renamed from GstElementState,
26137 changed to be a normal enum instead of flags.
26138 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26139 munged to be GST_STATE_CHANGE_*.
26140 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26141 work with the new state representation.
26142 (GstStateChange): New enumeration of possible state transitions.
26143 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26144 (GstElementClass::change_state): Pass the GstStateChange along as
26145 an argument. Helps language bindings, so they don't have to use
26146 tricky lock-needing macros like GST_STATE_CHANGE ().
26148 * scripts/update-states (file): New script. Run it on a file to
26149 update it for state naming and API changes. Updates files in
26152 * All files updated for the new API.
26154 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26156 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26157 * gst/gstutils.c: (gst_util_set_value_from_string),
26158 (gst_util_set_object_arg):
26159 fix a bunch of unchecked return values
26160 * tools/gst-complete.c: (main):
26161 * gstreamer.spec.in:
26164 2005-09-01 Wim Taymans <wim@fluendo.com>
26166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26167 (gst_base_sink_event), (gst_base_sink_do_sync),
26168 (gst_base_sink_handle_event):
26169 * gst/base/gstbasesink.h:
26170 Handle newsegments more correctly.
26175 * gst/gstevent.c: (gst_event_new_newsegment):
26176 A newsegment cannot have a start_time of -1
26178 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26180 * win32/gstenumtypes.c:
26181 * win32/gstenumtypes.h:
26184 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26186 * libs/gst/controller/gst-controller.c:
26187 (gst_controlled_property_set_interpolation_mode),
26188 (gst_controlled_property_new):
26189 fixed boolean again
26191 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26193 * docs/faq/gst-uninstalled:
26198 * gst/gstutils.c: (gst_element_link_filtered):
26200 add gst_element_link_filtered
26202 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26204 * docs/gst/gstreamer-docs.sgml:
26205 * docs/gst/gstreamer-sections.txt:
26206 * docs/gst/tmpl/.cvsignore:
26207 * docs/gst/tmpl/gsterror.sgml:
26208 * docs/gst/tmpl/gstfilter.sgml:
26209 * docs/gst/tmpl/gsturihandler.sgml:
26210 * docs/gst/tmpl/gsturitype.sgml:
26211 * docs/gst/tmpl/gstutils.sgml:
26212 * docs/gst/tmpl/gstxml.sgml:
26217 * gst/gsturitype.c:
26220 inlined more docs, fixed double id-ref
26222 2005-08-31 Wim Taymans <wim@fluendo.com>
26224 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26225 (gst_base_transform_handle_buffer):
26226 Passthrough elements don't need the caps as they don't care.
26228 2005-08-31 Wim Taymans <wim@fluendo.com>
26230 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26231 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26232 Don't leak refcounts on buffers.
26234 2005-08-31 Wim Taymans <wim@fluendo.com>
26236 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26237 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26238 (gst_base_transform_chain), (gst_base_transform_change_state):
26239 * gst/base/gstbasetransform.h:
26240 Handle the case where we are not negotiated more gracefully.
26242 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26244 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26245 (gst_file_src_map_region):
26246 Set READONLY flag on mmap'ed buffers, otherwise
26247 gst_buffer_make_writable() won't work properly (#314708).
26249 2005-08-31 Wim Taymans <wim@fluendo.com>
26251 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26252 passthrough elements can even do inplace on non writable
26253 buffers (as they don't touch them).
26255 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26257 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26258 (gst_test_mono_source_set_property),
26259 (gst_test_mono_source_class_init), (GST_START_TEST),
26260 (gst_controller_suite):
26261 more tests (hehe I have the most)
26263 describe popping messages whenusing mulltiple sources
26264 * libs/gst/controller/gst-controller.c:
26265 (gst_controlled_property_set_interpolation_mode),
26266 (gst_controlled_property_new):
26267 * libs/gst/controller/gst-controller.h:
26268 * libs/gst/controller/gst-interpolation.c:
26269 implement boolean properties
26271 2005-08-31 Wim Taymans <wim@fluendo.com>
26273 * gst/gstminiobject.c: (gst_mini_object_ref):
26274 Cannot assert that the refcount has to be positive
26275 since a disposed object can be resurrected.
26277 2005-08-31 Wim Taymans <wim@fluendo.com>
26279 * gst/gstpad.c: (gst_pad_init):
26280 Revert change, need to first fix badly behaving
26283 2005-08-30 Wim Taymans <wim@fluendo.com>
26285 * check/elements/fakesrc.c: (setup_fakesrc):
26286 * check/elements/identity.c: (setup_identity):
26287 Activate pads before using them.
26289 2005-08-30 Wim Taymans <wim@fluendo.com>
26291 * gst/base/gstadapter.c: (gst_adapter_flush):
26292 Flushing out 0 bytes is ok for this function.
26294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26295 no newsegment gives a warning and sets the start/stop to
26298 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26299 (gst_base_transform_set_passthrough):
26302 * gst/gstminiobject.c: (gst_mini_object_ref):
26303 Check refcount here too.
26305 * gst/gstpad.c: (gst_pad_init):
26306 Pads are initially flushing and refusing data.
26308 * gst/gstutils.c: (gst_element_link_pads_filtered):
26309 When adding a capsfilter element make sure it has the
26310 same state as the parent bin.
26312 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26314 * docs/gst/tmpl/.cvsignore:
26315 * docs/gst/tmpl/gstformat.sgml:
26316 * docs/gst/tmpl/gstversion.sgml:
26320 * gst/gstversion.h.in:
26321 more docs and two more inlined
26323 2005-08-30 Wim Taymans <wim@fluendo.com>
26325 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26326 Don't sync to clock.
26328 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26330 * docs/gst/gstreamer-sections.txt:
26331 ultral33t func10ns deserve to appear in the docs actually
26332 * docs/gst/tmpl/.cvsignore:
26333 * docs/gst/tmpl/gstcompat.sgml:
26334 * docs/gst/tmpl/gstconfig.sgml:
26335 * gst/check/gstcheck.c:
26337 * gst/gstconfig.h.in:
26340 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26342 * docs/gst/tmpl/.cvsignore:
26343 * docs/gst/tmpl/gstquery.sgml:
26344 * docs/gst/tmpl/gstutils.sgml:
26347 inlined and extended docs
26349 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26351 * check/gst-libs/controller.c: (GST_START_TEST),
26352 (gst_controller_suite):
26354 * docs/gst/tmpl/gstutils.sgml:
26355 * docs/libs/gstreamer-libs-sections.txt:
26356 * docs/libs/tmpl/gstdataprotocol.sgml:
26358 * examples/controller/audio-example.c: (main):
26359 controller example works now
26362 * tools/gst-inspect.c: (print_element_properties_info):
26363 show param spec flags
26365 2005-08-29 Andy Wingo <wingo@pobox.com>
26367 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26369 2005-08-28 Andy Wingo <wingo@pobox.com>
26371 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26372 as having two arguments instead of just one. Allows superclasses
26373 to access information on subclasses -- see the terrible for() loop
26374 in gtype.c:g_type_create_instance for the reason why. All callers
26377 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26379 * docs/design/part-messages.txt:
26381 * docs/gst/tmpl/.cvsignore:
26382 * docs/gst/tmpl/gstcaps.sgml:
26383 * docs/gst/tmpl/gstclock.sgml:
26389 * gst/gstmessage.c:
26390 added descriptions for bus and message
26391 inline caps and clock docs
26393 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26395 * gst/gstmessage.c:
26396 * gst/gstmessage.h:
26399 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26401 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26404 2005-08-26 Andy Wingo <wingo@pobox.com>
26406 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26407 element_set_state's return val.
26408 (test_2_elements): Add test that's been disabled for months.
26410 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26411 can-activate-pull properties.
26413 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26414 can-activate-pull properties. Implement is_seekable so fakesrc can
26415 operate in pull mode.
26417 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26419 (gst_base_sink_activate, gst_base_sink_activate_pull)
26420 (gst_base_sink_activate_push): Make activation mode choosing work.
26422 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26423 is right. Make pull mode work. Post an eos before pausing in pull
26425 (gst_base_sink_change_state): Pay attention to the core's
26426 change_state() return val.
26428 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26429 has-getrange properties. Cleanups.
26431 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26432 has_getrange and replace with can_activate_pull and
26435 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26436 locking comments. Remove has_loop, has_chain and replace with
26437 can_activate_pull and can_activate_push.
26439 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26442 * examples/Makefile.am:
26443 * examples/metadata/Makefile.am:
26444 * examples/metadata/read-metadata.c: (message_loop),
26445 (have_pad_handler), (make_pipeline), (print_tag), (main):
26446 Add metadata reading example that loops over a list of filenames,
26447 dumping any tags found.
26449 * gst/gstbus.c: (gst_bus_dispose):
26450 * gst/gstelement.c: (gst_element_dispose):
26451 Release a few potentially-held references in dispose.
26453 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26455 * docs/gst/tmpl/gstminiobject.sgml:
26456 do *not* add tmpl/*.sgml files to CVS!
26458 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26460 * libs/gst/bytestream/.cvsignore:
26461 * libs/gst/bytestream/Makefile.am:
26462 * libs/gst/bytestream/adapter.c:
26463 * libs/gst/bytestream/adapter.h:
26464 * libs/gst/bytestream/bytestream.c:
26465 * libs/gst/bytestream/bytestream.h:
26466 * libs/gst/bytestream/filepad.c:
26467 * libs/gst/bytestream/filepad.h:
26468 removing obsolete files
26470 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26472 * docs/gst/gstreamer-docs.sgml:
26473 * docs/libs/gstreamer-libs-docs.sgml:
26474 disabed additional index entries again, as this makes docs-gen just
26475 slow and they aren't useful yet
26476 * docs/libs/gstreamer-libs-sections.txt:
26477 little -section.txt cleanup for libs
26479 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26482 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26483 fix up some debugging
26484 (gst_base_transform_get_unit_size),
26485 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26486 (gst_base_transform_handle_buffer):
26487 * gst/base/gstbasetransform.h:
26488 handle and store timed NEWSEGMENT events so that subclasses that
26489 calculate time by counting samples have a segment_start time they
26490 need to add to their timestamps - see audioresample
26492 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26495 removed ';' from the end of macro defs
26496 * docs/gst/gstreamer-docs.sgml:
26497 * docs/gst/gstreamer-sections.txt:
26498 * docs/gst/tmpl/.cvsignore:
26500 * gst/gstelement.c: (gst_element_class_init),
26501 (gst_element_set_state), (activate_pads),
26502 (gst_element_save_thyself):
26503 * gst/gstevent.c: (gst_event_new_newsegment):
26505 * gst/gstiterator.c:
26506 * gst/gstiterator.h:
26509 * gst/gstutils.c: (gst_pad_query_convert):
26511 fixed parameter name mismatches between source, header and docs
26512 added some more docs, resolved the last batch of unused elements in
26513 docs (now someone needs to doc them)
26515 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26517 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26518 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26519 don't walk through the plugins backwards. Where is all this
26520 reversed logic coming from ?
26522 2005-08-25 Wim Taymans <wim@fluendo.com>
26524 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26525 (gst_base_transform_transform_size),
26526 (gst_base_transform_configure_caps),
26527 (gst_base_transform_get_unit_size),
26528 (gst_base_transform_buffer_alloc),
26529 (gst_base_transform_change_state):
26530 * gst/base/gstbasetransform.h:
26531 Cache caps unit_size.
26532 Make sure we cannot negotiate up and downstream at the
26535 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26537 * gst/gst.c: (init_pre), (init_post):
26538 register the installed plugin path after the env var
26539 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26540 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26541 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26542 directories, so the tests can prefer uninstalled over installed
26544 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26546 * gst/base/gstbasetransform.h:
26551 2005-08-25 Wim Taymans <wim@fluendo.com>
26553 * gst/gstbin.c: (bin_bus_handler):
26554 Be a bit more conservative about the posted message.
26556 * gst/gstbus.c: (gst_bus_post):
26557 Some cleanups, warn wrong return values.
26559 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26561 * check/gst/gstbin.c: (GST_START_TEST):
26562 * gst/gstbin.c: (bin_bus_handler):
26563 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26564 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26565 (gst_message_new_warning), (gst_message_new_tag),
26566 (gst_message_new_state_changed), (gst_message_new_segment_start),
26567 (gst_message_new_segment_done), (gst_message_new_custom):
26568 * gst/gstmessage.h:
26569 * tools/gst-launch.c: (event_loop):
26570 * tools/gst-md5sum.c: (event_loop):
26571 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26573 2005-08-25 Wim Taymans <wim@fluendo.com>
26575 * check/generic/states.c: (GST_START_TEST):
26576 Cleanup can be done at the end.
26578 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26579 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26580 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26581 Oh boy.. Thanks for finding this, Thomas.
26583 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26585 * docs/gst/gstreamer.types:
26586 added missing types
26588 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26590 * docs/gst/gstreamer-docs.sgml:
26591 * docs/gst/gstreamer-sections.txt:
26592 * docs/gst/tmpl/.cvsignore:
26594 * gst/gstiterator.c:
26596 * gst/registries/gstxmlregistry.h:
26597 added missing classes and symbols (123 more to go)
26598 removed removed symbols from section file
26599 fixed many doc-comments
26601 2005-08-24 Wim Taymans <wim@fluendo.com>
26603 * check/generic/states.c: (GST_START_TEST):
26604 Make sure all tasks are stopped.
26606 * check/gst/gstbin.c: (GST_START_TEST):
26607 Unref after usage for proper valgrinding.
26609 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26610 Really wait for the task to stop before destroying the
26613 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26614 (gst_queue_src_activate_push):
26615 Small cleanups. Don't stop the task when we did not start
26618 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26619 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26620 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26623 Protect the stream lock with the object lock.
26624 Disallow setting the stream lock when running.
26625 Add cleanup_all to wait for the threadpool to finish.
26626 Remove code to autoallocate a mutex if none was provided.
26627 Add _join() to wait for a task to stop.
26628 Protect the thread pool with a global lock.
26630 2005-08-24 Wim Taymans <wim@fluendo.com>
26632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26633 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26634 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26635 * gst/base/gstbasesink.h:
26636 Handle newsegment events correctly.
26637 Drop buffers out of the segment range.
26639 2005-08-22 Andy Wingo <wingo@pobox.com>
26641 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26642 macro, implements an interface and gstimplementsinterface for a
26645 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26647 * check/Makefile.am:
26648 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26649 add a test that does a bunch of state changes on elements
26650 needs some fixing for valgrind
26651 * check/states/sinks.c: (gst_object_suite):
26654 add prototype for gst_caps_is_equal_fixed
26656 * gst/gstregistrypool.c:
26659 2005-08-24 Andy Wingo <wingo@pobox.com>
26661 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26662 convert a negative value. Doesn't make much sense. Mostly this is
26663 here to force callers to ensure -1 maps to -1.
26665 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26667 * docs/pwg/advanced-types.xml:
26668 Well done to Michael for catching my deliberate introduction
26669 of this spelling mistake.
26670 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26671 * gst/gstelement.h:
26672 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26673 unlink pads before removing the element from the bin.
26675 2005-08-24 Andy Wingo <wingo@pobox.com>
26677 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26678 the same thing as GST_DEBUG=*:4.
26679 (parse_debug_level, parse_debug_category): New helper parsers.
26681 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26683 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26684 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26685 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26686 (gst_base_transform_buffer_alloc),
26687 (gst_base_transform_handle_buffer):
26688 use gboolean return values and pointers to size so we can use the
26689 full GST_BUFFER_SIZE range (guint) for buffer sizes
26690 use GstPadDirection for transform_caps
26691 * gst/base/gstbasetransform.h:
26692 rename get_size to get_unit_size since that's what it is
26693 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26694 use GstPadDirection for transform_caps
26695 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26697 cleanup and debugging
26699 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26701 * gst/gstelement.c: (gst_element_class_init),
26702 (gst_element_set_state), (activate_pads),
26703 (gst_element_save_thyself):
26704 * tools/gst-compprep.c: (main):
26705 * tools/gst-inspect.c: (print_element_properties_info):
26706 * tools/gst-xmlinspect.c: (print_element_properties):
26707 Fixed long standing mem-leak
26709 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26711 * check/gst/gstbin.c: (GST_START_TEST):
26712 * gst/gstbin.c: (bin_bus_handler):
26713 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26714 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26715 (gst_message_new_warning), (gst_message_new_tag),
26716 (gst_message_new_state_changed), (gst_message_new_segment_start),
26717 (gst_message_new_segment_done), (gst_message_new_custom):
26718 * gst/gstmessage.h:
26719 * tools/gst-launch.c: (event_loop):
26720 * tools/gst-md5sum.c: (event_loop):
26721 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26722 that applications can sensibly post custom messages with references
26723 to their own objects.
26725 2005-08-24 Andy Wingo <wingo@pobox.com>
26727 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26730 2005-08-24 Wim Taymans <wim@fluendo.com>
26732 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26733 (gst_base_transform_transform_caps),
26734 (gst_base_transform_transform_size),
26735 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26736 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26737 (gst_base_transform_handle_buffer):
26738 * gst/base/gstbasetransform.h:
26739 Many fixes and new features added by Thomas. Can now also do
26740 transforms with variable sizes and a custom fixate_caps function.
26742 2005-08-24 Wim Taymans <wim@fluendo.com>
26744 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26748 Cast to ClockTime before formatting to time.
26753 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26755 * check/gst-libs/controller.c: (GST_START_TEST),
26756 (gst_controller_suite):
26757 * docs/gst/tmpl/gstcaps.sgml:
26758 * docs/gst/tmpl/gstghostpad.sgml:
26759 * docs/gst/tmpl/gstquery.sgml:
26760 * docs/gst/tmpl/gstutils.sgml:
26761 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26762 (gst_object_sink_values), (gst_object_get_value_arrays),
26763 (gst_object_get_value_array):
26764 gracefully handle helper method calls to objects that are not beeing
26765 controlled, added test case for that
26767 2005-08-23 Wim Taymans <wim@fluendo.com>
26769 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26770 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26771 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26772 (gst_event_parse_qos), (gst_event_new_seek),
26773 (gst_event_parse_seek):
26775 Some more debugging output and doc cleanups.
26777 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26778 Fix possible deadlock.
26780 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26782 * docs/gst/gstreamer-docs.sgml:
26783 * docs/gst/gstreamer-sections.txt:
26784 * docs/gst/gstreamer.types:
26785 * docs/gst/tmpl/.cvsignore:
26788 * gst/gstelement.c:
26790 added 100 symbols from gstreamer-unused.txt to the right sections
26791 fixed more broken comments
26792 added GstBus to docs
26794 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26796 * docs/gst/gstreamer-sections.txt:
26797 * docs/gst/tmpl/.cvsignore:
26798 * docs/gst/tmpl/gstbin.sgml:
26799 * docs/gst/tmpl/gstbuffer.sgml:
26800 * gst/base/gstbasesrc.c:
26801 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26804 * tools/gst-launch.1.in:
26805 inlined more doc comments, added missing comments and fixed comments
26808 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26810 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26814 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26816 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26817 * gst/gststructure.h:
26818 add a fixate function for booleans; add a FIXME that these func
26819 names should probably be gst_structure_fixate_*
26821 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26823 * docs/gst/gstreamer-docs.sgml:
26824 * docs/gst/gstreamer-sections.txt:
26826 * gst/gstbin.c: (gst_bin_get_type),
26827 (gst_bin_child_proxy_get_child_by_index),
26828 (gst_bin_child_proxy_get_children_count),
26829 (gst_bin_child_proxy_init):
26830 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26831 (gst_child_proxy_get_child_by_index),
26832 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26833 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26834 (gst_child_proxy_get), (gst_child_proxy_set_property),
26835 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26836 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26837 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26838 * gst/gstchildproxy.h:
26839 * gst/parse/grammar.y:
26840 * tools/gst-inspect.c: (print_interfaces),
26841 (print_element_properties_info), (print_element_info):
26842 ported gstchildproxy over from 0.8
26843 ported gst-inspect fixes and enhancements over from 0.8
26845 2005-08-22 Wim Taymans <wim@fluendo.com>
26847 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26848 (gst_base_transform_handle_buffer):
26849 Also call the transform function if we have ANY caps.
26851 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26854 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26856 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26857 Don't pretend to handle seek events if the source is not seekable
26859 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26862 Remove extra parameter to debug output
26864 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26865 (gst_base_src_do_seek), (gst_base_src_activate_push):
26866 Fix seek event handling.
26868 * gst/gstpipeline.c: (gst_pipeline_change_state):
26869 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26870 (gst_queue_src_activate_push):
26871 Don't start the src pad task on FLUSH_STOP if the pad
26875 2005-08-22 Wim Taymans <wim@fluendo.com>
26877 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26878 Added check for gst_static_caps_get() refcounting.
26880 2005-08-22 Wim Taymans <wim@fluendo.com>
26882 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26883 Make _static_caps_get() refcounting sane.
26885 * gst/gstelement.c: (gst_element_set_state):
26886 Add g_return_val_if_fail() to protect against segfaults.
26888 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26890 * docs/gst/tmpl/gstevent.sgml:
26893 inlined remaining docs, added missing doc comments
26895 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26897 * check/gst/gstbin.c: (GST_START_TEST):
26898 since we don't know when preroll is done, use refcount range
26900 * gst/check/gstcheck.h:
26901 add macro for checking refcount range
26903 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26905 * check/Makefile.am:
26906 clean up environment for when registry gets built versus
26907 when actual tests are run; valgrind seems to not report
26908 leaks if GST_PLUGIN_PATH is set to some specific values
26909 * check/gst/gstbin.c: (GST_START_TEST):
26910 add more refcounting checks; maybe this exposes a
26912 * common/check.mak:
26913 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26914 * gst/check/gstcheck.h:
26915 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26916 (gst_bin_change_state):
26917 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26918 add/fix debugging/whitespace
26920 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26922 * check/gst/gstevent.c: (event_probe), (test_event),
26924 Er, don't call gst_bin_watch_for_state_change you idiot.
26926 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26928 * check/Makefile.am:
26929 Use CHECK_CFLAGS and CHECK_LIBS
26930 * check/gst/gstevent.c: (event_probe), (test_event),
26933 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26934 (gst_base_src_start), (gst_base_src_stop),
26935 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26936 (gst_base_src_change_state):
26937 Sprinkle gst_base_src_stop liberally around error paths to fix
26938 problems reusing a source after failed state changes.
26939 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26940 (helper_find_suggest), (gst_type_find_helper):
26941 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26943 * docs/gst/tmpl/gstevent.sgml:
26944 Migrate part of the docs from the SGML file. Wait for ensonic to
26945 tell me how I did it wrong ;)
26946 * tools/gst-typefind.c: (main):
26947 Extra robustness to state changes between files.
26949 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26951 * check/Makefile.am:
26952 don't valgrind the controller test - it's leaking - Stefan, HELP
26953 * gst/check/gstcheck.c: (gst_check_message_error),
26954 (gst_check_chain_func), (gst_check_setup_element),
26955 (gst_check_teardown_element), (gst_check_setup_src_pad),
26956 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26957 (gst_check_teardown_sink_pad):
26958 * gst/check/gstcheck.h:
26959 add a bunch of methods to set up elements, and src and sink pads
26960 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26961 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26964 * gst/gstmessage.c:
26966 whitespace/doc fixes
26968 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26970 * gst/gstelement.h:
26971 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26972 be handled by the application and not always printed as well
26974 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26976 * check/Makefile.am:
26978 * gst/check/gstcheck.c: (gst_check_message_error):
26979 * gst/check/gstcheck.h:
26980 add a fail_unless_equals_int
26981 add fail_unless for error messages
26983 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26985 * check/Makefile.am:
26987 * common/Makefile.am:
26988 * common/check.mak:
26990 factor out some of the common stuff so we can use it
26992 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26994 * check/Makefile.am:
26995 * check/gst/gstiterator.c: (GST_START_TEST):
26996 * check/gst/gstsystemclock.c: (GST_START_TEST),
26997 (gst_systemclock_suite):
26998 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27000 valgrind more tests
27002 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
27004 * check/elements/.cvsignore:
27005 * check/elements/gstfakesrc.c:
27006 rename to name of element
27007 * check/elements/identity.c: (chain_func), (event_func),
27008 (setup_identity), (cleanup_identity), (GST_START_TEST),
27009 (identity_suite), (main):
27010 add a test for identity
27011 * check/Makefile.am:
27012 * pkgconfig/Makefile.am:
27013 * pkgconfig/gstreamer-check.pc.in:
27014 * pkgconfig/gstreamer-check-uninstalled.pc.in:
27018 move the check stuff to a library that gets installed
27019 * check/gst-libs/controller.c: (GST_START_TEST):
27020 * check/gst-libs/gdp.c:
27021 * check/gst/gst.c: (GST_START_TEST):
27022 * check/gst/gstbin.c:
27023 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27024 * check/gst/gstbus.c:
27025 * check/gst/gstcaps.c: (GST_START_TEST):
27026 * check/gst/gstelement.c:
27027 * check/gst/gstghostpad.c:
27028 * check/gst/gstiterator.c:
27029 * check/gst/gstmessage.c:
27030 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27031 * check/gst/gstobject.c:
27032 * check/gst/gstpad.c: (GST_START_TEST):
27033 * check/gst/gststructure.c: (GST_START_TEST):
27034 * check/gst/gstsystemclock.c: (GST_START_TEST),
27035 (gst_systemclock_suite):
27036 * check/gst/gsttag.c: (gst_tag_suite):
27037 * check/gst/gstvalue.c:
27038 * check/pipelines/cleanup.c:
27039 * check/pipelines/simple_launch_lines.c:
27040 * check/states/sinks.c:
27041 change include statement
27043 * docs/gst/gstreamer-sections.txt:
27044 * docs/gst/tmpl/gstpad.sgml:
27045 document more pad stuff
27046 * gst/gstminiobject.c: (gst_mini_object_ref),
27047 (gst_mini_object_unref):
27050 2005-08-19 Stefan Kost <ensonic@users.sf.net>
27052 * docs/gst/tmpl/gst.sgml:
27054 eliminate another tmpl file, fix spelling in the long-description
27056 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27058 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27059 (test_event), (timediff), (gstevents_suite):
27060 Should fix build on 64-bit arch's
27062 2005-08-18 Andy Wingo <wingo@pobox.com>
27064 Make sure that when a pipeline goes to PLAYING, that data has
27065 actually hit the sink.
27067 * check/states/sinks.c (test_sink): A sink that doesn't get any
27068 data shouldn't return SUCCESS for going to either PLAYING or
27069 PAUSED. Test also the return values on the way back down.
27071 * gst/gstelement.c (gst_element_set_state): When changing the
27072 state of an element currently changing state asynchronously, go to
27073 lost-state after commiting the pending state. Makes future calls
27074 to get_state continue to return ASYNC.
27076 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27077 ASYNC when going to PLAYING if we still don't have preroll, as can
27078 happen with live sources.
27080 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27082 * docs/pwg/advanced-types.xml:
27083 Hack long paragraph into 2 chunks as a workaround for buggy
27084 jadetex version in sid and breezy that loops infinitely and
27087 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27089 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27090 (test_event), (timediff), (gstevents_suite):
27091 Provide more error margin in clock measurements to allow for
27092 g_get_current_time inaccuracies.
27094 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27096 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27097 (test_event), (timediff), (gstevents_suite):
27098 Fix error message output so I might be able to tell why the
27099 test works here but fails on the build farm.
27101 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27103 * check/Makefile.am:
27104 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27105 (test_event), (timediff), (gstevents_suite), (main):
27108 * docs/design/part-seeking.txt:
27109 Spelling correction
27111 * docs/gst/tmpl/gstevent.sgml:
27112 * docs/gst/tmpl/gstfakesrc.sgml:
27115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27116 Treat a buffer-without-newsegment the same as a receiving
27117 a newsegment not in time format, and disable syncing to the clock
27120 * gst/gstbus.c: (gst_bus_set_sync_handler):
27121 Assert if anyone tries to replace the existing sync_handler for bus,
27122 as only the owner should be setting it.
27125 Have a fixed set of custom event enums with events identified by
27126 their structure name (as in 0.8), rather than a free-for-all
27127 allowing collisions between enum values from different plugins.
27129 * gst/gstpad.c: (gst_pad_class_init):
27132 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27133 Handle out-of-band downstream events from the sending thread.
27135 2005-08-17 Andy Wingo <wingo@pobox.com>
27137 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27138 play-timeout==0 to mean no timeout at all. In that case, don't
27139 bother with a get_state or a warning, just return directly, even
27142 * gst/base/gstbasetransform.c: Debug changes.
27145 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27146 ensure bins post state change messages. A bit of a hack but I can't
27147 think of a way to avoid it.
27149 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27151 2005-08-16 Andy Wingo <wingo@pobox.com>
27153 * gst/base/gstadapter.h:
27154 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27155 peek() but you own the data. Not terribly efficient atm.
27157 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27159 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27160 (gst_element_found_tags):
27162 Add two utility functions for tag handling.
27164 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27166 * docs/manual/advanced-dataaccess.xml:
27167 * docs/manual/basics-helloworld.xml:
27168 Fix docs to use _bin_add() before _link(), which fixes the examples
27169 with recent core versions (reported by Madhan Raj M
27170 <raj_madan@rediffmail.com>, #313199).
27172 2005-08-16 Wim Taymans <wim@fluendo.com>
27174 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27175 Added subtract checks.
27177 * docs/design/part-events.txt:
27178 Some more docs about newsegment
27180 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27183 * gst/gstcaps.c: (gst_caps_to_string):
27184 Add comments, cleanups.
27186 * gst/gstelement.c: (gst_element_save_thyself):
27189 * gst/gstvalue.c: (gst_value_collect_int_range),
27190 (gst_string_unwrap), (gst_value_union_int_int_range),
27191 (gst_value_union_int_range_int_range),
27192 (gst_value_intersect_int_int_range),
27193 (gst_value_intersect_int_range_int_range),
27194 (gst_value_intersect_double_double_range),
27195 (gst_value_intersect_double_range_double_range),
27196 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27197 (gst_value_subtract_int_range_int),
27198 (gst_value_subtract_double_range_double),
27199 (gst_value_subtract_double_range_double_range),
27200 (gst_value_subtract_from_list), (gst_value_subtract_list),
27201 (gst_value_can_compare), (gst_value_compare_fraction):
27202 Cleanups, add comments, remove unneeded asserts.
27204 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27206 * tools/gst-launch.c: (event_loop):
27207 don't convert NULL structures to strings
27209 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27211 * docs/gst/gstreamer-sections.txt:
27212 made some defines private
27213 * docs/gst/tmpl/gstconfig.sgml:
27214 * docs/gst/tmpl/gstqueue.sgml:
27215 * docs/gst/tmpl/gsttaglist.sgml:
27216 * docs/gst/tmpl/gsttypes.sgml:
27217 * docs/gst/tmpl/gstutils.sgml:
27218 * docs/pwg/appendix-porting.xml:
27219 * gst/base/gstbasesink.h:
27220 * gst/base/gstbasesrc.c:
27221 * gst/base/gstbasesrc.h:
27222 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27223 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27224 * gst/gstelement.c: (gst_element_class_init):
27225 * gst/gstpad.c: (gst_pad_class_init):
27226 * gst/gstqueue.c: (gst_queue_class_init):
27227 * gst/gstxml.c: (gst_xml_class_init):
27228 documented all undocumented signal inline
27229 * libs/gst/controller/gst-controller.h:
27232 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27234 * docs/pwg/appendix-porting.xml:
27235 Document _set_link_function -> _set_setcaps_function.
27237 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27239 * check/Makefile.am:
27240 add a .check target for running the check
27241 * check/gst-libs/controller.c: (GST_START_TEST):
27243 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27244 complete checks for gstbuffer; would be nice if I could get the
27245 gcov stuff to work so I can see if I actually completed gstbuffer.c
27246 * check/gstcheck.h:
27247 add ASSERT_BUFFER_REFCOUNT
27249 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27251 * docs/gst/gstreamer-sections.txt:
27252 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27254 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27255 spew out a warning if a tag that is already registered
27256 is re-registered, unless it is re-registered with a
27257 different type (#308438).
27259 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27261 * docs/pwg/appendix-porting.xml:
27262 * docs/pwg/building-state.xml:
27263 Add some paragraphs about state changes in 0.9 to the PWG
27264 and the porting guide, in particular about the new meaning
27265 of GST_STATE_PAUSED and how to write state change functions
27266 with concurrent access by multiple threads in mind.
27268 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27270 * docs/gst/gstreamer-docs.sgml:
27271 * docs/libs/gstreamer-libs-docs.sgml:
27272 added deprecation and since indexes
27273 * libs/gst/controller/gst-controller.c:
27274 * libs/gst/controller/gst-helper.c:
27278 2005-08-11 Wim Taymans <wim@fluendo.com>
27280 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27281 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27282 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27283 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27284 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27285 (gst_ghost_pad_set_target):
27286 Actually implement (re)setting the target on a ghostpad
27287 as described in the docs.
27289 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27291 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27292 Check whether GST_DEBUG_NO_COLOR environment variable is
27293 set and disable coloured debug output if that is the case.
27295 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27297 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27298 (gst_type_find_helper):
27299 The memory returned by gst_type_find_peek() needs to
27300 stay valid until the end of a typefind function, and
27301 typefind functions may keep results from different
27302 offsets around, so we can't just unref the buffer from
27303 the previous _peek(), but have to save all buffers
27304 returned by _peek() until typefinding is done and only
27307 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27309 * docs/gst/gstreamer-sections.txt:
27311 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27313 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27315 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27316 Fix a pretty good memleak.
27318 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27320 * gst/gstiterator.h:
27321 Fix wrong include and 'make distcheck'.
27323 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27325 * gst/gstbin.c: (bin_bus_handler):
27326 Use gst_element_post_message() instead.
27328 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27330 * gst/base/gstadapter.h:
27331 * gst/base/gstbasesink.h:
27332 * gst/base/gstbasesrc.h:
27333 * gst/base/gstbasetransform.h:
27334 * gst/base/gstcollectpads.h:
27335 * gst/base/gstpushsrc.h:
27336 * gst/gstiterator.h:
27337 Add padding to our base elements' class and instance structs and
27338 to GstIterator (you will need to rebuild all plugins and apps!)
27340 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27342 * gst/gstbin.c: (bin_bus_handler):
27343 Make default message forwarding from child->bus to bin->bus
27344 threadsafe and make it not emit warnings if the parent has no bus.
27346 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27348 * gst/gstelement.c: (activate_pads):
27349 On paused->ready, set pad->caps to NULL, as is the documented
27350 behaviour in this state change. Fixes playback of series of
27351 media files when visualization is enabled in Totem.
27353 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27355 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27356 Allow NULL as filter-caps (which means "any").
27358 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27360 * docs/libs/gstreamer-libs-sections.txt:
27361 * libs/gst/controller/gst-controller.c:
27362 * libs/gst/controller/gst-controller.h:
27363 * libs/gst/controller/gst-helper.c:
27364 adding more entries to the docs and fix small doc-bugs
27366 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27368 * docs/gst/gstreamer-docs.sgml:
27369 * docs/gst/gstreamer-sections.txt:
27370 * docs/gst/gstreamer.types:
27371 * docs/gst/tmpl/gstbasesink.sgml:
27372 * docs/gst/tmpl/gstbasesrc.sgml:
27373 * docs/gst/tmpl/gstbasetransform.sgml:
27374 * docs/gst/tmpl/gstfakesrc.sgml:
27375 * gst/base/gstcollectpads.c:
27376 * gst/base/gstcollectpads.h:
27377 * libs/gst/controller/gst-controller.c:
27378 * libs/gst/controller/gst-controller.h:
27379 * libs/gst/controller/gst-helper.c:
27380 * libs/gst/controller/gst-interpolation.c:
27381 * libs/gst/controller/lib.c:
27382 added long/short desc for controller docs
27383 added collectpads base class docs
27384 added correct includes to base-class docs
27386 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27388 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27389 (gst_test_mono_source_set_property),
27390 (gst_test_mono_source_class_init), (GST_START_TEST),
27391 (gst_controller_suite):
27392 * docs/gst/gstreamer-docs.sgml:
27393 * docs/gst/gstreamer-sections.txt:
27394 * docs/gst/gstreamer.types:
27395 * docs/libs/gstreamer-libs-docs.sgml:
27396 * docs/libs/gstreamer-libs-sections.txt:
27397 * gst/base/gstadapter.c:
27398 * libs/gst/controller/gst-controller.c:
27399 (gst_controlled_property_new), (gst_controlled_property_free),
27400 (gst_controller_new_valist),
27401 (gst_controller_remove_properties_valist),
27402 (gst_controller_sink_values), (_gst_controller_finalize):
27403 * libs/gst/controller/gst-controller.h:
27404 * libs/gst/controller/gst-helper.c:
27405 (gst_object_control_properties), (gst_object_uncontrol_properties),
27406 (gst_object_get_controller), (gst_object_set_controller),
27407 (gst_object_sink_values), (gst_object_get_value_arrays),
27408 (gst_object_get_value_array):
27409 more tests (and fixes) for the controller
27410 more docs for the controller
27411 integrated companies docs for the adapter
27413 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27415 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27416 (GST_START_TEST), (fakesrc_suite):
27417 add tests for sizetype
27419 2005-08-04 Andy Wingo <wingo@pobox.com>
27421 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27422 fixes buffer_alloc proxying among other things.
27424 * gst/base/gstbasetransform.c:
27425 * gst/base/gstbasetransform.h:
27426 Revert patch to gstbasetransform from 7-28 removing
27429 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27430 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27431 Semantics changed, should return not the size of the output buffer
27432 but the byte size of a buffer with a given caps.
27434 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27436 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27437 out) are not the pad caps until setcaps finishes.
27438 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27439 not-in-place case as well. Deal with changing from in-place to
27440 not-in-place within calling pad_alloc_buffer. Still a bit
27441 concerned about the overhead here...
27443 2005-08-03 Andy Wingo <wingo@pobox.com>
27445 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27446 fixating is an error.
27448 2005-08-04 Edward Hervey <edward@fluendo.com>
27450 * gst/base/gstadapter.h:
27451 Added gst_adapter_get_type() to the header
27453 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27455 * check/Makefile.am:
27456 * check/gst-libs/controller.c:
27457 * libs/gst/controller/gst-controller.c:
27458 (gst_controller_new_valist):
27459 added check test suite for the controller
27460 * gst/base/gstpushsrc.c:
27463 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27465 * docs/gst/Makefile.am:
27466 * docs/gst/gstreamer-docs.sgml:
27467 * docs/gst/gstreamer-sections.txt:
27468 * docs/gst/gstreamer.types:
27469 * docs/gst/tmpl/gstfakesrc.sgml:
27471 * gst/base/gstbasesink.c:
27472 * gst/base/gstbasesink.h:
27473 * gst/base/gstbasesrc.c:
27474 * gst/base/gstbasesrc.h:
27475 * gst/base/gstbasetransform.c:
27476 * gst/base/gstpushsrc.c:
27477 * gst/base/gstpushsrc.h:
27478 add short/long description docs to base classes
27479 add pushsrc to the docs
27480 remove consolidated doc fragments
27482 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27485 * docs/libs/Makefile.am:
27486 * docs/libs/gstreamer-libs-docs.sgml:
27487 * docs/libs/gstreamer-libs-sections.txt:
27488 * docs/libs/gstreamer-libs.types:
27489 * examples/Makefile.am:
27490 * examples/controller/.cvsignore:
27491 * examples/controller/Makefile.am:
27492 * examples/controller/audio-example.c: (main):
27493 * libs/gst/Makefile.am:
27494 * libs/gst/controller/.cvsignore:
27495 * libs/gst/controller/Makefile.am:
27496 * libs/gst/controller/gst-controller.c:
27497 (on_object_controlled_property_changed), (gst_timed_value_compare),
27498 (gst_timed_value_find),
27499 (gst_controlled_property_set_interpolation_mode),
27500 (gst_controlled_property_new), (gst_controlled_property_free),
27501 (gst_controller_find_controlled_property),
27502 (gst_controller_new_valist), (gst_controller_new),
27503 (gst_controller_remove_properties_valist),
27504 (gst_controller_remove_properties), (gst_controller_set),
27505 (gst_controller_set_from_list), (gst_controller_unset),
27506 (gst_controller_get), (gst_controller_get_all),
27507 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27508 (gst_controller_get_value_array),
27509 (gst_controller_set_interpolation_mode),
27510 (_gst_controller_finalize), (_gst_controller_init),
27511 (_gst_controller_class_init), (gst_controller_get_type):
27512 * libs/gst/controller/gst-controller.h:
27513 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27514 (g_object_uncontrol_properties), (g_object_get_controller),
27515 (g_object_set_controller), (g_object_sink_values),
27516 (g_object_get_value_arrays), (g_object_get_value_array):
27517 * libs/gst/controller/gst-interpolation.c:
27518 (gst_controlled_property_find_timed_value_node),
27519 (interpolate_none_get), (interpolate_trigger_get),
27520 (interpolate_trigger_get_value_array):
27521 * libs/gst/controller/lib.c: (gst_controller_init):
27522 * pkgconfig/Makefile.am:
27523 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27524 * pkgconfig/gstreamer-control.pc.in:
27525 * testsuite/Makefile.am:
27526 * testsuite/controller/.cvsignore:
27527 * testsuite/controller/Makefile.am:
27528 * testsuite/controller/interpolator.c: (main):
27529 added controller code
27530 removed dparam pc files
27532 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27533 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27534 (gst_collectpads_stop):
27535 Broadcast the condition when shutting down, to make sure we wake all
27536 threads up. Shut down pads on finalize, for safety.
27538 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27539 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27540 (gst_base_transform_handle_buffer),
27541 (gst_base_transform_change_state):
27542 Handle PAUSED->READY->PAUSED transition after negotiation
27544 * gst/gstmessage.c: (gst_message_init):
27545 Extra piece of debug for new messages.
27547 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27550 * docs/gst/tmpl/gstbasesrc.sgml:
27551 * docs/gst/tmpl/gstelement.sgml:
27552 * docs/gst/tmpl/gstevent.sgml:
27553 * docs/gst/tmpl/gstfakesrc.sgml:
27554 * docs/gst/tmpl/gstformat.sgml:
27555 * docs/gst/tmpl/gstghostpad.sgml:
27556 * docs/gst/tmpl/gstpad.sgml:
27557 * docs/gst/tmpl/gstquery.sgml:
27558 * docs/gst/tmpl/gststructure.sgml:
27559 * docs/gst/tmpl/gsttaglist.sgml:
27560 * docs/gst/tmpl/gstvalue.sgml:
27561 * docs/libs/gstreamer-libs-docs.sgml:
27562 * docs/libs/gstreamer-libs-sections.txt:
27563 * docs/libs/gstreamer-libs.types:
27564 * libs/gst/Makefile.am:
27565 * libs/gst/control/.cvsignore:
27566 * libs/gst/control/Makefile.am:
27567 * libs/gst/control/control.c:
27568 * libs/gst/control/control.h:
27569 * libs/gst/control/dparam.c:
27570 * libs/gst/control/dparam.h:
27571 * libs/gst/control/dparam_smooth.c:
27572 * libs/gst/control/dparam_smooth.h:
27573 * libs/gst/control/dparamcommon.h:
27574 * libs/gst/control/dparammanager.c:
27575 * libs/gst/control/dparammanager.h:
27576 * libs/gst/control/dplinearinterp.c:
27577 * libs/gst/control/dplinearinterp.h:
27578 * libs/gst/control/unitconvert.c:
27579 * libs/gst/control/unitconvert.h:
27580 * testsuite/Makefile.am:
27581 * testsuite/dynparams/.cvsignore:
27582 * testsuite/dynparams/Makefile.am:
27583 * testsuite/dynparams/dparamstest.c:
27584 * tools/Makefile.am:
27585 * tools/gst-inspect.c: (print_element_info), (main):
27586 * tools/gst-xmlinspect.c: (print_element_info), (main):
27587 deactivate and remove dparams (libgstcontrol)
27589 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27591 * gst/elements/gsttypefindelement.c:
27592 (gst_type_find_element_have_type), (gst_type_find_element_init),
27593 (stop_typefinding), (gst_type_find_element_handle_event),
27594 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27595 * gst/elements/gsttypefindelement.h:
27596 Set caps on all outgoing buffers, not just the first one.
27598 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27600 * gst/elements/gsttypefindelement.c:
27601 (gst_type_find_element_have_type),
27602 (gst_type_find_element_check_set_buffer_caps),
27603 (gst_type_find_element_init), (stop_typefinding),
27604 (gst_type_find_element_handle_event),
27605 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27606 * gst/elements/gsttypefindelement.h:
27607 Set caps on first outgoing buffer when we've found the type.
27609 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27611 * docs/gst/gstreamer-docs.sgml:
27612 * docs/gst/gstreamer-sections.txt:
27613 * docs/gst/tmpl/gstscheduler.sgml:
27614 * docs/gst/tmpl/gstschedulerfactory.sgml:
27615 Remove some old cruft from docs.
27617 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27620 Fix inline docs for GstPadLinkReturn.
27622 * gst/gststructure.c: (gst_structure_has_name):
27623 * gst/gststructure.h:
27624 * docs/gst/gstreamer-sections.txt:
27625 New API: gst_structure_has_name().
27627 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27630 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27631 and _LARGEFILE_SOURCE in config.h as required. Do not
27632 export those flags in our .pc files any longer (#142209).
27634 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27636 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27637 (gst_file_sink_do_seek), (gst_file_sink_event),
27638 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27639 Redo seek/tell calls with large file support in mind; add some
27640 debugging messages; add log message that tells us when large
27641 file support is unavailable or not enabled for some reason.
27643 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27644 Add log message that tells us when large file support
27645 is unavailable or not enabled for some reason.
27647 2005-07-29 Wim Taymans <wim@fluendo.com>
27649 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27650 Added test for removing an element with ghostpad from a bin.
27651 Fixed test as current implementation does the right thing.
27653 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27654 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27655 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27656 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27657 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27658 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27659 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27660 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27661 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27662 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27663 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27664 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27665 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27666 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27667 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27668 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27669 * gst/gstghostpad.h:
27670 Clean up ghostpads, remove properties for internal stuff.
27673 Prepare for switching targets, not all use cases work yet.
27675 2005-07-29 Wim Taymans <wim@fluendo.com>
27677 * docs/design/part-gstghostpad.txt:
27680 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27681 (gst_bin_remove_func):
27682 Unlinking pads while holding the bin LOCK is not a good
27685 * gst/gstpad.c: (gst_pad_class_init),
27686 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27687 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27688 No prob setting template after creating the pad.
27690 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27692 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27693 (gst_bus_peek), (gst_bus_source_dispatch),
27694 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27695 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27696 gst_bus_poll may be called from other threads. Handle
27697 this nicely by not making poll_data disappear off the
27698 stack once gst_bus_poll returns.
27699 gst_bus_peek now increments the refcount on the returned
27702 2005-07-29 Wim Taymans <wim@fluendo.com>
27704 * docs/design/part-gstghostpad.txt:
27705 Overview of current GhostPad datastructures and use
27706 cases for changing the target.
27708 2005-07-28 Wim Taymans <wim@fluendo.com>
27710 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27711 Added checks for hierarchy consistency whan adding linked
27714 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27715 Added check to test element scheduling without bin/pipeline.
27717 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27718 First add elements to bin, then link.
27720 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27721 (gst_bin_remove_func):
27722 Unlink pads from elements added/removed from bin to maintain
27723 hierarchy consistency.
27725 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27727 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27728 (gst_base_transform_handle_buffer):
27729 * gst/base/gstbasetransform.h:
27730 Remove broken delay_configure (fixes renegotiation of software
27731 scaling pipelines); remove some leftover printf()s.
27733 2005-07-28 Wim Taymans <wim@fluendo.com>
27735 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27736 Added some more tests for wrong hierarchy
27738 * docs/design/part-overview.txt:
27741 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27744 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27745 (gst_element_dispose):
27746 Some more cleanups.
27748 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27749 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27750 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27751 (gst_pad_set_caps), (gst_pad_send_event):
27752 Check for correct hierarchy when linking pads. Moving to
27753 strict requirement for ghostpads when linking elements in
27757 Clean ups. Added WRONG_HIERARCHY return value.
27759 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27761 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27762 Better debug if no transform is possible.
27764 2005-07-27 Wim Taymans <wim@fluendo.com>
27766 * docs/random/wtay/network-transp:
27767 Some old doc I had.
27769 2005-07-27 Wim Taymans <wim@fluendo.com>
27771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27772 (gst_dp_event_from_packet):
27773 Fix serialization of seek events.
27775 2005-07-27 Wim Taymans <wim@fluendo.com>
27777 * check/gst-libs/gdp.c: (GST_START_TEST):
27778 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27779 Fix compilation and fix event serialization.
27781 2005-07-27 Wim Taymans <wim@fluendo.com>
27784 * docs/design/part-TODO.txt:
27785 * docs/design/part-events.txt:
27788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27789 (gst_base_sink_event), (gst_base_sink_do_sync),
27790 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27791 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27792 (gst_base_src_do_seek), (gst_base_src_event_handler),
27793 (gst_base_src_loop):
27794 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27795 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27796 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27797 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27798 (gst_base_transform_set_passthrough),
27799 (gst_base_transform_is_passthrough):
27800 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27801 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27807 * gst/gstelement.c: (gst_element_seek):
27808 * gst/gstelement.h:
27809 Update gst_element_seek.
27811 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27812 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27813 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27814 (gst_event_new_eos), (gst_event_new_newsegment),
27815 (gst_event_parse_newsegment), (gst_event_new_tag),
27816 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27817 (gst_event_parse_qos), (gst_event_new_seek),
27818 (gst_event_parse_seek), (gst_event_new_navigation):
27820 Make GstEvent use GstStructure. Add parsing code, make sure the
27821 API is sufficiently generic.
27822 Mark possible directions of events and serialization.
27824 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27825 (_gst_message_copy), (gst_message_new_segment_start),
27826 (gst_message_new_segment_done), (gst_message_new_custom),
27827 (gst_message_parse_segment_start),
27828 (gst_message_parse_segment_done):
27831 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27832 (gst_pad_set_caps), (gst_pad_send_event):
27833 Update for new events.
27834 Catch events sent in wrong directions.
27836 * gst/gstqueue.c: (gst_queue_link_src),
27837 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27838 (gst_queue_handle_src_query):
27843 Remove event code from this file.
27845 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27846 (gst_dp_event_from_packet):
27849 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27851 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27852 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27853 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27854 Make debugging actually useful.
27856 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27858 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27859 (gst_pad_fixate_caps):
27860 Implement default fixation once again, so that gst_pad_fixate()
27861 actually does anything at all. This probably needs to be some
27862 sort of a last resort, and use profile-based fixation first, but
27863 since that doesn't exist yet, this is the best we have. Fixes
27864 visualization in Totem.
27866 2005-07-22 Wim Taymans <wim@fluendo.com>
27868 * docs/design/part-events.txt:
27871 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27872 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27873 (gst_base_sink_activate_pull):
27874 Some more comments.
27876 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27877 (gst_fake_src_create):
27878 Fix handoff marshall.
27880 * gst/elements/gstidentity.c: (gst_identity_class_init),
27881 (gst_identity_transform_ip):
27882 We're a real inplace element.
27884 * gst/gstbus.c: (gst_bus_post):
27885 Added some comments.
27887 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27888 * tests/muxing/case1.c: (main):
27889 * tests/sched/dynamic-pipeline.c: (main):
27890 * tests/sched/interrupt1.c: (main):
27891 * tests/sched/interrupt2.c: (main):
27892 * tests/sched/interrupt3.c: (main):
27893 * tests/sched/runxml.c: (main):
27894 * tests/sched/sched-stress.c: (main):
27895 * tests/seeking/seeking1.c: (event_received), (main):
27896 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27898 * tests/threadstate/threadstate3.c: (main):
27899 * tests/threadstate/threadstate4.c: (main):
27900 * tests/threadstate/threadstate5.c: (main):
27903 2005-07-21 Wim Taymans <wim@fluendo.com>
27905 * docs/design/part-seeking.txt:
27906 Some small additions.
27908 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27909 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27910 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27911 * gst/base/gstbasesink.h:
27912 discont values are gint64, handle the math correctly.
27914 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27915 Make the basesrc report error if the source pad is not linked.
27917 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27918 (gst_queue_loop), (gst_queue_handle_src_query),
27919 (gst_queue_src_activate_push):
27920 Make queue collect data even if the srcpad is not linked.
27921 Start pushing out data as soon as it is linked.
27923 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27925 Added gst_flow_get_name() to ease error reporting.
27927 2005-07-20 Wim Taymans <wim@fluendo.com>
27929 * gst/gstmessage.c: (gst_message_new_segment_start),
27930 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27931 (gst_message_parse_segment_done):
27932 * gst/gstmessage.h:
27933 Added a bunch of messages for advanced seeking.
27935 * gst/parse/grammar.y:
27936 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27937 (gst_dpman_state_changed):
27938 Fix some new-pad -> pad-added signals
27940 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27942 * docs/manual/appendix-porting.xml:
27943 * docs/pwg/appendix-porting.xml:
27944 Document new-pad/state-change signal renames and the FixedList
27947 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27949 * docs/manual/advanced-autoplugging.xml:
27950 * docs/manual/basics-helloworld.xml:
27951 * docs/manual/basics-pads.xml:
27952 * docs/random/ds/0.9-suggested-changes:
27953 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27954 * gst/gstelement.h:
27958 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27959 (gst_structure_parse_array), (gst_structure_parse_value):
27960 * gst/gstvalue.c: (gst_type_is_fixed),
27961 (gst_value_list_prepend_value), (gst_value_list_append_value),
27962 (gst_value_list_get_size), (gst_value_list_get_value),
27963 (gst_value_transform_array_string), (gst_value_serialize_array),
27964 (gst_value_deserialize_array), (gst_value_intersect_array),
27965 (gst_value_is_fixed), (_gst_value_initialize):
27967 GstElement::new-pad -> pad-added, GstElement::state-change ->
27968 state-changed, GstValueFixedList -> GstValueArray, add format and
27969 flags as their own arguments in gst_element_seek() (should improve
27970 "bindeability"), remove function generators since they don't work
27971 under a whole bunch of compilers (they were deprecated already
27974 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27976 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27977 (_gst_debug_register_funcptr):
27979 Fix illegal cast on some platforms (#309253).
27981 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27983 * gst/gstmessage.c: (gst_message_new_custom):
27984 * gst/gstmessage.h:
27985 Add _new_custom, make _new_application a macro to _new_custom.
27987 2005-07-20 Wim Taymans <wim@fluendo.com>
27989 * gst/base/gstbasesrc.c: (gst_base_src_init),
27990 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27991 * gst/base/gstbasesrc.h:
27992 Add a gboolean to decide when to push out a discont.
27994 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27995 (gst_queue_loop), (gst_queue_handle_src_query),
27996 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27997 (gst_queue_set_property), (gst_queue_get_property):
28000 * tests/threadstate/threadstate1.c: (main):
28001 Make a thread test compile and run... very silly..
28004 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28006 * docs/manual/appendix-porting.xml:
28007 Mention removal of libgstgconf-0.9.la and existence of gconf
28010 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28012 * docs/pwg/advanced-clock.xml:
28013 * docs/pwg/appendix-porting.xml:
28014 * docs/pwg/intro-preface.xml:
28015 * docs/pwg/other-base.xml:
28016 * docs/pwg/other-manager.xml:
28017 * docs/pwg/other-nton.xml:
28018 * docs/pwg/other-ntoone.xml:
28019 * docs/pwg/other-oneton.xml:
28020 * docs/pwg/pwg.xml:
28021 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
28022 demuxer), remove n-to-n (was never written), fix some code examples
28023 and links and update the porting section to include all this.
28025 2005-07-19 Wim Taymans <wim@fluendo.com>
28027 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28028 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28029 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28030 (gst_queue_src_activate_push), (gst_queue_change_state),
28031 (gst_queue_get_property):
28033 Propagate GstFlowReturn more intelligently upstream and output
28034 an ERROR/EOS when streaming stopped due to fatal error.
28036 2005-07-19 Wim Taymans <wim@fluendo.com>
28038 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28039 Don't block forever for the state change to complete, the
28040 pipeline already did with a sensible timeout.
28042 2005-07-19 Wim Taymans <wim@fluendo.com>
28044 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28045 Make sure we never call the create function is we
28048 2005-07-19 Andy Wingo <wingo@pobox.com>
28050 * gst/parse/parse.l: Attempt to solve bug #172815.
28052 2005-07-19 Wim Taymans <wim@fluendo.com>
28054 * docs/design/part-clocks.txt:
28055 * docs/design/part-events.txt:
28056 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28057 Small docs updates.
28058 Only update the seeking values when we are not
28061 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28063 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28064 Oops, ignore the result of gst_pad_push_event here.
28066 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28068 * gst/base/gstbasesrc.c: (gst_base_src_loop),
28069 (gst_base_src_activate_push):
28070 Send discont event from the loop function, as pads
28071 aren't activated yet in the activate_push handler.
28073 * gst/gstbin.c: (bin_bus_handler):
28074 Don't leak element name.
28076 2005-07-18 Andy Wingo <wingo@pobox.com>
28078 * configure.ac: Use AS_LIBTOOL_TAGS.
28080 2005-07-18 Wim Taymans <wim@fluendo.com>
28082 * docs/gst/gstreamer.types:
28083 Remove deleted types.
28085 2005-07-18 Wim Taymans <wim@fluendo.com>
28087 * check/elements/gstfakesrc.c: (GST_START_TEST):
28090 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28091 (init_popt_callback):
28093 * gst/gst_private.h:
28094 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28095 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28098 * gst/gstconfig.h.in:
28099 * gst/gstelement.c: (gst_element_class_init),
28100 (gst_element_set_base_time), (gst_element_get_base_time),
28101 (iterator_fold_with_resync), (gst_element_change_state),
28102 (gst_element_dispose), (gst_element_get_bus):
28103 * gst/gstelement.h:
28104 * gst/gstelementfactory.h:
28105 * gst/gsterror.c: (_gst_core_errors_init):
28108 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28110 * gst/gstinfo.c: (_gst_debug_init):
28111 * gst/gstmessage.c: (_gst_message_copy):
28112 * gst/gstmessage.h:
28113 * gst/gstminiobject.h:
28116 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28117 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28120 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28121 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28122 (gst_pipeline_get_last_stream_time):
28123 * gst/gstpipeline.h:
28124 * gst/gstpluginfeature.h:
28126 * gst/gstscheduler.c:
28127 * gst/gstscheduler.h:
28128 * gst/gststructure.h:
28129 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28130 (gst_task_finalize), (gst_task_func), (gst_task_create),
28131 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28132 (gst_task_stop), (gst_task_pause):
28134 * gst/gsttypefind.h:
28136 * gst/registries/gstlibxmlregistry.c: (load_feature),
28137 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28138 * gst/registries/gstxmlregistry.c:
28139 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28140 * gst/schedulers/threadscheduler.c:
28141 * libs/gst/control/dparammanager.h:
28142 * tools/gst-inspect.c: (print_element_list),
28143 (print_plugin_features), (print_element_features):
28144 * tools/gst-xmlinspect.c: (print_element_list),
28145 (print_plugin_info), (main):
28146 Removed plugable schedulers.
28147 Removed Scheduler/Manager from elements.
28148 Removed gsttypes.h, rearranged includes.
28149 Removed dependency pad<->element, element<>pipeline, and
28150 various others, fix includes.
28151 implement gst_pad_get_parent() with gst_object_get_parent()
28152 Make GstTask sefcontained.
28153 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28155 Fix endless loop in iterator_fold_with_resync.
28158 2005-07-18 Wim Taymans <wim@fluendo.com>
28164 2005-07-18 Wim Taymans <wim@fluendo.com>
28167 No more cothreads.h
28169 2005-07-18 Wim Taymans <wim@fluendo.com>
28173 Let's remove these.
28175 2005-07-18 Wim Taymans <wim@fluendo.com>
28177 * docs/design/part-dynamic.txt:
28178 * docs/design/part-events.txt:
28179 * docs/design/part-seeking.txt:
28180 Some more docs in the works.
28182 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28183 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28184 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28185 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28186 (gst_base_transform_handle_buffer),
28187 (gst_base_transform_sink_activate_push),
28188 (gst_base_transform_src_activate_pull),
28189 (gst_base_transform_set_passthrough),
28190 (gst_base_transform_is_passthrough):
28193 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28196 * gst/gstevent.c: (gst_event_finalize):
28199 * gst/gstutils.c: (gst_element_unlink),
28200 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28201 (gst_pad_proxy_setcaps):
28203 Add _get_parent_element() to get a pads parent as an element.
28205 2005-07-18 Wim Taymans <wim@fluendo.com>
28207 * check/gst/gstbin.c: (GST_START_TEST):
28210 2005-07-18 Wim Taymans <wim@fluendo.com>
28212 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28213 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28214 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28215 (gst_base_sink_event), (gst_base_sink_do_sync),
28216 (gst_base_sink_chain), (gst_base_sink_loop),
28217 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28218 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28220 Fix logic for returning ASYNC when not prerolled.
28222 2005-07-18 Wim Taymans <wim@fluendo.com>
28224 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28225 Fix nasty refcount bug.
28227 2005-07-16 Philippe Khalaf <burger@speedy.org>
28229 * gst/elements/gstfdsrc.c:
28230 * gst/elements/gstfdsrc.h:
28231 * gst/elements/gstelements.c:
28232 * gst/elements/Makefile.am:
28233 Ported fdsrc to 0.9.
28235 2005-07-16 Wim Taymans <wim@fluendo.com>
28237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28238 (gst_base_sink_do_sync):
28241 2005-07-16 Wim Taymans <wim@fluendo.com>
28243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28244 (gst_base_sink_event), (gst_base_sink_get_times),
28245 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28246 * gst/base/gstbasesink.h:
28247 Store and use discont values when syncing buffers as described
28250 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28251 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28252 (gst_base_src_activate_push):
28253 Push discont event when starting.
28255 * gst/elements/gstidentity.c: (gst_identity_transform):
28258 * gst/gstbin.c: (gst_bin_change_state):
28259 Small cleanups in base_time distribution.
28261 * gst/gstelement.c: (gst_element_set_base_time),
28262 (gst_element_get_base_time), (gst_element_change_state):
28263 * gst/gstelement.h:
28264 Added methods for the base_time of the element.
28267 * gst/gstpipeline.c: (gst_pipeline_send_event),
28268 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28269 (gst_pipeline_get_last_stream_time):
28270 * gst/gstpipeline.h:
28272 Handle seeking as described in design doc, remove stream_time
28274 Cleanups clock and stream_time selection code. Added accessors
28275 for the stream_time.
28278 2005-07-16 Andy Wingo <wingo@pobox.com>
28280 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28283 2005-07-16 Wim Taymans <wim@fluendo.com>
28285 * check/gst/gstbin.c: (GST_START_TEST):
28286 Make elements silent as the deep_notify refs the
28287 parent, which might make the test fail.
28289 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28290 Don't hold the lock for too long.
28292 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28294 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28295 Don't unref the caps we passed to gst_caps_make_writable() after
28296 passing them. gst_caps_make_writable() will do that for us.
28298 2005-07-15 Andy Wingo <wingo@pobox.com>
28300 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28303 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28304 own marshalling function for the handoff signal. Properly type the
28305 buffer as a buffer. Fixes some warnings. Should do a more general
28307 (gst_identity_class_init): Plug into the right marshaller.
28309 2005-07-15 Wim Taymans <wim@fluendo.com>
28311 * docs/design/part-TODO.txt:
28312 * docs/design/part-clocks.txt:
28313 * docs/design/part-element-sink.txt:
28314 * docs/design/part-events.txt:
28315 * docs/design/part-gstpipeline.txt:
28316 Updated docs, mostly DISCONT related.
28318 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28320 * docs/pwg/building-pads.xml:
28321 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28323 2005-07-15 Andy Wingo <wingo@pobox.com>
28325 * tools/gst-typefind.c: Update, add copyright block.
28327 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28328 Normalize and truncate caps before fixation.
28331 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28332 discards all but the first structure from its argument.
28334 2005-07-15 Wim Taymans <wim@fluendo.com>
28336 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28337 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28338 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28339 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28340 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28341 (gst_base_transform_chain), (gst_base_transform_change_state),
28342 (gst_base_transform_set_passthrough),
28343 (gst_base_transform_is_passthrough):
28344 * gst/base/gstbasetransform.h:
28345 Make passthrough work using the bufferpools.
28346 Changed API a bit, subclasses have to write into a buffer
28347 provided by the base class.
28348 More debug info in nego functions.
28350 * gst/elements/gstidentity.c: (gst_identity_init),
28351 (gst_identity_transform):
28352 Port to new base class.
28354 2005-07-15 Wim Taymans <wim@fluendo.com>
28356 * gst/gstmessage.c: (gst_message_new_state_changed):
28357 * tools/gst-launch.c: (event_loop), (main):
28358 Totally dump messages in -launch with the -m option.
28359 Fix message name for State messages,
28361 2005-07-14 Wim Taymans <wim@fluendo.com>
28363 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28364 Post error messages on errors.
28366 2005-07-14 Wim Taymans <wim@fluendo.com>
28368 * gst/gstcaps.c: (gst_caps_do_simplify):
28372 Define error for stream stopped.
28374 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28375 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28376 Do proper return values.
28378 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28379 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28380 (gst_pad_get_range):
28381 Better return values.
28384 Reorganise return values, add macro to check for fatal errors.
28386 * gst/gstqueue.c: (gst_queue_chain):
28387 Return proper GstFlowReturn values,
28389 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28391 * docs/gst/gstreamer-sections.txt:
28392 * docs/gst/gstreamer.types:
28393 * docs/gst/tmpl/gst.sgml:
28394 * docs/gst/tmpl/gstbasesink.sgml:
28395 * docs/gst/tmpl/gstbasesrc.sgml:
28396 * docs/gst/tmpl/gstbasetransform.sgml:
28397 * docs/gst/tmpl/gstbin.sgml:
28398 * docs/gst/tmpl/gstbuffer.sgml:
28399 * docs/gst/tmpl/gstcaps.sgml:
28400 * docs/gst/tmpl/gstclock.sgml:
28401 * docs/gst/tmpl/gstcompat.sgml:
28402 * docs/gst/tmpl/gstconfig.sgml:
28403 * docs/gst/tmpl/gstelement.sgml:
28404 * docs/gst/tmpl/gstelementdetails.sgml:
28405 * docs/gst/tmpl/gstelementfactory.sgml:
28406 * docs/gst/tmpl/gstenumtypes.sgml:
28407 * docs/gst/tmpl/gsterror.sgml:
28408 * docs/gst/tmpl/gstevent.sgml:
28409 * docs/gst/tmpl/gstfakesink.sgml:
28410 * docs/gst/tmpl/gstfakesrc.sgml:
28411 * docs/gst/tmpl/gstfilesink.sgml:
28412 * docs/gst/tmpl/gstfilesrc.sgml:
28413 * docs/gst/tmpl/gstfilter.sgml:
28414 * docs/gst/tmpl/gstformat.sgml:
28415 * docs/gst/tmpl/gstghostpad.sgml:
28416 * docs/gst/tmpl/gstimplementsinterface.sgml:
28417 * docs/gst/tmpl/gstindex.sgml:
28418 * docs/gst/tmpl/gstindexfactory.sgml:
28419 * docs/gst/tmpl/gstinfo.sgml:
28420 * docs/gst/tmpl/gstiterator.sgml:
28421 * docs/gst/tmpl/gstmacros.sgml:
28422 * docs/gst/tmpl/gstmemchunk.sgml:
28423 * docs/gst/tmpl/gstminiobject.sgml:
28424 * docs/gst/tmpl/gstobject.sgml:
28425 * docs/gst/tmpl/gstpad.sgml:
28426 * docs/gst/tmpl/gstpadtemplate.sgml:
28427 * docs/gst/tmpl/gstparse.sgml:
28428 * docs/gst/tmpl/gstpipeline.sgml:
28429 * docs/gst/tmpl/gstplugin.sgml:
28430 * docs/gst/tmpl/gstpluginfeature.sgml:
28431 * docs/gst/tmpl/gstquery.sgml:
28432 * docs/gst/tmpl/gstqueue.sgml:
28433 * docs/gst/tmpl/gstregistry.sgml:
28434 * docs/gst/tmpl/gstregistrypool.sgml:
28435 * docs/gst/tmpl/gstscheduler.sgml:
28436 * docs/gst/tmpl/gstschedulerfactory.sgml:
28437 * docs/gst/tmpl/gststructure.sgml:
28438 * docs/gst/tmpl/gstsystemclock.sgml:
28439 * docs/gst/tmpl/gsttaglist.sgml:
28440 * docs/gst/tmpl/gsttagsetter.sgml:
28441 * docs/gst/tmpl/gsttrace.sgml:
28442 * docs/gst/tmpl/gsttrashstack.sgml:
28443 * docs/gst/tmpl/gsttypefind.sgml:
28444 * docs/gst/tmpl/gsttypefindfactory.sgml:
28445 * docs/gst/tmpl/gsttypes.sgml:
28446 * docs/gst/tmpl/gsturihandler.sgml:
28447 * docs/gst/tmpl/gsturitype.sgml:
28448 * docs/gst/tmpl/gstutils.sgml:
28449 * docs/gst/tmpl/gstvalue.sgml:
28450 * docs/gst/tmpl/gstversion.sgml:
28451 * docs/gst/tmpl/gstxml.sgml:
28452 * docs/libs/tmpl/gstcontrol.sgml:
28453 * docs/libs/tmpl/gstdataprotocol.sgml:
28454 * docs/libs/tmpl/gstdparam.sgml:
28455 * docs/libs/tmpl/gstdplinint.sgml:
28456 * docs/libs/tmpl/gstdpman.sgml:
28457 * docs/libs/tmpl/gstdpsmooth.sgml:
28458 * docs/libs/tmpl/gstgetbits.sgml:
28459 * docs/libs/tmpl/gstunitconvert.sgml:
28460 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28461 (gst_push_src_base_init), (gst_push_src_class_init),
28462 (gst_push_src_init), (gst_push_src_create):
28463 * gst/base/gstpushsrc.h:
28464 * gst/elements/gstelements.c:
28465 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28466 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28467 (gst_fake_sink_init), (gst_fake_sink_set_property),
28468 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28469 (gst_fake_sink_event), (gst_fake_sink_preroll),
28470 (gst_fake_sink_render), (gst_fake_sink_change_state):
28471 * gst/elements/gstfakesink.h:
28472 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28473 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28474 (gst_fake_src_base_init), (gst_fake_src_class_init),
28475 (gst_fake_src_init), (gst_fake_src_event_handler),
28476 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28477 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28478 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28479 (gst_fake_src_create_buffer), (gst_fake_src_create),
28480 (gst_fake_src_start), (gst_fake_src_stop):
28481 * gst/elements/gstfakesrc.h:
28482 * gst/elements/gstfilesink.c: (_do_init),
28483 (gst_file_sink_base_init), (gst_file_sink_class_init),
28484 (gst_file_sink_init), (gst_file_sink_dispose),
28485 (gst_file_sink_set_location), (gst_file_sink_set_property),
28486 (gst_file_sink_get_property), (gst_file_sink_open_file),
28487 (gst_file_sink_close_file), (gst_file_sink_query),
28488 (gst_file_sink_event), (gst_file_sink_render),
28489 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28490 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28491 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28492 * gst/elements/gstfilesink.h:
28493 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28494 (gst_file_src_class_init), (gst_file_src_init),
28495 (gst_file_src_finalize), (gst_file_src_set_location),
28496 (gst_file_src_set_property), (gst_file_src_get_property),
28497 (gst_file_src_map_region), (gst_file_src_map_small_region),
28498 (gst_file_src_create_mmap), (gst_file_src_create_read),
28499 (gst_file_src_create), (gst_file_src_is_seekable),
28500 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28501 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28502 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28503 (gst_file_src_uri_handler_init):
28504 * gst/elements/gstfilesrc.h:
28505 more autistic cleanliness in functions/names/defines
28507 2005-07-13 Andy Wingo <wingo@pobox.com>
28509 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28510 source couldn't negotiate.
28512 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28516 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28517 function. I am channeling Hades. Put your boots on suckers!!!
28519 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28521 * testsuite/caps/Makefile.am:
28522 * testsuite/caps/value_compare.c:
28523 * testsuite/caps/value_intersect.c:
28524 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28525 move two testsuite apps over to the check dir
28527 2005-07-12 Wim Taymans <wim@fluendo.com>
28529 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28530 Added more debug info in the negotiate process.
28532 * gst/gstmessage.h:
28533 Prepare for segment playback.
28535 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28541 * tools/gst-launch.c: (main):
28542 NULL pipeline on errors.
28544 2005-07-12 Andy Wingo <wingo@pobox.com>
28546 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28547 not it comes from a malloc region. Make sure our copy gets freed.
28549 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28551 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28552 * check/gst/gstmessage.c: (GST_START_TEST):
28553 * check/gst/gststructure.c: (GST_START_TEST),
28554 (gst_structure_suite), (main):
28556 * gst/gstelement.c: (gst_element_message_full):
28557 clean up GError and debug string now that they get copied
28558 * gst/gstmessage.c: (gst_message_new_error),
28559 (gst_message_new_warning), (gst_message_parse_error),
28560 (gst_message_parse_warning):
28561 use GST_TYPE_G_ERROR for structure_new, and take copies of
28562 arguments, so that we don't mess up refcounting
28564 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28566 * check/Makefile.am:
28567 add per-test valgrind targets
28568 * check/gst-libs/gdp.c: (GST_START_TEST),
28569 (gst_data_protocol_suite), (main):
28572 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28574 * check/Makefile.am:
28575 instate more valgrindable tests
28576 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28577 (GST_START_TEST), (fakesrc_suite):
28578 * check/gst/gstpad.c: (GST_START_TEST):
28579 * check/gst/gststructure.c: (GST_START_TEST):
28581 * docs/gst/tmpl/gstminiobject.sgml:
28582 * gst/gstpad.c: (gst_pad_finalize):
28583 fix the static mutex leak
28585 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28587 * check/Makefile.am:
28588 add two more tests for valgrinding
28589 * check/gst/gstvalue.c: (GST_START_TEST):
28590 test refcount of deserialized buffer, found a leak
28591 * docs/gst/gstreamer-docs.sgml:
28592 * docs/gst/gstreamer-sections.txt:
28593 * docs/gst/gstreamer.types:
28594 * docs/gst/tmpl/gstminiobject.sgml:
28595 add miniobject to docs
28596 * gst/gstminiobject.c:
28598 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28599 (gst_string_unwrap):
28600 fix a hard-to-find invalid write for one of the tests
28601 fix a leak for deserialized buffers
28603 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28605 * docs/pwg/advanced-events.xml:
28606 * docs/pwg/advanced-request.xml:
28607 * docs/pwg/advanced-scheduling.xml:
28608 * docs/pwg/appendix-porting.xml:
28609 * docs/pwg/building-boiler.xml:
28610 * docs/pwg/intro-preface.xml:
28611 * docs/pwg/other-ntoone.xml:
28612 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28613 of example code and explanation for pad activation, loop() and
28614 getrange() functions and a bit more. Remove old comments pointing
28616 * examples/pwg/Makefile.am:
28617 Add loop/getrange examples.
28619 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28622 check for valgrind binary + some fixes
28624 valgrind suppressions for the tests
28625 * check/Makefile.am:
28626 add a valgrind: target that valgrinds the unit tests
28627 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28628 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28629 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28630 * check/gst/gstghostpad.c:
28632 * check/gst/gstdata.c:
28634 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28635 (thread_unref), (gst_mini_object_suite), (main):
28637 * gst/gst.c: (gst_deinit):
28639 add a method to clean up.
28640 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28641 (gst_system_clock_obtain):
28642 allow for disposing the system clock.
28643 * tools/gst-launch.c: (main):
28646 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28648 * docs/gst/tmpl/gstbasesrc.sgml:
28649 * docs/gst/tmpl/gstfakesrc.sgml:
28650 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28651 (gst_base_src_init), (gst_base_src_set_property),
28652 (gst_base_src_get_property), (gst_base_src_get_range),
28653 (gst_base_src_start):
28654 * gst/base/gstbasesrc.h:
28655 add num-buffers property
28656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28657 (gst_fakesrc_init), (gst_fakesrc_set_property),
28658 (gst_fakesrc_get_property), (gst_fakesrc_create),
28659 (gst_fakesrc_start):
28660 remove num-buffers property
28662 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28664 * docs/gst/gstreamer-sections.txt:
28665 * docs/gst/tmpl/gstbasesink.sgml:
28666 * docs/gst/tmpl/gstbasesrc.sgml:
28667 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28668 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28669 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28670 (gst_base_sink_set_property), (gst_base_sink_get_property),
28671 (gst_base_sink_handle_object), (gst_base_sink_event),
28672 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28673 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28674 (gst_base_sink_loop), (gst_base_sink_deactivate),
28675 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28676 (gst_base_sink_change_state):
28677 * gst/base/gstbasesink.h:
28678 * gst/base/gstbasesrc.h:
28679 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28680 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28681 (gst_filesink_init):
28682 more macro splitting
28684 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28686 * gst/gstelement.c: (gst_element_get_bus):
28688 * tools/gst-launch.c: (check_intr), (event_loop):
28691 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28693 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28696 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28698 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28699 (gst_base_src_finalize):
28700 add finalize method and clean up properly
28701 * gst/gstpipeline.c: (gst_pipeline_dispose):
28704 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28706 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28708 add more things to check
28709 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28710 * gst/gstelement.c:
28713 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28715 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28716 (GST_START_TEST), (fakesrc_suite):
28717 * check/gst-libs/gdp.c: (GST_START_TEST):
28718 * check/gst/gst.c: (GST_START_TEST):
28719 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28720 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28721 * check/gst/gstbus.c: (GST_START_TEST):
28722 * check/gst/gstcaps.c: (GST_START_TEST):
28723 * check/gst/gstdata.c: (GST_START_TEST):
28724 * check/gst/gstelement.c: (GST_START_TEST):
28725 * check/gst/gstghostpad.c: (GST_START_TEST):
28726 * check/gst/gstiterator.c: (GST_START_TEST):
28727 * check/gst/gstmessage.c: (GST_START_TEST):
28728 * check/gst/gstobject.c: (GST_START_TEST):
28729 * check/gst/gstpad.c: (GST_START_TEST):
28730 * check/gst/gststructure.c: (GST_START_TEST):
28731 * check/gst/gstsystemclock.c: (GST_START_TEST),
28732 (gst_systemclock_suite):
28733 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28734 * check/gst/gstvalue.c: (GST_START_TEST):
28735 * check/pipelines/cleanup.c: (GST_START_TEST):
28736 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28737 * check/states/sinks.c: (GST_START_TEST):
28738 * check/gstcheck.c: (gst_check_init):
28739 * check/gstcheck.h:
28740 add debugging category
28741 use GST_START_TEST now, so we add a debug line
28743 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28745 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28746 add test for state change message on a bin
28747 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28749 * gst/gstbin.c: (gst_bin_init):
28750 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28751 * gst/gstelement.c: (gst_element_post_message),
28752 (gst_element_set_state):
28753 * gst/gstelementfactory.c: (gst_element_factory_create):
28754 * gst/gstmessage.c: (gst_message_new):
28755 * gst/gstscheduler.c:
28756 various debugging additions and cleanups
28758 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28760 * check/Makefile.am:
28761 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28763 adding tests for elements
28764 * gst/gstelement.c: (gst_element_dispose):
28766 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28768 * gst/registries/gstlibxmlregistry.c: (load_feature):
28769 plug more leaks. A simple gst_init() now is leakfree, yay.
28771 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28773 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28774 (gst_xml_registry_load):
28775 plug another memleak
28777 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28780 use GST_SET_ERROR_CFLAGS
28781 * docs/faq/cvs.xml:
28782 change to ERROR_CFLAGS
28784 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28787 make GST_ERROR_CFLAGS overridable and re-enable Werror
28788 * docs/faq/cvs.xml:
28789 add a note about error CFLAGS
28790 * docs/gst/tmpl/gstfakesrc.sgml:
28791 * gst/elements/gstfakesrc.c:
28792 comment out some unused code
28793 * gst/gst.c: (split_and_iterate):
28794 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28798 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28800 * common/Makefile.am:
28801 * common/gtk-doc.mak:
28802 * docs/gst/Makefile.am:
28803 factor out gtk-doc.mak
28805 2005-07-07 Wim Taymans <wim@fluendo.com>
28807 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28808 (gst_thread_scheduler_dispose):
28809 Unlock the STREAM_LOCK completely.
28811 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28813 * check/Makefile.am:
28814 * check/elements/.cvsignore:
28815 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28816 (START_TEST), (fakesrc_suite), (main):
28817 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28818 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28819 (gst_fakesrc_create), (gst_fakesrc_start):
28820 * gst/elements/gstfakesrc.h:
28821 adding a first element test
28823 2005-07-07 Andy Wingo <wingo@pobox.com>
28825 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28828 2005-07-07 Wim Taymans <wim@fluendo.com>
28834 2005-07-07 Wim Taymans <wim@fluendo.com>
28836 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28837 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28838 Allow subclasses to implement their own negotiation.
28840 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28842 * docs/design/part-gstbin.txt:
28843 * docs/design/part-gstpipeline.txt:
28844 Update design notes to reflect the movement of
28845 responsibility for bus handling from GstPipeline to
28848 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28851 Remove unnecessary queue2/3/4 examples.
28853 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28855 * examples/Makefile.am:
28856 * examples/helloworld/helloworld.c: (event_loop), (main):
28857 * examples/queue/queue.c: (event_loop), (main):
28858 * examples/queue2/queue2.c: (main):
28859 Update a couple of the examples to work again.
28861 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28862 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28863 Spelling corrections and extra debug.
28865 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28866 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28867 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28869 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28870 (gst_pipeline_change_state):
28871 * gst/gstpipeline.h:
28872 Move the bus handler for children to the GstBin, and create a
28873 separate bus for receiving messages from children to the one the
28874 bus sends 'upwards' on.
28876 2005-07-06 Wim Taymans <wim@fluendo.com>
28879 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28880 (gst_base_sink_handle_object), (gst_base_sink_loop),
28881 (gst_base_sink_change_state):
28882 * gst/base/gstbasesink.h:
28883 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28884 (gst_base_src_init), (gst_base_src_setcaps),
28885 (gst_base_src_getcaps), (gst_base_src_loop),
28886 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28887 (gst_base_src_start), (gst_base_src_change_state):
28888 * gst/base/gstbasesrc.h:
28889 Make basesrc negotiate.
28890 Handle the case where preroll fails in basesink.
28893 2005-07-06 Wim Taymans <wim@fluendo.com>
28895 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28896 Implement the fixate function.
28897 Clean up acceptcaps.
28899 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28901 * docs/pwg/building-filterfactory.xml:
28902 * docs/pwg/pwg.xml:
28903 Remove never-written filter-factory chapter; I'll add the various
28904 base classes to part 4 ("other element types") later on.
28906 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28908 * docs/pwg/advanced-negotiation.xml:
28909 * docs/pwg/building-boiler.xml:
28910 * docs/pwg/building-pads.xml:
28911 * docs/pwg/pwg.xml:
28912 * examples/pwg/Makefile.am:
28913 Add a chapter on caps negotiation, simplify the original code
28914 samples a bit w.r.t. caps negotiation, add link to the advanced
28915 section. Add a bunch of examples showing different use cases of
28916 different types of caps negotiation. Upstream renegotiation isn't
28917 fully documented yet since nobody knows how that works.
28919 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28921 * check/gst/gstpad.c:
28922 * check/gstcheck.c:
28923 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28924 if pad has no parent, return NULL as list of internal links
28926 2005-07-05 Andy Wingo <wingo@pobox.com>
28928 * gst/elements/gstfilesrc.c:
28929 * gst/elements/gstfakesrc.c:
28930 * gst/base/gstpushsrc.c:
28931 * gst/base/gstbasesrc.h:
28932 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28934 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28937 better report generation target (lcov needs a patch)
28939 2005-07-05 Andy Wingo <wingo@pobox.com>
28941 * gst/elements, testsuite: Null if we got it...
28943 2005-07-05 Wim Taymans <wim@fluendo.com>
28946 * libs/gst/dataprotocol/Makefile.am:
28947 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28948 * libs/gst/dataprotocol/dataprotocol.h:
28949 * pkgconfig/Makefile.am:
28950 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28951 * pkgconfig/gstreamer-dataprotocol.pc.in:
28952 Ported dataprotol to 0.9.
28953 Added pkgconfig files.
28955 2005-07-05 Andy Wingo <wingo@pobox.com>
28957 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28958 Default to returning TRUE for the case when tranform_caps returns
28959 a fixed caps, like for identity or volume.
28961 * check/gst/gstbus.c (pound_bus_with_messages):
28962 * check/gst/gstmessage.c (START_TEST):
28963 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28964 message API change.
28966 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28967 logic weaks here: always run transform_caps, trying passthrough
28968 operation only if the original caps intersects with the transform.
28970 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28971 source and sink caps.
28973 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28974 Intersect the peer caps with the pad template before going into
28976 (gst_base_transform_transform_caps): More debugging.
28978 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28981 2005-07-04 Edward Hervey <edward@fluendo.com>
28985 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28988 2005-07-04 Andy Wingo <wingo@pobox.com>
28990 * check/gst/gstpad.c: Only set explicit caps on pads.
28992 2005-07-01 Andy Wingo <wingo@pobox.com>
28994 * tests/network-clock.scm: Commentary update.
28996 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28997 Didn't really make sense, not implementable with basetransform,
28999 (gst_identity_transform): Unref inbuf via make_writable. Feeble
29000 attempt at implementing the sync property, needs an unlock method.
29002 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
29003 New func, by default returns the same caps (the identity
29005 (gst_base_transform_getcaps): Uses transform_caps to return
29006 something sensible.
29007 (gst_base_transform_setcaps): Complicated logic to get caps on
29008 both pads, even if they are different, and to call set_caps once
29009 for every time both pads get their caps set.
29010 (gst_base_transform_handle_buffer): Give the ref to the transform
29011 function. Allows in-place modification of the buffer.
29013 * gst/base/gstbasetransform.h (transform_caps): New class method.
29014 Given caps on one side, what can I do on the other.
29015 (set_caps): Take two caps, one for each side of the element.
29018 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
29019 caps in place. This is safe because we can check the mutability of
29020 the caps, and a good idea because fixate functions are just called
29021 as a matter of last resort. (Not actually implemented.)
29022 (gst_pad_set_caps): If the caps we're setting is actually the same
29023 as the existing pad caps, just update the pointer without calling
29024 setcaps. Assert that caps is either NULL or fixed, as per the
29027 * gst/gstghostpad.c: Update for fixate changes.
29029 2005-07-02 Andy Wingo <wingo@pobox.com>
29032 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29033 two refcounts makes it immutable, which is enough. Doc more.
29035 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
29037 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29038 Put the mini_object into GValue as a mini_object,
29039 not a gpointer, since that's how we declared
29042 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29044 * examples/pwg/Makefile.am:
29045 Fix buildbot again.
29047 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29049 * docs/pwg/building-testapp.xml:
29051 * examples/pwg/Makefile.am:
29054 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29057 * examples/Makefile.am:
29058 * examples/pwg/Makefile.am:
29059 * examples/pwg/extract.pl:
29060 Enable building the PWG examples.
29061 * docs/pwg/advanced-interfaces.xml:
29062 Add URI interface stub.
29063 * docs/pwg/advanced-types.xml:
29064 * docs/pwg/other-autoplugger.xml:
29065 * docs/pwg/appendix-porting.xml:
29066 * docs/pwg/pwg.xml:
29067 Add porting guide (mostly stubs), remove autoplugging (see ADM).
29068 * docs/pwg/building-boiler.xml:
29069 * docs/pwg/building-chainfn.xml:
29070 * docs/pwg/building-pads.xml:
29071 * docs/pwg/building-props.xml:
29072 * docs/pwg/building-state.xml:
29073 * docs/pwg/building-testapp.xml:
29074 Update the building-*.xml parts for 0.9 changes. All examples
29075 code blocks compile in examples/pwg/*.
29077 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29079 * docs/manual/advanced-autoplugging.xml:
29080 * docs/manual/appendix-checklist.xml:
29081 * docs/manual/appendix-integration.xml:
29082 * docs/manual/highlevel-components.xml:
29083 Fix playbin/decodebin examples, update docs a bit, mention bus
29084 instead of signals in various places, mention kmplayer and
29085 kaffeine since they have a working GStreamer backend in the KDE
29088 2005-06-30 Wim Taymans <wim@fluendo.com>
29091 * docs/design/draft-ghostpads.txt:
29092 * docs/design/draft-push-pull.txt:
29093 * docs/design/draft-query.txt:
29094 * docs/design/part-TODO.txt:
29095 * docs/design/part-query.txt:
29096 Added CHANGES-0.9 doc, updated status of other docs.
29101 2005-06-30 Wim Taymans <wim@fluendo.com>
29103 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29104 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29105 (gst_base_sink_change_state):
29106 * gst/base/gstbasesink.h:
29107 Some tweaks, only EOS and a buffer complete a preroll.
29109 2005-06-30 Andy Wingo <wingo@pobox.com>
29111 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29112 activate_push down to the internal pad as well.
29114 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29116 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29118 * gst/gsttaginterface.c:
29119 Some documentation fixes (#307394 and #307397).
29121 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29123 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29125 * gst/gstvalue.c: (gst_value_intersect_list):
29126 Fix memleak (#309125).
29128 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29130 * docs/manual/advanced-dataaccess.xml:
29131 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29132 * docs/manual/basics-pads.xml:
29133 Add reference for filtered caps to above chapter.
29135 2005-06-30 Wim Taymans <wim@fluendo.com>
29137 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29138 (gst_bin_change_state):
29140 Lame attempt at making the state change function a bit
29143 2005-06-30 Wim Taymans <wim@fluendo.com>
29145 * docs/design/part-clocks.txt:
29146 * docs/design/part-element-sink.txt:
29147 * docs/design/part-events.txt:
29148 * docs/design/part-preroll.txt:
29149 * docs/design/part-states.txt:
29150 Some more tweeks and additions to the docs.
29152 2005-06-30 Wim Taymans <wim@fluendo.com>
29154 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29155 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29156 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29157 (gst_pad_check_pull_range), (gst_pad_get_range),
29158 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29160 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29161 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29162 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29163 (gst_pad_remove_buffer_probe):
29164 Removed atomic operations, use existing LOCK.
29165 Move exception handling out of main code path.
29167 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29169 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29170 (silly_return_true_function), (gst_pad_class_init),
29171 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29172 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29173 (gst_pad_send_event):
29174 Fix accumulator, add default value by using _emitv() instead
29175 of _emit() for signal emission.
29177 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29179 * docs/manual/advanced-dataaccess.xml:
29180 * examples/manual/Makefile.am:
29182 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29185 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29187 * gst/elements/gstfilesink.c: (gst_filesink_render):
29188 Simplify code so that we don't have to handle short
29189 writes and return GST_FLOW_ERROR if an error occured.
29191 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29193 * docs/gst/gstreamer-docs.sgml:
29194 Remove probes more.
29196 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29198 * docs/gst/gstreamer-sections.txt:
29199 * docs/gst/tmpl/gstpad.sgml:
29200 * docs/gst/tmpl/gstprobe.sgml:
29202 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29203 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29204 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29205 (gst_pad_push_event), (gst_pad_send_event):
29207 * gst/gstutils.c: (gst_pad_add_data_probe),
29208 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29209 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29210 (gst_pad_remove_buffer_probe):
29212 Remove old probes, add new g-signal-based probes and some utility
29215 2005-06-29 Edward Hervey <edward@fluendo.com>
29217 * gst/gstelementfactory.c:
29220 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29221 the definition to the header file.
29223 2005-06-29 Andy Wingo <wingo@pobox.com>
29225 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29226 plugins from the source directory.
29228 2005-06-29 Wim Taymans <wim@fluendo.com>
29230 * docs/gst/tmpl/gstbuffer.sgml:
29231 * docs/gst/tmpl/gstclock.sgml:
29232 Some fixings for blantently wrong text.
29234 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29236 * check/Makefile.am:
29237 * gst/gst.c: (add_path_func), (init_pre):
29238 * gst/gstregistry.c: (gst_registry_add_path):
29239 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29240 only scan the GST_PLUGIN_PATH locations, and not add
29243 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29245 * docs/gst/gstreamer-sections.txt:
29246 * docs/gst/tmpl/gstbasesrc.sgml:
29247 * gst/gstelement.c:
29248 * gst/gstelement.h:
29253 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29255 * docs/manual/advanced-autoplugging.xml:
29256 Fix autoplugging example.
29258 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29260 * docs/manual/advanced-autoplugging.xml:
29261 * docs/manual/mime-world.fig:
29262 Try to get autoplugging working, fix type detection. Fix text
29263 in hello-world image.
29265 2005-06-29 Wim Taymans <wim@fluendo.com>
29267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29268 (gst_base_sink_change_state):
29272 map SIGNAL and BROADCAST to the right function.
29275 Remove redundant braces.
29277 * gst/gstpad.c: (gst_pad_set_caps):
29278 Don't call setcaps function when reseting caps to NULL.
29280 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29281 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29282 (gst_system_clock_id_unschedule):
29283 Use BROADCAST as this is what we do.
29285 2005-06-29 Wim Taymans <wim@fluendo.com>
29287 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29288 We are actually prerolling before commiting the state
29291 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29293 * docs/manual/advanced-clocks.xml:
29294 * docs/manual/advanced-interfaces.xml:
29295 * docs/manual/advanced-metadata.xml:
29296 * docs/manual/advanced-position.xml:
29297 * docs/manual/advanced-schedulers.xml:
29298 * docs/manual/advanced-threads.xml:
29299 * docs/manual/appendix-porting.xml:
29300 * docs/manual/basics-bins.xml:
29301 * docs/manual/basics-bus.xml:
29302 * docs/manual/basics-elements.xml:
29303 * docs/manual/basics-helloworld.xml:
29304 * docs/manual/basics-pads.xml:
29305 * docs/manual/highlevel-components.xml:
29306 * docs/manual/manual.xml:
29307 * docs/manual/thread.fig:
29308 Update (until threads/scheduling) Application Development Manual;
29309 remove GstThread, add GstBus, add simple porting checklist, add
29310 documentation for tag writing, clocks, make all examples until this
29311 part compile and run.
29312 * examples/manual/Makefile.am:
29313 Update from changes to Application Development Manual; add bus
29314 example, remove thread example.
29316 2005-06-28 Wim Taymans <wim@fluendo.com>
29318 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29319 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29320 (gst_bus_source_dispatch):
29321 Add debugging messages.
29322 Make internal methods static.
29323 Handle the case where the bus is flushed in the handler.
29325 * gst/gstelement.c: (gst_element_get_bus):
29326 Fix refcount in _get_bus();
29328 * gst/gstpipeline.c: (gst_pipeline_change_state),
29329 (gst_pipeline_get_clock_func):
29330 Clock refcounting fixes.
29331 Handle the case where preroll timed out more gracefully.
29333 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29334 Clean up the internal thread in dispose. This is needed
29335 for subclasses that actually get disposed.
29337 * gst/schedulers/threadscheduler.c:
29338 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29339 (gst_thread_scheduler_dispose):
29340 Free thread pool in dispose.
29342 2005-06-28 Andy Wingo <wingo@pobox.com>
29344 * tests/network-clock-utils.scm (debug, print-event): New utils.
29346 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29347 (*packet-loss*): Unified loss probability.
29348 (network-time): Report out-of-band events.
29350 * tests/plot-data: Add support for out-of-band events. Hack it
29351 into this script instead of passing it down the pipe; should fix
29354 2005-06-28 Wim Taymans <wim@fluendo.com>
29356 * docs/gst/gstreamer.types:
29357 * docs/gst/tmpl/gstbasesrc.sgml:
29358 * docs/gst/tmpl/gstpad.sgml:
29361 2005-06-28 Wim Taymans <wim@fluendo.com>
29363 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29364 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29365 (gst_proxy_pad_do_fixatecaps):
29366 Correctly proxy the check_pull_range function.
29368 2005-06-28 Andy Wingo <wingo@pobox.com>
29370 * tests/network-clock.scm: Removed need for slib.
29372 2005-06-28 Wim Taymans <wim@fluendo.com>
29374 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29375 (gst_basesink_preroll_queue_flush):
29376 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29377 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29378 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29379 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29380 (gst_proxy_pad_set_property):
29383 * gst/gstqueue.c: (gst_queue_init):
29384 The deprecated pad loop function is removed now.
29386 2005-06-28 Andy Wingo <wingo@pobox.com>
29388 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29389 New parameters, simulate network packet loss.
29391 * tests/network-clock-utils.scm: Initialize the RNG.
29393 2005-06-28 Wim Taymans <wim@fluendo.com>
29395 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29396 (gst_basesink_event), (gst_basesink_deactivate):
29397 Flushing the preroll queue always needs to unlock the waiters.
29399 2005-06-28 Edward Hervey <edward@fluendo.com>
29401 * gst/gstpipeline.c: (gst_pipeline_send_event):
29402 Wheen a seek was successful on a pipeline, set the stream_time to the
29403 seek offset in order to have a synchronized stream_time.
29405 2005-06-28 Wim Taymans <wim@fluendo.com>
29407 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29408 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29409 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29410 (gst_proxy_pad_do_fixatecaps):
29411 Call wrapper function instead of just calling the function
29412 pointers. This takes care of any locking and whatmore.
29414 2005-06-28 Wim Taymans <wim@fluendo.com>
29416 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29417 (gst_pad_pull_range):
29419 CONNECTED -> LINKED.
29421 2005-06-28 Andy Wingo <wingo@pobox.com>
29423 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29424 source-munging commit!!!
29426 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29427 (gst_object_sink): Take gpointer arguments, not GstObject --
29428 avoids casts. Like GLib.
29430 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29433 2005-06-27 Andy Wingo <wingo@pobox.com>
29435 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29438 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29439 returns a sorted copy of the trace list.
29440 (gst_alloc_trace_print_live): New API, only prints traces with
29441 live objects. Sort the list.
29442 (gst_alloc_trace_print_all): Sort the list.
29443 (gst_alloc_trace_print): Align columns.
29445 * gst/elements/gstttypefindelement.c:
29446 * gst/elements/gsttee.c:
29447 * gst/base/gstbasesrc.c:
29448 * gst/base/gstbasesink.c:
29449 * gst/base/gstbasetransform.c:
29450 * gst/gstqueue.c: Adapt for pad activation changes.
29452 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29454 (gst_pipeline_dispose): Drop ref on sched.
29456 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29457 (gst_pad_activate_default): Push mode by default.
29458 (pre_activate_switch, post_activate_switch): New stubs, things to
29459 do before and after switching activation modes on pads.
29460 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29461 the pad's activate function to choose which mode to activate.
29462 Shortcut on deactivation and call the right function directly.
29463 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29465 (gst_pad_activate_push): New API, same for push mode.
29466 (gst_pad_set_activate_function)
29467 (gst_pad_set_activatepull_function)
29468 (gst_pad_set_activatepush_function): Setters for new API.
29470 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29471 Trace all miniobjects.
29472 (gst_mini_object_make_writable): Unref the arg if we copy, like
29473 gst_caps_make_writable.
29475 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29477 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29478 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29479 Adapt for new pad API.
29481 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29483 * gst/gstelement.h:
29484 * gst/gstelement.c (gst_element_iterate_src_pads)
29485 (gst_element_iterate_sink_pads): New API functions.
29487 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29488 should fold into gstiterator.c in some form.
29489 (gst_element_pads_activate): Simplified via use of fold and
29490 delegation of decisions to gstpad->activate.
29492 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29495 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29496 class once in init, like gstmessage. Didn't run into this issue
29497 but it seems correct. Don't initialize a trace, gstminiobject does
29500 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29501 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29503 (assert_live_count): New util function, uses alloc traces to check
29506 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29507 To be modified when unlink drops the internal pad.
29509 2005-06-27 Wim Taymans <wim@fluendo.com>
29511 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29512 (gst_bin_change_state):
29513 Cleanup the get_state() function a little, make sure it
29514 iterates the same set of elements.
29515 Added stub iterate_state_order().
29517 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29519 * docs/gst/gstreamer-docs.sgml:
29520 * docs/gst/gstreamer-sections.txt:
29521 * docs/gst/gstreamer.types:
29522 * docs/gst/tmpl/gstbasesink.sgml:
29523 * docs/gst/tmpl/gstbasesrc.sgml:
29524 * docs/gst/tmpl/gstbasetransform.sgml:
29525 * docs/gst/tmpl/gstelement.sgml:
29526 * docs/gst/tmpl/gstiterator.sgml:
29527 * gst/base/gstbasesrc.c:
29528 * gst/base/gstbasesrc.h:
29529 * gst/base/gstbasetransform.h:
29530 * gst/gstelement.c:
29531 * gst/gstiterator.h:
29532 adding basetransform and iterator docs
29534 2005-06-27 Andy Wingo <wingo@pobox.com>
29536 * docs/design/part-activation.txt: Notes on how activation should
29537 work -- not quite implemented yet.
29539 2005-06-25 Wim Taymans <wim@fluendo.com>
29541 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29542 At least get the chain function correct, needs more
29545 2005-06-25 Wim Taymans <wim@fluendo.com>
29547 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29548 (gst_basesink_handle_object), (gst_basesink_event),
29549 (gst_basesink_do_sync), (gst_basesink_handle_event),
29550 (gst_basesink_change_state):
29552 Right, two problems here: ghostpads don't take locks and
29553 glib _rec_mutex_lock_full() with depth==0 still locks.
29554 Catch illegal locking and g_warn them.
29556 2005-06-25 Wim Taymans <wim@fluendo.com>
29558 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29559 Have to check for completion now...
29561 2005-06-25 Wim Taymans <wim@fluendo.com>
29563 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29564 (gst_basesink_handle_object), (gst_basesink_event),
29565 (gst_basesink_do_sync), (gst_basesink_handle_event),
29566 (gst_basesink_change_state):
29568 Unlock STREAM_LOCK whatever the recursion was.
29570 2005-06-25 Wim Taymans <wim@fluendo.com>
29572 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29573 (gst_basesink_preroll_queue_empty),
29574 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29575 (gst_basesink_event), (gst_basesink_do_sync),
29576 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29577 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29578 (gst_basesink_change_state):
29579 Reworked the base sink, handle event and buffer serialisation
29580 correctly and removed possible deadlock.
29581 Handle EOS correctly.
29583 2005-06-25 Wim Taymans <wim@fluendo.com>
29585 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29586 (gst_pipeline_change_state):
29587 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29588 Allow elements to post EOS in the state change function.
29589 Fix up -launch, make it exit the poll loop when the
29590 pipeline actually changed state.
29591 Fix up warning parsing in -launch.
29593 2005-06-25 Wim Taymans <wim@fluendo.com>
29595 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29596 (gst_tee_sink_activate):
29597 Core takes STREAM_LOCK for us now.
29599 2005-06-25 Wim Taymans <wim@fluendo.com>
29601 * gst/gstelement.c: (gst_element_get_state_func),
29602 (gst_element_set_state):
29603 * gst/gstelement.h:
29604 * gst/gstmessage.c: (gst_message_parse_error),
29605 (gst_message_parse_warning):
29606 Keep track of current target state while performing a state
29607 change so that subclasses can do something interesting.
29608 Fix parsing of warning/error messages when GError is NULL.
29610 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29612 * docs/gst/Makefile.am:
29613 * docs/gst/gstreamer-docs.sgml:
29614 * docs/gst/gstreamer-sections.txt:
29615 * docs/gst/gstreamer.types:
29616 * docs/gst/tmpl/gstbasesink.sgml:
29617 * docs/gst/tmpl/gstbasesrc.sgml:
29618 * docs/gst/tmpl/gstbin.sgml:
29619 * docs/gst/tmpl/gstcompat.sgml:
29620 * docs/gst/tmpl/gstfakesink.sgml:
29621 * docs/gst/tmpl/gstfakesrc.sgml:
29622 * docs/gst/tmpl/gstfilesink.sgml:
29623 * docs/gst/tmpl/gstfilesrc.sgml:
29624 * docs/gst/tmpl/gstindex.sgml:
29625 * docs/manual/appendix-quotes.xml:
29626 * gst/base/gstbasesrc.h:
29627 * gst/elements/gstfakesrc.h:
29628 * gst/gstmessage.h:
29629 start pulling in base classes and elements in our docs
29631 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29633 * docs/gst/Makefile.am:
29634 * docs/libs/Makefile.am:
29635 fixed make distcheck with gtk-doc 1.3
29637 2005-06-23 Wim Taymans <wim@fluendo.com>
29639 * gst/gstelement.c: (gst_element_get_state_func),
29640 (gst_element_set_state), (gst_element_change_state):
29641 When the state did not change, also report NO_PREROLL
29644 2005-06-23 Wim Taymans <wim@fluendo.com>
29646 * gst/gstpad.c: (gst_pad_event_default):
29647 * gst/gstqueue.c: (gst_queue_loop):
29648 No unsafe task pausing please.
29650 2005-06-23 Wim Taymans <wim@fluendo.com>
29652 * gst/schedulers/threadscheduler.c:
29653 (gst_thread_scheduler_task_start),
29654 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29655 Ref the task before pushing it on the threadpool. This
29656 makes sure that we have a ref when the threadfunction is
29659 2005-06-23 Andy Wingo <wingo@pobox.com>
29661 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29662 offset is greater than the file's size.
29664 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29665 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29666 * gst/gstobject.c (gst_object_class_init): Make the class lock
29667 recursive. Wim won't let me drop deep_notify. Decodebin works
29668 again, whoopdy doo.
29670 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29671 internal pad, and hacks accordingly. Doesn't do it on the target
29672 pad because we change its caps. Probably catches all cases of
29674 (gst_ghost_pad_set_property): Connect to notify::caps as
29677 * tests/network-clock.scm (plot-simulation): Pipe data to the
29678 elite python skript.
29680 * tests/network-clock-utils.scm (define-parameter): New macro,
29681 defines a parameter that can be set via the command line.
29682 (set-parameter!, parse-parameter-arguments): Command line args
29685 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29688 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29690 * gst/elements/gsttypefindelement.c:
29691 (gst_type_find_element_handle_event):
29692 Don't restart typefinding on a discont.
29693 * gst/gstelement.c: (gst_element_set_state):
29694 Debug spelling fix.
29695 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29696 Allow changing mode of an active pad.
29697 Debug output fixes.
29698 * gst/registries/gstlibxmlregistry.c: (load_feature):
29699 Don't cast a static pad template to a normal pad template.
29701 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29703 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29704 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29705 remove gst_strtoll completely, since it didn't actually do
29706 anything more than what g_ascii_strtoull already does.
29707 check for range errors when deserializing
29708 do a cast for the unsigned cases; but further fixing needs
29709 a decision on what the interpretation of "(int)" and
29710 deserialization should be for values that fall outside the
29711 type's boundaries (ie, refuse, or interpret as casting)
29713 2005-06-23 Wim Taymans <wim@fluendo.com>
29715 * check/Makefile.am:
29716 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29717 * docs/design/part-live-source.txt:
29718 * docs/design/part-states.txt:
29719 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29720 (gst_basesrc_set_live), (gst_basesrc_is_live),
29721 (gst_basesrc_get_range), (gst_basesrc_activate),
29722 (gst_basesrc_change_state):
29723 * gst/base/gstbasesrc.h:
29724 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29725 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29726 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29727 * gst/gstelement.c: (gst_element_get_state_func),
29728 (gst_element_set_state):
29729 * gst/gstelement.h:
29731 * tools/gst-launch.c: (event_loop), (main):
29732 Added support for live sources and other elements that
29734 Updated design docs, added live-source design doc.
29735 Implemented live source functionality in basesrc
29736 Fix error condition in _bin_get_state()
29737 Implement live source handling in -launch.
29738 Added check for live sources.
29739 Fixed case in GstBin where elements were changed state
29743 2005-06-23 Andy Wingo <wingo@pobox.com>
29745 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29746 borken refcounting.
29748 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29749 gst_caps_replace takes care of this for us.
29751 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29752 gst_pad_set_caps on the target, not just its setcaps() function.
29754 * tests/network-clock.scm:
29755 * tests/network-clock-utils.scm: A network clock simulator.
29756 Something of an algorithmic testbed before doing something in C.
29758 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29760 * check/Makefile.am:
29761 * check/gst/capslist.h:
29762 copy over from 0.8, and add two with bitmasks specified with
29764 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29765 add test to parse everything from capslist.h
29766 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29768 add test for structure deserialization
29769 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29770 add tests for deserialization of strings to int types
29771 * gst/gststructure.c: (gst_structure_nth_field_name):
29772 * gst/gststructure.h:
29773 add a way to get the name of a field referenced by index
29774 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29775 instead of checking if the resulting long long lies between
29776 min and max, we check if the long long would fit into
29777 a number of bytes for the final type.
29778 This fixes cases where a string represents 2^32 - 1, which
29779 when cast to int would be the (valid) -1, but is bigger than
29782 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29784 * gst/parse/grammar.y:
29785 add a log line for type deserialization
29787 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29789 * check/gst/gstvalue.c: (START_TEST):
29790 * gst/gstvalue.c: (gst_value_deserialize):
29791 return long long, not int, so gint64 deserialization actually
29792 works. Is there any flag that makes the compiler check this ?
29795 2005-06-22 Wim Taymans <wim@fluendo.com>
29798 Added convenience macros for setting buffers in GValue.
29800 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29802 * check/gst/.cvsignore:
29803 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29804 add a test deserializing int64, and comment part out because
29807 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29809 * check/Makefile.am:
29810 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29811 * testsuite/Makefile.am:
29812 * testsuite/caps/Makefile.am:
29813 * testsuite/caps/value_serialize.c:
29814 * testsuite/test_gst_init.c:
29815 move a value_serialize test over
29817 2005-06-20 Wim Taymans <wim@fluendo.com>
29822 * gst/gstvalue.c: (gst_value_compare_buffer),
29823 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29824 (gst_value_compare_flags), (gst_value_serialize_flags),
29825 (gst_value_deserialize_flags), (_gst_value_initialize):
29826 Fix serialisation of buffers, they are not boxed types anymore
29828 2005-06-20 Wim Taymans <wim@fluendo.com>
29830 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29831 Testcase to show error in buffer-on-caps serialisation.
29833 2005-06-20 Andy Wingo <wingo@pobox.com>
29835 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29836 will be adding to later.
29838 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29839 if its socks fill with rocks.
29840 (gst_system_clock_obtain): Set the name on object construction.
29841 Avoid double-checked locking.
29843 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29845 * gst/gsturi.c: (gst_element_make_from_uri):
29846 Fix potential endless loop.
29848 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29850 * check/Makefile.am:
29852 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29854 move over from testsuite dir and clean up
29857 * testsuite/Makefile.am:
29858 * testsuite/tags/.cvsignore:
29859 * testsuite/tags/Makefile.am:
29860 * testsuite/tags/merge.c:
29861 remove testsuite/tags
29863 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29865 * docs/gst/gstreamer-sections.txt:
29866 * docs/gst/tmpl/gstenumtypes.sgml:
29867 * win32/gstenumtypes.c:
29868 clean up documentation build a little
29870 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29872 * check/gstcheck.h:
29873 add macros for checking refcounts on objects and caps
29874 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29875 add some more unit tests
29876 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29877 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29878 fix leaked refcounts (I hope :)) so unittest works
29882 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29884 * configure.ac: back to HEAD
29886 === release 0.9.1 ===
29888 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29894 2005-06-17 Andy Wingo <wingo@pobox.com>
29896 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29897 assert; it's always possible that the pad gets deactivated in
29898 between the checks in gstpad.c and the implementation. Rely on
29899 finish_preroll() to return a FLUSHING or similar instead of on the
29902 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29903 clock and post an EOS message if we come out of finish_preroll in
29906 2005-06-16 David Schleef <ds@schleef.org>
29908 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29909 (gst_capsfilter_set_property): Allow NULL as possible value
29910 for filter_caps property, indicating GST_CAPS_ANY.
29912 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29914 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29916 * gst/schedulers/Makefile.am:
29918 * gstreamer.spec.in:
29921 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29923 * gstreamer.spec.in:
29926 2005-06-08 Andy Wingo <wingo@pobox.com>
29928 * gst/gstutils.c: RPAD fixes all around.
29929 (gst_element_link_pads): Refcounting fixes.
29931 * tools/gst-inspect.c:
29932 * tools/gst-xmlinspect.c:
29934 * gst/base/gsttypefindhelper.c:
29935 * gst/base/gstbasesink.c:
29936 * gst/gstqueue.c: RPAD fixes.
29938 * gst/gstghostpad.h:
29939 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29940 pads. The tricky thing is they provide both source and sink
29941 interfaces, since they proxy the internal pad for the external
29942 pad, and vice versa. Implement with lower-level ProxyPad objects,
29943 with the interior proxy pad as a child of the exterior ghost pad.
29944 Should write a doc on this.
29946 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29947 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29950 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29951 pads are real pads. No ghost pads in this file. Not documenting
29952 the myriad s/RPAD/PAD/ and REALIZE fixes.
29953 (gst_pad_class_init): Add properties for "direction" and
29954 "template". Both are construct-only, so they can't change during
29955 the life of the pad. Fixes properly deriving from GstPad.
29956 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29957 derived objects, just set properties when creating the objects via
29959 (gst_pad_get_parent): Implement as a function, return NULL if the
29960 parent is not an element.
29961 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29962 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29964 * gst/gstobject.c (gst_object_class_init): Make name a construct
29965 property. Don't set it in the object init.
29967 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29968 with UNKNOWN direction.
29969 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29970 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29971 (gst_element_remove_pad): Remove ghost-pad special cases.
29972 (gst_element_pads_activate): Remove rpad cruft.
29974 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29975 catch the pad's-parent-not-an-element case.
29977 * gst/gst.h: Include gstghostpad.h.
29979 * gst/gst.c (init_post): No more real, ghost pads.
29981 * gst/Makefile.am: Add gstghostpad.[ch].
29983 * check/Makefile.am:
29984 * check/gst/gstbin.c:
29985 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29986 into a bin creates ghost pads, and that the refcounts are right.
29987 Partly moved from gstbin.c.
29989 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29991 * check/gst-libs/.cvsignore:
29992 * check/gst/.cvsignore:
29993 * check/pipelines/.cvsignore:
29995 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29996 (START_TEST), (cleanup_suite), (main):
29997 add some tests related to cleanup after running pipelines
29999 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
30001 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
30002 add a testsuite for GstBuffer
30004 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
30006 * gst/gstminiobject.h:
30007 add defines for accessing the refcount
30009 2005-06-03 Stefan Kost <ensonic@users.sf.net>
30011 * Makefile.am: added support for html unit test coverage reports
30013 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
30015 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
30016 Free existing caps if the capsfilter changes. Add a FIXME about
30017 setting those caps on the pads.
30019 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
30020 Before adding a ghost pad to a parent bin, check that there isn't
30021 already one for the element on the bin. Prevents infinite recursion
30022 when using decodebin in parse pipelines. Andy says he'll rewrite the
30023 way this works anyway, so ignore the hack.
30025 2005-06-02 Andy Wingo <wingo@pobox.com>
30027 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30028 file size, pass it on to the type find helper.
30030 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30031 segment_start and segment_end properly according to the seek
30032 method. Segment_end is still a bit flaky because offset can be
30033 negative for CUR and END cases, but it takes -1 as an "unset"
30036 2005-06-02 Wim Taymans <wim@fluendo.com>
30038 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30039 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30040 (gst_basesink_activate):
30041 * gst/base/gstbasesink.h:
30042 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30043 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30044 (gst_pad_query), (gst_pad_start_task):
30046 * gst/gstqueue.c: (gst_queue_bufferalloc),
30047 (gst_queue_handle_sink_event), (gst_queue_chain):
30048 Bufferalloc: return GstFlowReturn to more accuratly report
30049 why allocation failed.
30051 2005-06-02 Wim Taymans <wim@fluendo.com>
30053 * gst/gstpipeline.c: (gst_pipeline_send_event):
30054 Take snapshot of state without blocking.
30056 2005-06-02 Wim Taymans <wim@fluendo.com>
30058 * docs/design/part-TODO.txt:
30059 * docs/design/part-caps.txt:
30060 * docs/design/part-clocks.txt:
30061 * docs/design/part-negotiation.txt:
30062 * docs/design/part-preroll.txt:
30065 2005-05-30 Wim Taymans <wim@fluendo.com>
30067 * gst/elements/gstidentity.c: (gst_identity_event),
30068 (gst_identity_transform), (gst_identity_get_property):
30069 Protect last_message property as it is accessed from
30072 2005-05-30 Wim Taymans <wim@fluendo.com>
30074 * gst/gstelement.c: (gst_element_init),
30075 (gst_element_pads_activate), (gst_element_change_state):
30076 Slicker pad activation code.
30078 2005-05-30 Wim Taymans <wim@fluendo.com>
30081 * gst/gstelement.h:
30082 * gst/gstelementfactory.h:
30084 Move elementfactory methods to separate .h file.
30086 2005-05-30 Wim Taymans <wim@fluendo.com>
30088 * docs/design/part-overview.txt:
30089 * gst/gstsystemclock.h:
30090 Small typo fixes, doc updates.
30092 2005-05-30 Wim Taymans <wim@fluendo.com>
30094 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30095 (init_popt_callback):
30096 Remove cpu-opt flag.
30098 2005-05-30 Wim Taymans <wim@fluendo.com>
30100 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30101 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30103 Avoid typechecking in places where not needed.
30104 Added accessor for malloc_data.
30106 2005-05-30 Wim Taymans <wim@fluendo.com>
30108 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30109 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30110 (gst_pad_configure_sink), (gst_pad_configure_src),
30111 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30112 (gst_pad_start_task):
30113 Propagate errors from _set_caps() in configure_src/sink
30114 functions instead of returning TRUE.
30115 FLUSH events can travel up and downstream
30118 2005-05-30 Wim Taymans <wim@fluendo.com>
30120 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30121 (gst_basesink_activate):
30122 Handle EOS in preroll.
30124 2005-05-30 Wim Taymans <wim@fluendo.com>
30126 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30127 (gst_queue_loop), (gst_queue_handle_src_event):
30128 Remove old pieces of code
30129 Flushing the queue in an upstream event is a very bad idea.
30131 2005-05-26 Andy Wingo <wingo@pobox.com>
30133 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30134 gst_value_set_mini_object so as to add a ref on the object (which
30135 will be removed when the value is unset).
30137 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30138 arg type in ::handoff.
30140 * gst/gstelement.c (gst_element_change_state): Also deactivate
30141 pads in READY->NULL, just in case the element didn't make it to
30142 PAUSED. Wingo tested, Wim approved.
30144 2005-05-26 Wim Taymans <wim@fluendo.com>
30146 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30147 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30148 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30149 A flushing pad cannot be used to alloc_buffer from.
30151 2005-05-26 Wim Taymans <wim@fluendo.com>
30153 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30154 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30155 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30156 (gst_bus_create_watch), (gst_bus_add_watch_full):
30158 Implement a real GSource and use g_main_context_wakeup() to
30159 signal new messages instead of the socketpair.
30161 2005-05-25 Wim Taymans <wim@fluendo.com>
30163 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30164 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30165 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30166 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30167 (gst_pad_send_event), (gst_pad_start_task):
30168 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30169 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30170 (gst_queue_sink_activate), (gst_queue_src_activate),
30171 (gst_queue_change_state):
30173 Fix state changes for non sinks. We now change sinks, then elements
30174 with unconnected srcpads, then the rest.
30175 More efficient queue unlocking in flush and state changes.
30176 Set the pad activate mode even if it does not have an activate
30179 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30181 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30182 Don't go in pull mode for non-seekable sources.
30183 * gst/elements/gsttypefindelement.h:
30184 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30185 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30186 (free_entry), (stop_typefinding),
30187 (gst_type_find_element_handle_event), (find_peek),
30188 (gst_type_find_element_chain), (do_pull_typefind),
30189 (gst_type_find_element_change_state):
30190 Allow typefinding (w/o seeking) in push-mode, simplified version
30191 of what was in 0.8.
30192 * gst/gstutils.c: (gst_buffer_join):
30194 gst_buffer_join() from 0.8.
30196 2005-05-25 Wim Taymans <wim@fluendo.com>
30198 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30199 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30200 (gst_pad_send_event), (gst_pad_start_task):
30201 Disable attempt at mode switching until it is figured out.
30203 2005-05-25 Wim Taymans <wim@fluendo.com>
30205 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30206 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30207 (gst_basesink_finish_preroll), (gst_basesink_chain),
30208 (gst_basesink_loop), (gst_basesink_activate),
30209 (gst_basesink_change_state):
30210 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30211 (gst_basesrc_get_range), (gst_basesrc_loop),
30212 (gst_basesrc_activate):
30213 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30214 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30215 (gst_real_pad_init), (gst_real_pad_set_property),
30216 (gst_real_pad_get_property), (gst_pad_set_active),
30217 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30218 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30219 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30220 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30221 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30222 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30223 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30224 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30225 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30226 (gst_pad_stop_task):
30228 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30229 (gst_queue_loop), (gst_queue_src_activate):
30230 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30231 (gst_task_get_state):
30233 * gst/schedulers/threadscheduler.c:
30234 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30235 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30237 Remove ACTIVE pad flag, use FLUSHING everywhere
30238 Added _pad_chain(), _pad_get_range() to call chain/getrange
30240 Add locks around IS_FLUSHING when reading.
30241 Take STREAM lock in chain(), get_range() functions so plugins
30242 don't need to take it anymore.
30246 2005-05-25 Wim Taymans <wim@fluendo.com>
30248 * tools/gst-launch.c: (event_loop):
30249 Unref message after using its contents instead of
30252 2005-05-24 Wim Taymans <wim@fluendo.com>
30254 * docs/design/draft-ghostpads.txt:
30255 * docs/design/draft-push-pull.txt:
30256 * docs/design/draft-query.txt:
30257 * docs/design/part-overview.txt:
30258 Docs updates, added general overview doc.
30260 2005-05-21 David Schleef <ds@schleef.org>
30262 * docs/gst/tmpl/old/GstBin.sgml:
30263 * docs/gst/tmpl/old/GstBuffer.sgml:
30264 * docs/gst/tmpl/old/GstCaps.sgml:
30265 * docs/gst/tmpl/old/GstClock.sgml:
30266 * docs/gst/tmpl/old/GstCompat.sgml:
30267 * docs/gst/tmpl/old/GstData.sgml:
30268 * docs/gst/tmpl/old/GstElement.sgml:
30269 * docs/gst/tmpl/old/GstEvent.sgml:
30270 * docs/gst/tmpl/old/GstIndex.sgml:
30271 * docs/gst/tmpl/old/GstStructure.sgml:
30272 * docs/gst/tmpl/old/GstTag.sgml:
30273 * docs/gst/tmpl/old/cothreads.sgml:
30274 * docs/gst/tmpl/old/cothreads_compat.sgml:
30275 * docs/gst/tmpl/old/gettext.sgml:
30276 * docs/gst/tmpl/old/gobject2gtk.sgml:
30277 * docs/gst/tmpl/old/grammar.tab.sgml:
30278 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30279 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30280 * docs/gst/tmpl/old/gst_private.sgml:
30281 * docs/gst/tmpl/old/gstaggregator.sgml:
30282 * docs/gst/tmpl/old/gstarch.sgml:
30283 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30284 * docs/gst/tmpl/old/gstbufferstore.sgml:
30285 * docs/gst/tmpl/old/gstdata_private.sgml:
30286 * docs/gst/tmpl/old/gstdisksink.sgml:
30287 * docs/gst/tmpl/old/gstdisksrc.sgml:
30288 * docs/gst/tmpl/old/gstelementfactory.sgml:
30289 * docs/gst/tmpl/old/gstextratypes.sgml:
30290 * docs/gst/tmpl/old/gstfakesink.sgml:
30291 * docs/gst/tmpl/old/gstfakesrc.sgml:
30292 * docs/gst/tmpl/old/gstfdsink.sgml:
30293 * docs/gst/tmpl/old/gstfdsrc.sgml:
30294 * docs/gst/tmpl/old/gstfilesink.sgml:
30295 * docs/gst/tmpl/old/gstfilesrc.sgml:
30296 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30297 * docs/gst/tmpl/old/gstidentity.sgml:
30298 * docs/gst/tmpl/old/gstindexfactory.sgml:
30299 * docs/gst/tmpl/old/gstmarshal.sgml:
30300 * docs/gst/tmpl/old/gstmd5sink.sgml:
30301 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30302 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30303 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30304 * docs/gst/tmpl/old/gstpipefilter.sgml:
30305 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30306 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30307 * docs/gst/tmpl/old/gstshaper.sgml:
30308 * docs/gst/tmpl/old/gstspider.sgml:
30309 * docs/gst/tmpl/old/gstspideridentity.sgml:
30310 * docs/gst/tmpl/old/gststatistics.sgml:
30311 * docs/gst/tmpl/old/gsttee.sgml:
30312 * docs/gst/tmpl/old/gsttimecache.sgml:
30313 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30314 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30315 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30316 * docs/gst/tmpl/old/types.sgml:
30317 I didn't intend to add these or check them in.
30319 2005-05-19 David Schleef <ds@schleef.org>
30321 * configure.ac: Use -no-common everywhere. In a sane world, it
30322 would be the default in libtool, because without it, you can't
30323 build DLLs on Windows.
30324 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30325 * docs/gst/gstreamer-sections.txt:
30326 * docs/gst/tmpl/gstcpu.sgml:
30327 * docs/gst/tmpl/gstdata.sgml:
30328 * docs/gst/tmpl/gstthread.sgml:
30330 2005-05-19 David Schleef <ds@schleef.org>
30332 * gst/gstminiobject.c: (gst_value_set_mini_object),
30333 (gst_value_take_mini_object), (gst_value_get_mini_object):
30334 * gst/gstminiobject.h: Add GValue set/get functions.
30336 2005-05-19 Wim Taymans <wim@fluendo.com>
30338 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30339 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30340 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30342 * gst/gstbus.c: (gst_bus_post):
30343 * gst/gstelement.c: (gst_element_get_random_pad):
30344 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30345 Make subbufer unref the parent in finalize.
30346 some more debugging info.
30349 2005-05-19 Wim Taymans <wim@fluendo.com>
30351 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30352 (gst_basesink_init), (gst_basesink_finalize),
30353 (gst_basesink_activate), (gst_basesink_change_state):
30354 Don't free preroll queue too early.
30356 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30360 Hi, I'm outdated. Please shoot me.
30362 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30364 * gst/gstpipeline.c: (gst_pipeline_send_event):
30365 Do not access variables after they have been deleted.
30367 2005-05-19 Wim Taymans <wim@fluendo.com>
30369 * tools/gst-inspect.c: (print_plugin_features):
30370 A plugin feature does unfortunatly not use the
30373 2005-05-18 Wim Taymans <wim@fluendo.com>
30375 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30376 Port _span() functions to new subbuffers.
30378 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30380 * gst/gstbin.c: (gst_bin_add_func):
30381 Fix clock settery in bins when adding kids after the clock has
30384 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30386 * gst/elements/gstidentity.c: (gst_identity_class_init):
30387 Workaround until signals support GstMiniObject.
30389 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30392 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30394 2005-05-18 Wim Taymans <wim@fluendo.com>
30396 * gst/base/Makefile.am:
30397 * gst/base/gstadapter.c: (gst_adapter_base_init),
30398 (gst_adapter_class_init), (gst_adapter_init),
30399 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30400 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30401 (gst_adapter_flush), (gst_adapter_available),
30402 (gst_adapter_available_fast):
30403 * gst/base/gstadapter.h:
30404 Ported and added adapter to the base classes.
30406 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30409 * gst/gstmessage.c:
30410 Make sure the class is reffed/unreffed once before threads can be
30411 used. Fixes #304551.
30413 2005-05-17 Wim Taymans <wim@fluendo.com>
30415 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30416 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30417 * gst/gstminiobject.c: (gst_mini_object_get_type),
30418 (gst_mini_object_free):
30419 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30420 (gst_pad_push), (gst_pad_push_event):
30421 * gst/gstqueue.c: (gst_queue_change_state):
30422 Don't queue buffers in basesink when we are flushing.
30423 Unref buffer when flushing in basesink.
30424 Flush queue when going to READY
30425 Unref buffer when _push() returns an error.
30426 Don't free MiniObject instance when refcount is incremented
30427 in _finalize() so that we can recover objects.
30429 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30431 * docs/manual/advanced-schedulers.xml:
30432 * docs/manual/appendix-checklist.xml:
30433 * docs/pwg/advanced-clock.xml:
30434 * docs/pwg/advanced-interfaces.xml:
30435 * docs/pwg/advanced-request.xml:
30436 * docs/pwg/advanced-types.xml:
30437 * docs/pwg/intro-preface.xml:
30438 * examples/plugins/example.c: (gst_example_get_type),
30439 (gst_example_class_init), (gst_example_chain),
30440 (gst_example_set_property), (gst_example_get_property),
30441 (gst_example_change_state), (plugin_init):
30442 * examples/plugins/example.h:
30445 2005-05-17 Wim Taymans <wim@fluendo.com>
30447 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30448 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30449 * gst/gstqueue.c: (gst_queue_change_state):
30450 Clear queue when going to READY.
30451 Remove IN_SETCAPS flag too.
30453 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30455 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30456 Remove implicit cast from gboolean to GstElementStateReturn;
30457 make sure we still return failure in paused => ready case if
30458 the parent class fails to change state and our own stop
30461 2005-05-17 Wim Taymans <wim@fluendo.com>
30463 * tools/gst-launch.c: (event_loop):
30464 Message was unreffed too soon.
30466 2005-05-16 Andy Wingo <wingo@pobox.com>
30468 * gst/gstbin.c (sink_iterator_filter): Err... um...
30470 * check/gst/gstbin.c (test_ghost_pads): New test for the
30471 ghosting-if-elements-not-in-same-bin behavior.
30473 2005-05-16 David Schleef <ds@schleef.org>
30475 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30476 accessing refcount directly.
30478 2005-05-15 David Schleef <ds@schleef.org>
30480 * check/Makefile.am: remove GstData checks
30481 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30482 * gst/Makefile.am: add miniobject, remove data
30483 * gst/gst.h: add miniobject, remove data
30484 * gst/gstdata.c: remove
30485 * gst/gstdata.h: remove
30486 * gst/gstdata_private.h: remove
30487 * gst/gsttypes.h: remove GstEvent and GstMessage
30488 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30489 * gst/gstmarshal.list: change BOXED -> OBJECT
30491 Implement GstMiniObject.
30492 * gst/gstminiobject.c:
30493 * gst/gstminiobject.h:
30495 Modify to be subclasses of GstMiniObject.
30496 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30497 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30498 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30499 (gst_subbuffer_get_type), (gst_subbuffer_init),
30500 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30503 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30504 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30505 (_gst_event_copy), (gst_event_new):
30507 * gst/gstmessage.c: (_gst_message_initialize),
30508 (gst_message_get_type), (gst_message_class_init),
30509 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30510 (gst_message_new), (gst_message_new_error),
30511 (gst_message_new_warning), (gst_message_new_tag),
30512 (gst_message_new_state_changed), (gst_message_new_application):
30513 * gst/gstmessage.h:
30514 * gst/gstprobe.c: (gst_probe_perform),
30515 (gst_probe_dispatcher_dispatch):
30517 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30518 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30519 (_gst_query_copy), (gst_query_new):
30521 Update elements for GstData -> GstMiniObject changes
30523 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30524 (gst_queue_chain), (gst_queue_loop):
30525 * gst/elements/gstbufferstore.c:
30526 (gst_buffer_store_add_buffer_func),
30527 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30528 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30529 (gst_fakesink_render):
30530 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30531 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30532 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30533 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30534 (gst_filesrc_create_read):
30535 * gst/elements/gstidentity.c: (gst_identity_class_init):
30536 * gst/elements/gsttypefindelement.c:
30537 (gst_type_find_element_src_event), (free_entry_buffers),
30538 (gst_type_find_element_handle_event):
30539 * libs/gst/dataprotocol/dataprotocol.c:
30540 (gst_dp_header_from_buffer):
30541 * libs/gst/dataprotocol/dataprotocol.h:
30542 * libs/gst/dataprotocol/dp-private.h:
30544 2005-05-15 David Schleef <ds@schleef.org>
30546 * gst/elements/gstelements.c: Don't include headers that were
30549 2005-05-15 David Schleef <ds@schleef.org>
30551 * gst/elements/Makefile.am: Remove some elements that don't
30552 need to be in the core (or even exist at all).
30553 * gst/elements/gstaggregator.c:
30554 * gst/elements/gstaggregator.h:
30555 * gst/elements/gstmd5sink.c:
30556 * gst/elements/gstmd5sink.h:
30557 * gst/elements/gstmultifilesrc.c:
30558 * gst/elements/gstmultifilesrc.h:
30559 * gst/elements/gstpipefilter.c:
30560 * gst/elements/gstpipefilter.h:
30561 * gst/elements/gstshaper.c:
30562 * gst/elements/gstshaper.h:
30563 * gst/elements/gststatistics.c:
30564 * gst/elements/gststatistics.h:
30565 * po/POTFILES.in: Remove above files.
30567 2005-05-14 Andy Wingo <wingo@pobox.com>
30569 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30570 so as to get the refs right.
30571 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30572 unreffing objects that don't pass the filter.
30574 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30575 gst_element_set_bus.
30576 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30577 normal cases, this will destroy the bus.
30579 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30582 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30585 2005-05-13 Andy Wingo <wingo@pobox.com>
30587 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30588 gst_pad_link, call pad_link_maybe_ghosting,
30589 (pad_link_maybe_ghosting): Links pads, making sure that the
30590 elements being linked are in the same bin.
30591 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30592 Helpers for pad_link_maybe_ghosting.
30594 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30597 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30599 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30601 * docs/design/part-element-source.txt:
30604 2005-05-12 Wim Taymans <wim@fluendo.com>
30606 * gst/base/gstbasesink.c: (gst_basesink_init),
30607 (gst_basesink_activate):
30608 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30609 (gst_basesrc_is_seekable):
30610 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30611 (bin_element_is_sink), (gst_bin_change_state):
30612 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30613 * gst/gstelement.h:
30614 Identify sinks by their flag to avoid overly complicated
30616 Do state changes even for elements not reachable from the
30618 BaseSink is a sink now :)
30619 Some more debugging info in the basesrc.
30622 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30624 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30625 Implement _query on a bin, similar to _send_event.
30627 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30629 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30630 Discont event offset format should be GST_FORMAT_BYTES,
30631 not GST_FORMAT_TIME.
30633 2005-05-12 Wim Taymans <wim@fluendo.com>
30635 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30636 Same fix as Ronald's but without the signal.
30638 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30640 * gst/gstutils.c: (gst_element_query_position):
30641 No, an element is not a pad.
30643 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30645 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30646 (gst_bin_get_state):
30647 If a child is removed from a bin while we remove the child from
30648 the bin and while we're retrieving its state, signal this to the
30649 get_state function so we abort the wait (instead of waiting for
30650 a timeout) and can immediately re-iterate over all other elements.
30652 2005-05-12 Wim Taymans <wim@fluendo.com>
30654 * gst/base/Makefile.am:
30655 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30656 (gst_basesrc_start):
30657 * gst/base/gstbasesrc.h:
30658 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30659 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30660 (gst_pushsrc_init), (gst_pushsrc_create):
30661 * gst/base/gstpushsrc.h:
30662 Added is_seekable to BaseSrc
30663 Added simple PushSrc.
30665 2005-05-11 Wim Taymans <wim@fluendo.com>
30667 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30668 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30669 (gst_element_link_pads), (gst_element_query_position),
30670 (gst_element_query_convert), (intersect_caps_func),
30671 (gst_pad_query_position), (gst_pad_query_convert):
30672 Fix refcounting in utils function.
30673 No point in trying to activate a pad when it's added, it could
30674 be added from the state change function and then we deadlock, the
30675 element has to decide what to do.
30677 2005-05-10 Andy Wingo <wingo@pobox.com>
30679 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30680 *all* the arguments.
30682 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30683 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30684 lock (according to the docs -- if this is wrong change the docs).
30686 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30687 flush messages in the NULL state.
30689 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30690 message immediately and return.
30691 (gst_bus_set_flushing): New function. If a bus is flushing, it
30692 flushes out any queued messages and immediately unrefs new
30693 messages. This is so when an element goes to NULL, all of the
30694 unhandled messages coming from it can be freed, and their
30695 references to the element dropped. In other words: message source
30696 ref considered harmful :P
30698 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30699 we're finished with it.
30701 * gst/gstmessage.c (gst_message_new_state_changed):
30703 2005-05-10 Wim Taymans <wim@fluendo.com>
30705 * gst/gstvalue.c: (gst_value_compare_flags),
30706 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30707 (_gst_value_initialize):
30708 Added flags serialize/deserialize/compare code.
30710 2005-05-09 Andy Wingo <wingo@pobox.com>
30712 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30713 Intersect the peer's caps with our caps.
30715 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30717 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30718 * gst/elements/gsttypefindelement.c: (find_peek):
30719 Handle negative offsets better. Fixes decodebin.
30721 2005-05-09 Wim Taymans <wim@fluendo.com>
30723 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30724 (gst_base_transform_event):
30725 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30726 Implement accept_caps.
30727 Fix silly lock/unlock mismatch in base class.
30729 2005-05-09 Wim Taymans <wim@fluendo.com>
30731 * docs/design/draft-push-pull.txt:
30732 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30733 * gst/elements/gstfilesink.c: (gst_filesink_init),
30734 (gst_filesink_query):
30735 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30736 (gst_type_find_handle_src_query), (find_element_get_length):
30737 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30738 * gst/gstelement.h:
30739 * gst/gstmessage.c:
30740 * gst/gstmessage.h:
30741 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30742 (gst_real_pad_get_caps_unlocked),
30743 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30744 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30745 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30746 (gst_real_pad_dispose), (gst_real_pad_finalize),
30747 (gst_pad_load_and_link), (gst_pad_save_thyself),
30748 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30749 (gst_pad_check_pull_range), (gst_pad_pull_range),
30750 (gst_pad_template_get_type), (gst_pad_template_class_init),
30751 (gst_pad_template_init), (gst_pad_template_dispose),
30752 (name_is_valid), (gst_static_pad_template_get),
30753 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30754 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30755 (gst_pad_get_element_private), (gst_pad_start_task),
30756 (gst_pad_pause_task), (gst_pad_stop_task),
30757 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30758 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30759 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30760 (gst_ghost_pad_new):
30762 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30763 (gst_query_new_position), (gst_query_set_position),
30764 (gst_query_parse_position), (gst_query_new_convert),
30765 (gst_query_set_convert), (gst_query_parse_convert):
30767 * gst/gstqueryutils.c:
30768 * gst/gstqueryutils.h:
30769 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30770 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30771 (gst_queue_handle_src_query):
30772 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30773 (gst_element_query_position), (gst_element_query_convert),
30774 (intersect_caps_func), (gst_pad_query_position),
30775 (gst_pad_query_convert):
30777 * tools/gst-inspect.c: (print_pad_info):
30778 * tools/gst-xmlinspect.c: (print_element_info):
30779 Remove old query functions. Ported old code.
30780 Added position/convert helper functions to gstutils.
30781 Reordered gstpad.c code, grouping relevant things.
30782 Remove gst_message_new(), always need to speficy a specific
30786 2005-05-09 Andy Wingo <wingo@pobox.com>
30788 * gst/gstiterator.h: Add some includes.
30790 * gst/gstqueryutils.h: Include more headers.
30793 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30794 some uses of gst_pad_query.
30796 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30797 NULL out parameters.
30798 (gst_query_new_position): New proc, allocates a new position
30801 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30802 gstqueryutils.c to the build.
30804 * gst/gststructure.c (gst_structure_set_valist): Implement with
30805 the generic G_VALUE_COLLECT.
30807 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30809 * gst/Makefile.am: (gst_headers):
30810 Added gstqueryutils.h to the list of headers to install, that was
30811 a 'nachty' move wingo :)
30813 2005-05-06 Andy Wingo <wingo@pobox.com>
30816 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30817 GstData, init a memchunk.
30818 (standard_definitions): Add a few query types, deprecate a few.
30819 (gst_query_get_type): New proc.
30820 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30822 (gst_query_new_application, gst_query_get_structure): New public
30825 * docs/design/draft-query.txt: Removed LINKS from the query types,
30826 because all the rest can be dispatched to other pads -- seemed
30827 ugly to have a query that couldn't be dispatched. internal_links
30828 is fine as a pad method.
30830 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30831 in gstpad.c, but maintain binary compatibility for the moment.
30832 Will fix before 0.9 is out.
30834 * gst/gstqueryutils.c:
30835 * gst/gstqueryutils.h: New files, implement 3 methods for each
30836 query type: parse_query, parse_response, and set. Probably need an
30839 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30841 * gst/elements/gstfilesink.c (gst_filesink_query2):
30842 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30843 query_types, and formats methods.
30845 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30846 (gst_pad_set_query2_function): New functions.
30847 (gst_real_pad_init): Set query2_default as the default query2
30848 function. Basically just dispatches to internally linked pads.
30852 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30853 without using the atomic operations. Only one thread can possibly
30854 be accessing the data at this point. Changed so as to avoid
30855 gst_atomic operations.
30857 2005-05-06 Wim Taymans <wim@fluendo.com>
30859 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30860 Also set caps if we use the fallback buffer alloc.
30862 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30864 * docs/gst/Makefile.am:
30865 * docs/gst/gstreamer-docs.sgml:
30866 * docs/gst/gstreamer-sections.txt:
30867 * docs/gst/tmpl/gstatomic.sgml:
30868 * docs/gst/tmpl/gstmemchunk.sgml:
30869 * testsuite/elements/struct_i386.h:
30870 * win32/GStreamer.vcproj:
30872 Purge GstAtomic stuff from docs and win32 makefiles as well
30874 2005-05-06 Wim Taymans <wim@fluendo.com>
30876 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30877 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30878 * gst/gstpad.c: (gst_pad_peer_get_caps):
30879 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30880 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30881 (gst_queue_src_activate), (gst_queue_change_state):
30883 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30884 (intersect_caps_func):
30885 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30886 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30887 Some fixes for the peer_get_caps() change.
30889 2005-05-06 Wim Taymans <wim@fluendo.com>
30891 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30892 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30893 (gst_basesink_activate):
30894 Actually do something with error codes returned from the push
30897 2005-05-06 Wim Taymans <wim@fluendo.com>
30899 * docs/design/part-element-sink.txt:
30900 * docs/design/part-element-source.txt:
30901 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30902 (gst_basesink_event), (gst_basesink_activate):
30903 * gst/base/gstbasesink.h:
30904 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30905 (gst_basesrc_activate):
30906 * gst/base/gstbasesrc.h:
30907 * gst/gstelement.c: (gst_element_pads_activate):
30908 Some more documentation.
30909 Fixed scheduling decision in _pads_activate().
30911 2005-05-05 Andy Wingo <wingo@pobox.com>
30913 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30916 2005-05-05 Wim Taymans <wim@fluendo.com>
30918 * gst/base/Makefile.am:
30919 * gst/base/gstbasesink.h:
30920 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30921 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30922 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30923 (gst_collectpads_class_init), (gst_collectpads_init),
30924 (gst_collectpads_finalize), (gst_collectpads_new),
30925 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30926 (find_pad), (gst_collectpads_remove_pad),
30927 (gst_collectpads_is_active), (gst_collectpads_collect),
30928 (gst_collectpads_collect_range), (gst_collectpads_start),
30929 (gst_collectpads_stop), (gst_collectpads_peek),
30930 (gst_collectpads_pop), (gst_collectpads_available),
30931 (gst_collectpads_read), (gst_collectpads_flush),
30932 (gst_collectpads_chain):
30933 * gst/base/gstcollectpads.h:
30934 * gst/elements/Makefile.am:
30935 * gst/elements/gstelements.c:
30936 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30937 (gst_fakesink_get_times), (gst_fakesink_event),
30938 (gst_fakesink_preroll), (gst_fakesink_render):
30939 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30940 (gst_filesink_init), (gst_filesink_set_location),
30941 (gst_filesink_open_file), (gst_filesink_close_file),
30942 (gst_filesink_pad_query), (gst_filesink_event),
30943 (gst_filesink_render), (gst_filesink_change_state):
30944 * gst/elements/gstfilesink.h:
30945 Added object to help in making collect pad based elements.
30947 Make event function in sink baseclass return gboolean.
30949 2005-05-05 Wim Taymans <wim@fluendo.com>
30951 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30952 (gst_bin_get_by_name):
30954 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30955 (gst_clock_finalize):
30956 * gst/gstdata.c: (gst_data_replace):
30958 * gst/gstelement.c: (gst_element_request_pad),
30959 (gst_element_pads_activate):
30960 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30961 (gst_object_unref):
30962 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30963 (gst_pad_set_checkgetrange_function),
30964 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30965 (gst_pad_check_pull_range), (gst_pad_pull_range),
30966 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30967 (gst_pad_pause_task), (gst_pad_stop_task):
30968 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30969 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30970 Fix name lookup in GstBin.
30971 Added _data_replace() function and _buffer_replace()
30972 Use finalize method to clean up clock.
30973 Fix refcounting on request pads.
30974 Fix pad schedule mode error.
30975 Some more object refcounting debug info,
30978 2005-05-04 Andy Wingo <wingo@pobox.com>
30980 * check/Makefile.am:
30981 * docs/gst/tmpl/gstatomic.sgml:
30982 * docs/gst/tmpl/gstplugin.sgml:
30983 * gst/base/gstbasesink.c: (gst_basesink_activate):
30984 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30985 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30986 (gst_basesrc_query), (gst_basesrc_set_property),
30987 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30988 (gst_basesrc_activate):
30989 * gst/base/gstbasesrc.h:
30990 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30991 (gst_base_transform_src_activate):
30992 * gst/elements/gstelements.c:
30993 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30994 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30995 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30996 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30997 (gst_type_find_element_checkgetrange),
30998 (gst_type_find_element_activate):
30999 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
31000 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
31001 (gst_caps_load_thyself):
31002 * gst/gstelement.c: (gst_element_pads_activate),
31003 (gst_element_save_thyself), (gst_element_restore_thyself):
31004 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
31005 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
31007 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
31008 (gst_xml_parse_file), (gst_xml_parse_memory),
31009 (gst_xml_get_element), (gst_xml_make_element):
31010 * gst/indexers/gstfileindex.c: (gst_file_index_load),
31011 (_file_index_id_save_xml), (gst_file_index_commit):
31012 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
31013 (read_enum), (load_pad_template), (load_feature), (load_plugin),
31015 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
31016 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
31017 * tools/gst-complete.c: (main):
31018 * tools/gst-compprep.c: (main):
31019 * tools/gst-inspect.c: (print_element_properties_info):
31020 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
31021 * tools/gst-xmlinspect.c: (print_element_properties):
31024 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
31026 * gst/gstplugin.c: (gst_plugin_check_module),
31027 (gst_plugin_check_file), (gst_plugin_load_file):
31028 apply patch from #172526 to make register work on MacOSX
31030 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31032 * docs/gst/tmpl/gstconfig.sgml:
31033 * gst/gstconfig.h.in:
31034 move documentation for some symbols. Add doc for GST_PTR_FORMAT
31035 * testsuite/debug/printf_extension.c: (main):
31036 Do not use GST_PTR_FORMAT on pointers to types with
31037 sizeof < sizeof(gpointer). Fixes test on 64-bit
31038 * testsuite/elements/property.h:
31039 use correct printf format
31041 2005-05-02 Wim Taymans <wim@fluendo.com>
31043 * docs/design/draft-push-pull.txt:
31044 * docs/design/draft-query.txt:
31045 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31046 (gst_basesrc_start):
31047 Added draft for new query API.
31048 Added draft for better selecting scheduling methods.
31049 Make basesrc ignore length if the subclass does not support
31052 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31055 possible fixes for automake-1.5 - _LIBADD is reserved
31057 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31059 * docs/faq/Makefile.am:
31060 * docs/manual/Makefile.am:
31061 * docs/manuals.mak:
31062 * docs/pwg/Makefile.am:
31064 possible fixes for automake-1.5
31066 2005-04-28 Wim Taymans <wim@fluendo.com>
31068 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31069 (gst_basesink_pad_getcaps), (gst_basesink_init),
31070 (gst_basesink_do_sync):
31071 * gst/gstclock.c: (gst_clock_entry_new):
31072 * gst/gstevent.c: (gst_event_discont_get_value):
31073 * gst/gstpipeline.c: (pipeline_bus_handler),
31074 (gst_pipeline_change_state):
31075 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31076 Better debugging of clocking info.
31077 Allow NULL values when getting discont values.
31079 2005-04-27 Wim Taymans <wim@fluendo.com>
31081 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31082 * check/gst/gstpad.c: (gst_pad_suite):
31083 Increase timeout for checks.
31085 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31087 * check/Makefile.am:
31088 fix the broken rule for cleanup. Apparently this rule is
31089 only needed on FC2, so maybe this warrants further autotool
31092 2005-04-26 Wim Taymans <wim@fluendo.com>
31094 * gst/gsttrashstack.h:
31095 Ooohh. a nasty one! After having a failed pop() from the stack,
31096 it's possible that the stack is empty. In that case, don't
31097 follow the NULL pointer.
31099 2005-04-25 Wim Taymans <wim@fluendo.com>
31101 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31102 (gst_pad_set_checkgetrange_function),
31103 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31104 (gst_pad_check_pull_range), (gst_pad_pull_range),
31105 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31106 (gst_pad_pause_task), (gst_pad_stop_task):
31107 * gst/gstplugin.c: (gst_plugin_load):
31109 Remove gst_library_load as it does more harm than good with
31110 the new g_module flags.
31111 Revert bogus caps template check in pad linking, pad caps
31112 are important when linking not the template, which is more
31113 general than the current caps.
31115 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31117 * gst/autoplug/.cvsignore:
31118 * gst/autoplug/Makefile.am:
31119 * gst/autoplug/gstsearchfuncs.c:
31120 * gst/autoplug/gstsearchfuncs.h:
31121 * gst/autoplug/gstspider.c:
31122 * gst/autoplug/gstspider.h:
31123 * gst/autoplug/gstspideridentity.c:
31124 * gst/autoplug/gstspideridentity.h:
31125 * gst/autoplug/spidertest.c:
31128 2005-04-25 Wim Taymans <wim@fluendo.com>
31130 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31131 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31132 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31133 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31135 Added stubs for unimplemented functions.
31137 2005-04-24 David Schleef <ds@schleef.org>
31139 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31142 2005-04-24 David Schleef <ds@schleef.org>
31144 Convert everything from GstAtomicInt to g_atomic_int_*, and
31149 * gst/gstatomic_impl.h:
31157 * gst/gstdata_private.h:
31161 * gst/gstmessage.c:
31164 * gst/gststructure.c:
31165 * gst/gststructure.h:
31166 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31169 2005-04-24 David Schleef <ds@schleef.org>
31171 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31172 make the regressions tests work. Remove some code that is no
31174 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31175 Disable warning for pads without templates.
31177 2005-04-24 David Schleef <ds@schleef.org>
31179 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31180 functions that handle filtered links.
31181 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31183 * gst/gstutils.c: Fix/remove utility functions that handle
31186 * gst/gstvalue.c: Add serialization/deserialization of caps
31187 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31188 requires fixing so that the filter caps notation creates
31189 a capsfilter element and sets the filter_caps property. I
31190 think everyone probably wants to keep the shorthand notation.
31191 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31192 * docs/gst/tmpl/gstpad.sgml:
31194 * gst/elements/gstelements.c: Register capsfilter element.
31195 * gst/Makefile.am: fix spacing
31196 * docs/random/ds/0.9-suggested-changes: random
31198 2005-04-23 David Schleef <ds@schleef.org>
31200 * gst/elements/Makefile.am:
31201 * gst/elements/gstcapsfilter.c: New element that acts like an
31202 identity, but filters caps. Will eventually replace filtered
31203 caps in pad linking.
31204 * gst/gstutils.c: (gst_element_create_all_pads): New function
31205 to create all the ALWAYS pads that are registered with an
31206 element class. This functionality should eventually be
31207 merged in with GstElement initialization.
31209 * testsuite/trigger/README: part of trigger test code that should
31210 have been checked in a long time ago.
31212 2005-04-23 David Schleef <ds@schleef.org>
31214 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31215 needed with new versions of libtool (nobody will confirm this),
31216 and hard to carry around.
31217 * gst/autoplug/Makefile.am:
31218 * gst/base/Makefile.am:
31219 * gst/elements/Makefile.am:
31220 * gst/indexers/Makefile.am:
31221 * gst/schedulers/Makefile.am:
31222 * libs/gst/bytestream/Makefile.am:
31223 * libs/gst/control/Makefile.am:
31224 * libs/gst/dataprotocol/Makefile.am:
31225 * libs/gst/getbits/Makefile.am:
31227 2005-04-21 Wim Taymans <wim@fluendo.com>
31229 * docs/design/draft-push-pull.txt:
31230 * docs/design/part-MT-refcounting.txt:
31231 * docs/design/part-TODO.txt:
31232 * docs/design/part-caps.txt:
31233 * docs/design/part-events.txt:
31234 * docs/design/part-gstbus.txt:
31235 * docs/design/part-gstpipeline.txt:
31236 * docs/design/part-messages.txt:
31237 * docs/design/part-push-pull.txt:
31238 * docs/design/part-query.txt:
31241 2005-04-21 Wim Taymans <wim@fluendo.com>
31243 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31244 (gst_message_new), (gst_message_new_error),
31245 (gst_message_new_warning), (gst_message_new_tag),
31246 (gst_message_new_state_changed), (gst_message_new_application),
31247 (gst_message_get_structure):
31248 * gst/gstmessage.h:
31249 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31250 (gst_structure_copy_conditional):
31251 Use parent refcount in GstMessage to ensure GstStructure
31253 Cleaned up headers a bit.
31256 2005-04-20 Wim Taymans <wim@fluendo.com>
31258 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31259 (gst_basesink_pad_getcaps), (gst_basesink_init),
31260 (gst_basesink_chain_unlocked):
31261 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31262 (gst_type_find_helper):
31263 * gst/elements/gsttypefindelement.c:
31264 (gst_type_find_element_have_type), (gst_type_find_element_init),
31265 (stop_typefinding), (gst_type_find_element_handle_event),
31266 (find_suggest), (gst_type_find_element_chain),
31267 (gst_type_find_element_checkgetrange),
31268 (gst_type_find_element_getrange), (do_typefind),
31269 (gst_type_find_element_activate):
31270 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31271 (gst_buffer_default_free), (gst_buffer_default_copy),
31272 (gst_buffer_set_caps):
31273 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31274 (gst_caps_replace):
31275 * gst/gstmessage.c: (gst_message_new),
31276 (gst_message_new_state_changed):
31277 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31278 (gst_pad_set_checkgetrange_function),
31279 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31280 (gst_pad_set_caps), (gst_pad_check_pull_range),
31281 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31283 * gst/gsttypefind.c: (gst_type_find_register):
31284 Make gst_caps_replace() work like other _replace() functions.
31285 Use _caps_replace() where possible.
31286 Make sure _message_new() initialises its field.
31287 Add gst_static_pad_template_get_caps()
31290 2005-04-18 Andy Wingo <wingo@pobox.com>
31292 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31293 on the peer, not the pad. I think that was a typo. Pass an extra
31294 arg to see if random access is possible. Activate the pads as
31295 PULL_RANGE if possible.
31297 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31299 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31300 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31303 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31305 * docs/faq/using.xml:
31306 Add note on gstreamer-properties (#154996).
31308 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31310 * docs/random/bbb/optional-properties:
31311 Some analysis on optional properties.
31313 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31315 * docs/gst/tmpl/gstelementfactory.sgml:
31316 * gst/gstelement.h:
31317 * gst/gstelementfactory.c: (gst_element_factory_init),
31318 (gst_element_factory_cleanup), (gst_element_register),
31319 (__gst_element_factory_add_static_pad_template),
31320 (gst_element_factory_get_static_pad_templates),
31321 (gst_element_factory_can_src_caps),
31322 (gst_element_factory_can_sink_caps):
31323 * gst/registries/Makefile.am:
31324 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31325 (gst_xml_registry_class_init), (gst_xml_registry_init),
31326 (gst_xml_registry_new), (gst_xml_registry_set_property),
31327 (gst_xml_registry_get_property), (get_time), (make_dir),
31328 (gst_xml_registry_get_perms_func),
31329 (plugin_times_older_than_recurse), (plugin_times_older_than),
31330 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31331 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31332 (add_to_char_array), (read_string), (read_uint), (read_enum),
31333 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31334 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31335 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31336 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31337 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31338 (gst_xml_registry_rebuild):
31339 * gst/registries/gstlibxmlregistry.h:
31340 * tools/gst-compprep.c: (main):
31341 * tools/gst-inspect.c: (print_pad_templates_info):
31342 * tools/gst-xmlinspect.c: (print_element_info):
31343 Use libxml2 for registry parsing, use staticpadtemplates in
31344 elementfactories. Makes gst_init() +/- 10x faster.
31346 2005-04-12 Wim Taymans <wim@fluendo.com>
31348 * gst/base/Makefile.am:
31349 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31350 (gst_basesink_pad_getcaps), (gst_basesink_init),
31351 (gst_basesink_event), (gst_basesink_change_state):
31352 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31353 (gst_basesrc_init), (gst_basesrc_query),
31354 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31355 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31356 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31357 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31358 (gst_basesrc_stop), (gst_basesrc_activate),
31359 (gst_basesrc_change_state):
31360 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31361 (helper_find_suggest), (gst_type_find_helper):
31362 * gst/base/gsttypefindhelper.h:
31363 * gst/elements/Makefile.am:
31364 * gst/elements/gstelements.c:
31365 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31366 (gst_fakesink_get_times), (gst_fakesink_event),
31367 (gst_fakesink_preroll), (gst_fakesink_render):
31368 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31369 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31370 (gst_fakesrc_get_property), (gst_fakesrc_create),
31371 (gst_fakesrc_start), (gst_fakesrc_stop):
31372 * gst/elements/gstfakesrc.h:
31373 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31374 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31375 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31376 (gst_filesrc_create_read), (gst_filesrc_create),
31377 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31378 (gst_filesrc_start):
31379 * gst/elements/gsttypefindelement.c:
31380 (gst_type_find_element_have_type), (gst_type_find_element_init),
31381 (start_typefinding), (stop_typefinding), (push_buffer_store),
31382 (gst_type_find_element_handle_event),
31383 (gst_type_find_element_chain),
31384 (gst_type_find_element_checkgetrange),
31385 (gst_type_find_element_getrange), (do_typefind),
31386 (gst_type_find_element_activate),
31387 (gst_type_find_element_change_state):
31388 * gst/elements/gsttypefindelement.h:
31389 * gst/gstpipeline.c: (pipeline_bus_handler):
31390 Added typefind helper.
31391 Small preroll fix in the base sink.
31392 Disable typefind code in basesrc.
31393 Crude port of typefindelement.
31397 2005-04-11 Wim Taymans <wim@fluendo.com>
31399 * check/gst/gstbus.c: (gstbus_suite):
31400 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31401 * check/gstcheck.h:
31402 Fix up the timeout so that the test does not fail.
31404 2005-04-06 Wim Taymans <wim@fluendo.com>
31407 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31408 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31409 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31410 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31411 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31412 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31413 (gst_basesrc_stop), (gst_basesrc_activate),
31414 (gst_basesrc_change_state), (basesrc_find_peek),
31415 (basesrc_find_suggest), (gst_basesrc_type_find):
31416 * gst/base/gstbasesrc.h:
31417 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31418 (gst_filesrc_class_init), (gst_filesrc_init),
31419 (gst_filesrc_finalize), (gst_filesrc_set_location),
31420 (gst_filesrc_set_property), (gst_filesrc_get_property),
31421 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31422 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31423 (gst_filesrc_create_read), (gst_filesrc_create),
31424 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31425 * gst/elements/gstfilesrc.h:
31426 * gst/gstelement.c: (gst_element_get_state_func),
31427 (gst_element_lost_state), (gst_element_pads_activate):
31428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31429 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31430 (gst_pad_pull_range):
31432 More work on the generic source base class, implement seeking,
31434 Make filesrc extend the base source class.
31435 Added gst_pad_set_checkgetrange_function to GstPad.
31437 2005-04-06 Andy Wingo <wingo@pobox.com>
31439 * pkgconfig/gstreamer-base.pc.in:
31440 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31442 * pkgconfig/Makefile.am:
31443 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31445 2005-04-04 Wim Taymans <wim@fluendo.com>
31447 * gst/base/Makefile.am:
31449 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31450 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31451 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31452 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31453 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31454 (gst_basesrc_base_init), (gst_basesrc_class_init),
31455 (gst_basesrc_init), (gst_basesrc_get_formats),
31456 (gst_basesrc_get_query_types), (gst_basesrc_query),
31457 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31458 (gst_basesrc_set_property), (gst_basesrc_get_property),
31459 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31460 (gst_basesrc_loop), (gst_basesrc_activate),
31461 (gst_basesrc_change_state):
31462 * gst/base/gstbasesrc.h:
31463 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31464 (gst_fakesrc_class_init), (gst_fakesrc_init),
31465 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31466 (gst_fakesrc_get_property), (gst_fakesrc_create):
31467 * gst/elements/gstfakesrc.h:
31468 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31469 (gst_filesrc_open_file), (gst_filesrc_loop),
31470 (gst_filesrc_activate), (filesrc_find_peek),
31471 (gst_filesrc_type_find):
31472 Made base source class, make fakesrc extend it.
31473 Add comments to basesink class.
31474 Some filesrc cleanup.
31476 2005-03-31 David Schleef <ds@schleef.org>
31478 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31479 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31480 expected to link against libgstreamer.
31481 * gst/base/Makefile.am: link against libgstreamer
31482 * gst/elements/Makefile.am: same
31484 2005-03-31 Andy Wingo <wingo@pobox.com>
31486 * tests/instantiate/Makefile.am:
31487 * tests/instantiate/caps.c: Add test to test speed of caps copy
31490 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31491 GMemChunk to be fair.
31493 * gst/gsttrashstack.h: Remove warning about using the fallback
31494 trash stack implementation, it's still faster than malloc.
31496 2005-03-30 Andy Wingo <wingo@pobox.com>
31498 * tests/complexity.c: Add a copyright.
31500 2005-03-31 Wim Taymans <wim@fluendo.com>
31502 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31503 (gst_base_transform_class_init), (gst_base_transform_init),
31504 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31505 (gst_base_transform_get_property),
31506 (gst_base_transform_sink_activate),
31507 (gst_base_transform_src_activate),
31508 (gst_base_transform_change_state):
31509 * gst/base/gstbasetransform.h:
31510 * gst/elements/gstidentity.c: (gst_identity_class_init),
31511 (gst_identity_event), (gst_identity_check_perfect),
31512 (gst_identity_transform), (gst_identity_start),
31513 (gst_identity_stop):
31514 Added start/stop methods to transform base class so subclasses
31515 don't need to deal with state changes even.
31517 2005-03-31 Wim Taymans <wim@fluendo.com>
31519 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31520 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31522 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31523 (gst_pad_pull_range):
31524 Added rate to the discont event to prepare for variable speed
31525 and reverse playback.
31527 2005-03-29 David Schleef <ds@schleef.org>
31530 * testsuite/trigger/Makefile.am:
31531 * testsuite/trigger/trigger.c: A little example program to show
31532 how trigger-based elements can work.
31534 2005-03-29 Wim Taymans <wim@fluendo.com>
31536 * gst/base/Makefile.am:
31538 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31539 (gst_basesink_base_init), (gst_basesink_class_init),
31540 (gst_basesink_pad_getcaps), (gst_basesink_init),
31541 (gst_basesink_activate), (gst_basesink_change_state):
31542 * gst/base/gstbasesink.h:
31543 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31544 (gst_base_transform_base_init), (gst_base_transform_finalize),
31545 (gst_base_transform_class_init), (gst_base_transform_init),
31546 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31547 (gst_base_transform_event), (gst_base_transform_getrange),
31548 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31549 (gst_base_transform_set_property),
31550 (gst_base_transform_get_property),
31551 (gst_base_transform_sink_activate),
31552 (gst_base_transform_src_activate),
31553 (gst_base_transform_change_state):
31554 * gst/base/gstbasetransform.h:
31555 * gst/elements/gstidentity.c: (gst_identity_finalize),
31556 (gst_identity_class_init), (gst_identity_init),
31557 (gst_identity_event), (gst_identity_check_perfect),
31558 (gst_identity_transform), (gst_identity_set_property),
31559 (gst_identity_get_property), (gst_identity_change_state):
31560 * gst/elements/gstidentity.h:
31561 * gst/gstelement.c: (gst_element_get_state_func),
31562 (gst_element_lost_state), (gst_element_pads_activate):
31563 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31564 (gst_pad_check_pull_range), (gst_pad_pull_range):
31566 Simplify pad activation.
31567 Added function to check if pull_range can be performed.
31568 Error out when pulling inactive or flushing pads.
31569 Removed const from refcounted types as it does not make sense.
31570 Simplify pad templates in basesink
31571 Added base class for simple 1-to-1 transforms.
31572 Make identity subclass the base transform.
31574 2005-03-29 Andy Wingo <wingo@pobox.com>
31576 * docs/libs/gstreamer-libs-overrides.txt:
31577 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31578 really don't understand what's going on, but like whatever. I want
31581 * docs/gst/Makefile.am:
31582 * docs/libs/Makefile.am: Dist the overrides files.
31584 * check/Makefile.am (clean-local): Remove .libs directories.
31586 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31587 elements to EXTRA_DIST, so po/ files are happy.
31589 * po/POTFILES.in: Er, remove it here.
31591 * po/POTFILES: Remove gstspider.c.
31593 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31595 * docs/libs/gstreamer-libs-docs.sgml:
31596 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31599 * tests/complexity.c (main): Set the length of the preroll queue
31600 on the sinks to prevent a lockup.
31602 * libs/gst/dataprotocol/Makefile.am:
31603 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31604 the same as the one in check/gst-libs/gdp.c.
31606 * po/, docs/gst/: Commit automatic changes to docs and po files.
31608 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31609 the versioned libgstbase.
31611 * check/Makefile.am: Depend on an unversioned gst-register, seems
31612 to make autoconf happier.
31614 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31616 2005-03-28 Wim Taymans <wim@fluendo.com>
31619 * docs/design/part-gstelement.txt:
31620 * docs/design/part-negotiation.txt:
31621 * docs/design/part-preroll.txt:
31622 * docs/design/part-scheduling.txt:
31623 * docs/design/part-states.txt:
31625 * gst/base/Makefile.am:
31627 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31628 (gst_basesink_base_init), (gst_basesink_class_init),
31629 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31630 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31631 (gst_basesink_set_pad_functions),
31632 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31633 (gst_basesink_set_property), (gst_basesink_get_property),
31634 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31635 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31636 (gst_basesink_preroll_queue_push),
31637 (gst_basesink_preroll_queue_empty),
31638 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31639 (gst_basesink_event), (gst_basesink_get_times),
31640 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31641 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31642 (gst_basesink_loop), (gst_basesink_activate),
31643 (gst_basesink_change_state):
31644 * gst/base/gstbasesink.h:
31645 * gst/elements/Makefile.am:
31646 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31647 (gst_fakesink_class_init), (gst_fakesink_init),
31648 (gst_fakesink_set_property), (gst_fakesink_get_property),
31649 (gst_fakesink_get_times), (gst_fakesink_event),
31650 (gst_fakesink_preroll), (gst_fakesink_render),
31651 (gst_fakesink_change_state):
31652 * gst/elements/gstfakesink.h:
31653 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31654 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31655 * gst/gstelement.c: (gst_element_add_pad),
31656 (gst_element_get_state_func), (gst_element_abort_state),
31657 (gst_element_commit_state), (gst_element_lost_state),
31658 (gst_element_set_state), (gst_element_pads_activate):
31659 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31660 * gst/gstpipeline.c: (gst_pipeline_send_event),
31661 (gst_pipeline_change_state):
31662 Added state change code.
31663 Added/updated docs.
31664 Added sink base class, make fakesink extend the base class.
31665 Small cleanups in GstPipeline.
31667 2005-03-26 David Schleef <ds@schleef.org>
31669 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31670 is broken and should be implemented in a different library.
31671 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31672 * gst/gst.h: remove gstcpu.h
31673 * gst/gstcpu.c: remove
31674 * gst/gstcpu.h: remove
31675 * gst/Makefile.am.future: Remove this file. It's ancient.
31677 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31679 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31680 (gst_bin_send_event):
31681 Add default event/set_manager handlers. The set_manager handler
31682 takes care that the manager is distributed over kids that were
31683 already in the bin before the manager was set. The event handler
31684 is a utility virtual function that sends the event over all sinks,
31685 so that gst_element_send_event (bin, event); has the expected
31687 * gst/gstpad.c: (gst_pad_event_default):
31688 Re-install default event handling for discontinuities, so that
31689 seeking works without requiring hacks in applications or extra
31691 * gst/gstpipeline.c: (gst_pipeline_class_init),
31692 (gst_pipeline_send_event):
31693 Half hack, half utility: set a pipeline to PAUSED for seek events,
31694 since that is the only way we can guarantee a/v sync. Means that
31695 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31696 and it "just works".
31698 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31700 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31701 Lock/unlock mismatch.
31703 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31705 * docs/faq/gst-uninstalled:
31706 add gst-plugins-base
31707 * docs/gst/Makefile.am:
31708 don't error out until docs are fixed
31709 * docs/gst/gstreamer.types:
31712 2005-03-22 Wim Taymans <wim@fluendo.com>
31714 * check/Makefile.am:
31715 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31716 * gst/gststructure.c: (gst_structure_set_valist),
31717 (gst_structure_copy_conditional):
31718 Activated more tests.
31719 Added message test.
31720 Added G_TYPE_POINTER to GstStructure.
31723 2005-03-22 Wim Taymans <wim@fluendo.com>
31725 * docs/design/part-TODO.txt:
31726 * docs/design/part-events.txt:
31727 * docs/design/part-gstbin.txt:
31728 * docs/design/part-gstbus.txt:
31729 * docs/design/part-gstpipeline.txt:
31730 * docs/design/part-messages.txt:
31732 * gst/gstmessage.c:
31735 2005-03-21 Wim Taymans <wim@fluendo.com>
31737 * gst/gstbus.c: (gst_bus_post):
31738 Fix copy-and-paste error.
31740 2005-03-21 Wim Taymans <wim@fluendo.com>
31742 * check/Makefile.am:
31744 * gst/elements/Makefile.am:
31745 * gst/elements/gstelements.c:
31746 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31747 (gst_fakesink_event), (gst_fakesink_chain):
31748 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31749 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31750 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31751 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31752 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31753 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31754 (gst_fakesrc_loop), (gst_fakesrc_activate),
31755 (gst_fakesrc_change_state):
31756 * gst/elements/gstfakesrc.h:
31757 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31758 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31759 (gst_filesrc_open_file), (gst_filesrc_loop),
31760 (gst_filesrc_activate), (gst_filesrc_change_state),
31761 (filesrc_find_peek), (filesrc_find_suggest),
31762 (gst_filesrc_type_find):
31763 * gst/elements/gstidentity.c: (gst_identity_finalize),
31764 (gst_identity_class_init), (gst_identity_init),
31765 (gst_identity_proxy_getcaps), (identity_queue_push),
31766 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31767 (gst_identity_getrange), (gst_identity_chain),
31768 (gst_identity_sink_loop), (gst_identity_src_loop),
31769 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31770 (gst_identity_set_property), (gst_identity_get_property),
31771 (gst_identity_change_state):
31772 * gst/elements/gstidentity.h:
31773 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31774 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31775 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31776 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31777 (gst_tee_sink_activate):
31778 * gst/elements/gsttee.h:
31779 * gst/gst.c: (gst_register_core_elements), (init_post):
31781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31782 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31783 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31784 (gst_bin_change_state):
31786 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31787 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31788 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31789 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31790 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31791 (bus_watch_callback), (bus_watch_destroy),
31792 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31793 (poll_timeout), (gst_bus_poll):
31797 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31798 (gst_element_post_message), (gst_element_message_full),
31799 (gst_element_get_state_func), (gst_element_get_state),
31800 (gst_element_abort_state), (gst_element_commit_state),
31801 (gst_element_lost_state), (gst_element_set_state),
31802 (gst_element_pads_activate), (gst_element_change_state),
31803 (gst_element_dispose), (gst_element_set_manager_func),
31804 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31805 (gst_element_set_manager), (gst_element_get_manager),
31806 (gst_element_set_bus), (gst_element_get_bus),
31807 (gst_element_set_scheduler), (gst_element_get_scheduler):
31808 * gst/gstelement.h:
31809 * gst/gstevent.c: (gst_event_new_segment_seek),
31810 (gst_event_new_flush):
31812 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31813 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31814 (gst_message_new_eos), (gst_message_new_error),
31815 (gst_message_new_warning), (gst_message_new_tag),
31816 (gst_message_new_state_changed), (gst_message_new_application),
31817 (gst_message_get_structure), (gst_message_parse_tag),
31818 (gst_message_parse_state_changed), (gst_message_parse_error),
31819 (gst_message_parse_warning):
31820 * gst/gstmessage.h:
31821 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31822 (gst_real_pad_set_property), (gst_pad_set_active),
31823 (gst_pad_is_active), (gst_pad_set_blocked_async),
31824 (gst_pad_set_blocked), (gst_pad_is_blocked),
31825 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31826 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31827 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31828 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31829 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31830 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31831 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31832 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31833 (gst_pad_set_caps), (gst_pad_configure_sink),
31834 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31835 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31836 (gst_real_pad_dispose), (gst_real_pad_finalize),
31837 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31838 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31839 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31841 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31842 (pipeline_bus_handler), (gst_pipeline_change_state),
31843 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31844 * gst/gstpipeline.h:
31846 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31847 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31848 (gst_queue_link_src), (gst_queue_bufferalloc),
31849 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31850 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31851 (gst_queue_loop), (gst_queue_handle_src_event),
31852 (gst_queue_handle_src_query), (gst_queue_src_activate),
31853 (gst_queue_change_state):
31855 * gst/gstscheduler.c: (gst_scheduler_init),
31856 (gst_scheduler_dispose), (gst_scheduler_create_task),
31857 (gst_scheduler_factory_create):
31858 * gst/gstscheduler.h:
31859 * gst/gststructure.c: (gst_structure_get_type),
31860 (gst_structure_copy_conditional):
31861 * gst/gststructure.h:
31862 * gst/gsttaginterface.h:
31863 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31864 (gst_task_init), (gst_task_dispose), (gst_task_create),
31865 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31871 * gst/schedulers/Makefile.am:
31872 * gst/schedulers/cothreads_compat.h:
31873 * gst/schedulers/entryscheduler.c:
31874 * gst/schedulers/faircothreads.c:
31875 * gst/schedulers/faircothreads.h:
31876 * gst/schedulers/fairscheduler.c:
31877 * gst/schedulers/gstbasicscheduler.c:
31878 * gst/schedulers/gstoptimalscheduler.c:
31879 * gst/schedulers/gthread-cothreads.h:
31880 * gst/schedulers/threadscheduler.c:
31881 (gst_thread_scheduler_task_get_type),
31882 (gst_thread_scheduler_task_class_init),
31883 (gst_thread_scheduler_task_init),
31884 (gst_thread_scheduler_task_start),
31885 (gst_thread_scheduler_task_stop),
31886 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31887 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31888 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31889 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31891 * libs/gst/Makefile.am:
31892 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31893 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31894 (gst_file_pad_parent_set):
31895 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31896 (gst_dp_event_from_packet):
31897 * tests/complexity.c: (main):
31898 * tests/mass_elements.c: (main):
31899 * testsuite/states/locked.c: (message_received), (main):
31900 * testsuite/states/parent.c: (main):
31901 * tools/gst-inspect.c: (print_element_flag_info),
31902 (print_implementation_info), (print_pad_info):
31903 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31905 * tools/gst-md5sum.c: (event_loop), (main):
31906 * tools/gst-typefind.c: (main):
31907 * tools/gst-xmlinspect.c: (print_element_info):
31909 Added GstBus for mainloop integration.
31910 Added GstMessage for sending notifications on the bus.
31911 Added GstTask as an abstraction for pipeline entry points.
31913 Removed Schedulers.
31914 Simplified GstQueue for multithreaded core.
31915 Made _link threadsafe, removed old capsnego.
31916 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31917 Added pad blocking functions.
31918 Reworked scheduling functions in GstPad to prepare for
31919 scheduling updates soon.
31920 Moved events out of data stream.
31921 Simplified GstEvent types.
31922 Added return values to push/pull.
31923 Removed clocking from GstElement.
31924 Added prototypes for state change function for next merge.
31925 Removed iterate from bins and state change management.
31926 Fixed some elements, disabled others for now.
31927 Fixed -inspect and -launch.
31928 Added check for GstBus.
31930 2005-03-10 Wim Taymans <wim@fluendo.com>
31932 * docs/design/part-MT-refcounting.txt:
31933 * docs/design/part-clocks.txt:
31934 * docs/design/part-gstelement.txt:
31935 * docs/design/part-gstobject.txt:
31936 * docs/design/part-standards.txt:
31937 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31938 (gst_bin_remove_func), (gst_bin_remove):
31942 * testsuite/clock/clock1.c: (main):
31943 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31945 * testsuite/dlopen/loadgst.c: (do_test):
31946 * testsuite/refcounting/bin.c: (add_remove_test1),
31947 (add_remove_test2), (main):
31948 * testsuite/refcounting/element.c: (main):
31949 * testsuite/refcounting/element_pad.c: (main):
31950 * testsuite/refcounting/pad.c: (main):
31951 * tools/gst-launch.c: (sigint_handler_sighandler):
31952 * tools/gst-typefind.c: (main):
31954 Added doc about clock.
31955 removed gst_bin_iterate_recurse_up(), marked methods
31957 Fix more testsuites.
31959 2005-03-09 Wim Taymans <wim@fluendo.com>
31961 * gst/gstpad.c: (gst_pad_get_direction),
31962 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31963 (gst_pad_collect_valist):
31964 * testsuite/bins/interface.c: (main):
31965 * testsuite/caps/audioscale.c: (test_caps):
31966 * testsuite/caps/caps.c: (test1), (test2), (test3):
31967 * testsuite/caps/deserialize.c: (main):
31968 * testsuite/caps/enumcaps.c: (main):
31969 * testsuite/caps/filtercaps.c: (main):
31970 * testsuite/caps/intersect2.c: (main):
31971 * testsuite/caps/random.c: (main):
31972 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31973 * testsuite/caps/sets.c: (check_caps):
31974 * testsuite/caps/simplify.c: (check_caps), (main):
31975 * testsuite/caps/subtract.c: (check_caps):
31976 Fix _pad_get_direction wrt ghostpads.
31977 Fix caps testsuite.
31979 2005-03-09 Wim Taymans <wim@fluendo.com>
31981 * check/Makefile.am:
31982 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31983 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31984 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31985 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31986 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31987 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31988 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31989 (bin_element_is_sink), (gst_bin_iterate_sinks),
31990 (gst_bin_iterate_all_by_interface):
31992 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31993 (gst_element_change_state), (gst_element_dispose),
31994 (gst_element_finalize), (gst_element_set_loop_function):
31995 * gst/gstelement.h:
31996 * gst/gstiterator.c: (find_custom_fold_func):
31997 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31998 (gst_pad_collectv), (gst_pad_collect_valist),
31999 (gst_pad_template_new):
32000 * gst/gstpipeline.c: (gst_pipeline_class_init),
32001 (gst_pipeline_dispose), (gst_pipeline_set_property),
32002 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
32003 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
32004 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
32006 * gst/schedulers/entryscheduler.c:
32007 * gst/schedulers/gstbasicscheduler.c:
32008 (gst_basic_scheduler_cothreaded_chain),
32009 (gst_basic_scheduler_chain_add_element):
32010 * testsuite/bins/interface.c: (main):
32012 Added GstSystemClock test.
32013 Implemented clock distribution code in GstBin.
32014 Implemented iterate sinks method for future use.
32015 Rearranged gstelement.h
32016 Fix GstIterator comparison bug.
32017 Moved some code to GstPipeline, mostly clocking related.
32019 2005-03-09 Wim Taymans <wim@fluendo.com>
32022 * gst/gst_private.h:
32023 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32024 (gst_bin_remove_func), (gst_bin_remove),
32025 (gst_bin_get_by_name_recurse_up):
32026 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32027 (gst_clock_id_compare_func), (gst_clock_id_wait),
32028 (gst_clock_id_wait_async), (gst_clock_init),
32029 (gst_clock_adjust_unlocked), (gst_clock_get_time):
32030 * gst/gstelement.h:
32031 * gst/gstinfo.c: (_gst_debug_init):
32033 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32034 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32036 Bump version number, we're now 0.9.0
32037 Add future debugging category.
32038 Fix NULL _unref() in _get_by_name_recurse_up
32039 Rearrange gstpad.h.
32042 2005-03-08 Wim Taymans <wim@fluendo.com>
32044 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32045 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32046 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32047 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32048 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32049 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32050 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32051 * gst/elements/gstidentity.c: (gst_identity_class_init):
32052 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32053 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32054 * gst/elements/gstshaper.c: (gst_shaper_class_init):
32055 * gst/elements/gststatistics.c: (gst_statistics_class_init):
32056 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32058 * gst/gstelement.c: (gst_element_class_init),
32059 (gst_element_base_class_init), (gst_element_init),
32060 (gst_element_get_random_pad), (gst_element_wait_state_change),
32061 (gst_element_change_state), (gst_element_dispose),
32062 (gst_element_finalize), (gst_element_set_loop_function):
32063 * gst/gstelement.h:
32064 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32065 * gst/gstthread.c: (gst_thread_class_init),
32066 (gst_thread_release_children_locks), (gst_thread_change_state):
32067 * gst/schedulers/gstbasicscheduler.c:
32068 (gst_basic_scheduler_loopfunc_wrapper),
32069 (gst_basic_scheduler_chain_wrapper),
32070 (gst_basic_scheduler_src_wrapper),
32071 (gst_basic_scheduler_remove_element):
32072 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32073 Remove threadsafe properties. Fix elements because GObject
32074 complains when installing a property before declaring a
32075 set/get_property handler.
32076 Rearrange gstelement.h file, use STATE macros for state locks.
32077 Free mutexes in the finalize method instead of dispose.
32079 2005-03-08 Wim Taymans <wim@fluendo.com>
32081 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32082 * gst/gstthread.c: (gst_thread_release_children_locks):
32083 Added parentage check.
32084 Fix build og GstThread again.
32086 2005-03-08 Wim Taymans <wim@fluendo.com>
32088 * docs/design/part-MT-refcounting.txt:
32089 * docs/design/part-conventions.txt:
32090 * docs/design/part-gstobject.txt:
32091 * docs/design/part-relations.txt:
32092 * docs/design/part-standards.txt:
32093 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32094 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32095 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32096 (gst_bin_iterate_all_by_interface):
32099 * gst/gstelement.c: (gst_element_class_init),
32100 (gst_element_change_state), (gst_element_set_loop_function):
32101 * gst/gstelement.h:
32102 * gst/gstiterator.c:
32103 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32104 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32105 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32106 (gst_object_set_parent), (gst_object_unparent),
32107 (gst_object_check_uniqueness):
32109 Docs updates, clean up some headers.
32111 2005-03-07 Wim Taymans <wim@fluendo.com>
32113 * check/.cvsignore:
32114 * check/Makefile.am:
32115 * check/gst-libs/.cvsignore:
32116 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32117 * check/gst/.cvsignore:
32118 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32119 (START_TEST), (gstbus_suite), (main):
32120 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32121 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32122 (gst_data_suite), (main):
32123 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32124 (add_fold_func), (gstiterator_suite), (main):
32125 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32126 (thread_name_object), (thread_name_object_default),
32127 (gst_object_name_compare), (gst_object_suite), (main):
32128 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32129 (gst_pad_suite), (main):
32130 * check/gstcheck.c: (gst_check_log_message_func),
32131 (gst_check_log_critical_func), (gst_check_init):
32132 * check/gstcheck.h:
32133 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32134 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32137 2005-03-07 Wim Taymans <wim@fluendo.com>
32139 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32140 (gst_list_iterator_next), (gst_list_iterator_resync),
32141 (gst_list_iterator_free), (gst_iterator_new_list),
32142 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32143 (gst_iterator_free), (gst_iterator_push), (filter_next),
32144 (filter_resync), (filter_uninit), (filter_free),
32145 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32146 (gst_iterator_foreach), (find_custom_fold_func),
32147 (gst_iterator_find_custom):
32148 * gst/gstiterator.h:
32149 Added missing files.
32151 2005-03-07 Wim Taymans <wim@fluendo.com>
32155 * docs/design/part-MT-refcounting.txt:
32156 * docs/design/part-conventions.txt:
32157 * docs/design/part-gstobject.txt:
32158 * docs/design/part-relations.txt:
32159 * examples/mixer/mixer.c: (main):
32160 * examples/thread/thread.c: (eos), (main):
32162 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32163 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32164 (gst_spider_plug_from_srcpad):
32165 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32166 (gst_spider_identity_change_state),
32167 (gst_spider_identity_sink_loop_type_finding):
32168 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32169 * gst/elements/gstidentity.c: (gst_identity_init):
32170 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32171 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32172 * gst/elements/gsttypefindelement.c: (free_entry):
32175 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32176 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32177 (gst_bin_set_index), (gst_bin_set_element_sched),
32178 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32179 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32180 (gst_bin_iterate_elements), (iterate_child_recurse),
32181 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32182 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32183 (compare_interface), (gst_bin_get_by_interface),
32184 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32186 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32187 (gst_buffer_default_free), (gst_buffer_default_copy),
32188 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32189 (gst_buffer_create_sub):
32191 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32192 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32193 (gst_caps_unref), (gst_static_caps_get),
32194 (gst_caps_remove_and_get_structure), (gst_caps_append),
32195 (gst_caps_append_structure), (gst_caps_remove_structure),
32196 (gst_caps_copy_nth), (gst_caps_set_simple),
32197 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32198 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32199 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32200 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32201 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32202 (gst_caps_structure_figure_out_union),
32203 (gst_caps_switch_structures), (gst_caps_do_simplify),
32204 (gst_caps_replace), (gst_caps_from_string),
32205 (gst_caps_copy_conditional):
32207 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32208 (_gst_clock_id_free), (gst_clock_id_unref),
32209 (gst_clock_id_compare_func), (gst_clock_id_wait),
32210 (gst_clock_id_wait_async), (gst_clock_class_init),
32211 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32212 (gst_clock_get_time), (gst_clock_set_time_adjust),
32213 (gst_clock_set_property), (gst_clock_get_property):
32216 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32217 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32219 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32220 (gst_element_requires_clock), (gst_element_provides_clock),
32221 (gst_element_set_clock), (gst_element_clock_wait),
32222 (gst_element_wait), (gst_element_set_time_delay),
32223 (gst_element_is_indexable), (gst_element_add_pad),
32224 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32225 (pad_compare_name), (gst_element_get_static_pad),
32226 (gst_element_request_pad), (gst_element_get_request_pad),
32227 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32228 (gst_element_class_get_pad_template_list),
32229 (gst_element_class_get_pad_template), (gst_element_error_func),
32230 (gst_element_get_random_pad), (gst_element_get_event_masks),
32231 (gst_element_send_event), (gst_element_seek),
32232 (gst_element_get_query_types), (gst_element_query),
32233 (gst_element_get_formats), (gst_element_convert),
32234 (gst_element_is_locked_state), (gst_element_set_locked_state),
32235 (gst_element_sync_state_with_parent), (gst_element_change_state),
32236 (gst_element_finalize), (gst_element_yield),
32237 (gst_element_interrupt), (gst_element_set_scheduler),
32238 (gst_element_get_scheduler), (gst_element_set_loop_function):
32239 * gst/gstelement.h:
32241 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32242 (gst_format_get_by_nick), (gst_format_get_details),
32243 (gst_format_iterate_definitions):
32245 * gst/gstindex.c: (gst_index_gtype_resolver):
32248 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32249 (gst_mem_chunk_free):
32250 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32251 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32252 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32253 (gst_object_dispatch_properties_changed),
32254 (gst_object_set_name_default), (gst_object_set_name),
32255 (gst_object_get_name), (gst_object_set_name_prefix),
32256 (gst_object_get_name_prefix), (gst_object_set_parent),
32257 (gst_object_get_parent), (gst_object_unparent),
32258 (gst_object_check_uniqueness), (gst_object_save_thyself),
32259 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32260 (gst_object_set_property), (gst_object_get_property),
32261 (gst_object_get_path_string):
32263 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32264 (gst_real_pad_init), (gst_real_pad_get_property),
32265 (gst_pad_custom_new), (gst_pad_get_direction),
32266 (gst_pad_set_active), (gst_pad_is_active),
32267 (gst_pad_set_event_function), (gst_pad_is_linked),
32268 (gst_pad_link_free), (gst_pad_link_intersect),
32269 (gst_pad_link_fixate), (gst_pad_set_caps),
32270 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32271 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32272 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32273 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32274 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32275 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32276 (gst_pad_realize), (gst_pad_get_allowed_caps),
32277 (gst_real_pad_dispose), (gst_real_pad_finalize),
32278 (gst_pad_collectv), (gst_pad_collect_valist),
32279 (gst_pad_template_dispose), (gst_pad_template_new),
32280 (gst_pad_get_internal_links):
32282 * gst/gstpipeline.c: (gst_pipeline_dispose),
32283 (gst_pipeline_change_state):
32284 * gst/gstpipeline.h:
32286 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32287 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32288 * gst/gstpluginfeature.h:
32289 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32290 * gst/gstquery.c: (_gst_query_type_initialize),
32291 (gst_query_type_register), (gst_query_type_get_by_nick),
32292 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32294 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32295 * gst/gstscheduler.c: (gst_scheduler_add_element),
32296 (gst_scheduler_factory_create):
32297 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32298 (gst_structure_free), (gst_structure_set_name),
32299 (gst_structure_id_set_value), (gst_structure_set_value),
32300 (gst_structure_set_valist), (gst_structure_remove_field),
32301 (gst_structure_remove_fields),
32302 (gst_structure_remove_fields_valist),
32303 (gst_structure_remove_all_fields), (gst_structure_foreach),
32304 (gst_structure_map_in_place),
32305 (gst_caps_structure_fixate_field_nearest_int),
32306 (gst_caps_structure_fixate_field_nearest_double):
32307 * gst/gststructure.h:
32308 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32309 (gst_system_clock_init), (gst_system_clock_dispose),
32310 (gst_system_clock_async_thread),
32311 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32312 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32313 * gst/gstsystemclock.h:
32314 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32315 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32316 * gst/gsttaginterface.c:
32317 * gst/gstthread.c: (gst_thread_dispose),
32318 (gst_thread_release_children_locks), (gst_thread_change_state),
32319 (gst_thread_main_loop):
32320 * gst/gsttrashstack.h:
32321 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32323 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32324 (gst_element_request_pad), (gst_element_get_pad_from_template),
32325 (gst_element_request_compatible_pad),
32326 (gst_element_get_compatible_pad_filtered),
32327 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32328 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32329 (gst_element_link_many), (gst_element_link),
32330 (gst_element_link_pads), (gst_element_unlink_pads),
32331 (gst_element_unlink_many), (gst_element_unlink),
32332 (gst_pad_can_link_filtered), (gst_pad_can_link),
32333 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32334 (gst_object_default_error), (gst_bin_add_many),
32335 (gst_bin_remove_many), (gst_element_populate_std_props),
32336 (gst_element_class_install_std_props), (gst_buffer_merge),
32337 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32338 (link_fold_func), (gst_pad_proxy_setcaps):
32340 * gst/gstvalue.c: (gst_value_deserialize_string):
32341 * gst/parse/grammar.y:
32342 * gst/schedulers/gstbasicscheduler.c:
32343 (gst_basic_scheduler_cothreaded_chain),
32344 (gst_basic_scheduler_chain_recursive_add),
32345 (gst_basic_scheduler_pad_link):
32346 * gst/schedulers/gstoptimalscheduler.c:
32347 (get_group_schedule_function),
32348 (gst_opt_scheduler_state_transition),
32349 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32350 * libs/gst/bytestream/bytestream.c:
32351 * libs/gst/dataprotocol/dataprotocol.c:
32352 (gst_dp_header_from_buffer):
32355 * tests/threadstate/threadstate2.c: (eos):
32356 * tools/gst-compprep.c: (main):
32357 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32358 (print_pad_info), (print_children_info):
32359 * tools/gst-launch.c: (idle_func), (main):
32360 * tools/gst-md5sum.c: (idle_func), (main):
32361 * tools/gst-xmlinspect.c: (print_element_info):
32362 First THREADED backport attempt, focusing on adding locks and
32363 making sure the API is threadsafe. Needs more work. More docs
32366 2005-02-24 Andy Wingo <wingo@pobox.com>
32368 * tests/bench-complexity.scm:
32369 * tests/complexity.gnuplot: New files, good for running complexity
32372 * tests/Makefile.am:
32373 * tests/complexity.c: New test, sets up N elements, at each level
32374 teeing into M streams per element. Eeeenteresting.
32376 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32377 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32378 running bench-mass_elements.scm.
32380 * tests/bench-mass_elements.scm: New script, runs mass_elements
32381 for various numbers of identities, outputting the results to a
32382 file. Requires guile 1.6. Just for testing.
32384 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32386 * gst/schedulers/fairscheduler.c:
32387 compile with debug disabled
32389 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32392 hunting season on 0.9 is now OPEN