1 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * docs/gst/gstreamer-sections.txt::
4 * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
5 * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
6 (gst_plugin_class_init), (gst_plugin_list_free),
7 (gst_plugin_ext_dep_get_env_vars_hash),
8 (_priv_plugin_deps_env_vars_changed),
9 (gst_plugin_ext_dep_extract_env_vars_paths),
10 (gst_plugin_ext_dep_get_hash_from_stat_entry),
11 (gst_plugin_ext_dep_direntry_matches),
12 (gst_plugin_ext_dep_scan_dir_and_match_names),
13 (gst_plugin_ext_dep_scan_path_with_filenames),
14 (gst_plugin_ext_dep_get_stat_hash),
15 (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
16 (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
17 (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
18 * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
19 (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
20 (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
21 (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
22 (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
23 (GstPluginDependencyFlags), (GstPluginFilter):
24 * gst/gstregistry.c: (gst_registry_scan_path_level):
25 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
26 (gst_registry_binary_save_plugin_dep),
27 (gst_registry_binary_save_plugin),
28 (gst_registry_binary_load_feature),
29 (gst_registry_binary_load_plugin_dep_strv),
30 (gst_registry_binary_load_plugin_dep),
31 (gst_registry_binary_load_plugin):
32 * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
33 (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
34 * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
35 Add API for making a GStreamer plugin 'dependent' on external files,
36 directories or environment variables, so that GStreamer knows when
37 it needs to re-load GStreamer plugins that wrap other plugin systems.
39 API: add gst_plugin_add_dependency()
40 API: add gst_plugin_add_dependency_simple()
42 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
44 * docs/faq/gst-uninstalled:
45 Add libgstapp-0.10 from -base to search path and remove the old
46 lib from -bad from the search path.
48 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
50 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
51 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
52 Release the object lock before calling the query convert pad functions
55 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
57 * gst/gstbus.c: (gst_bus_wakeup_main_context):
58 The lock order should be maincontext > OBJECT_LOCK so we need to release
59 the object lock when waking up the mainloop to avoid deadlocks.
61 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
63 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
64 (gst_bin_change_state_func):
65 Use an iterator to set the clock and the index so that we can release
66 the object lock appropriately. Fixes #566393.
68 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
70 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
71 Use the name of the pads instead of a pointer, helps in debugging.
73 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
75 * gst/gstindex.c: (gst_index_get_type):
76 Add a debugging category for GstIndex, first little step in making
79 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
81 * gst/gstelement.c: (gst_element_message_full),
82 (gst_element_pads_activate):
83 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
84 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
85 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
86 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
87 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
88 Assign debug statements to relevant categories instead of the 'default'
89 category so they don't get lost in debugging.
91 2009-01-01 Stefan Kost <ensonic@users.sf.net>
93 * gst/gstdebugutils.c:
94 Add some ideas, how to make the graph smaller.
97 Add a comment from a debug session.
99 * libs/gst/base/gstbasetransform.c:
102 * libs/gst/controller/gstinterpolationcontrolsource.c:
105 * plugins/elements/gstcapsfilter.c:
108 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
110 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
111 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
112 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
113 (gst_bus_create_watch):
114 Make GstBusSource work with non-default main contexts (#562170).
116 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
117 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
118 Add test case for GstBusSource with a non-default main context.
120 * tests/check/libs/.cvsignore:
123 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
125 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
127 Wrap multi-line macros in G_STMT_{START|END}.
129 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
131 * docs/gst/gstreamer-sections.txt:
134 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
135 (gst_query_parse_uri):
137 API: Add URI query type. This is useful to query the URI
138 of a sink/source element and can be used by demuxers that
139 need to get data from other files.
140 This query should go upstream by default.
142 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
143 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
145 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
146 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
147 (gst_file_src_query):
150 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
153 * tests/check/gst/gstghostpad.c:
154 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
155 That would cause the ghostpad to emit notify::caps two times (fist
156 from gst_pad_set_caps() and after from on_src_target_notify()).
158 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
160 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
162 Add some more unit-tests for the ghostpad notify signal, one of which
165 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
167 * win32/common/libgstreamer.def:
168 Add gst_tag_setter_reset_tags to the list of exported symbols.
170 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
173 * tests/check/gst/gstghostpad.c:
174 In a source ghostpad, when caps are changed in the target pad, the
175 change needs to be reflected in the ghostpad.
178 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
180 * gst/gstutils.c: (gst_element_found_tags_for_pad):
181 Add FIXME for 0.11 to set the pad as message source and not
182 the element. Otherwise it's impossible to detect for which
183 pad the tags were found without adding an event probe
184 or something similar to the pad.
186 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
188 * docs/faq/general.xml:
191 2008-12-16 Stefan Kost <ensonic@users.sf.net>
193 * docs/gst/gstreamer-sections.txt:
194 * gst/gsttagsetter.c:
195 * gst/gsttagsetter.h:
196 Rename api added in previous commit and add since tag to docs.
197 API: gst_tag_setter_reset_tags()
199 2008-12-16 Stefan Kost <ensonic@users.sf.net>
201 * docs/gst/gstreamer-sections.txt:
202 * gst/gsttagsetter.c:
203 * gst/gsttagsetter.h:
204 Add function to reset tagsetter for element reuse.
206 2008-12-16 Stefan Kost <ensonic@users.sf.net>
209 Avoid copy of empty taglist.
211 2008-12-16 Stefan Kost <ensonic@users.sf.net>
214 * tests/check/gst/gsttag.c:
215 More complete unit tests. Fix handling of empty taglists (they were
218 2008-12-15 Stefan Kost <ensonic@users.sf.net>
221 * gst/gsttagsetter.c:
222 Update GstTagSetter and GstTagMergeMode documentation. Mention
223 that tags can come from events and from application. Fix example.
225 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
227 * docs/design/part-TODO.txt:
228 Remove the seqnum entry that we implemented in 0.10 already.
229 Add entry about removing the format return value for queries.
231 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
233 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
234 (gst_base_sink_init), (gst_base_sink_set_property),
235 (gst_base_sink_get_property):
236 Expose the render-delay as a property so things like appsink can use it
237 to tweak the synchronisation.
239 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
241 * libs/gst/check/gstcheck.h: Allow check tests to use
242 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
243 CK_FORK=no to be used with multiple check test that use threads.
245 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
247 * gst/gstutils.c: (gst_element_get_compatible_pad):
248 Fix a caps memory leak introduced by the last change.
250 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
252 * gst/gstutils.c: (gst_element_get_compatible_pad):
253 Check if the caps of the pads are compatible before returning
254 a pad and claiming it is compatible. This, among other things,
255 fixes a bug with gst-launch where an incompatible pad is chosen
256 and linking fails. Fixes bug #544003.
258 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
260 * libs/gst/check/gstcheck.c: (gst_check_init):
261 Revert accidentially commited patch for bug #404631 which
262 tries to print a backtrace if a testcase is terminated by
263 a signal. This code was never activated as the corresponding
264 configure.ac change wasn't committed.
266 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
268 * tests/check/libs/controller.c: (GST_START_TEST):
269 This test should return TRUE now as syncing an uncontrolled
270 object will succeed now (there's nothing to sync).
272 2008-12-09 Stefan Kost <ensonic@users.sf.net>
274 * libs/gst/controller/gstcontroller.c:
275 Aggregate return value for gst_controller_sync_values(). More info in
276 logging. Always set values on first sync-call.
278 * libs/gst/controller/gstcontrolsource.c:
281 * libs/gst/controller/gsthelper.c:
282 Fix return code and comment.
284 2008-12-09 Stefan Kost <ensonic@users.sf.net>
286 * tools/gst-launch.1.in:
287 Fix description of how to specify a type in caps. Fixes #553873.
288 Also ranges and list contain values and not property-assignments.
290 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
292 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
293 Check for changed pads-list before checking the last returned
294 GstFlowReturn because the pad could have been removed and we
295 need to ignore the value in that case.
297 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
299 * libs/gst/base/gstbasetransform.c:
300 (gst_base_transform_prepare_output_buffer),
301 (gst_base_transform_getrange), (gst_base_transform_chain):
302 * libs/gst/base/gstbasetransform.h:
303 Add vmethod that is called before we start the transform and which can
304 be used to configure the transform, such as dynamic properties.
306 2008-12-05 David Schleef <ds@schleef.org>
309 Search for plugins on win32 based on the location of the
310 gstreamer DLL. Fixes #548786
312 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
315 Apparently AC_CONFIG_MACRO_DIR breaks when using more
316 than one macro directory, reverting last change.
318 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
321 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
324 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
326 Patch by: Cygwin Ports maintainer
327 <yselkowitz at users dot sourceforge dot net>
331 Require gettext 0.17 because older versions don't mix with libtool
332 2.2. At build time an older gettext version will still work.
335 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
337 Patch by: 이문형 <iwings at gmail dot com>
339 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
340 Adds support for FD_CONNECT event (win32). See #562258.
342 2008-11-24 Stefan Kost <ensonic@users.sf.net>
344 * libs/gst/base/gstbasesink.c:
345 Turn comment into gtk-doc comment.
347 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
349 * libs/gst/base/gstbasetransform.c:
350 (gst_base_transform_acceptcaps):
351 Revert quick accepcaps attempt, it's not fully equivalent to the old
352 behaviour and thus causes regressions.
354 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
356 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
359 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
361 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
363 * gst/gstregistry.c: (gst_registry_scan_path_level):
364 Reduce the number of stat() calls for every file from three times
365 to one time. Fixes bug #560360.
367 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
369 * libs/gst/base/gstbasetransform.c:
370 (gst_base_transform_acceptcaps):
371 Rename a variable to make the code clearer.
373 2008-11-21 Stefan Kost <ensonic@users.sf.net>
375 * plugins/elements/gstidentity.c:
376 Don't warning on offset==-1. Taken from _check_imperfect_offset().
378 2008-11-21 Michael Smith <msmith@songbirdnest.com>
380 * plugins/elements/gstfilesrc.c:
381 Check for localhost in URI was backwards, fix it. Fixes unit test.
383 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
385 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
386 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
387 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
388 Add beginnings of a more optimized acceptcaps function than the default
391 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
393 * gst/gstpad.c: (gst_pad_accept_caps):
394 Avoid getting the acceptcaps function too early.
396 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
398 * tools/gst-launch.c: (event_loop):
399 Make gst-launch handle LATENCY messages and make it recalculate the
402 2008-11-20 Michael Smith <msmith@songbirdnest.com>
404 * plugins/elements/gstfilesrc.c:
405 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
406 out own slightly incorrect version. Fixes use of some paths on
409 2008-11-20 Michael Smith <msmith@songbirdnest.com>
411 * gst/gstregistrybinary.c:
412 In win32 codepath, if we fail to write the registry, create the
413 directory for it and try again, matching the behaviour in non-win32
416 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
418 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
419 Changing the render delay changes the latency and so we must post a
422 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
426 Add GstQueryType for custom queries instead of having to use the
427 not-so-very-convenient registration infrastructure to register new
430 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
432 Patch by: Andrew Feren <acferen at yahoo dot com>
434 * gst/gstobject.c: (gst_object_default_deep_notify):
435 Unref the GEnumClass after usage again. Fixes bug #561501.
437 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
439 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
440 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
441 (gst_bin_change_state_func):
443 Add do-latency signal with the old default fallback implementation. This
444 allows for custom latency calculations for when the default is not
446 API: GstBin::do-latency signal.
448 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
450 * win32/common/libgstreamer.def:
451 Add new symbols to .def file.
453 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
455 * docs/gst/gstreamer-sections.txt:
456 * gst/gstbin.c: (gst_bin_recalculate_latency),
457 (gst_bin_change_state_func):
459 Add method to recalculate and redistribute the latency on a bin.
460 API: gst_bin_recalculate_latency().
462 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
465 Document the free_func.
467 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
469 * libs/gst/controller/gstinterpolation.c:
470 * libs/gst/controller/gstlfocontrolsource.c:
471 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
472 as it is mapped to a cast on non-win32 platforms.
474 2008-11-17 Stefan Kost <ensonic@users.sf.net>
476 * libs/gst/controller/gstcontroller.c:
477 * libs/gst/controller/gstcontrollerprivate.h:
478 Keep last-value and only call set_property if value has changed. This
479 supresses all the g_object_notifies we would trigger otherwise. It
480 also allows the user to chage the value while there is no controller
483 2008-11-17 Stefan Kost <ensonic@users.sf.net>
486 Don't crash if either of the string GValues is empty.
488 2008-11-17 Andy Wingo <wingo@pobox.com>
490 * tools/gst-inspect.c (print_all_uri_handlers): New function,
491 prints a summary of what URI schemes are supported by what
493 (main): Plumb in support for --uri-handlers or -u, and fix the
494 argc check for -a and -u.
496 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
499 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
500 conversion functions.
502 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
504 * gst/gstbuffer.c: (gst_buffer_finalize):
505 Avoid costly typechecking for trivially correct pointers.
507 * gst/gstpoll.c: (gst_poll_wait):
508 Add some G_LIKELY here and there.
510 * libs/gst/base/gstadapter.c: (gst_adapter_push):
513 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
515 * docs/random/wtay/poll-timeout:
518 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
520 * tests/old/testsuite/caps/intersection.c: (main):
521 * tests/old/testsuite/plugin/loading.c: (main):
522 Remove references to deprecated API g_mem_chunk*.
525 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
527 * tools/gst-inspect.c: (main):
528 Add --plugin option. Fixes #560301.
530 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
532 * docs/random/wtay/poll-timeout:
533 Quick braindump for a possible (not totally verified) atomic case.
535 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
537 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
538 (gst_registry_binary_initialize_magic),
539 (gst_registry_binary_write_cache),
540 (gst_registry_binary_check_magic):
541 * gst/gstregistrybinary.h:
542 Don't write and check a CRC for the binary registry file. It's
543 guaranteed that the registry is completely written (it's first written
544 to a temporary file and then moved) and if the registry was corrupted
545 by some hardware failure we would have bigger problems.
547 Bump binary registry version to 0.10.21.1 for this as it's an
548 incompatible change and to ensure that the registry gets rebuild
551 This saves some milliseconds for reading/writing the registry.
554 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
556 * docs/random/wtay/poll-timeout:
557 Some pseudo code for how we could implement clock timeouts with GstPoll.
559 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
561 * plugins/elements/gstfilesink.c:
562 Update Author string to match others.
564 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
566 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
567 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
568 being fixed and inline the trivial check.
570 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
572 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
573 (gst_caps_merge_structure), (gst_caps_get_structure),
574 (gst_caps_copy_nth), (gst_caps_set_simple),
575 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
576 (gst_caps_is_equal_fixed), (gst_caps_intersect),
577 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
578 (gst_caps_to_string):
579 Callgrind micro optimisations.
580 Avoid array bounds checks and force inline of trivial function.
582 * gst/gstobject.c: (gst_object_set_name_default):
583 -1 is equivalent to letting glib to the strlen but then there is more
584 room for optimisations and it's not our fault.
586 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
587 no need to clear the array, we're cool.
589 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
590 The most common _is_fixed() check is done on fundamental glib base
591 types so we check this first instead of doing a huge amount of
592 useless GST_TYPE_ARRAY calls.
594 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
597 Add a SKIP seek flag for use with advanced trickmodes.
598 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
600 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
602 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
603 No need to memset, we can clear the value ourselves.
605 * gst/gstvalue.c: (gst_type_is_fixed),
606 (gst_value_get_compare_func):
607 Some optimisations from a few callgrind sessions:
608 When checking if a type is fixed, check for trivial fundamental types
609 first before checking types for which we need to get the type followed
610 by the heavy duty type checks, this reduces the amount of
611 g_type_fundamental() calls a lot.
612 When getting the compare function, first check for our registered types.
613 If that fails, do the heavy duty g_type_is_a() checks, reduces the
614 amount of g_type_is_a() considerably.
616 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
618 * docs/design/part-TODO.txt:
619 Mumble something about removing GstXML.
621 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
623 * gst/gstbin.c: (gst_bin_handle_message_func):
624 Get the seqnum before we dispose the message.
626 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
628 * docs/design/part-TODO.txt:
629 Refer to the framestepping document.
631 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
633 * gst/gstbin.c: (bin_handle_async_start),
634 (gst_bin_handle_message_func), (gst_bin_query):
635 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
636 (gst_base_sink_event), (gst_base_sink_change_state):
637 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
638 (gst_base_src_loop), (gst_base_src_change_state):
639 Copy seqnums from events to messages so that they can all be related
642 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
644 * tools/gst-launch.c: (event_loop):
645 Print the message seqnums.
647 2008-11-04 Andy Wingo <wingo@pobox.com>
649 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
651 2008-11-04 Andy Wingo <wingo@pobox.com>
653 Add sequence numbers to events and messages. See #559250.
655 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
659 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
660 events with a new sequence number, and copy it when copying.
661 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
662 an event's sequence number.
665 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
666 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
669 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
671 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
673 * docs/manual/advanced-position.xml:
674 * docs/manual/basics-bins.xml:
675 * docs/manual/basics-bus.xml:
676 * docs/manual/basics-pads.xml:
677 * docs/manual/intro-gstreamer.xml:
678 * docs/manual/intro-preface.xml:
679 Some Application Development Manual fixes thanks to
680 Andrew Feren. Fixes #558459.
682 2008-11-03 Stefan Kost <ensonic@users.sf.net>
684 * gst/gstregistrybinary.c:
685 Don't bother with the GTimer if we don't output the results.
687 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
689 Patch by: David Schleef <ds@schleef.org>
691 * libs/gst/net/Makefile.am:
692 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
694 2008-10-31 Stefan Kost <ensonic@users.sf.net>
696 * gst/gstregistrybinary.c:
697 Oh my, studip, stupid me. Remove double stat() call.
699 2008-10-31 Stefan Kost <ensonic@users.sf.net>
702 Use g_unlink instead of unlink.
704 * gst/gststructure.c:
713 Formatting & whitespaces.
715 2008-10-31 Stefan Kost <ensonic@users.sf.net>
717 * plugins/elements/gstidentity.c:
718 Doc typo. Use return value of parent_class->event.
720 * plugins/elements/gsttypefindelement.c:
721 Chain up at the end for consistency.
723 2008-10-30 Stefan Kost <ensonic@users.sf.net>
726 * docs/gst/gstreamer-docs.sgml:
727 * docs/gst/gstreamer-sections.txt:
728 * docs/gst/running.xml:
729 * docs/libs/gstreamer-libs-docs.sgml:
730 Change to xinclude based build - its faster and easier to maintain.
732 2008-10-30 Stefan Kost <ensonic@users.sf.net>
734 * gst/gstregistrybinary.c:
735 * gst/gstregistryxml.c:
736 Use g_unlink() as none of these are directories.
738 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
740 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
743 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
745 * libs/gst/base/gstbasetransform.c:
746 (gst_base_transform_find_transform), (gst_base_transform_getrange):
747 If we have a fixate function, call it even if we already have fixed caps
748 because the subclass might add some caps. Makes audioconvert add a
749 default channel layout.
751 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
753 * libs/gst/base/gstbasetransform.c:
754 (gst_base_transform_prepare_output_buffer),
755 (gst_base_transform_getrange):
756 Clear the output buffer variable.
757 Cleanups to the error path in the getrange function.
760 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
762 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
763 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
764 Use gst_buffer_try_new_and_alloc() and handle errors instead of
765 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
768 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
770 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
771 Set the last_stop to a more meaningful position when configuring the
772 segment. ie. the start/stop of the segment or clipped against the
773 updated segment boundaries.
775 * tests/check/gst/gstsegment.c: (GST_START_TEST):
776 Add some unit tests for the last_stop.
778 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
780 * libs/gst/base/gstbytereader.c:
781 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
784 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
786 * docs/gst/gstreamer-sections.txt:
788 API: Move float endianness conversion macros from libgstfloatcast
789 to core as it's useful in general, even in core. Fixes bug #555196.
790 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
791 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
792 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
794 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
795 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
796 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
797 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
799 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
801 * docs/libs/gstreamer-libs-sections.txt:
802 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
803 (gst_byte_reader_peek_data):
804 * libs/gst/base/gstbytereader.h:
805 * win32/common/libgstbase.def:
806 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
807 to get a pointer to the data at the current position and have
810 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
813 Fix a bug in the output of the configure script summary
814 when --gst-disable-registry is supplied
816 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
818 * libs/gst/base/gstbitreader.c:
819 * libs/gst/base/gstbytereader.c:
820 Fix the names of 2 functions in the docs strings.
822 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
824 * libs/gst/base/gstbasetransform.c:
825 (gst_base_transform_prepare_output_buffer),
826 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
827 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
828 refcount problems as seen in banshee and maybe also in farsight2.
829 Remove atomic int now that we need to take the lock anyways.
831 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
833 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
834 (gst_base_sink_default_prepare_seek_segment),
835 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
836 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
837 (gst_base_sink_query):
838 Implement more seeking in pull mode.
839 Use pad convert functions to convert position to the requested format.
840 Fix position/duration reporting in pull mode.
841 Implement position and duration reporting in other formats than time.
843 * libs/gst/base/gstbasesink.h:
844 Add member to keep track of when the segment is playing.
846 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
848 * gst/gstpad.c: (gst_pad_configure_src):
849 When we use gst_pad_alloc_buffer() without wanting to set the caps we
850 also don't need to check if the caps are compatible because the caller
851 presumably is going to perform its own custom checks. Fixes some cases
852 where basetransform elements would error out when it was not needed.
854 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
856 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
859 * libs/gst/base/gstbasetransform.c:
860 (gst_base_transform_handle_buffer),
861 (gst_base_transform_reconfigure):
864 * win32/common/libgstbase.def:
867 2008-10-19 Stefan Kost <ensonic@users.sf.net>
869 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
870 Remove duplicated assignment and log a message in failure case.
872 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
874 Patch by: Dig Ge <dig.ge.cn at gmail com>
876 * tests/examples/helloworld/helloworld.c: (main):
877 Fix copy'n'paste bug in hello world example (#556900).
879 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
881 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
882 (gst_base_sink_query):
883 Query the total number of bytes when activating the pad in pull mode.
884 Implement duration query in pull mode by using the installed pad convert
885 function to convert from bytes to the requested format.
887 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
889 * docs/libs/gstreamer-libs-sections.txt:
890 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
891 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
892 (gst_base_sink_event), (gst_base_sink_perform_seek),
893 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
894 (gst_base_sink_send_event), (gst_base_sink_change_state):
895 * libs/gst/base/gstbasesink.h:
896 Add method to commit the state in subclasses.
897 Refactor the flush_start and flush_stop code because we need it for
898 flushing while seeking too.
899 Implement the beginnings of seeking in pull mode.
900 Use the segment last_stop field for the pulling offset.
901 Fix the pause method in pull mode.
902 Configure the segment to BYTES for pull mode.
903 API: GstBaseSink::gst_base_sink_do_preroll()
905 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
907 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
910 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
912 * gst/gstquark.c: (_priv_gst_quarks_initialize):
913 Fix printf format warning.
915 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
917 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
918 Fix flow aggregation of tee. Error out immediately for all flow returns
919 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
920 and return OK if at least one pad is linked.
922 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
923 and otherwise returned the flow return of the last pad, which is wrong.
925 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
926 (GST_START_TEST), (tee_suite):
927 Add unit tests for the flow aggregation.
929 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
931 * docs/design/part-TODO.txt:
932 Remove item from the todo list because it was fixed with the latency
933 state change rewrites.
935 * docs/design/part-seeking.txt:
936 * docs/design/part-segments.txt:
939 * gst/gstevent.c: (gst_event_new_new_segment_full),
940 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
941 (gst_event_parse_buffer_size), (gst_event_new_qos),
942 (gst_event_parse_qos), (gst_event_new_seek),
943 (gst_event_parse_seek), (gst_event_new_latency),
944 (gst_event_parse_latency):
945 Use quarks to construct and parse events.
947 * gst/gstquark.c: (_priv_gst_quarks_initialize):
949 Add some more quarks to the table.
950 Emit a warning when the quark tables are not in sync.
952 * tests/check/gst/gstbus.c: (GST_START_TEST):
955 2008-10-13 Stefan Kost <ensonic@users.sf.net>
957 * plugins/elements/Makefile.am:
958 * plugins/indexers/Makefile.am:
959 Don't install static libs for plugins. Fixes #550851 for core.
961 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
963 * gst/gstbus.c: (gst_bus_source_finalize),
964 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
965 (gst_bus_enable_sync_message_emission),
966 (gst_bus_disable_sync_message_emission),
967 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
968 Fix deadlock, g_source_get_id() cannot be called in finalize.
969 Keep track of the watch source by keeping a pointer to the source object
971 Use the bus lock to protect access to the pointer to the current
974 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
976 Base on Patch by: Olivier Crete <tester at tester dot ca>
978 * gst/gstbus.c: (gst_bus_source_finalize),
979 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
980 Only allow one bus watch to be set at a time. This is necessary
981 because the dispatcher pops the message from the bus and the second
982 watcher will then get NULL or the next message (and the first won't
983 get this next message then, etc). If more than one "watcher" is
984 required signal watches should be used. Fixes bug #526044.
986 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
988 * tools/gst-launch.c:
989 Change the printing of the 'buffering...' output to avoid putting
990 a \r in a translateable string (flagged by the TP).
992 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
995 Clarify that the save_thyself() and restore_thyself() virtual
996 functions of GstObject need to be overriden, not
997 gst_object_(save|restore)_thyself() which is impossible.
1000 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1002 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1003 Revert a patch from 21 months ago that broke caps negotiation in pull
1004 mode. Basically, having a buffer pass over a pad will trigger the
1005 setcaps function when caps change, just like in push mode.
1007 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1009 * docs/design/part-negotiation.txt:
1010 Update the docs some more.
1012 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1013 If we pull a buffer with non-trivial caps, suggest those caps with the
1016 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1018 * docs/design/part-TODO.txt:
1019 Add another limitation of pad-blocking with segment seeks not pushing
1022 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
1024 * win32/common/libgstbase.def:
1025 * win32/common/libgstreamer.def:
1026 Add new symbols to the win32 defs files
1028 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1030 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1031 (gst_bin_handle_message_func):
1032 The message src can be NULL, don't try to print the object names in that
1035 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1036 Add some more debug info.
1038 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1041 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1044 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1046 * docs/design/part-negotiation.txt:
1049 * docs/libs/gstreamer-libs-sections.txt:
1050 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1051 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1052 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1053 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1054 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1055 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1056 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1057 (gst_base_sink_change_state):
1058 * libs/gst/base/gstbasesink.h:
1059 Add blocksize property and methods to control the amount of data
1061 Negotiate first before activating upstream in pull mode so that they can
1062 negotiate themselves.
1063 When we operate in pull mode, we only accept the caps that we
1065 Make the sink go ASYNC to PAUSED, like all other sinks.
1066 API: GstBaseSink::gst_base_sink_set_blocksize()
1067 API: GstBaseSink::gst_base_sink_get_blocksize()
1068 API: GstBaseSink::blocksize
1070 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1071 (gst_base_src_set_live), (gst_base_src_is_live),
1072 (gst_base_src_set_format), (gst_base_src_query_latency),
1073 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1074 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1075 (gst_base_src_set_property), (gst_base_src_get_property):
1076 * libs/gst/base/gstbasesrc.h:
1077 Add typechecking in public API functions.
1078 Add methods to control the blocksize in subclasses.
1079 API: GstBaseSrc::gst_base_src_set_blocksize()
1080 API: GstBaseSrc::gst_base_src_get_blocksize()
1082 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1084 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1085 (buffer_probe), (event_probe), (GST_START_TEST):
1086 We now see 3 events go through our pad, since basesink now sends
1087 upstream latency events.
1089 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1091 * gst/gstpipeline.c: (gst_pipeline_change_state):
1092 Release the object lock before trying to flush the bus.
1094 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1096 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1097 Forward LATENCY events upstreams so that elements know about the total
1098 pipeline latency. Fixes #555307.
1100 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1102 * plugins/elements/gstqueue.c:
1103 Allow through queries when we don't know how
1104 to adjust them (not TIME or BYTES), as otherwise it's
1105 not possible to query the current position in order
1106 to seek in other formats at all.
1108 2008-10-08 Andy Wingo <wingo@pobox.com>
1110 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1112 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1114 * gst/gstghostpad.c:
1115 * gst/gstghostpad.h:
1116 Unbreak -good build, private is a reserved c++ keyword.
1118 2008-10-08 Andy Wingo <wingo@pobox.com>
1120 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1121 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1122 removal: re-add GST_GHOST_PAD_CAST to the header.
1124 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1125 (GstGhostPadClass): Publically expose these structures so as to
1126 allow easy subclassing from C. Hide the member data behind a
1127 private opaque data pointer.
1129 * gst/gstghostpad.c: Adapt to store instance data in the type
1130 instance's private data region, not in the public struct.
1132 2008-10-08 Andy Wingo <wingo@pobox.com>
1134 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1135 template via g_object_get(), be sure to unref it.
1137 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1139 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1141 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1142 If we can't get a cache file don't try to save something to it.
1143 Dereferencing NULL pointers usually isn't a good idea.
1145 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1147 * tests/check/Makefile.am:
1148 * tests/check/gst/gstabi.c:
1149 * tests/check/gst/struct_sparc.h:
1150 * tests/check/libs/libsabi.c:
1151 * tests/check/libs/struct_sparc.h:
1152 Add Sparc ABI checks
1154 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1155 Cast signed integer to unsigned to avoid a compiler warning.
1157 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1159 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1160 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1161 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1162 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1163 (gst_byte_reader_peek_int24_be):
1164 Use new GST_READ_UINT24_(LE|BE) macros.
1166 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1168 * docs/gst/gstreamer-sections.txt:
1170 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1171 as it's too easy to break the ISO C strict aliasing rules with simple
1172 casts to the corresponding type and this would introduce hard to debug
1173 bugs. Fixes bug #545714.
1175 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1177 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1179 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1180 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1181 Add 'Since' bits to gtk-doc chunks for new API.
1183 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1185 * docs/gst/gstreamer-sections.txt:
1188 2008-10-06 Andy Wingo <wingo@pobox.com>
1190 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1191 that will be called on the malloc_data to free it. Basically a way
1192 to avoid subclassing when all you need is a different free
1193 function, i.e. free() instead of g_free().
1195 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1196 calling the free function.
1197 (gst_buffer_init): Initialize the free function to g_free.
1199 2008-10-06 Andy Wingo <wingo@pobox.com>
1201 * gst/gstghostpad.h:
1202 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1203 finishes the initialization of ghost pad. Useful for language
1204 bindings and subclassers of GstGhostPad. Fixes #539108.
1205 (gst_ghost_pad_new_full): Use the new constructor.
1207 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1209 Base on Patch by: Olivier Crete <tester at tester dot ca>
1211 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1212 (gst_bin_remove_func), (update_degree),
1213 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1214 Keep track of pads that are being linked/unlinked and resync the state
1217 * gst/gstpad.c: (gst_pad_get_direction),
1218 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1219 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1220 (gst_pad_link_prepare), (gst_pad_link),
1221 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1222 (gst_pad_check_pull_range), (gst_pad_get_range),
1223 (gst_pad_pull_range):
1224 Some code cleanups, use macros to check pad direction.
1225 Don't need to take the lock on the pad direction.
1226 Post structure change when pads are linked/unlinked.
1227 Change some checks into _return_if_fail().
1229 * tests/check/gst/gstbin.c:
1230 (test_link_structure_change_state_changed_sync_cb),
1231 (GST_START_TEST), (gst_bin_suite):
1232 Add testcase for pad link/unlinke resync during a state change.
1235 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1237 * docs/gst/gstreamer-sections.txt:
1238 * gst/gstmessage.c: (gst_message_new_structure_change),
1239 (gst_message_parse_structure_change):
1241 Implement STRUCTURE_CHANGED messages. These messages will be used to
1242 signal the parent bin of link/unlink operations that could require a
1243 resync when doing a state change. See ##510354.
1244 API: gst_message_new_structure_change()
1245 API: gst_message_parse_structure_change()
1247 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1251 Add some more quarks for new message. See #510354.
1253 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1255 * docs/libs/gstreamer-libs-docs.sgml:
1256 * docs/libs/gstreamer-libs-sections.txt:
1257 * libs/gst/base/Makefile.am:
1258 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1259 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1260 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1261 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1262 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1263 (gst_bit_reader_skip_to_byte):
1264 * libs/gst/base/gstbitreader.h:
1265 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1266 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1267 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1268 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1269 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1270 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1271 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1272 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1273 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1274 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1275 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1276 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1277 * libs/gst/base/gstbytereader.h:
1278 * tests/check/Makefile.am:
1279 * tests/check/libs/bitreader.c: (GST_START_TEST),
1280 (gst_bit_reader_suite):
1281 * tests/check/libs/bytereader.c: (GST_START_TEST),
1282 (gst_byte_reader_suite):
1283 API: Add bit reader and byte reader classes, including documentation
1284 and an extensive unit test suite. Fixes bug #553554.
1286 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1289 (gst_base_sink_query):
1290 Improve position reporting while flushing and other intermediate state
1291 changes. Fixes #553874.
1293 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1295 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1297 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1298 Original patch by : Simon Descaries
1299 Fix small refount leak in caps compatibility check.
1302 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1304 * docs/pwg/advanced-request.xml:
1305 Fix 0.8 api usage in example. Fixes #554561
1307 * docs/pwg/appendix-porting.xml:
1308 Change 0.9 to 0.10 here.
1310 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1312 * docs/manual/basics-data.xml:
1313 Change "event-event interaction" to "element-element interaction".
1314 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1317 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1320 Back to development -> 0.10.21.1
1322 === release 0.10.21 ===
1324 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1327 releasing 0.10.21, "Take These Things From Me"
1329 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1332 0.10.20.4 pre-release
1334 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1336 * libs/gst/base/gstbasetransform.c:
1337 * plugins/elements/gstcapsfilter.c:
1338 * tests/check/Makefile.am:
1339 * tests/check/elements/.cvsignore:
1340 * tests/check/elements/capsfilter.c:
1341 Fix assertion in basetransform when the subclass chooses not to
1342 allocate a buffer in prepare_buffer(), and make capsfilter error out
1343 cleanly if requested to apply caps that don't completely specify the
1344 buffer. Fixes #551509
1346 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1348 * libs/gst/base/gstbasetransform.c:
1349 (gst_base_transform_prepare_output_buffer):
1350 Take new caps ref because our old one might have been gone when the
1351 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1353 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1356 Do not probe availability of check unit test library when cross
1357 compiling, as test would not work anyway. Also cleanup verbose output
1358 of the check test. Fixes #551952.
1360 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1362 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1364 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1365 Avoid leaking the parent ref when we fail changing the state of the
1366 element using gst_element_sync_state_with_parent(). Fixes #551978.
1368 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1370 * docs/manual/intro-motivation.xml::
1371 Remove some bits that no longer apply, update others (#551642).
1373 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1376 0.10.20.2 pre-release
1384 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1386 * win32/common/config.h.in:
1387 Add GST_DATADIR, hard-code cpu to x86.
1389 * win32/common/libgstreamer.def:
1392 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1395 Fix Since: markers for new geo tags.
1397 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1400 Fix actual tag name define after renaming from altitude to elevation.
1402 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1404 * gst/gstpad.c: (add_unref_pad_to_list),
1405 (gst_pad_get_internal_links_default):
1406 Add fallback when calling the deprecated function on an element that
1407 implements the new internal_link handler.
1409 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1411 * docs/gst/gstreamer-sections.txt:
1414 Add new tags for geo location and clarify purpose of existing location
1417 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1419 Patch by: Olivier Crete <tester at tester dot ca>
1421 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1422 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1423 Use thread-safe internal links iterator. Fixes #549504.
1425 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1427 Based on patch by: Olivier Crete <tester at tester dot ca>
1429 * docs/gst/gstreamer-sections.txt:
1430 * win32/common/libgstreamer.def:
1431 * gst/gstpad.c: (gst_pad_init),
1432 (gst_pad_set_iterate_internal_links_function),
1433 (int_link_iter_data_free), (iterate_pad),
1434 (gst_pad_iterate_internal_links_default),
1435 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1437 Add threadsafe replacement functions for getting internal links of an
1438 element. Deprecate the old internal links functions.
1439 API:GstPad::gst_pad_set_iterate_internal_links_function()
1440 API:GstPad::GstPadIterIntLinkFunction
1441 API:GstPad::gst_pad_iterate_internal_links()
1442 API:GstPad::gst_pad_iterate_internal_links_default()
1444 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1445 (gst_proxy_pad_init):
1446 Implement threadsafe internal links.
1448 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1449 Unit test for internal links on tee. See #549504.
1451 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1453 * tests/check/Makefile.am:
1454 libs/transform1 test requires libs/test_transform.c
1456 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1458 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1459 Die evil deadlock, die !
1461 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1463 * gst/gstutils.c: (gst_element_get_compatible_pad):
1464 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1465 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1466 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1467 not steal the refcount of the given caps as stated.
1469 REVERT THIS COMMIT ONCE FIXED !
1470 REVERT THIS COMMIT ONCE FIXED !
1471 REVERT THIS COMMIT ONCE FIXED !
1472 REVERT THIS COMMIT ONCE FIXED !
1473 REVERT THIS COMMIT ONCE FIXED !
1474 REVERT THIS COMMIT ONCE FIXED !
1476 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1478 * gst/gstiterator.c:
1479 * gst/gstiterator.h:
1480 After 3 years it's about time to revise the documentation of the
1483 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1485 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1486 Make the internal links function less thread-unsafe and add some
1487 comments, dunno why.
1489 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1491 * gst/gst_private.h:
1492 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1493 build with --disable-gst-debug.
1495 2008-08-28 David Schleef <ds@schleef.org>
1497 * gst/gstpadtemplate.c: Revert last change, since it breaks
1498 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1499 but shouldn't be enabled until we've released fixed versions
1500 of -good and -ffmpeg.
1502 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1505 Put the gst_object_get_name() back in.
1507 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1509 * gst/gstpadtemplate.c:
1510 The old behaviour was that gst_pad_template_new() takes ownership of
1511 the caps. As we now call g_object_new() which calls g_object_set() and
1512 which copies the caps, we have to unref them to not leak them. Fixes
1513 make valgrid for me.
1515 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1518 Don't segfault on input like "tel:+1-123-555-1234".
1520 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1523 Due to popular request also include ObjectType in
1524 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1526 2008-08-26 David Schleef <ds@schleef.org>
1528 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1529 src_val must be positive, because that's not a requirement.
1530 This causes problems with converting negative granulepos
1532 * gst/gstquery.c: Same, gst_query_new_convert().
1534 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1536 * gst/gstclock.c: (gst_clock_add_observation):
1537 Add some more debugging to the clock slaving code.
1539 * win32/common/libgstbase.def:
1540 Add new basetransform method.
1542 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1544 * gst/gstbin.c: (gst_bin_element_set_state):
1545 Take the (recursive) state lock between getting the locked state of an
1546 element and changing the element state. This allows the application to
1547 lock an element's state and then change its state without races.
1549 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1551 * gst/gstbin.c: (gst_bin_element_set_state):
1552 When an element is in the locked state we still want to update the
1553 base_time of the element.
1555 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1557 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1558 Use the result from gst_pad_set_caps() instead of assuming the element
1559 always accepted the caps computed by the default negotiate function.
1561 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1563 * docs/libs/gstreamer-libs-sections.txt:
1564 * libs/gst/base/gstbasetransform.c:
1565 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1566 (gst_base_transform_chain), (gst_base_transform_suggest),
1567 (gst_base_transform_reconfigure):
1568 * libs/gst/base/gstbasetransform.h:
1569 Implement method for reconfiguring basetransform.
1570 API: GstBaseTransform::gst_base_transform_reconfigure()
1572 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1574 patch by: Murray Cumming <murrayc@murrayc.com>
1577 Mention that this is just like gst_buffer_merge() but with extra
1578 unreffing for C coders. Advise language bindings not to wrap it.
1581 Also fix file comment.
1583 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1585 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1587 * plugins/elements/gstfakesink.c:
1588 * plugins/elements/gstfakesrc.c:
1589 Call super::event() when not handling it. Fixes #544855.
1591 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1593 Patch by: Alessandro Decina <alessandro@nnva.org>
1594 * plugins/elements/gstfilesrc.c:
1595 Use 64 bit variants of stat functions on win32, to enable support
1596 of large files there.
1599 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1601 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1602 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1603 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1604 (gst_base_sink_get_position), (gst_base_sink_change_state):
1605 Improve position reporting in the flushing state.
1606 Also report the position when we are not yet prerolled but we
1607 have a newsegment event. Fixes #543444.
1608 Improve the pull-based negotiation code.
1610 * tests/check/elements/fakesink.c: (GST_START_TEST),
1612 Add testcase for position reporting while flushing in PAUSED and
1615 * tests/check/generic/sinks.c: (GST_START_TEST):
1616 Update unit-test, we can now query the position as soon as we receive a
1619 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1621 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1623 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1624 When the subclass event handler releases the PREROLL_LOCK, we could be
1625 in the flushing state and we have to ignore the event. Fixes #548394.
1627 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1629 * tools/gst-launch.1.in:
1630 Document GST_REGISTRY_UPDATE environment variable.
1632 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1634 * libs/gst/base/gstbasetransform.c:
1635 (gst_base_transform_prepare_output_buffer):
1636 If the element is configured in passthrough mode but the
1637 prepare_output_buffer gave us a new output buffer, discard that buffer
1638 and reuse the input buffer.
1640 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1642 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1644 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1645 (gst_tee_request_new_pad), (gst_tee_release_pad),
1646 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1647 * plugins/elements/gsttee.h:
1648 Protect pad_alloc with a new lock so that we can be sure that nothing is
1649 performing a pad_alloc when removing the pad. Fixes #547835.
1651 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1652 (buffer_alloc_harness_teardown), (app_thread_func),
1653 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1654 Added testcase for shutdown race.
1656 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1661 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1663 * libs/gst/base/gstbasetransform.c:
1664 (gst_base_transform_prepare_output_buffer),
1665 (gst_base_transform_buffer_alloc):
1666 Go over the buffer_alloc function again and make sure we always end up
1667 allocating a buffer.
1669 Avoid doing pad alloc when we have a pending suggestion because we
1670 cannot yet deal with changing caps in that case. Fixes #547728
1672 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1674 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1676 * docs/manual/advanced-clocks.xml:
1677 * docs/manual/clocks.png:
1678 * docs/manual/diagrams-clocks.svg:
1679 Add one more image showing different times together with a describing
1680 paragraph. Fixes #547729.
1682 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1684 * win32/common/libgstbase.def:
1687 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1689 * libs/gst/base/gstbasetransform.c:
1690 (gst_base_transform_transform_caps),
1691 (gst_base_transform_prepare_output_buffer),
1692 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1693 Don't overwrite the outsize when calculating the expected size of a new
1694 buffer because we still need it in case we cannot process the new
1696 When converting the size of the new buffer to an upstream size, actually
1697 use the expected size of the buffer, not some other random value.
1698 Use an atomic int to signal that a new upstream caps suggestion is
1700 When we can convert the current buffer to a new format, check if the
1701 buffer size is of the expected size and allocate a new buffer of the
1702 expected size when this is not the case. Fixes #546883.
1704 * tests/check/libs/transform1.c: (GST_START_TEST):
1705 remove ifdeffed code from the unit test.
1707 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1709 * pkgconfig/gstreamer-uninstalled.pc.in:
1710 * pkgconfig/gstreamer.pc.in:
1711 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1712 called gstcontroller-0.10.
1714 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1716 * gst/gstchildproxy.h:
1718 Remove double interface from doc-string.
1720 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1722 * libs/gst/base/gstbasesrc.c:
1723 * libs/gst/base/gstbasetransform.c:
1724 Fix headings in docs and gtk-doc warnings.
1726 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1728 * gst/gstregistrybinary.c:
1729 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1733 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1735 * libs/gst/base/gstbasetransform.c:
1736 (gst_base_transform_buffer_alloc):
1737 Fix a "may be used unitialized" warning.
1739 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1741 * docs/gst/gstreamer-sections.txt:
1743 Document preset-iface vmethods.
1745 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1747 * docs/manual/advanced-interfaces.xml:
1748 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1749 only used to discover devices.
1751 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1753 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1755 * gst/gst.c: (init_pre):
1756 Make sure gettext returns translations in UTF-8 encoding rather
1757 than in the current locale encoding (#546822).
1759 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1761 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1764 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1765 Improve unit test subset tests and add a testcase for the subset failure
1768 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1769 Improve subtraction unit test.
1771 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1773 * plugins/elements/gsttee.c:
1774 Unlock, instead of locking again.
1776 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1779 Clarify the docs a bit more.
1781 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1783 * tests/examples/metadata/read-metadata.c:
1784 Don't leak old taglist.
1786 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1788 Patch by: Olivier Crete <tester at tester dot ca>
1790 * gst/gststructure.c:
1791 (gst_structure_fixate_field_nearest_fraction):
1792 Avoid overflows in fixation code when dealing with MAXINT values, which
1793 v4l2src seems to do.
1796 * tests/check/gst/gststructure.c: (GST_START_TEST):
1797 Make a unit test to check the fix.
1799 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1801 * plugins/elements/gstcapsfilter.c: (copy_func),
1802 (gst_capsfilter_set_property):
1803 Use new caps suggestion feature of basetransform to request a caps
1804 negotiation upstream.
1806 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1808 * docs/libs/gstreamer-libs-sections.txt:
1810 API: GstBaseTransform::gst_base_transform_suggest()
1812 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1813 (gst_base_transform_init), (gst_base_transform_transform_caps),
1814 (gst_base_transform_transform_size),
1815 (gst_base_transform_configure_caps),
1816 (gst_base_transform_can_transform),
1817 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1818 (gst_base_transform_prepare_output_buffer),
1819 (gst_base_transform_buffer_alloc),
1820 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1821 (gst_base_transform_chain), (gst_base_transform_activate),
1822 (gst_base_transform_set_passthrough),
1823 (gst_base_transform_is_passthrough),
1824 (gst_base_transform_set_in_place),
1825 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1826 (gst_base_transform_set_qos_enabled),
1827 (gst_base_transform_is_qos_enabled),
1828 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1829 (gst_base_transform_reconfigure):
1830 * libs/gst/base/gstbasetransform.h:
1831 Rewrite of basetransform to perform negotiation outside of the
1832 buffer_alloc functions. Fixes #545853.
1834 * tests/check/libs/transform1.c: (GST_START_TEST),
1838 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1840 * tests/check/gst/gstpreset.c:
1841 Only run preset tests when $HOME is writable. Preliminary fix for
1844 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1846 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1847 (gst_bin_change_state_func), (bin_handle_async_done),
1848 (gst_bin_handle_message_func):
1849 Fix race for bins that simulate ASYNC state changes by inserting
1850 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1851 pending ASYNC messages even when the bin does not have ASYNC children.
1852 We note detect this behaviour because we will receive an ASYNC message
1853 that is originating from the bin itself.
1854 Fixes races with decodebin2 state changes.
1856 * tests/check/gst/gstbin.c: (GST_START_TEST):
1857 Add some more debug.
1859 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1861 * gst/gsttaglist.c: (_gst_tag_initialize):
1864 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1867 Argh. actually save the text before committing. Now adds
1868 gst_tag_merge_strings_with_comma() to gst_tag_register().
1870 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1874 Do as tim pointed out and actually register the new tag. Also improve
1875 te docs and use gst_tag_merge_strings_with_comma() method to allow
1876 retriving all keywords merged in one list.
1878 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1881 * docs/gst/gstreamer.types:
1882 Revert 'accidential' change of the configure option removal. We still
1883 need to generate the types file in configure --disable-load-save.
1885 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1887 * docs/gst/gstreamer-sections.txt:
1889 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1891 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1893 * gst/gstpadtemplate.c:
1894 (gst_pad_template_class_init), (gst_static_pad_template_get),
1895 (gst_pad_template_new), (gst_pad_template_pad_created),
1896 (gst_pad_template_set_property), (gst_pad_template_get_property):
1897 Add "name-template", "direction", "presence" and "caps" properties,
1898 so that gst_pad_template_new() is just a thin wrapper around
1899 g_object_new(), which is better for bindings. (Fixes: #539772)
1901 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1904 Be more liberal in what URIs we accept.
1905 Do not unescape bits of the URI for no apparent reason before passing to
1906 the element. Fixes #545352.
1908 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1910 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1913 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1915 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1918 * docs/gst/gstreamer-sections.txt:
1919 * docs/gst/gstreamer.types:
1920 * docs/gst/gstreamer.types.in:
1923 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1924 * gst/gstconfig.h.in:
1925 * gst/gstelement.c: (gst_element_get_index):
1926 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1927 (gst_registry_binary_load_feature),
1928 (gst_registry_binary_read_cache):
1929 * gst/gstregistryxml.c: (load_feature),
1930 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1931 * plugins/Makefile.am:
1933 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1934 (print_plugin_features), (print_element_features):
1935 * tools/gst-xmlinspect.c: (print_event_masks),
1936 (print_element_info):
1937 * win32/common/gstconfig.h:
1938 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1940 Disabling the indexers and URI handler code will only reduce the
1941 required amount of memory by a very small amount but on the other hand
1942 requires much more maintaince work. Apart from that many places of
1943 code are broken when disabling them.
1945 Disabling the enum types doesn't reduce the required amount of memory
1946 by more than a few bytes and makes it hard to fix bugs like #539772,
1947 i.e. use the enums as GObject properties.
1949 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1951 * docs/design/part-TODO.txt:
1952 Add some thoughts and problems with upstream renegotiation.
1954 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1956 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1957 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1958 Remove silly redundant debug.
1959 Add some more debug info.
1960 Clarify the docs regarding new caps received from pad_alloc.
1962 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1964 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1965 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1966 Make setting the caps more threadsafe.
1968 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1970 * docs/design/part-element-transform.txt:
1973 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1975 * plugins/elements/gstqueue.c: (gst_queue_init),
1976 (gst_queue_acceptcaps):
1977 Add and use a custom acceptcaps function instead of falling back to the
1978 potentially less optimized default implementation.
1980 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1982 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1983 Only sanity-check the buffer size if requested_caps == buffer_caps
1984 (ie. don't take pad caps into account, they're not relevant here)
1986 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1988 * plugins/elements/gsttee.c:
1989 * plugins/elements/gsttee.h:
1990 Reverting as not everything is clear yet. Needs some general design
1993 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1996 ChangeLog surgery for tee commit.
1998 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2000 * docs/gst/gstreamer-sections.txt:
2001 Cleanup section-file.
2003 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2005 * plugins/elements/gsttee.c:
2006 * plugins/elements/gsttee.h:
2007 Relay tag events in tee. Fixes parts of #474016.
2008 Downgrades 3 reoccurring debugs to log.
2010 2008-07-28 Michael Smith <msmith@songbirdnest.com>
2013 * libs/gst/Makefile.am:
2014 Build the net library if we have winsock2.
2016 2008-07-26 Stefan Kost <ensonic@users.sf.net>
2018 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2020 * docs/manual/advanced-threads.xml:
2021 * docs/manual/diagrams-pipelines.svg:
2022 * docs/manual/hello-world.png:
2023 * docs/manual/linked-elements.png:
2024 * docs/manual/mime-world.png:
2025 * docs/manual/queue.png:
2026 * docs/manual/thread-buffering.png:
2027 * docs/manual/thread-synchronizing.png:
2028 Replace one diagram with two separate ones and updates others.
2031 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
2034 Fix link in documentation.
2036 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2039 Fix confusing documentation.
2041 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2043 * libs/gst/base/gstbasesrc.h:
2044 revert the changes to the header file for the ABI.
2046 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2048 * libs/gst/base/gstbasesrc.c:
2049 * libs/gst/base/gstbasesrc.h:
2050 Don't cache the seekable status.
2053 2008-07-24 Rene Stadler <mail@renestadler.de>
2055 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2056 code to close the pipeline graph. This prevents the program from
2057 printing internal data flow errors.
2059 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2061 * docs/manual/basics-bus.xml:
2062 Correct typo. Fixes bug #544320.
2064 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2067 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2068 Add check (taken from -base) for winsock, adds WIN32_LIBS
2070 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2072 Define GST_EXPORTS when building libgstreamer (only used on win32)
2073 * gst/gst_private.h:
2075 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2076 for symbols that we need to export in both these files.
2078 Include gst_private.h higher up to avoid some compile problems on win32.
2080 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2085 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2088 Previous commit was wrong NULL caps does not exist
2089 and indicate an error, so also add a FIXME to
2090 gst_caps_is_equal where NULL caps are accepted.
2092 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2095 Allow passing of NULL to gst_caps_union
2097 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2099 * gst/gstghostpad.c:
2100 Add in doc that gst_ghost_pad_set_target can accept
2101 NULL to clear target
2103 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2106 * gst/gstregistry.c:
2107 GstRegistryPool doesn't exist; don't refer to it in docs.
2108 Don't refer to functions that don't exist in docs, it's
2111 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2114 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2116 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2118 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2120 * docs/pwg/building-testapp.xml:
2121 Don't use an undeclared variable in the example program.
2124 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2126 * gst/gstdebugutils.c:
2127 Squeeze ghost-pad links and remove <> from classname labels to save
2128 more horizontal space.
2130 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2132 * gst/gstdebugutils.c:
2133 Give request and sometimes pads a different shpe style. Condense the
2134 graphs a little more.
2136 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2139 Don't require flex and bison if the parser is disabled.
2141 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2143 * libs/gst/controller/gstinterpolationcontrolsource.c:
2144 (_list_find_sorted_custom):
2145 Don't use declarations after statements.
2147 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2149 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2150 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2151 of the the child-added / -removed signals as GstChildProxy
2152 only supports GstObjects.
2154 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2156 * gst/gstdebugutils.c:
2159 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2161 Patch by: Alessandro Decina <alessandro at nnva dot org>
2164 Fix "ignored return value" compiler warning with newer glibc.
2166 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2168 * gst/gstchildproxy.c:
2169 Fix copy&paste error in gst_child_proxy_removed() documentation.
2171 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2173 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2174 Print error debug message if plugin description fields that should
2177 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2178 Don't crash if the string to serialise is NULL (it really should
2179 not be, but apparently this used to work with the xml registry ...).
2181 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2183 * tools/gst-plot-timeline.py:
2184 Fix parsing of log messages
2186 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2188 * win32/common/libgstbase.def::
2189 Sort alphabetically so make check-exports doesn't barf.
2191 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2194 Use gst_format_get_name() to improve debug output.
2197 Remove #ifdef'ed code. Add TODO comment.
2200 Add debug output to ease spotting format != segment.format assertions.
2202 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2204 * tests/check/libs/gdp.c: (gst_dp_suite):
2205 Also enable the GDP unit test again on PPC now that the bug
2208 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2210 * libs/gst/dataprotocol/dataprotocol.c:
2211 Don't write to the same region of memory as a uint64 and uint16
2212 as this breaks strict aliasing rules and apparantly breaks on PPC
2213 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2215 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2217 * libs/gst/controller/gstinterpolationcontrolsource.c:
2218 Optimize list handling. Use own find function. Exploit that fact that
2219 the list is sorted. Also pass back the node before, so that we can
2220 insert quickly. Have a fast path for append.
2222 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2224 * docs/design/draft-framestep.txt:
2225 * docs/design/part-negotiation.txt:
2228 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2231 Show configuration sumary after configure run. Based on patch by
2232 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2234 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2236 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2238 * docs/manual/advanced-autoplugging.xml:
2239 * docs/manual/advanced-threads.xml:
2240 * docs/manual/basics-bins.xml:
2241 * docs/manual/basics-elements.xml:
2242 * docs/manual/basics-helloworld.xml:
2243 * docs/manual/basics-pads.xml:
2244 Add scale factor for pdf output.
2246 * docs/manual/intro-basics.xml:
2247 Switched sections "pads" and "bins" and added a pipeline diagram.
2249 * docs/manual/intro-gstreamer.xml:
2250 Added more info on gstreamer.
2252 * docs/manual/intro-motivation.xml:
2253 Commented out the whole section "current problem", which sounds
2254 historical and somehow osolete; it could be turned in a positive
2255 way and reused to improve the design principles.
2257 * docs/manual/intro-preface.xml:
2258 - Update URLs to library.gnome.org.
2259 - Do not mention GTK+ in preliminary reading (irrelevant).
2260 - Mention Plugin Writer's Manual and further reading only in the
2262 - Added a list of most relevant GObject/glib topics.
2264 * docs/manual/Makefile.am:
2265 * docs/manual/bin-element-ghost.fig:
2266 * docs/manual/bin-element-ghost.png:
2267 * docs/manual/bin-element-noghost.fig:
2268 * docs/manual/bin-element-noghost.png:
2269 * docs/manual/bin-element.fig:
2270 * docs/manual/bin-element.png:
2271 * docs/manual/filter-element-multi.fig:
2272 * docs/manual/filter-element-multi.png:
2273 * docs/manual/filter-element.fig:
2274 * docs/manual/filter-element.png:
2275 * docs/manual/gstreamer-overview.png:
2276 * docs/manual/hello-world.fig:
2277 * docs/manual/hello-world.png:
2278 * docs/manual/linked-elements.fig:
2279 * docs/manual/linked-elements.png:
2280 * docs/manual/mime-world.fig:
2281 * docs/manual/mime-world.png:
2282 * docs/manual/queue.fig:
2283 * docs/manual/queue.png:
2284 * docs/manual/simple-player.png:
2285 * docs/manual/sink-element.fig:
2286 * docs/manual/sink-element.png:
2287 * docs/manual/src-element.fig:
2288 * docs/manual/src-element.png:
2289 * docs/manual/diagrams-general.svg:
2290 * docs/manual/diagrams-pipelines.svg:
2291 Removed .fig, added .png counterpart.
2295 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2297 * plugins/elements/gstmultiqueue.c:
2298 * plugins/elements/gstmultiqueue.h:
2299 revert extra-size-buffers stuff, caused some race conditions
2300 and extra-size-buffers is not used anymore. Docs needs some updates
2302 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2304 * win32/common/config.h:
2305 * win32/common/gstenumtypes.c:
2306 * win32/common/gstenumtypes.h:
2307 * win32/common/gstversion.h:
2310 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2312 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2313 (GST_DEBUG_BIN_TO_DOT_FILE):
2314 Add missing Since' markers to gtk-doc blurbs.
2316 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2318 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2319 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2320 (set_caps_1), (set_caps_ct1), (transform_ct1),
2321 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2322 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2323 (transform_size_ct2), (buffer_alloc_ct2):
2324 Add some more tests with switching caps in buffer_alloc.
2326 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2328 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2329 (gst_test_trans_class_init), (result_sink_chain),
2330 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2331 (gst_test_trans_push), (gst_test_trans_pop):
2332 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2333 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2334 (set_caps_1), (set_caps_ct1), (transform_ct1),
2335 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2336 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2337 (transform_size_ct2), (buffer_alloc_ct2),
2338 (gst_basetransform_suite):
2339 More tests, prepare for tests with switching caps in buffer_alloc.
2341 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2343 * plugins/elements/gstmultiqueue.c:
2344 * plugins/elements/gstmultiqueue.h:
2345 Fix dead-lock in underrun_cb
2347 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2349 * docs/design/part-states.txt:
2350 Fix device open/close docs.
2352 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2355 Mention bugnumber for last commit.
2357 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2359 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2361 * docs/manual/manual.xml:
2362 - Reorganised the previous "introduction" bundle into Foreword,
2363 Introduction, and About GStreamer. The two first are <preface>
2364 docbook elements. The later is the first part of the book.
2365 - added intro-gstreamer.xml (content partially from
2367 - moved appendix-win32.xml into appendix-integration.xml
2369 * docs/manual/intro-preface.xml: gstreamer section moved...
2370 * docs/manual/intro-gstreamer.xml: ...here. new file.
2372 * docs/manual/appendix-win32.xml: removed file. Content moved...
2373 * docs/manual/appendix-integration.xml: ...here.
2375 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2376 * docs/manual/appendix-checklist.xml: ...here.
2380 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2382 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2384 * docs/manual/basics-helloworld.xml:
2385 * docs/manual/hello-world.fig:
2386 - Explicitely include glib.h.
2387 - Do not use global variables.
2388 - Use g_printerr() instead of g_print().
2389 - Minor formating/renaming to increase readibility.
2390 - Renamed new_pad() to on_pad_added()
2391 - Improved explenatory comments.
2392 - renamed ogg parser to ogg demuxer
2393 - Use "autoaudiosink" instead of "alsasink".
2396 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2399 Remove cvs conflict marker.
2401 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2404 Document that for plgin-docs we extraxt he short-desc from the element
2407 * docs/design/part-states.txt:
2408 Tell that devices should be closed in PAUSED -> READY.
2410 * docs/manual/README:
2411 Document how tests in the manual are handled.
2416 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2418 * gst/gstbin.c: (bin_query_latency_fold):
2419 Only care about latency min and max when the sink is actually a live
2422 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2424 * docs/design/part-block.txt:
2427 * docs/design/part-element-transform.txt:
2428 Add notes about why transform needs to know input/output sizes.
2429 Add some issues that need to be solved.
2430 Add some more use cases.
2432 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2433 (gst_test_trans_class_init), (result_sink_chain),
2434 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2435 (gst_test_trans_push), (gst_test_trans_pop):
2436 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2437 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2438 (set_caps_1), (set_caps_ct1), (transform_ct1),
2439 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2440 (gst_basetransform_suite):
2441 Add suport for different pad templates and buffer-alloc.
2442 Add more checks for caps and buffer-alloc.
2443 Add checks for proxy buffer alloc.
2444 Add unit test for copy transform.
2446 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2448 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2450 * docs/manual/appendix-integration.xml:
2451 * docs/manual/appendix-licensing.xml:
2452 * docs/manual/basics-elements.xml:
2453 * docs/manual/basics-helloworld.xml:
2454 * docs/manual/basics-pads.xml:
2455 * docs/manual/highlevel-components.xml:
2456 * docs/manual/highlevel-xml.xml:
2457 * docs/manual/intro-basics.xml:
2458 * docs/manual/intro-preface.xml:
2459 Typo and formatting fixes (#538594).
2461 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2463 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2464 Fix some memory leaks and uses of object instances that we don't
2467 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2469 * plugins/elements/gstmultiqueue.c:
2470 Add functionality to extra-size-buffers property.
2472 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2474 * plugins/elements/gstmultiqueue.c:
2475 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2476 activate the pads if they are added in STATE_NULL.
2478 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2480 * docs/libs/gstreamer-libs-sections.txt:
2482 * libs/gst/check/gstcheck.c:
2483 * libs/gst/check/gstcheck.h:
2484 API: gst_check_teardown_pad_by_name
2486 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2488 * libs/gst/check/gstcheck.c:
2489 * libs/gst/check/gstcheck.h:
2490 Also setup request pads and allow setup pads by name (#537812)
2491 API: gst_check_setup_src_pad_by_name
2492 API: gst_check_setup_sink_pad_by_name
2494 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * tests/check/gst/gstbuffer.c:
2497 * tests/check/pipelines/parse-launch.c:
2498 Use HAVE_VALGRIND_H some more.
2500 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2502 * scripts/cvs-update.sh:
2503 Pass arguments to make.
2504 Run autoregen.sh if Makefile is not there.
2506 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2510 Don't assume that <valgrind/valgrind.h> exists just because
2511 the binary is there.
2513 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2515 * tests/check/Makefile.am:
2516 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2517 (gst_test_trans_class_init), (gst_test_trans_init),
2518 (gst_test_trans_set_data), (result_sink_chain),
2519 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2520 (gst_test_trans_pop):
2521 * tests/check/libs/transform1.c: (GST_START_TEST),
2522 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2523 Add some test basetransform element and the beginnings of various
2526 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2528 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2529 Increase code readability.
2530 Don't try to compare buffer offsets when ther are invalid.
2532 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2534 * docs/design/Makefile.am:
2535 Dist some more design docs.
2537 * docs/random/moving-plugins:
2538 Small addition: good plugins mustn't have functional code
2539 within assertion macros.
2541 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2543 * docs/design/draft-framestep.txt:
2544 Some ideas about a framestep API
2546 * docs/design/part-element-transform.txt:
2547 Start design and use cases for basetransform in order to get it
2550 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2553 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2554 be in UTF-8 encoding.
2556 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2559 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2561 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2563 * plugins/elements/gstcapsfilter.c:
2564 * plugins/elements/gstfakesink.c:
2565 * plugins/elements/gstfakesrc.c:
2566 * plugins/elements/gstfdsink.c:
2567 * plugins/elements/gstfdsrc.c:
2568 * plugins/elements/gstfilesink.c:
2569 * plugins/elements/gstfilesrc.c:
2570 * plugins/elements/gstidentity.c:
2571 * plugins/elements/gstmultiqueue.c:
2572 * plugins/elements/gstqueue.c:
2573 * plugins/elements/gsttee.c:
2574 * plugins/elements/gsttypefindelement.c:
2575 Remove short_description. Add basic docs for gsttypefindelement.
2576 Simplify markup for fakesrc/fdsrc.
2578 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2580 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2583 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2585 Patch by: Joel Larsson <tilljoel at gmail dot com>
2587 * docs/plugins/gstreamer-plugins.args:
2588 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2589 (gst_fd_src_init), (gst_fd_src_update_fd),
2590 (gst_fd_src_set_property), (gst_fd_src_get_property),
2591 (gst_fd_src_create):
2592 * plugins/elements/gstfdsrc.h:
2593 Add timeout property like udpsrc. Fixes #538628.
2594 Add some more docs and example pipelines.
2596 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2598 * docs/libs/gstreamer-libs-sections.txt:
2599 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2600 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2601 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2602 (gst_base_sink_do_sync):
2603 * libs/gst/base/gstbasesink.h:
2604 * win32/common/libgstbase.def:
2605 Add method to allow sinks to specify additional delay between the sync
2606 times and the actual rendering of the data.
2607 API: gst_base_sink_set_render_delay()
2608 API: gst_base_sink_get_render_delay()
2610 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2613 Bump version number back to dev -> 0.10.20.1
2615 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2617 * docs/gst/gstreamer-sections.txt:
2618 * gst/gsttaglist.c: (_gst_tag_initialize):
2620 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2623 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2625 * libs/gst/controller/gstcontroller.c:
2626 Revert one change, that make ret value possible uninitialized.
2628 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2630 * libs/gst/controller/gstcontroller.c:
2631 Use freeze/thaw notify to sync notify emission a bit (its also more
2632 efficient). Move debug output to LOG (is called a lot in a loop).
2633 Always unset g_values if the have been initialized.
2635 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2637 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2638 (gst_base_sink_wait_eos), (gst_base_sink_event):
2639 If we have not seen a buffer before EOS, use the segment values to
2640 report the current position instead of invalid positions.
2642 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2644 * docs/plugins/tmpl/.cvsignore:
2645 * tests/check/gst/.cvsignore:
2648 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2650 * libs/gst/controller/gstinterpolation.c:
2651 * libs/gst/controller/gstinterpolationcontrolsource.c:
2652 * tests/check/libs/controller.c:
2653 Rewrite handling of default values. Fix overflow with unsigned types
2654 in linear interpolation. Remove now obsolete _first_value() function.
2655 Add more tests. Fixes #538201.
2657 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2659 * libs/gst/base/gstbasetransform.c:
2660 (gst_base_transform_class_init), (gst_base_transform_init),
2661 (gst_base_transform_transform_caps),
2662 (gst_base_transform_prepare_output_buffer):
2664 When a buffer is writable, its metadata is also writable so we don't
2665 need to subbuffer (which then makes the buffer not-writable anymore).
2667 === release 0.10.20 ===
2669 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2672 releasing 0.10.20, "You Crazy Diamond"
2674 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2677 0.10.19.3 pre-release
2679 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2683 Rename DATADIR to GST_DATADIR to avoid build problems
2684 on win32. Patch By: David Schleef <ds@schleef.org>
2687 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2690 Explicitely link with -ldl if dladdr() is found there. Before it was
2691 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2692 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2694 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2696 * gst/gsterror.c: (_gst_stream_errors_init):
2697 Fix typo (spotted by Fabricio Godoy, #536723).
2699 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2702 0.10.19.2 pre-release
2704 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2706 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2707 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2709 Make sure we don't generate invalid QoS messages.
2711 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2713 * gst/gstevent.c: (gst_event_new_qos):
2714 Add some assert and docs for invalid input to the qos function.
2716 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2718 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2719 (gst_base_sink_get_position):
2720 The reported position must always be smaller than the last seen
2721 timestamps (or timestamp + duration for reverse).
2723 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2725 Patch by: Rob Bradford <rob at robster dot org dot uk>
2727 * gst/gstregistry.c: (gst_registry_scan_path_level):
2728 Don't recurse into .debug directories as some distros install
2729 the debugging symbols next to the plugins in .debug directories
2730 and dlopen() crashes on them sometimes. Fixes bug #508070.
2732 Add FIXME for 0.11 to not recurse into directories at all because
2733 it's very inconsistent to the behaviour of other PATH environment
2736 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2738 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2739 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2740 Fix position query range checks in reverse playback.
2742 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2746 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2747 clear of the reference to the resulting pad must be released later
2748 or not, resulting in possible leaks. Fixes bug #533865.
2750 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2752 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2754 * gst/gstelementfactory.c:
2755 Small doc fix. Fixes #535285.
2757 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2759 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2761 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2762 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2763 (gst_base_src_loop), (gst_base_src_set_flushing),
2764 (gst_base_src_change_state):
2765 Make sending an EOS event to the basesrc non-blocking even if the
2766 implementation does blocking waits in the create function. This is done
2767 by unlocking the create function when EOS is sent.
2770 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2772 * tools/gst-inspect.c: (print_element_properties_info):
2773 If possible print the element type of GValueArray properties.
2775 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2777 * gst/gstiterator.c:
2778 Remove an unused field from the private GstListIterator struct.
2780 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2782 * libs/gst/controller/gstcontroller.c:
2783 Add parameter guards.
2785 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2787 * tests/check/gst/gstpipeline.c:
2788 Revert test change and add comment why it should not work.
2790 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2792 * tests/check/gst/gstpipeline.c:
2793 Extending the test a little to verify that we also get the NULL state-
2796 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2798 * gst/gstpreset.c: (gst_preset_default_get_meta),
2799 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2800 (gst_preset_load_preset), (gst_preset_save_preset),
2801 (gst_preset_rename_preset), (gst_preset_delete_preset),
2802 (gst_preset_set_meta):
2803 Add Since: markers to docs blurbs.
2805 * win32/common/libgstreamer.def:
2806 Add recently-added API.
2808 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2810 Patch by: Stefan Kost <ensonic@users.sf.net>
2813 Add DATADIR for storing presets.
2815 * docs/gst/gstreamer-docs.sgml:
2816 * docs/gst/gstreamer-sections.txt:
2817 * docs/gst/gstreamer.types.in:
2818 Add GstPreset to docs.
2822 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2823 (preset_open_and_parse_header), (preset_parse_version),
2824 (preset_merge), (preset_get_keyfile),
2825 (gst_preset_default_get_preset_names),
2826 (gst_preset_default_get_property_names),
2827 (gst_preset_default_load_preset),
2828 (gst_preset_default_save_presets_file),
2829 (gst_preset_default_save_preset),
2830 (gst_preset_default_rename_preset),
2831 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2832 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2833 (gst_preset_default_reset), (gst_preset_get_preset_names),
2834 (gst_preset_get_property_names), (gst_preset_load_preset),
2835 (gst_preset_save_preset), (gst_preset_rename_preset),
2836 (gst_preset_delete_preset), (gst_preset_set_meta),
2837 (gst_preset_get_meta), (gst_preset_class_init),
2838 (gst_preset_base_init), (gst_preset_get_type):
2840 Add GstPreset to core. Fixes #396779
2842 * tests/check/Makefile.am:
2843 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2844 (gst_preset_test_set_property), (gst_preset_test_class_init),
2845 (gst_preset_test_base_init), (gst_preset_test_get_type),
2846 (gst_preset_test_plugin_init), (GST_START_TEST),
2847 (remove_preset_file), (test_setup), (test_teardown),
2849 Add GstPreset unit tests.
2851 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2853 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2854 The default event function on a sinkpad should return TRUE when
2855 there are no internal links but should collect the return values from
2856 the internal links otherwise.
2858 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2860 * plugins/elements/gsttypefindelement.c:
2861 (gst_type_find_element_src_event),
2862 (gst_type_find_element_handle_event):
2863 Use faster and safer _pad_push_event().
2865 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2867 * docs/gst/gstreamer-sections.txt:
2868 * gst/gstutils.c: (element_find_unlinked_pad),
2869 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2871 API: add gst_bin_find_unlinked_pad()
2872 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2874 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2880 Fixed a bunch of typos.
2882 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2885 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2886 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2887 (gst_parse_bin_from_description_full):
2889 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2891 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2893 * docs/pwg/advanced-tagging.xml:
2894 Small docs update, can't be bothered to rewrite the nonsensical
2897 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2900 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2902 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2904 * gst/parse/grammar.y:
2905 Remove unneeded casts.
2907 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2909 * gst/parse/grammar.y:
2910 * tests/check/pipelines/parse-launch.c:
2911 Get all missing elements from a parse launch string if possible
2912 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2914 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2916 * tests/check/Makefile.am:
2917 * tests/check/pipelines/parse-launch.c:
2918 Add some unit tests for the new gst_parse_launch*_full() API.
2919 (Exposes a previously-existing memory leak in the error code
2920 path, so adding to VALGRIND_TO_FIX for now).
2922 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2924 * docs/gst/gstreamer-sections.txt:
2925 * gst/gst.c: (init_post):
2926 * gst/gst_private.h: (_GstParseContext):
2927 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2928 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2929 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2930 (gst_parse_launch_full):
2931 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2932 (GstParseFlags), (GstParseContext):
2933 * gst/gstutils.c: (gst_parse_bin_from_description),
2934 (gst_parse_bin_from_description_full):
2936 * gst/parse/grammar.y:
2937 * gst/parse/types.h:
2938 * win32/common/libgstreamer.def:
2939 Add new gst_parse_*_full API (#528178):
2940 API: gst_parse_launch_full()
2941 API: gst_parse_launchv_full()
2942 API: gst_parse_bin_from_description_full()
2943 API: gst_parse_context_new()
2944 API: gst_parse_context_free()
2945 API: gst_parse_context_get_missing_elements()
2947 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2949 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2951 * docs/faq/gst-uninstalled:
2952 Also support ffmpeg in gst-uninstalled.
2954 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2957 After discussion on IRC use the binary registry as default
2958 but allow to disable it with --disable-binary-registry.
2960 * win32/common/libgstreamer.def:
2961 Add the two new symbols for the binary registry.
2963 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2965 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2966 * gst/gstutils.c: (gst_parse_bin_from_description):
2967 * gst/parse/grammar.y: (graph):
2968 More guards against bad input; typo fix; some minor clean-ups.
2970 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2972 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2974 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2975 If nothing else can be used, use the last buffer's start time as
2976 the segment's last stop. Fixes bug #534258.
2978 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2980 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2981 Move size sanity check to the right place: downstream may return
2982 a buffer with a smaller size if the buffer caps are different than
2983 the requested ones, as may happen when doing reverse negotiation.
2985 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2987 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2988 (gst_file_sink_render):
2989 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2990 (gst_file_src_start):
2991 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2994 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2996 * gst/gstpad.c: (gst_pad_load_and_link):
2997 * gst/gstutils.c: (gst_element_link_pads),
2998 (gst_element_unlink_pads):
2999 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3000 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3001 (gst_check_teardown_sink_pad),
3002 (gst_check_element_push_buffer_list):
3003 * tests/check/elements/fakesink.c: (GST_START_TEST):
3004 * tests/check/elements/filesink.c:
3005 * tests/check/elements/filesrc.c: (GST_START_TEST):
3006 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3007 (mq_sinkpad_to_srcpad):
3008 * tests/check/elements/tee.c: (GST_START_TEST):
3009 * tests/check/generic/sinks.c: (GST_START_TEST):
3010 * tests/check/gst/gstbin.c: (GST_START_TEST):
3011 * tests/check/gst/gstevent.c: (GST_START_TEST):
3012 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3013 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3014 * tests/check/gst/gstquery.c: (GST_START_TEST):
3015 * tests/check/gst/gstutils.c: (GST_START_TEST):
3016 * tests/check/libs/basesrc.c: (GST_START_TEST):
3017 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3018 (gst_parse_test_element_change_state):
3019 Don't use gst_element_get_pad().
3021 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
3024 Fix installing plugin documentation when gtk-doc is disabled.
3026 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3028 * docs/manual/advanced-autoplugging.xml:
3029 * docs/manual/basics-helloworld.xml:
3030 * docs/manual/basics-pads.xml:
3031 * docs/manual/highlevel-components.xml:
3032 Avoid using a bad function in the example code.
3034 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3036 * gst/gstclock.c: (gst_clock_set_calibration):
3037 Fix debug of the new clock rate.
3039 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3041 * win32/common/libgstbase.def:
3042 Add gst_base_sink_wait_clock() to the exported symbols.
3044 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
3046 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3048 * libs/gst/base/gstbasetransform.c:
3049 (gst_base_transform_sink_event):
3050 Unref events that the GstBaseTransform::event vfunc didn't want to
3051 have forwarded by the base class. Closes a leak in identity.
3054 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3056 * docs/libs/gstreamer-libs-sections.txt:
3057 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3058 * libs/gst/base/gstbasesink.h:
3059 Expose a method that was previously used internally to synchronize
3060 against the clock because it can be useful for subclasses too.
3061 API: GstBaseSink::gst_base_sink_wait_clock()
3063 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3065 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3066 Add sanity check to make sure we don't get smaller buffers
3067 than requested (and fallback to normal buffer alloc if we do).
3069 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3071 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3072 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3073 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3074 Refactor adjusting the running_time with latency and offset into a
3076 When doing clipping, we still want to use the subclass get_times method,
3077 just in case the DURATION or TIMESTAMP are not set.
3079 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3081 * docs/gst/gstreamer-sections.txt:
3082 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3083 * gst/gsttypefind.h:
3084 * win32/common/libgstreamer.def:
3085 API: add gst_type_find_suggest_simple(), #533740.
3087 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3089 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3090 Use right error code when typefinding fails, so we can use
3091 the default (translated) error messages.
3093 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3095 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3096 (gst_base_src_start):
3097 When the subclass did not set caps on outgoing buffers, configure the
3098 caps we negotiated on the source pad.
3099 When the typefind helper does not find caps, error out properly instead
3100 of doing things with NULL caps.
3102 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3104 * gst/gsttypefind.h:
3105 Tabs to spaces, oh yes!
3107 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3109 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3110 Add David's and Benjamin's tests for array intersection to the
3111 unit test suite (#147931).
3113 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3116 Document that gst_event_new_tag() and gst_event_new_navigation()
3117 take ownership of the taglist/structure passed to them. (#533635).
3119 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3122 Don't descend into the plugins dir if plugin docs building
3126 Add a note about the new type:GTypeName syntax for the plugin
3127 documentation .types file.
3129 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3131 * gst/gstmessage.c: (gst_message_new_error),
3132 (gst_message_new_warning), (gst_message_new_info):
3134 Mark the debug string parameters as const. Fixes bug #533490.
3136 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3138 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3139 Sort buffer cache list by end offsets. This makes sure that we don't
3140 stop to search for a cached buffer that contains the requested data
3142 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3143 more efficient. Fixes bug #459862.
3145 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3148 Explain why we copy the list.
3150 * gst/gstpipeline.c:
3154 Add one debug-log statement to help tracing probelms with linking pads.
3156 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3158 * tests/check/gst/gstinfo.c:
3159 Add a test for removing the default log handler. Seems to fail under
3162 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3164 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3165 Release pad lock before calling out to avoid a possible deadlock.
3167 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3169 * gst/parse/grammar.y:
3170 Remove unneeded value unset.
3172 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3173 Add unit test for de/serialization of caps.
3175 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3177 * plugins/elements/gstfakesink.c:
3178 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3179 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3180 (gst_fake_src_class_init):
3181 Use custom marshalers that take GstMiniObject as first parameter.
3182 Using OBJECT as parameter while a GstMiniObject is given will lead
3183 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3185 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3187 * plugins/elements/gsttypefindelement.c:
3188 (gst_type_find_element_handle_event),
3189 (gst_type_find_element_send_cached_events),
3190 (gst_type_find_element_change_state):
3191 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3194 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3196 * plugins/elements/gsttypefindelement.c:
3197 (gst_type_find_handle_src_query), (stop_typefinding),
3198 (gst_type_find_element_handle_event),
3199 (gst_type_find_element_send_cached_events),
3200 (gst_type_find_element_change_state):
3201 Forward FLUSH_START events immediately and clean up instead of
3204 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3206 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3208 * libs/gst/base/gstbasetransform.c:
3209 (gst_base_transform_buffer_alloc):
3210 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3211 fall back to default negotiation in the chain function if the caps
3212 are different from what was requested. Fixes bug #526768.
3214 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3217 * tests/check/gst/gstsegment.c:
3218 No, let's not use g_slice_{dup|copy} here, since they only exist
3219 since GLib 2.14 and we still depend only on >= 2.12. Also add
3220 unit test for gst_segment_copy().
3222 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3224 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3225 Try to fix 'dereferencing type-punned pointer will break strict
3226 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3227 changed the default GType typedef from gulong to gsize at some point,
3228 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3229 g_once_* functions all take a gsize * though, so work around the type
3230 mismatch for C++ by doing everything in gsize and casting to GType
3233 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3235 * plugins/elements/gstmultiqueue.c:
3236 Add documentation for the signals to push our core plugin docs
3237 coverage back up to 100%.
3239 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3241 * gst/gstinfo.h (GST_FUNCTION):
3242 Reverted GST_FUNCTION to the old version as we don't want the
3243 full signature in C++ code. Also added support for MSVC.
3245 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3248 Intern the type name string, similar to what G_DEFINE_TYPE does.
3250 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3253 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3255 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3257 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3259 * libs/gst/base/gstbasetransform.c:
3260 (gst_base_transform_buffer_alloc):
3261 Don't passthrough buffer allocation too easily if the caps change.
3262 This breaks when working in passthrough mode and upstream changes
3263 it's caps. Fixes bug #526768.
3265 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3267 * gst/gstinfo.c (gst_debug_log_valist):
3268 Improved the __FILE__ part of debug output for MSVC.
3270 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3272 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3273 Declaration after statement fix for compilers like MSVC.
3275 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3277 * win32/common/config.h.in:
3278 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3279 use the real thing than having "???" unconditionally.
3281 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3283 * gst/gstinfo.h (GST_FUNCTION):
3284 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3286 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3288 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3291 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3292 (gst_base_sink_set_flushing):
3293 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3296 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3298 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3299 (gst_fake_src_init), (gst_fake_src_set_property),
3300 (gst_fake_src_get_property), (gst_fake_src_start):
3301 * plugins/elements/gstfakesrc.h:
3302 Added format property to control the format of the newsegment events.
3303 API: GstFakeSrc:format
3305 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3307 * win32/common/libgstreamer.def:
3308 Add gst_pad_has_name() to the exported symbols.
3310 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3312 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3313 * libs/gst/base/gstbasetransform.c:
3314 (gst_base_transform_prepare_output_buffer):
3315 Don't allow negative sizes when allocating new buffers.
3318 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3320 Patch by: Sjoerd Simons <sjoerd at luon net>
3322 * gst/gstbus.c: (gst_bus_source_dispatch):
3323 Don't print a warning if the queue is empty when we try to pop
3324 here. That could happen if another thread or callback set the
3325 bus to flushing between the source's check/prepare and the
3326 dispatch being called (#531538).
3328 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3330 * plugins/elements/gstmultiqueue.c:
3333 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3335 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3336 Add unit test for deserializing uint64s and check some really large
3337 numbers in the int64 test.
3339 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3341 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3342 (print_interfaces), (print_element_properties_info),
3343 (print_signal_info):
3344 Use "%s" as format string instead of printing strings directly.
3346 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3348 * gst/gstclock.c: (gst_clock_set_calibration):
3349 Make some checks actually useful.
3351 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3352 Remove some unused code. Unsigned integers tend to be >= 0.
3354 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3356 * gst/gstminiobject.c: (gst_value_get_mini_object):
3357 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3358 function was not in the unscheduled 0.10.19 release.
3360 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3362 * gst/gstregistry.c: (gst_registry_scan_path_level):
3363 Only print one log message per non-plugin file.
3365 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3367 * gst/gstinfo.c: (gst_debug_log_default):
3368 Fix alignment of debug log columns on 64-bit.
3370 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3372 * docs/libs/Makefile.am:
3373 * docs/libs/gstreamer-libs-sections.txt:
3374 Ignore private controller headers for docs.
3376 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3378 * libs/gst/controller/gstcontrollerprivate.h:
3379 * libs/gst/controller/gsthelper.c:
3380 * libs/gst/controller/gstinterpolation.c:
3381 * libs/gst/controller/gstinterpolationcontrolsource.c:
3382 (gst_interpolation_control_source_set_interpolation_mode):
3383 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3384 * libs/gst/controller/lib.c:
3385 Move some private declarations into private headers.
3387 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3389 * gst/gstdebugutils.c: (debug_dump_element_pad):
3390 Remove some code that is unused after Stefan's refactoring and uses
3391 uninitialized variables now, resulting in a compiler warning.
3393 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3395 * gst/gstregistry.c: (gst_registry_scan_path_level):
3396 Run g_str_has_suffix() only on the file name, not the
3399 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3401 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3402 Since we're not called only from the chain function any longer,
3403 we can't assume that there's always data in the queue, so move
3404 the is_full check to the beginning of the loop (otherwise we'd
3405 hit the assert when changing the limit properties while the
3406 queue is empty or not running yet).
3407 Also, only set a discont if items were actually removed from
3410 * tests/check/elements/queue.c: (test_leaky_downstream):
3411 Test case for the above.
3413 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3415 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3417 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3418 (gst_queue_chain), (queue_capacity_change),
3419 (gst_queue_set_property):
3420 When changing thr max capacity of a leaky queue, immediatly drop buffers
3421 instead of waiting for a push on the sinkpad. Fixes #530637.
3423 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3425 * gst/gstdebugutils.c:
3426 Refactor code and fix handling of ghostpads and their proxypads.
3428 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3430 * docs/gst/gstreamer-sections.txt:
3431 * gst/gstevent.c: (gst_event_has_name):
3433 * tests/check/gst/gstevent.c: (GST_START_TEST):
3434 Add method to conveniently check the name of a custom event with
3435 gst_event_has_name().
3436 Reformat the event docs so that related methods are put together instead
3437 of the default alphabetical sort.
3438 Update unit test with new method.
3439 API: GstEvent::gst_event_has_name()
3441 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3443 * libs/gst/check/Makefile.am:
3444 Don't add an explicit link to libgstreamer-0.10.la; it's already
3445 included in GST_OBJ_LIBS.
3447 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3450 Register GstClock type from a type-safe context. Fixes bug #530317.
3452 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3454 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3456 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3458 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3460 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3462 Use the GLib stuff to create a private structure.
3463 Add some locking around some dispose methods to make them a little
3464 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3466 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3468 * libs/gst/base/gstbasesink.h:
3469 * libs/gst/base/gstbasesrc.h:
3470 * libs/gst/base/gstbasetransform.h:
3471 * libs/gst/base/gstcollectpads.h:
3472 Fix doc typos and unify caps a bit.
3474 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3476 * tools/gst-launch.1.in:
3477 Forgot to also add the envvar docs here.
3479 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3481 * gst/gst.c: (init_post), (gst_deinit):
3482 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3483 (test_concurrent_create), (gst_pipeline_suite):
3484 Ref some more classes in gst_init() to work around thread-safety
3485 issues in pre-2.16 GLibs, and add basic unit test.
3487 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3489 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3490 (gst_base_sink_send_event):
3491 Rearrange the latency query code. We always want to do the upstream
3492 query, even if we are not live so that the upstream elements can get the
3493 latency results too. If we fail doing the query and we are live, we
3494 return TRUE afterwards.
3496 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3498 patch by: Jason Zhao <e3423c@motorola.com>
3500 * docs/gst/running.xml:
3502 Enable/disable scan_and_update_registry() based on commandline switch
3503 or environment variable. Fixes #520468.
3506 Fix typo in my previous commit.
3508 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3510 * gst/gstregistrybinary.c:
3511 Add a warning if we hit unhandled factories when saving.
3512 More debug logging detail, but move to LOG category.
3514 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3516 * gst/gstregistry.c:
3517 Tell the *truth* when improving the documentation.
3519 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3521 * gst/gstelementfactory.c: (gst_element_factory_make):
3522 Unref the factory after it was used the last time, not before.
3524 * gst/gstindexfactory.c: (gst_index_factory_make):
3525 Improve debugging a bit and don't leak a ref to the index factory with
3528 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3530 * gst/gstregistry.c:
3531 Improve the documentation.
3533 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3536 The glib macro seems to be borked. Use g_slice_copy directly and cast
3537 in the hope that this fixes the warning on 64bit.
3539 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3542 Document the new function. Use g_slice_dup() (no need for
3543 gst_segment_init()).
3545 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3547 * docs/gst/gstreamer-sections.txt:
3548 Move GParamSepc macros to standart section.
3551 Dn't document _get_type - its in private section in docs anyway and
3552 this doc-blob was incomplete.
3555 Fix wrong symbol names in docs.
3558 Add once doc sentence.
3560 * tests/check/gst/.cvsignore:
3563 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3565 * docs/gst/Makefile.am:
3566 And remove those libs here.
3568 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3570 * docs/libs/Makefile.am:
3571 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3573 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3575 Patch by: Olivier Crete <tester at tester dot ca>
3577 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3578 Add the min-threshold to the min latency if possible. Fixes #529148.
3580 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3582 * docs/gst/gstreamer.types.in:
3583 Stupid editor, I removed that line as it should go in yet.
3585 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3587 * docs/gst/gstreamer.types.in:
3588 * docs/libs/gstreamer-libs.types:
3589 Remove library types fro core docs and have them in libs docs.
3590 Reformat and cleanup. Add comment for miniobject types.
3592 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3594 * gst/gsturi.c: (gst_uri_get_protocol):
3595 Fix leak: g_strdown operates on the string in place, while
3596 g_ascii_strdown() returns a newly-allocated string.
3598 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3600 * tools/gst-inspect.c: (print_uri_handler_info),
3601 (print_element_info):
3602 Print the URI protocols and the URI type supported by the element.
3604 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3606 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3607 Use g_value_take_string() instead of the deprecated
3608 g_value_set_string_take_ownership().
3610 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3612 * gst/gstregistrybinary.c: (_gst_crc32):
3613 Return the old CRC instead of 0 if we give a NULL buffer
3614 or a buffer with a length of 0.
3616 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3618 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3619 (gst_uri_get_protocol), (gst_uri_has_protocol),
3620 (gst_uri_construct), (gst_uri_handler_set_uri):
3621 A valid URI scheme can also include '+', '-' and '.' additional
3622 to alphanumeric characters as per RFC 3986 Section 3.1.
3624 Handle URI schemes case insensitive in all places and convert
3625 to lower-case when constructing an URI or setting an URI with
3626 the GstURIHandler interface. Fixes bug #528868.
3627 All elements can still assume (as before) that they will
3628 get passed URIs with a lower-case URI scheme by the GstURIHandler
3631 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3633 * gst/gstcaps.c: (gst_static_caps_get):
3634 * gst/gstclock.c: (gst_clock_entry_new):
3635 Don't use g_atomic_set_int where it's not needed.
3637 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3639 * gst/gstvalue.c: (gst_value_deserialize_caps):
3640 * gst/parse/grammar.y:
3643 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3645 * gst/gstutils.c: (gst_atomic_int_set):
3646 Use g_atomic_int_set() here too instead of assignment +
3649 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3653 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3654 now that we depend on new enough GLib.
3656 * gst/gstcaps.c: (gst_static_caps_get):
3657 * gst/gstclock.c: (gst_clock_entry_new):
3658 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3659 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3660 (gst_debug_category_set_threshold):
3661 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3662 (gst_base_sink_set_qos_enabled):
3663 * libs/gst/net/gstnettimeprovider.c:
3664 (gst_net_time_provider_set_property):
3665 Use g_atomic_int_set() instead of gst_atomic_int_set().
3667 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3670 Also use G_GINT64_CONSTANT for the queries.
3672 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3675 Use G_GINT64_CONSTANT in varargs function.
3677 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3679 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3680 Initialize the registry magic with zeroes.
3682 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3684 * gst/gstregistrybinary.c: (_gst_crc32),
3685 (gst_registry_binary_write),
3686 (gst_registry_binary_initialize_magic),
3687 (gst_registry_binary_write_cache),
3688 (gst_registry_binary_check_magic),
3689 (gst_registry_binary_read_cache):
3690 * gst/gstregistrybinary.h:
3691 Add crc32 checksum to the binary registry file and check this before
3692 accepting a registry file.
3694 Also free the data list when writing to the registry file fails.
3696 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3698 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3699 (gst_registry_binary_load_feature),
3700 (gst_registry_binary_load_plugin):
3701 If an element supports the Uri interface, returns a valid pointer
3702 to the supported URI protocols but this pointer contains nothing
3703 don't try to save that as it will corrupt the registry.
3705 Don't unref the plugin if we added it to the registry already but
3706 fail to load a feature as gst_registry_add_plugin() takes ownership
3709 Improve debugging a bit.
3711 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3714 Clarify some tag item docs after discussion on irc.
3716 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3718 * docs/gst/gstreamer-docs.sgml:
3719 Remove commented out plugins (they have their own docs). Update
3722 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3724 * docs/gst/gstreamer-docs.sgml:
3725 * docs/gst/gstreamer-sections.txt:
3726 * gst/gstparamspecs.c:
3727 * gst/gstparamspecs.h:
3728 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3729 docs to own section.
3732 This now only documents GValue.
3734 * docs/libs/gstreamer-libs-sections.txt:
3735 * libs/gst/controller/gstcontroller.h:
3736 Remove GST_PARAM_CONTROLLABLE.
3738 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3741 Correct file path. Tell about how to use -overrides.txt.
3742 * docs/design/draft-tagreading.txt:
3743 Small design update.
3745 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3747 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3748 (gst_registry_binary_load_plugin):
3749 Fix a typo in a debug message and revert change from yesterday as
3750 gst_registry_add_plugin() will only fail if something is really wrong
3751 already and we can't survive it anyway.
3753 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3755 * gst/gst.c: (init_post), (gst_deinit):
3756 Pre-register GstGError GType from a thread-safe context
3757 (fixes #527967); unref enum type classes in deinit.
3759 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3761 Patch by: Rene Stadler <mail at renestadler de>
3763 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3764 Merging an empty list with another list in KEEP_ALL mode should
3765 yield an empty list as result and not the second list (#512578).
3767 * tests/check/gst/gsttagsetter.c:
3768 Add unit test for tag merge modes and the aforementioned bug.
3770 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3772 Patch by: Rene Stadler <mail at renestadler de>
3775 Fix description to match the order in the table (#512577).
3777 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3779 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3781 * libs/gst/net/gstnettimepacket.h:
3782 * docs/libs/gstreamer-libs-sections.txt:
3783 Define socklen_t as int if it's not defined yet. Fixes compilation
3784 with MSVC6 and other versions where socklen_t is not defined in
3785 the windows headers (#518022).
3787 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3789 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3790 If gst_registry_add_plugin() fails our reference to the plugin is
3791 invalid so don't try to use it anymore and instead error out.
3793 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3795 * tools/gst-xmlinspect.c: (print_element_info), (main):
3796 De-cruft a bit. If no argument is specified, print all elements in
3797 XML syntax rather than a freestyle list of elements like gst-inspect.
3798 Also, don't print XML header chunk unless we actually have something
3799 to print (ie. don't print it before an error message); print error
3800 message to stderr not stdout. Remove support for printing plugin
3801 info (it would just output something freestyle along the lines of
3802 gst-inspect so far), which fixes #514507. Also add license header.
3804 2008-04-11 Julien Moutte <julien@fluendo.com>
3807 * configure.ac: Merge platform specific defines, introduce a new
3808 define on OS X to remember that forking when updating registry is
3810 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3812 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3814 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3815 condition that leads to absolutely no plugins being registered on
3818 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3820 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3822 * gst/gstutils.c: (gst_pad_add_data_probe),
3823 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3824 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3825 (gst_pad_add_buffer_probe_full):
3827 * docs/gst/gstreamer-sections.txt:
3828 * win32/common/libgstreamer.def:
3829 Add gst_pad_add_*_probe_full() functions with a notify callback that
3830 lets the caller free the data it passes to the probe functions. This
3831 is useful for bindings such as gst-python or gstreamermm (#526814).
3832 API: gst_pad_add_data_probe_full
3833 API: gst_pad_add_buffer_probe_full
3834 API: gst_pad_add_event_probe_full
3836 * tests/check/gst/gstutils.c:
3837 Add minimal unit test to make sure freeing the data actually works
3840 * tests/benchmarks/.cvsignore:
3841 Random cvsignore addendum.
3843 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3845 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3846 (GST_DEBUG_BIN_TO_DOT_FILE):
3847 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3848 to it in the docs (since these are macros the types of the arguments
3849 won't be shown in the docs otherwise).
3851 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3854 Do not abort on out of memory for pad_alloc_buffer.
3856 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3858 * libs/gst/check/gstcheck.c:
3859 Remove blank line between symbol name ad parameters to fix gtkdoc
3862 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3864 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3866 * docs/gst/gstreamer-sections.txt:
3869 * win32/common/libgstreamer.def:
3870 Expose gst_segment_copy() to make things easier for the c++ bindings.
3872 API: gst_segment_copy()
3874 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3876 * gst/gst.c: (gst_init_get_option_group), (init_post):
3877 Fix const position; ref GType classes for enum types to work
3878 around thread-safety issues in GLib versions < 2.16.
3880 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3882 * docs/design/part-buffering.txt:
3883 Fix some typos and set the estimated total for push mode to -1.
3885 * gst/gstquery.c: (gst_query_new_buffering):
3886 Set buffering-left to 0 as we're not buffering by default.
3888 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3889 Implement BUFFERING query.
3891 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3893 Based on patch by: Milosz Derezynski <internalerror gmail com>
3895 * gst/gsterror.c: (_gst_stream_errors_init):
3897 Add two new error codes for encrypted content. Fixes #524659.
3898 API: GST_STREAM_ERROR_DECRYPT
3899 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3901 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3906 * win32/common/libgstreamer.def:
3909 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3911 * plugins/elements/gstidentity.c: (gst_identity_event),
3912 (gst_identity_start):
3913 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3914 event after processing some data. Fixes bug #526042.
3916 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3918 * docs/gst/gstreamer-sections.txt:
3919 * gst/gstquery.c: (gst_query_parse_latency),
3920 (gst_query_set_buffering_percent),
3921 (gst_query_parse_buffering_percent),
3922 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3924 Rename _avail -> _range
3925 API: gst_query_set_buffering_range
3926 API: gst_query_parse_buffering_range
3928 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3930 * docs/design/part-buffering.txt:
3933 * gst/gstquery.c: (gst_query_parse_latency),
3934 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3935 (gst_query_parse_buffering_percent):
3937 Add busy field and quark for the buffering query so that the app can
3938 only use the query to see if buffering is in progress.
3940 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3942 * docs/gst/gstreamer-sections.txt:
3943 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3944 (gst_message_parse_buffering_stats):
3946 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3947 (gst_query_parse_latency), (gst_query_new_buffering),
3948 (gst_query_set_buffering_percent),
3949 (gst_query_parse_buffering_percent),
3950 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3951 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3953 Reorder the message docs and headers for clarity.
3954 Add aditional buffering stats API for messages.
3955 Add buffering query.
3956 Convert some leftover queries to use GstQuark.
3957 API: gst_message_set_buffering_stats
3958 API: gst_message_parse_buffering_stats
3959 API: GST_QUERY_BUFFERING
3960 API: GstBufferingMode
3961 API: gst_query_new_buffering
3962 API: gst_query_set_buffering_percent
3963 API: gst_query_parse_buffering_percent
3964 API: gst_query_set_buffering_stats
3965 API: gst_query_parse_buffering_stats
3967 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3969 * gst/gstmessage.c: (gst_message_new_error),
3970 (gst_message_new_warning), (gst_message_new_info),
3971 (gst_message_new_buffering), (gst_message_new_state_changed),
3972 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3973 (gst_message_new_new_clock), (gst_message_new_segment_start),
3974 (gst_message_new_segment_done), (gst_message_new_duration),
3975 (gst_message_new_async_start), (gst_message_parse_buffering),
3976 (gst_message_parse_state_changed),
3977 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3978 (gst_message_parse_new_clock), (gst_message_parse_error),
3979 (gst_message_parse_warning), (gst_message_parse_info),
3980 (gst_message_parse_segment_start),
3981 (gst_message_parse_segment_done), (gst_message_parse_duration),
3982 (gst_message_parse_async_start):
3983 Use GstQuark for messages.
3985 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3987 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3989 Add some more quarks needed for messages and queries.
3991 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3993 * docs/design/part-buffering.txt:
3994 Remove the "none" buffering mode, STREAM is a good default.
3995 Move estimated-time to the avail query, that's when it will be needed.
3996 Other small typo fixes and updates.
3998 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4000 * gst/gstindex.c: (gst_index_resolver_get_type):
4001 Don't put descriptions into the nick field of a GEnumValue: it's not
4002 meant for that and some language bindings rely on the nick field to
4003 construct constants and the like. Fixes #526705.
4005 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4010 Merge other changes from 0.10.19 release branch.
4012 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
4014 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4017 Actually build dlls when cross-compiling with mingw32.
4020 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
4022 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4025 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4027 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
4029 * docs/design/draft-latency.txt:
4032 * docs/design/part-buffering.txt:
4033 Update design docs with more buffering ideas.
4035 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
4038 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4040 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4043 Revert part that belongs to the preset patch.
4045 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4048 Add qoutes to the define. Fixes # 525961.
4050 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4052 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4053 (gst_file_index_load), (gst_file_index_add_id),
4054 (gst_file_index_get_assoc_entry):
4055 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4056 (gst_mem_index_free_id), (gst_mem_index_add_id),
4057 (gst_mem_index_index_format):
4058 Use GSlice when possible.
4060 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4062 * libs/gst/controller/gstinterpolationcontrolsource.c:
4063 (gst_control_point_free),
4064 (gst_interpolation_control_source_set_internal):
4065 Use GSlice for allocating the control points.
4067 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4069 * plugins/elements/gsttypefindelement.c:
4070 (gst_type_find_element_class_init),
4071 (gst_type_find_element_set_property),
4072 (gst_type_find_element_get_property),
4073 (gst_type_find_element_activate):
4074 * plugins/elements/gsttypefindelement.h:
4076 Fix pad leak when peer query fails.
4077 We can still typefind when the peer returns -1.
4078 Add property to force caps and bypass typefinding. This will be used in
4082 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4087 * gst/glib-compat-private.h:
4088 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4089 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4090 Unconditionally use GSlice for allocation.
4092 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4093 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4094 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4095 (gst_structure_free):
4096 Use GSlice for allocation.
4098 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4100 * gst/parse/Makefile.am:
4101 * gst/parse/grammar.tab.pre.c:
4102 * gst/parse/grammar.tab.pre.h:
4103 * gst/parse/lex._gst_parse_yy.pre.c:
4104 Require a new enough flex and bison and remove the parser hacks to use
4105 a pre-regenerated version.
4107 2008-04-01 Julien Moutte <julien@fluendo.com>
4109 patch by: Jason Zhao <E3423C@motorola.com>
4111 * configure.ac: Add a configure switch to disable option parsing
4115 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4118 * gst/gstregistry.c:
4119 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4120 and handle this case.
4123 Add a comment here describing, why we stat each plugin and not try to
4126 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4128 * libs/gst/base/gstbasetransform.c:
4129 (gst_base_transform_prepare_output_buffer):
4130 Also unset the GAP flag on buffers if we're working inplace but
4131 the element is not GAP-aware.
4133 Mark a comment as FIXME 0.11.
4135 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4138 Fix type in log message and add one to ease seeing how long registry
4139 cache verification takes.
4141 * gst/gstregistry.c:
4142 Only test plugin filenames against G_MODULE_SUFFIX.
4144 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4146 * gst/gstdebugutils.c:
4147 Improve handling ghost/proxy pads.
4149 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4151 * docs/gst/gstreamer-sections.txt:
4154 Expose macro to docs and fix link to it.
4156 2008-03-27 Michael Smith <msmith@fluendo.com>
4158 * libs/gst/dataprotocol/dataprotocol.c:
4159 (gst_dp_packet_from_event_1_0):
4160 When calculating GDP body CRC, use the correct pointer.
4161 Fixes part of #522401.
4163 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4165 Patch by: Mark Nauwelaerts <manauw at skynet be>
4167 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4168 (gst_identity_init), (gst_identity_prepare_output_buffer):
4169 Identity is not always a passthrough element, it can modify the buffer
4170 timestamps when it has a datarate and operates in single-segment mode.
4171 We therefore make it an in_place filter with a custom buffer prepare
4172 function that conditionally makes the input buffer metadata writable
4173 when needed. Fixes #523985.
4175 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4177 Patch by: Mark Nauwelaerts <manauw at skynet be>
4180 * libs/gst/base/gstbasesrc.h:
4181 * libs/gst/base/gstbasetransform.c:
4182 * libs/gst/check/gstcheck.c:
4183 Small documentation fixes. Fixes #523978.
4185 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4187 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4188 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4189 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4191 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4193 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4194 (single_queue_underrun_cb):
4195 When trying to make room in the queue, bump the max allowed buffers
4196 bigger than the current amount of buffers in the queue. this fixes some
4197 nasty deadlocks in multiqueue when dynamically changing the limits of
4200 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4202 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4204 * gst/gstcaps.c: (gst_caps_set_simple),
4205 (gst_caps_set_simple_valist), (gst_caps_intersect):
4207 Constify the field gchar * params in set_simple and friends.
4210 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4212 * gst/gstvalue.c: (gst_value_transform_object_string):
4213 Transform a GstObject to a more meaningfull string that includes the
4214 object type in addition to its name.
4216 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4219 ChangeLog surgery to add bugnumber to commit.
4221 2008-03-23 Rene Stadler <mail@renestadler.de>
4223 * libs/gst/base/gstbasetransform.c:
4224 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4226 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4228 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4229 Rename constant everywhere and don't forget one occurence.
4231 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4233 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4234 Align memory to the pointer size even if the architecture allows
4235 unaligned memory access. Unaligned memory access usually comes with
4236 performance penality.
4238 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4240 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4241 (gst_registry_binary_check_magic),
4242 (gst_registry_binary_load_pad_template),
4243 (gst_registry_binary_load_feature),
4244 (gst_registry_binary_load_plugin):
4245 Align memory to the pointer size instead of always 32 bit. Fixes
4246 unaligned memory accesses on ia64 and friends.
4248 * gst/gstregistrybinary.h:
4249 Bump binary registry format version for this as it changes the
4250 format on those architectures that don't have unaligned access
4251 and 64 bit pointers.
4253 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4255 * docs/pwg/advanced-dparams.xml:
4256 * docs/pwg/building-props.xml:
4257 * docs/pwg/other-source.xml:
4258 * gst/glib-compat.h:
4259 * gst/gstbin.c: (gst_bin_class_init):
4260 * gst/gstclock.c: (gst_clock_class_init):
4261 * gst/gstindex.c: (gst_index_class_init):
4262 * gst/gstobject.c: (gst_object_class_init):
4263 * gst/gstpad.c: (gst_pad_class_init):
4264 * gst/gstpipeline.c: (gst_pipeline_class_init):
4265 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4266 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4267 * libs/gst/base/gstbasetransform.c:
4268 (gst_base_transform_class_init):
4269 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4270 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4271 (_gst_check_fault_handler_sighandler),
4272 (_gst_check_fault_handler_setup), (gst_check_init):
4273 * libs/gst/controller/gstcontroller.c:
4274 (_gst_controller_class_init):
4275 * libs/gst/controller/gstlfocontrolsource.c:
4276 (gst_lfo_control_source_class_init):
4277 * libs/gst/net/gstnetclientclock.c:
4278 (gst_net_client_clock_class_init):
4279 * libs/gst/net/gstnettimeprovider.c:
4280 (gst_net_time_provider_class_init):
4281 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4282 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4283 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4284 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4285 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4286 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4287 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4288 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4289 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4290 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4291 * plugins/elements/gsttee.c: (gst_tee_class_init):
4292 * plugins/elements/gsttypefindelement.c:
4293 (gst_type_find_element_class_init):
4294 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4295 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4296 use it everywhere for GParamSpecs that use static strings (i.e. all).
4297 This gives us less memory usage, fewer allocations and thus less
4298 memory defragmentation. Fixes bug #523806.
4300 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4302 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4303 (gst_param_spec_mini_object):
4304 * gst/gstminiobject.h:
4305 * win32/common/libgstreamer.def:
4306 * docs/gst/gstreamer-sections.txt:
4307 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4308 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4309 GstParamSpecMiniObject into a public header for this.
4311 This make GstMiniObject a bit more consistent with GObject and makes
4312 it possible to extend the param specs.
4314 gst_value_dup_mini_object is mainly useful for set_property methods.
4318 * tools/gst-inspect.c: (print_element_properties_info):
4319 Print something useful for GstMiniObject properties and not just
4322 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4324 * docs/gst/gstreamer-sections.txt:
4325 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4326 (gst_registry_binary_check_magic):
4327 * gst/gstregistrybinary.h:
4328 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4329 and add it to the (private part) of the docs to fix the build.
4331 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4333 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4334 (gst_registry_binary_check_magic),
4335 (gst_registry_binary_read_cache):
4336 * gst/gstregistrybinary.h:
4337 Don't use GST_MAJORMINOR for the binary registry version. Instead
4338 hardcode a value that must be changed whenever the format changes
4339 in an incompatible way.
4340 Also don't GST_ERROR when there is a version mismatch, just
4341 regenerate the registry silently.
4343 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4346 Back to development - 0.10.18.1
4348 === release 0.10.18 ===
4350 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4353 releasing 0.10.18, "So far away"
4355 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4358 * win32/common/config.h:
4359 0.10.17.4 pre-release
4361 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4363 Patch by: Ole André Vadla Ravnås
4364 <ole dot andre dot ravnas at tandberg dot com>
4366 * docs/gst/gstreamer-sections.txt:
4367 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4368 (gst_poll_update_winsock_event_mask),
4369 (gst_poll_prepare_winsock_active_sets),
4370 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4371 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4372 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4373 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4374 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4376 * win32/common/libgstreamer.def:
4377 Add new function gst_poll_fd_ignored() for improved Windows
4379 Various minor fixes and cleanups. See #520808.
4381 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4383 * gst/gstindex.c: (gst_index_entry_free):
4385 Don't free key strings which we don't own. Fixes crash in
4386 gst_index_entry_free() (#522741).
4388 * tests/check/Makefile.am:
4389 * tests/check/gst/.cvsignore:
4390 * tests/check/gst/gstindex.c: (test_index_entries),
4391 (gst_index_suite), (gst_index):
4392 Add unit test for the above.
4394 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4396 * win32/common/libgstreamer.def:
4397 Remove symbols that were removed recently. Fixes bug #521740.
4399 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4402 * win32/common/config.h:
4403 0.10.17.3 pre-release
4405 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4407 Patch by: Ole André Vadla Ravnås
4408 <ole dot andre dot ravnas at tandberg dot com>
4410 * docs/gst/gstreamer-sections.txt:
4411 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4412 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4413 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4414 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4415 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4416 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4417 (gst_poll_fd_can_write), (gst_poll_wait),
4418 (gst_poll_set_controllable), (gst_poll_restart),
4419 (gst_poll_set_flushing):
4421 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4422 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4423 (gst_net_time_provider_new):
4424 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4425 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4426 * tests/benchmarks/gstpollstress.c: (main):
4427 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4428 Remove GstPollMode from the API, it does not make sense to let the
4429 application control this.
4430 Add support for Win32.
4431 Fix the testsuite. Fixes #520671.
4433 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4435 Patch by: Ole André Vadla Ravnås
4436 <ole dot andre dot ravnas at tandberg dot com>
4438 * gst/gstregistrybinary.c:
4439 Include io.h for write() and close() when building with MSVC. Fixes
4442 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4445 * gst/gst_private.h:
4446 * gst/gstconfig.h.in:
4447 * gst/gstregistry.h:
4448 * gst/gstregistrybinary.c:
4449 * win32/common/gstconfig.h:
4450 Move registry backend API to private headers where we can. Add
4451 fixme-0.11 comments for the others. Add stubs for the xml backend when
4452 using the binary to ensure they functions exists (they should not be
4453 used though). Fixes #520756.
4455 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4458 * win32/common/config.h:
4461 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4463 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4464 (gst_registry_binary_read_cache):
4465 * gst/gstregistryxml.c: (gst_registry_save):
4466 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4467 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4468 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4469 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4470 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4473 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4475 * gst/gstminiobject.c:
4476 Import gst_private.h before any other header that might include other
4477 glib headers. This fixes the build on windows using native compilers.
4479 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4481 * win32/common/gstconfig.h:
4482 Add here too, just for completeness.
4484 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4487 * gst/gstconfig.h.in:
4488 * gst/gstregistry.h:
4489 Fix broken use of config.h-defined preprocessor directive in a public
4490 header file. Add a corresponding define to gstconfig.h, since we can't
4491 really remove those function declarations from the header file now
4492 (or can we? and why are they there in the first place?).
4494 2008-03-03 Andy Wingo <wingo@pobox.com>
4496 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4499 * gst/gststructure.c (gst_structure_from_string): Warn if
4500 structure_from_string didn't consume the whole string, but the
4501 caller did not provide an end pointer.
4503 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4505 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4507 * gst/gstregistryxml.c: (read_string), (load_feature):
4508 Strings allocated by libxml2 should be freed with xmlFree(), not
4509 with g_free(). Fixes issues on windows in certain contexts (#519698).
4511 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4513 * gst/gstinterface.c: (gst_element_implements_interface):
4514 Don't crash if the element supports the interface queried, but does
4515 not implement GstImplementsInterface. Fixes #519584.
4517 * tests/check/Makefile.am:
4518 * tests/check/gst/.cvsignore:
4519 * tests/check/gst/gstinterface.c:
4520 Add unit test for the above.
4522 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4524 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4527 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4529 * gst/gstsegment.c: (gst_segment_set_seek),
4530 (gst_segment_to_stream_time):
4531 Improve some comment.
4532 Update variables where it makes more sense.
4534 2008-02-29 Rene Stadler <mail@renestadler.de>
4536 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4537 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4538 URIHandlers implemented using language bindings.
4540 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4542 * gst/gstelementfactory.h:
4543 * tests/check/elements/fakesink.c:
4544 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4545 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4546 * tests/check/elements/filesink.c: (setup_filesink):
4547 * tests/check/elements/filesrc.c: (setup_filesrc):
4548 * tests/check/elements/identity.c: (setup_identity):
4549 * tests/check/elements/tee.c:
4550 * tests/check/generic/sinks.c:
4551 * tests/check/generic/states.c: (setup), (teardown):
4552 * tests/check/gst/gst.c:
4553 * tests/check/gst/gstabi.c:
4554 * tests/check/gst/gstbin.c:
4555 * tests/check/gst/gstbus.c: (pull_messages):
4556 * tests/check/gst/gstcaps.c:
4557 * tests/check/gst/gstelement.c:
4558 * tests/check/gst/gstevent.c:
4559 * tests/check/gst/gstghostpad.c:
4560 * tests/check/gst/gstiterator.c:
4561 * tests/check/gst/gstmessage.c:
4562 * tests/check/gst/gstminiobject.c: (my_foo_init):
4563 * tests/check/gst/gstobject.c: (thread_name_object),
4565 * tests/check/gst/gstpad.c:
4566 * tests/check/gst/gstplugin.c:
4567 * tests/check/gst/gstpoll.c:
4568 * tests/check/gst/gstquery.c:
4569 * tests/check/gst/gstsegment.c:
4570 * tests/check/gst/gststructure.c:
4571 * tests/check/gst/gstsystemclock.c:
4572 * tests/check/gst/gsttask.c:
4573 * tests/check/gst/gstutils.c:
4574 * tests/check/gst/gstvalue.c:
4575 * tests/check/gst/struct_hppa.h:
4576 * tests/check/gst/struct_i386.h:
4577 * tests/check/gst/struct_ppc32.h:
4578 * tests/check/gst/struct_ppc64.h:
4579 * tests/check/gst/struct_x86_64.h:
4580 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4581 * tests/check/libs/basesrc.c:
4582 * tests/check/libs/controller.c: (GST_START_TEST):
4583 * tests/check/libs/gdp.c:
4584 * tests/check/libs/gstnetclientclock.c:
4585 * tests/check/libs/gstnettimeprovider.c:
4586 * tests/check/libs/libsabi.c:
4587 * tests/check/libs/struct_hppa.h:
4588 * tests/check/libs/struct_i386.h:
4589 * tests/check/libs/struct_ppc32.h:
4590 * tests/check/libs/struct_ppc64.h:
4591 * tests/check/libs/struct_x86_64.h:
4592 * tests/check/pipelines/cleanup.c:
4593 * tests/check/pipelines/simple-launch-lines.c:
4594 * tests/check/pipelines/stress.c:
4595 And correct even more valid sparse warnings.
4597 * win32/common/libgstreamer.def:
4598 Add gst_poll_fd_init to the list of symbols.
4600 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4602 * gst/gstconfig.h.in:
4603 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4604 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4605 (gst_check_log_critical_func), (gst_check_drop_buffers),
4606 (gst_check_element_push_buffer_list):
4607 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4608 (gst_controller_get_type):
4609 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4610 (gst_object_get_controller), (gst_object_get_control_source):
4611 * libs/gst/controller/gstinterpolationcontrolsource.c:
4612 (gst_interpolation_control_source_new):
4613 * libs/gst/controller/gstlfocontrolsource.c:
4614 (gst_lfo_control_source_new):
4615 * libs/gst/dataprotocol/dataprotocol.c:
4616 (gst_dp_event_from_packet_0_2):
4617 * plugins/elements/gstfdsrc.c:
4618 * plugins/elements/gstmultiqueue.c:
4619 * plugins/elements/gsttee.c:
4620 * plugins/elements/gsttypefindelement.c:
4621 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4622 (gst_file_index_add_association):
4623 * plugins/indexers/gstmemindex.c:
4624 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4625 * tests/check/elements/queue.c: (setup_queue):
4626 * tests/check/gst/gstpipeline.c:
4627 * tests/check/libs/collectpads.c: (setup), (teardown),
4628 (gst_collect_pads_suite):
4629 * tests/examples/adapter/adapter_test.c:
4630 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4631 * tests/examples/xml/createxml.c:
4632 * tests/examples/xml/runxml.c:
4633 * tools/gst-inspect.c:
4635 Correct all relevant warnings found by the sparse semantic code
4636 analyzer. This include marking several symbols static, using
4637 NULL instead of 0 for pointers, not using variable sized arrays
4638 on the stack, moving variable declarations to the beginning of
4639 a block and using "foo (void)" instead of "foo ()" for declarations.
4641 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4643 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4644 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4645 Don't reset GstPollFDs, this is not necessary at all.
4647 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4648 (delayed_restart), (delayed_control):
4649 Use GST_POLL_FD_INIT.
4651 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4653 * gst/gstpoll.c: (gst_poll_fd_init):
4657 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4658 Use some more init macros.
4660 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4662 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4663 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4664 Use init macros and functions.
4666 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4668 * docs/gst/gstreamer-sections.txt:
4669 * gst/gstpoll.c: (gst_poll_fd_init):
4671 Add INIT macro and _init method for initializing the GstPollFD.
4673 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4675 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4676 (gst_fd_sink_update_fd):
4677 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4678 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4679 (delayed_restart), (delayed_control):
4680 Initialize some uninitialized variables as spotted by valgrind.
4682 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4684 * tests/benchmarks/Makefile.am:
4685 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4687 Add poll stress test.
4689 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4691 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4693 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4694 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4695 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4696 * plugins/elements/gstfdsink.h:
4697 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4698 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4699 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4700 (gst_fd_src_uri_set_uri):
4701 * plugins/elements/gstfdsrc.h:
4702 Port to GstPoll. See #505417.
4704 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4706 * win32/common/libgstreamer.def:
4707 Add new gst_poll_ symbols to win32 defs.
4709 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4711 * docs/libs/gstreamer-libs-sections.txt:
4712 * libs/gst/net/gstnetclientclock.c:
4713 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4714 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4715 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4716 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4717 * libs/gst/net/gstnetclientclock.h:
4718 * libs/gst/net/gstnettimeprovider.c:
4719 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4720 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4721 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4722 (gst_net_time_provider_new):
4723 * libs/gst/net/gstnettimeprovider.h:
4724 Use a private stuct to not break ABI.
4726 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4728 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4730 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4731 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4732 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4733 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4734 * libs/gst/net/gstnetclientclock.h:
4735 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4736 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4737 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4738 (gst_net_time_provider_new):
4739 * libs/gst/net/gstnettimeprovider.h:
4740 Massive code removal and cleanups because of GstPoll.
4743 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4746 Add checks for poll, ppoll and pselect.
4748 * docs/gst/gstreamer-docs.sgml:
4749 * docs/gst/gstreamer-sections.txt:
4750 Add docs for GstPoll.
4754 * gst/gstpoll.c: (find_index), (selectable_fds),
4755 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4756 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4757 (gst_poll_set_mode), (gst_poll_get_mode),
4758 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4759 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4760 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4761 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4762 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4763 (gst_poll_fd_can_write), (gst_poll_wait),
4764 (gst_poll_set_controllable), (gst_poll_restart),
4765 (gst_poll_set_flushing):
4767 Add generic poll abstraction. We ideally don't want to have this in core
4768 here but in glib intead...
4769 This code will be used in various network elements and ultimately for
4770 the nanosecond precision monotonic clock (that's why it's here in core).
4771 It'll allow us to implement cancelable socket operations for windows too.
4773 * tests/check/Makefile.am:
4774 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4775 (delayed_stop), (delayed_restart), (delayed_flush),
4776 (delayed_control), (gst_poll_suite):
4777 Add GstPoll unit test.
4779 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4782 Improve documentation of gst_filter_run(). Fixes #518627.
4784 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4787 Add a few lines about the new 'check-inspected-versions' target.
4789 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4791 * tests/check/gst/gstevent.c:
4792 Add qos to the event test. Rename tcase/tsuite; is not only about
4795 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4797 * plugins/elements/gstqueue.c:
4798 Ensure that buffer metadata is writeable, before modifying. Spotted by
4801 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4803 * plugins/elements/gstqueue.c:
4804 * plugins/elements/gstqueue.h:
4805 When dropping buffers in leaky modes, mark next buffers we sent as
4808 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4810 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4811 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4813 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4815 * plugins/elements/Makefile.am:
4816 * plugins/elements/gstbufferstore.c:
4817 * plugins/elements/gstbufferstore.h:
4818 * plugins/elements/gsttypefindelement.h:
4819 Remove GstBufferStore, no idea why we were still building it.
4820 It's not used anywhere and superseded by GstAdapter.
4822 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4823 (gst_file_src_create_mmap):
4824 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4825 Printf format fixes for 64-bit integers.
4827 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4830 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4831 We're not in 0.8 times anymore.
4833 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4835 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4836 (gst_check_element_push_buffer_list):
4837 * libs/gst/check/gstcheck.h:
4838 Make the declaration in the header for
4839 gst_check_element_push_buffer_list match the implementation.
4841 Fix up spelling, grammar and wording of the documentation in a few
4842 places, and add the Since keyword to new API functions.
4843 Use g_list_delete_link instead of g_list_remove in
4844 gst_check_drop_buffers, since it's immeasurably more efficient.
4846 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4847 Use new gst_check_drop_buffers function where appropriate.
4849 * win32/common/libgstbase.def:
4850 * win32/common/libgstreamer.def:
4851 Add new symbols gst_collect_pads_take_buffer,
4852 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4855 Changelog surgery to add API keyword to new gst_check API.
4857 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4859 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4860 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4861 Update pre-generated flex files with flex 2.3.34.
4863 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4865 * gst/gstminiobject.c:
4866 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4867 friendly to subclasses and not require them to know all internals
4868 of their parent class.
4870 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4872 * docs/libs/gstreamer-libs-sections.txt:
4873 * libs/gst/base/gstcollectpads.c:
4874 * libs/gst/base/gstcollectpads.h:
4875 Add sub-buffer functions to collectpads. Fixes #516187.
4876 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4878 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4881 Copy selected buffer-flags when creating subbuffers.
4884 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4886 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4887 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4888 * gst/gstmessage.c: (gst_message_class_init),
4889 (gst_message_finalize):
4890 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4891 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4892 (gst_mmap_buffer_finalize):
4893 Properly chain up finalize functions to the parent class.
4895 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4897 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4899 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4900 (gst_index_set_resolver_full):
4902 Add new function with option to dispose of user_data in resolver.
4903 Actually call the dispose function when finalizing the object and not
4904 just when changing the resolver/filter.
4905 API: GstIndex::gst_index_set_resolver_full()
4907 * docs/gst/gstreamer-sections.txt:
4908 Add new function to docs. Fixes #515469.
4910 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4912 * gst/gstindex.c: (gst_index_finalize):
4913 Chain up finalize to the parent class. Fixes leaking the GstObject
4914 name and other things.
4916 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4919 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4920 pre-releases or releases.
4922 * docs/faq/gst-uninstalled:
4925 * docs/random/release:
4926 Change one of the steps - we only upload core & base to Gnome FTP
4928 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4930 * gst/gstconfig.h.in:
4931 Add 'id' for example.
4935 * plugins/elements/gstfdsink.c:
4936 Link to signals. Doc and comment fixes.
4938 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4940 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4941 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4942 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4943 unused and unimplemented; finally, it is plugin features, not
4944 plugins, that have ranks.
4946 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4948 * gst/gstpluginfeature.h:
4949 Clarify GstRank range docs.
4951 2008-02-05 David Schleef <ds@schleef.org>
4953 * gst/gst.c: Add a separate gst_deinitialized that prevents
4954 gst_init() from being called after gst_deinit(). Fixes #509559
4956 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4958 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4959 (gst_bin_class_init):
4960 * gst/gstelement.c: (gst_element_base_class_init),
4961 (gst_element_class_add_pad_template):
4962 * gst/gstpadtemplate.c: (gst_pad_template_init):
4963 * gst/gstpipeline.c: (gst_pipeline_get_type),
4964 (gst_pipeline_base_init), (gst_pipeline_class_init):
4965 * libs/gst/base/gstbasesink.c:
4966 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4967 (gst_base_src_base_init), (gst_base_src_class_init):
4968 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4969 (gst_capsfilter_class_init):
4970 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4971 (gst_fake_sink_class_init):
4972 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4973 (gst_fake_src_class_init):
4974 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4975 (gst_fd_sink_class_init):
4976 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4977 (gst_fd_src_class_init):
4978 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4979 (gst_file_sink_class_init):
4980 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4981 (gst_file_src_class_init):
4982 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4983 (gst_identity_class_init):
4984 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4985 (gst_multi_queue_class_init):
4986 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4987 (gst_queue_class_init):
4988 * plugins/elements/gsttee.c: (gst_tee_base_init),
4989 (gst_tee_class_init):
4990 * plugins/elements/gsttypefindelement.c:
4991 (gst_type_find_element_base_init),
4992 (gst_type_find_element_class_init):
4993 * tests/check/gst/gstelement.c: (gst_element_suite):
4994 Revert previous changes to the behaviour of GstPadTemplates, etc
4995 and the possiblity to call them in class_init as it breaks too
4996 many elements. Reopens bug #491501.
4998 Should be applied again for 0.11, thus added a few FIXME 0.11 at
5001 2008-02-05 Stefan Kost <ensonic@users.sf.net>
5003 * tools/gst-launch.c:
5004 Dump one graph per pipeline state-change and state change name
5005 (if GST_DEBUG_DUMP_DOT_DIR is set).
5007 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
5010 * tests/check/gst/gstpad.c:
5011 Be sure that we have a new copy of the caps and not
5012 reffed caps from a template
5014 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5016 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5017 * gst/gstpipeline.c: (gst_pipeline_get_type),
5018 (gst_pipeline_class_init):
5019 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5020 (gst_base_sink_class_init):
5021 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5022 (gst_base_src_class_init):
5023 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5024 (gst_base_transform_class_init):
5025 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5026 (gst_collect_pads_class_init):
5027 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5028 * libs/gst/net/gstnettimeprovider.c:
5029 (gst_net_time_provider_base_init),
5030 (gst_net_time_provider_class_init):
5031 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5032 (gst_capsfilter_class_init):
5033 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5034 (gst_fake_sink_class_init):
5035 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5036 (gst_fake_src_class_init):
5037 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5038 (gst_fd_sink_class_init):
5039 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5040 (gst_fd_src_class_init):
5041 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5042 (gst_file_sink_class_init):
5043 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5044 (gst_file_src_class_init):
5045 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5046 (gst_identity_class_init):
5047 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5048 (gst_multi_queue_class_init):
5049 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5050 (gst_queue_class_init):
5051 * plugins/elements/gsttee.c: (gst_tee_base_init),
5052 (gst_tee_class_init):
5053 * plugins/elements/gsttypefindelement.c:
5054 (gst_type_find_element_base_init),
5055 (gst_type_find_element_class_init):
5056 Don't use base_init where not absolutely necessary. For example it's
5057 not necessary anymore for adding pad templates or setting element
5060 Leave empty base_init functions in several places as GST_BOILERPLATE
5061 still defines and uses them.
5063 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5065 * gst/gstelement.c: (gst_element_base_class_init),
5066 (gst_element_class_add_pad_template):
5067 * gst/gstpadtemplate.c:
5068 Make it possible (and recommended) to set element details and add
5069 pad templates in the class_init functions by copying the details/pad
5070 templates in GstElement's base_init.
5072 Also make it possible to replace existing pad templates by adding
5073 a new one with the same name. This was done in a hackish fashion
5074 in same elements before already.
5076 Don't reference pad templates that are added a second time. A
5077 new pad template has a refcount of one and is not floating anymore
5078 and to be owned by the element's class. Make this more explicit by
5079 mentioning it in the docs of gst_element_class_add_pad_template().
5081 These changes are backwards compatible. Fixes bug #491501.
5083 * tests/check/gst/gstelement.c:
5084 Add unit test for setting element details, adding pad templates and
5085 replacing them in a subclass.
5087 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5089 * tools/gst-inspect.c: (print_interfaces),
5090 (print_element_properties_info), (print_pad_info),
5091 (print_signal_info), (print_element_info):
5092 Fix a few memory leaks.
5094 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5096 * docs/libs/gstreamer-libs-sections.txt:
5097 * libs/gst/check/gstcheck.c:
5098 * libs/gst/check/gstcheck.h:
5099 Add more functions for unit testing: gst_check_drop_buffers,
5100 gst_check_caps_equal, gst_check_element_push_buffer_list,
5101 gst_check_element_push_buffer
5102 API: gst_check_drop_buffers
5103 API: gst_check_caps_equal
5104 API: gst_check_element_push_buffer_list
5105 API: gst_check_element_push_buffer
5107 2008-02-01 Julien Moutte <julien@fluendo.com>
5109 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5110 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5111 (gst_index_finalize), (gst_index_entry_free),
5112 (gst_index_add_association): Fix memory leaks.
5113 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5114 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5115 (gst_mem_index_free_format), (gst_mem_index_free_id),
5116 (gst_mem_index_finalize): Fix memory leaks.
5117 * win32/common/config.h: Updated to CVS HEAD.
5119 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5122 Some more details about how the plugin docs works.
5124 * docs/plugins/gstreamer-plugins-sections.txt:
5127 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5129 * gst/parse/grammar.tab.pre.c:
5130 * gst/parse/grammar.tab.pre.h:
5131 * gst/parse/grammar.y:
5132 * gst/parse/lex._gst_parse_yy.pre.c:
5133 Add delayed set-property. This allows to set properties on dynamicaly
5134 created objects (pads in videomxer). Fixes #509391.
5136 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5139 Check if caps are not NULL (fix bug #510194)
5141 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5143 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5144 (gst_base_sink_get_position_paused):
5145 Add fixme regarding EOS in pull mode.
5146 Fix position reporting in PAUSED for negative rates.
5148 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5150 * gst/gstminiobject.c: (gst_mini_object_replace):
5151 When replacing a miniobject, do a quick equality check first so that we
5152 can avoid a ref/unref pair.
5154 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5156 * docs/design/part-synchronisation.txt:
5159 * docs/plugins/Makefile.am:
5160 * docs/plugins/gstreamer-plugins-docs.sgml:
5161 * docs/plugins/gstreamer-plugins-sections.txt:
5162 * plugins/elements/gstmultiqueue.c:
5163 Add multiqueue to the docs.
5165 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5170 === release 0.10.17 ===
5172 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5175 releasing 0.10.17, "Due Negligence"
5177 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5180 Revert caps != NULL check temporarily for 0.10.17 release.
5182 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5185 Check if caps are not NULL (fix bug #510194)
5187 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5190 Fix compilation on systems that have posix timers but no
5193 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5196 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5198 * tools/gst-inspect.c:
5199 Revert previous commit in preparation for an impromptu 0.10.17 release
5201 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5203 * tools/gst-inspect.c: (print_interfaces),
5204 (print_element_properties_info), (print_pad_info),
5205 (print_signal_info), (print_element_info):
5206 Fix a few memory leaks.
5208 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5213 === release 0.10.16 ===
5215 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5218 releasing 0.10.16, "Special Dispensation"
5220 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5223 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5224 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5225 not fail when trying to crosscompile on OpenEmbedded (#511750).
5227 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5230 Use $(MAKE) instead of make to fix the build if GNU make is
5231 called different. Fixes bug #510747.
5233 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5235 * gst/gstplugin.c: (_gst_plugin_initialize):
5236 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5237 again, which I broke two commits ago when changing the API
5238 of gst_plugin_register_static(): the g_list_foreach() in
5239 _gst_plugin_register_static still assumed the old function
5240 signature and would therefore fail (re-fixes #510187).
5242 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5243 (_gst_plugin_register_static), (gst_plugin_register_static):
5244 Revert the (technically correct) change to call g_thread_init() from
5245 the pre-main() constructor. This will break programs which call
5246 g_thread_init() without an if (!g_thread_supported()) guard in their
5247 main function. We could just blame it on GLib or the application, but
5248 it's probably best to just avoid this altogether and simply not use
5249 any GLib functions here and use plain old malloc() with a simple
5250 array to store the plugins to register later when gst_init() is
5251 finally called (re-fixes #510187).
5253 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5254 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5255 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5256 (GST_START_TEST), (gst_plugin_suite):
5257 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5260 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5262 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5263 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5264 This makes gtk-doc complain, but results in slightly better
5265 compiler errors. The old _gst_plugin_register_static() is
5266 still guarded, so there'll be a compiler warning about that
5267 instead. Fixes #510187 too.
5269 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5271 * gst/gst.c: (init_post):
5272 * gst/gstplugin.c: (_gst_plugin_register_static),
5273 (gst_plugin_register_static), (_gst_plugin_initialize):
5274 * gst/gstplugin.h: (GstPluginFilter):
5275 Change API of gst_plugin_register_static() to not take
5276 a GstPluginDesc, but rather just take all the arguments
5277 in a GstPluginDesc directly. This is more intuitive and
5278 avoids certain mistakes when porting code from
5279 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5282 * tests/check/gst/gstplugin.c:
5283 Fix up for changed API.
5285 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5287 * docs/faq/legal.xml:
5288 Update FAQ, Totem actually has an exception these days.
5290 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5292 * win32/common/libgstreamer.def:
5293 Add new API declarations
5295 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5297 * gst/gstminiobject.c:
5298 Spelling fixes for the API docs.
5300 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5302 * libs/gst/base/gstbasetransform.c:
5303 Fix long property description for QoS.
5305 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5308 _gst_trace_on is already provided by gsttrace.h, no need to declare
5311 * docs/libs/gstreamer-libs-sections.txt:
5312 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5313 and remove strange tcase_add_test which is outputting a warning.
5315 * libs/gst/check/gstcheck.c:
5316 * libs/gst/check/gstcheck.h:
5317 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5318 and define them in gstcheck.c instead of having every .c file whcih
5319 includes gstcheck.h be defining its own copy and relying on symbol
5320 interposing to marry them all, which doesn't work on Solaris.
5322 * tests/check/elements/identity.c: (GST_START_TEST):
5323 Don't define 'buffers' locally, it comes from libgstcheck.
5325 * tests/check/generic/sinks.c: (send_buffer):
5326 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5328 * tests/check/gst/gststructure.c: (GST_START_TEST):
5329 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5330 * tests/check/gst/gstutils.c: (GST_START_TEST):
5331 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5332 Add a bunch of casts to make various constants fit the types
5333 they're being assigned to.
5335 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5337 * gst/gstchildproxy.c:
5338 Improve docs and add some ideas for making this more general-purpose.
5340 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5342 * gst/gst_private.h: (GST_CAT_TYPES):
5343 Add GST_CAT_TYPES, for consistency, and so that the other
5344 debug categories don't make fun of it. Spotted by Saur on IRC.
5346 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5348 * gst/parse/Makefile.am:
5349 Move types.h from EXTRA_DIST to noinst_HEADERS.
5351 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5354 Add -Wno-portability to the automake parameters to stop warnings
5355 about GNU make extensions being used. We require GNU make in almost
5356 every Makefile anyway.
5359 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5360 at the same time is required for per target flags.
5362 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5365 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5366 __GNUC__ is defined before using it.
5368 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5370 * docs/gst/gstreamer-sections.txt:
5371 * gst/gst.c: (init_post):
5372 * gst/gstplugin.c: (_gst_plugin_register_static),
5373 (gst_plugin_register_static), (_gst_plugin_initialize),
5374 (gst_plugin_register_func):
5375 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5376 API: add gst_plugin_register_static() and deprecate
5377 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5379 Also, in _gst_plugin_register_static(), make sure to call
5380 g_thread_init() before calling GLib functions such as
5381 g_list_append() if we're not initialised yet, since that
5382 may lead to random crashes with older GSlice/GLib versions.
5384 * tests/check/gst/gstplugin.c:
5385 Adapt unit test to above changes.
5387 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5389 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5390 * gst/gstcaps.c: (gst_caps_to_string):
5391 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5392 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5393 Yet another gratuitous GString micro-optimisation: add a (private)
5394 function that serialises a structure appending to an existing
5395 GString, so that when we serialise caps we don't need to alloc+free
5396 a throwaway GString for each structure (each of which also entailing
5397 multiple reallocs on the way); also use g_string_sized_new() in
5398 various places with an approximate string length to avoid reallocs
5399 within GString. See #500143.
5401 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5403 * gst/gststructure.c: (gst_structure_id_set_value):
5404 Always check UTF-8 conformance of structure strings and not only
5405 if the debugging system is enabled; reasoning: the behaviour of
5406 the actual code shouldn't really change depending on whether the
5407 debugging system is enabled or not (#508291).
5409 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5412 Remove old coverage target in favour of "make lcov".
5414 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5416 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5417 (gst_base_src_loop):
5418 The start segment for reverse playback goes from start to last_stop.
5420 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5422 Patch by: Peter Kjellerstedt <pkj axis com>
5425 Cast the results from the timeval/spec_to_time macros to what the
5426 docs say it casts to, a GstClockTime. fixes #508175.
5428 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5431 Update some comments.
5433 * tools/gst-inspect.c: (print_element_properties_info):
5434 Improve printing of flags.
5436 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5438 * libs/gst/base/gstbasetransform.c:
5439 (gst_base_transform_transform_size):
5440 Print element name with g_warning() if there's a problem
5443 2008-01-07 David Schleef <ds@schleef.org>
5445 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5447 * libs/gst/controller/gstcontroller.h:
5448 * libs/gst/controller/gstcontrolsource.h:
5449 * libs/gst/controller/gstinterpolationcontrolsource.h:
5450 * libs/gst/controller/gstlfocontrolsource.h:
5451 * libs/gst/dataprotocol/dataprotocol.h:
5452 Fix empty prototypes. Fixes bug #507957.
5454 2008-01-07 David Schleef <ds@schleef.org>
5456 * docs/faq/dependencies.xml: Fix typo.
5458 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5460 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5461 (gst_base_src_loop):
5462 Don't update the last_stop position in do_seek, that's the position we
5464 Read backwards when we have a negative rate.
5466 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5467 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5469 Add check for reverse reading.
5471 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5473 Patch by: Alexis Ballier <aballier at gentoo org>
5475 * tests/check/gst/gstabi.c:
5476 * tests/check/gst/struct_ppc64.h:
5477 * tests/check/libs/libsabi.c:
5478 * tests/check/libs/struct_ppc64.h:
5479 Decide which header to include based on the userland ABI target
5480 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5481 for 64-bit userland (#503590). Might need something similar for
5484 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5486 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5487 Log the reason why fopen fails in addition to the fact that it failed.
5489 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5491 * gst/parse/parse.l:
5492 Use "%option never-interactive" to prevent useless calls to isatty()
5493 on every input when parsing. Also use "%option noinput" to not define
5494 the static input/yyinput functions which we don't use anyway. This
5495 removes a compiler warning with gcc 4.3 and saves some bytes in the
5498 * gst/parse/lex._gst_parse_yy.pre.c:
5499 Regenerated for the above change.
5501 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5503 * gst/gstpad.c: (fixate_value):
5504 Don't crash when trying to fixate and empty list.
5507 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5509 * docs/faq/gst-uninstalled:
5510 Clarify the comments to make the usage of this script and what it
5511 does easier to understand.
5513 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5515 * tools/gst-plot-timeline.py:
5516 Add more options to gst-plot-timeline
5518 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5520 * docs/design/part-synchronisation.txt:
5521 Some more info on how the stream_time in GstBaseSink is done.
5523 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5525 * tests/check/generic/sinks.c: (gst_sinks_suite):
5526 Put back the tcase_set_timeout(), apparently it's needed after
5527 all; fix it up in a way that makes things work with valgrind too.
5529 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5531 * gst/gstdebugutils.c:
5532 Add warning when failed to open file for writing.
5534 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5536 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5538 * gst/gstvalue.c: (gst_value_is_fixed):
5539 Optimisation: bail out of the loop as early as possible (#500143).
5541 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5543 * gst/gstcaps.c: (gst_caps_to_string):
5544 * gst/gstinfo.c: (gst_debug_construct_term_color):
5545 * gst/gstparse.c: (gst_parse_launchv):
5546 * gst/gstutils.c: (gst_util_dump_mem):
5547 * gst/gstvalue.c: (gst_value_serialize_any_list),
5548 (gst_value_transform_any_list_string):
5549 Bunch of gratuitous nano-optimisations.
5551 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5553 * tests/check/generic/sinks.c: (async_done_func),
5554 (async_done_eos_func):
5555 Fix leak in unit test (bus sync handler must unref the message
5556 if it returns GST_BUS_DROP). Don't fiddle with the default test
5557 timeout, this is smaller than the current preconfigured value
5558 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5559 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5561 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5563 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5566 Check for stdio_ext.h for the filesink changes.
5568 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5569 (gst_file_sink_class_init), (gst_file_sink_init),
5570 (gst_file_sink_dispose), (gst_file_sink_set_property),
5571 (gst_file_sink_get_property), (gst_file_sink_open_file),
5572 (gst_file_sink_close_file):
5573 * plugins/elements/gstfilesink.h:
5574 Add two properties to control the buffering mode and size.
5575 API: GstFileSink::buffer-mode
5576 API: GstFileSink::buffer-size
5579 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5581 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5582 Add some more docs to explain why a FIXME was wrongly added.
5584 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5587 Fix typo in the gst_object_{ref,unref} documentation.
5589 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5591 * tests/check/libs/controller.c:
5592 * tests/check/libs/typefindhelper.c:
5593 * tests/check/pipelines/parse-launch.c:
5594 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5595 going to be deprecated (see #498924).
5597 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5599 * gst/gsttypefind.c: (gst_type_find_register):
5600 Make gst_type_find_register work for static typefind functions,
5601 ie. allow passing plugin == NULL (prerequisite for #498924).
5603 * gst/gstelementfactory.c: (gst_element_register):
5604 Small docs addition.
5606 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5608 * gst/gstpad.c: (gst_pad_dispose):
5609 Really unlink the peer pad instead of setting the peer pointer to NULL
5610 when we dispose the pad.
5611 This correctly calls the unlink functions and makes sure that the peer
5612 does not have a handle to invalid memory. See #504671.
5614 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5615 Add testsuite for above case.
5617 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5619 Patch by: Peter Kjellerstedt <pkj axis com>
5621 * libs/gst/check/gstcheck.h:
5622 Fix detection of the check version we're compiling against (would
5623 otherwise break if check goes v0.10.0); correctly report the
5624 name of the failed test again in case of failure, instead of
5625 just 'tf' (fixes #504499).
5627 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5629 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5630 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5631 (gst_base_src_loop), (gst_base_src_set_flushing),
5632 (gst_base_src_change_state):
5633 Allow sending EOS to the source to make it send out an EOS event from
5634 the streaming thread.
5635 Update docs and deprecate the old NULL/READY shutdown method.
5637 * tests/check/libs/basesrc.c: (GST_START_TEST),
5638 (gst_basesrc_suite):
5639 Add unit test for controlled shutdown.
5641 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5643 * docs/design/part-synchronisation.txt:
5646 * gst/gstsegment.c: (gst_segment_set_seek),
5647 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5648 (gst_segment_to_running_time):
5649 The seek format can be different from the segment format when the start
5650 and stop values are not to be updated, when we only do a rate change for
5653 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5654 (gst_segment_suite):
5655 Add a testcase for the rate-only seeks, checking that the format is
5656 correctly ignored when start and stop are not updated.
5658 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5660 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5662 * win32/vs8/grammar.vcproj:
5663 * win32/vs8/libgstcontroller.vcproj:
5664 * win32/vs8/libgstreamer.vcproj:
5665 Fix compilation with VS8 and include some missing files.
5667 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5670 Small docs addition: mention that the strings returned by
5671 gst_tag_list_get_string*() are in UTF-8 encoding.
5673 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5676 The check-exports stuff moved to common/win32.mak, so include that.
5678 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5680 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5681 (gst_base_src_perform_seek), (gst_base_src_get_range),
5682 (gst_base_src_set_playing), (gst_base_src_change_state):
5683 Make _wait_playing() not check any variables so that we can call this
5684 function from subclasses. Move the checks elsewhere similar to
5685 _wait_preroll() in basesink.
5687 Only signal the LIVE cond when we are going back to PLAYING.
5689 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5691 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5692 Use g_remove() and g_rename(). Check result of g_rename(), and
5693 don't leak the open file descriptor if we error out when writing.
5695 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5696 Must check the return value of close() after writing out the new
5697 registry file. Sometimes write problems such as out-of-diskspace
5698 are only reported when the file is closed and not already during
5699 the write. This may have caused partial/broken registry files in
5700 some rare circumstances. Should fix #503675.
5702 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5704 * docs/gst/.cvsignore:
5705 * docs/libs/.cvsignore:
5706 * docs/plugins/.cvsignore:
5707 Ignore files generated by new common/* modifications
5709 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5711 * win32/common/libgstbase.def:
5712 Yes, you can also have a <TAB> if you want.
5714 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5716 * win32/common/libgstbase.def:
5717 Add new basetransform API to win export file.
5719 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5721 * tests/check/gst/gstbin.c:
5722 Adjust the test to the refcount change two days ago.
5724 2007-12-14 David Schleef <ds@schleef.org>
5726 * docs/faq/getting.xml: Fix typo.
5728 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5730 * docs/libs/gstreamer-libs-sections.txt:
5731 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5732 (gst_base_transform_prepare_output_buffer),
5733 (gst_base_transform_set_gap_aware):
5734 * libs/gst/base/gstbasetransform.h:
5735 API: Add gst_base_transform_set_gap_aware() to control whether
5736 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5737 get buffers with this flag at all. Fixes #503231.
5739 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5741 * libs/gst/base/gstbasesink.c:
5742 * libs/gst/base/gstbasesrc.c:
5743 * libs/gst/base/gstbasetransform.c:
5744 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5745 thread. Correct log message in gstbasesrc.c.
5747 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5749 * gst/gstutils.c: (element_find_unconnected_pad):
5750 Fix possible compiler warning (#503417).
5752 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5754 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5755 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5757 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5759 * tools/gst-inspect.c: (print_element_properties_info):
5760 Add support for GstFraction properties.
5762 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5765 Add check-exports target and run it as part of 'make check'
5766 (see #499140 and #493983).
5768 * gst/gst_private.h:
5769 * gst/gstelementfactory.h:
5770 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5771 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5772 (_priv_gst_in_valgrind):
5773 * gst/gstinfo.h: (GstLogFunction):
5774 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5775 (gst_type_find_register):
5776 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5777 (gst_type_find_factory_get_type):
5778 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5779 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5780 (gst_controller_new_valist), (gst_controller_new_list),
5781 (_gst_controller_dispose), (_gst_controller_class_init):
5782 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5783 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5784 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5785 (gst_object_get_controller), (gst_object_set_controller),
5786 (gst_object_suggest_next_sync), (gst_object_sync_values),
5787 (gst_object_set_control_source), (gst_object_get_control_source),
5788 (gst_object_get_value_arrays), (gst_object_get_value_array),
5789 (gst_object_get_control_rate), (gst_object_set_control_rate):
5790 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5791 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5792 Make some functions that should be static static; rename some
5793 private symbols so that they don't get exported; add some FIXME
5794 comments so we can move accidentally exported functions into
5795 our private section in 0.11.
5797 * win32/common/libgstreamer.def:
5798 Add gst_utils_get_timestamp().
5800 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5804 Add more missing "Since:" tags to docs.
5806 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5809 Add mising "Since:" to docs.
5811 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5814 Include "glib-compat-private.h" to fix the build on system with
5815 glib < 2.10. Fixes #503131.
5817 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5821 Actually its not PURE as it gets the time from elsewhere.
5823 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5825 * docs/gst/gstreamer-sections.txt:
5827 * gst/gstdebugutils.c:
5831 * libs/gst/base/gstbasesink.c:
5832 * tools/gst-launch.c:
5833 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5834 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5835 Thanks Tim for spotting.
5836 API: gst_util_get_timestamp
5838 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5841 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5843 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5845 * gst/gststructure.c: (gst_structure_validate_name),
5846 (gst_structure_new_valist), (gst_structure_parse_value),
5847 (gst_structure_from_string):
5848 Don't crash in _from_string() if the structure name is not valid
5849 (fixes #501560). Allow structure names to start with a number
5850 again (this apparently broke the ubuntu codec installer).
5852 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5854 Add unit test for the crash; update unit tests for new behaviour.
5856 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5859 Clarify gst_element_get_compatible_pad() documentation.
5862 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5864 * tests/check/Makefile.am:
5865 Don't forget to dist {gst,libs}/struct_hppa.h.
5867 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5869 * libs/gst/base/gstbasesink.c:
5870 Use new API to get elapsed time.
5872 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5874 * gst/gstdebugutils.c:
5876 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5878 * tools/gst-launch.c:
5879 Use new API to get elapsed time.
5881 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5883 * docs/gst/gstreamer-sections.txt:
5885 * gst/gstdebugutils.c:
5887 Rename new API + ChangeLog surgery to remove old name from last entry..
5889 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5891 * docs/gst/gstreamer-sections.txt:
5893 * gst/gstdebugutils.c:
5895 Now hide the different clock stuff behind a macro.
5897 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5900 * gst/gstdebugutils.c:
5902 Apply the posix-timer check from #361155. Conditionally use the posix
5903 timer for logging. This gives better timestamp precission, less
5904 overhead and no ntp jitter.
5906 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5908 * gst/gstminiobject.c: (gst_mini_object_get_type),
5909 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5910 (gst_mini_object_finalize), (gst_mini_object_copy),
5911 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5912 (gst_mini_object_replace), (param_mini_object_validate),
5913 (gst_param_spec_mini_object_get_type):
5914 Some cleanup and checking against invalid function parameters.
5916 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5918 * docs/gst/gstreamer-sections.txt:
5920 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5921 (gst_systemclock_suite):
5922 Start merging in the easy bits of #361155, the monotonic clock patch.
5923 This one adds a few handy macros with docs and a testsuite.
5925 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5927 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5928 Be a bit smarter when seeking, like, don't try to do a seek when it's
5929 not needed. This avoids errors when the file is not seekable.
5932 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5934 * docs/gst/gstreamer-docs.sgml:
5935 * docs/gst/gstreamer-sections.txt:
5936 * docs/gst/gstreamer.types.in:
5941 * plugins/elements/gstqueue.c:
5942 Due to popular request remove preset interface again. :-(.
5944 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5946 * tools/gst-inspect.c:
5947 Print 'default value' for enums and flags too.
5949 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5951 * docs/random/ensonic/profiling.txt:
5955 Fix typo and give better log output.
5957 * gst/gstdebugutils.c:
5958 * gst/gstdebugutils.h:
5959 More ideas, make graphs a bit smaller and fix param name in macro.
5961 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5964 Try harder to use the return value from fgets().
5966 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5969 For theses two fgets we handle the error below.
5971 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5973 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5974 Only send upstream events upstream. Fixes #498746.
5976 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5978 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5980 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5981 (gst_identity_init), (gst_identity_transform_ip),
5982 (gst_identity_set_property), (gst_identity_get_property):
5983 * plugins/elements/gstidentity.h:
5984 Add property to disable handoff signal emission. Fixes #498694.
5985 API: GstIdentity::signal-handoffs
5987 2007-11-21 Julien Moutte <julien@fluendo.com>
5989 * docs/faq/gst-uninstalled: Yet another missing library for the
5990 uninstalled script (fft)
5992 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5994 * docs/faq/developing.xml:
5995 Add a question about how to submit new translations.
5997 * docs/random/release:
5998 Update the contact email address for the Translation Project
6000 * plugins/elements/gstfdsrc.c:
6001 The parent_class for fdsrc is pushsrc, not GstElement.
6003 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6006 Plug a leak and fix saving.
6008 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
6010 * docs/gst/gstreamer-sections.txt:
6011 Add new gst_preset__get_property_names() function to the docs
6014 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6018 Change _get_preset_names API to return a strv with copies. Add
6019 _get_property_names to allow implementations to filter and provide
6020 good default implementation.
6022 2007-11-20 Julien MOUTTE <julien@moutte.net>
6024 * docs/faq/gst-uninstalled: Add another library to the uninstalled
6027 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6030 More cleanups, docs, and TODOs from comments that now slowly come in.
6032 2007-11-19 Julien MOUTTE <julien@moutte.net>
6034 * docs/faq/gst-uninstalled: Add new base libraries in the LD
6037 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6040 Fix bogus warning and make the property type specific code more
6043 2007-11-19 Julien MOUTTE <julien@moutte.net>
6045 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6048 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6050 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6051 (gst_bin_add_func), (gst_bin_remove_func),
6052 (gst_bin_change_state_func), (gst_bin_continue_func):
6053 Change email, cleanups add some more debug and comments.
6054 Also set bus and clock on new elements when the pipeline was in error.
6056 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6059 * gst/gstdebugutils.c:
6060 Fix build with --disable-gst-debug. Fixes #497859.
6061 Spotted by Sameer Naik.
6063 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6066 Little documentation improvment.
6069 More TODO cleanups. Remove c++ comments.
6071 * libs/gst/controller/gstcontroller.c:
6072 Add TODO and use quark from static string.
6074 * tests/check/gst/gstmessage.c:
6075 * tests/check/gst/gststructure.c:
6076 Use quark from static string.
6078 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6081 Add some comments and TODOs.
6084 Add padding for future changes.
6086 * plugins/elements/gstqueue.c:
6087 Implement the iface.
6089 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6091 * docs/gst/gstreamer-docs.sgml:
6092 * docs/gst/gstreamer-sections.txt:
6093 * docs/gst/gstreamer.types.in:
6098 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6100 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6106 === release 0.10.15 ===
6108 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6111 releasing 0.10.15, "October"
6113 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6115 * win32/vs6/libgstreamer.dsp:
6116 Convert line endings back to DOS.
6118 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6120 * docs/design/draft-tagreading.txt:
6121 * docs/random/ensonic/profiling.txt:
6122 Update fast tagreading draft and performance profiling ideas.
6124 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6126 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6127 Don't hold the object lock when unreffing a buffer because it could
6128 cause a deadlock when the finalize function wants to grab the object
6129 lock too. Fixes #495133.
6131 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6133 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6134 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6135 Also accumulate time correctly when doing reverse playback. Fixes
6137 When converting to running and stream time, use default values for
6138 start/stop/time/accum when comparing different formats. Fixes #494245.
6140 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6141 Do running/stream time in TIME format.
6143 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6144 (gst_segment_suite):
6145 2 new unit tests for segment accumulation.
6147 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6149 * gst/gst.c: (init_pre):
6150 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6151 (_gst_debug_bin_to_dot_file):
6152 Move getenv() back into gst_init, so everyone can live happily
6153 ever after. Make sure the symbol isn't exported though.
6155 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6157 Patch by: Sebastien Moutte <sebastien moutte net>
6159 * win32/common/gstenumtypes.c:
6160 * win32/common/gstenumtypes.h:
6163 * win32/vs6/libgstreamer.dsp:
6164 Update vs6 project files (#494343).
6166 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6168 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6169 (gst_base_src_perform_seek), (gst_base_src_default_event),
6170 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6171 (gst_base_src_activate_pull):
6172 Unify flushing code, remove some old unlock code that is no longer used.
6173 Take the streaming lock when seeking to avoid races. Fixes #492729.
6174 Added some more comments.
6176 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6178 * gst/gst.c: (_gst_disable_segtrap):
6179 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6180 we can use gst_segtrap_is_enabled() there now that we have that API.
6181 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6182 to do the getenv here (and export the variable).
6184 * gst/gstdebugutils.c: (debug_dump_element),
6185 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6186 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6188 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6189 (gst_debug_log_default):
6190 Rename _gst_info_start_time to priv_gst_info_start_time so it
6191 doesn't get exported (was never in any header).
6193 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6194 (gst_plugin_loading_mutex):
6195 Make static mutex gst_plugin_loading_mutex really static (was never
6196 in any header), and use gst_segtrap_is_enabled() instead of
6197 _gst_disable_segtrap.
6199 * gst/gsttrace.c: (_gst_trace_default):
6200 Make local _gst_trace_default static (was never in any header).
6202 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6204 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6206 * win32/common/libgstbase.def:
6207 * win32/common/libgstcontroller.def:
6208 * win32/common/libgstdataprotocol.def:
6209 * win32/common/libgstnet.def:
6210 * win32/common/libgstreamer.def:
6211 Add more missing symbols, remove some duplicates, and sort
6212 as the 'sort' command sorts it (partially fixes #493983).
6214 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6216 * gst/gstelement.c: (gst_element_set_state_func):
6217 Only change the state cookie if a different state was set on the
6218 element. See #492729.
6220 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6223 Remove unused and uninitialised type variables that were still
6224 exported for some reason (they were never in any header files
6227 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6229 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6230 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6231 (gst_base_sink_event), (gst_base_sink_get_position_last),
6232 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6233 (gst_base_sink_change_state):
6234 Don't try to report a 0 position when we don't know, return -1 and FALSE
6235 instead. This mostly happens when we are prerolling.
6236 Make sure we can report the right position before we post the ASYNC_DONE
6237 message so that a message handler can query position without races.
6239 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6240 (async_done_handoff), (async_done_func), (send_buffer),
6241 (async_done_eos_func), (gst_sinks_suite):
6242 Add two tests for the above.
6244 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6247 Update with new email address.
6249 * docs/design/part-TODO.txt:
6250 Add some more info about future pad-block and negotiation changes.
6252 * docs/design/part-buffering.txt:
6253 Add some ideas about buffering reporting.
6255 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6257 * tests/check/gst/gstobject.c:
6258 Disable silly racy test that always fails on this combination of CPU
6261 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6263 Patch by: Murray Cumming <murrayc@murrayc.com>
6266 Corrected the registration of the parent-set and parent-unset
6267 signals: The parameter is a GstObject, not a GObject (#493134).
6269 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6271 * gst/gst_private.h:
6280 Move declaration of private _gst_foo_initialize() functions into
6281 our private header file where they should have been all along.
6283 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6285 * docs/plugins/gstreamer-plugins-sections.txt:
6286 * gst/gstdebugutils.h:
6288 * plugins/elements/gstqueue.c:
6289 gtk-doc fixes; trailing-comma-in-enum fix.
6291 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6293 * gst/gst.c: (gst_deinit):
6294 Clean up on deinit (not the external ones though, doesn't seem to be
6295 needed for some reason).
6297 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6299 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6300 Remove __declspec(dllimport) for MSVC that was copied over into core
6301 from a plugin, obviously without ever having been tested (note the
6302 single underscore in _declspec in the initial commit), and that doesn't
6303 really make sense. See #492077.
6305 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6307 * gst/gst.c: (init_post):
6308 * gst/gstevent.c: (_gst_event_initialize):
6309 * gst/gstquery.c: (_gst_query_initialize):
6310 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6311 g_type_class_ref() other types as well, see #349410 and #64764.
6313 * gst/gstbuffer.c: (_gst_buffer_initialize):
6314 * gst/gstmessage.c: (_gst_message_initialize):
6315 Simplify existing g_type_class_ref().
6317 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6319 * gst/gstformat.c: (_gst_format_initialize):
6320 g_type_class_ref() our GstFormat type to make sure we avoid the
6321 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6322 bug #64764. Should fix intermittent tee unit test failures (#474823).
6324 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6326 * tests/check/elements/tee.c: (test_num_buffers):
6327 Simplify, simplify, simplify - or not. Rewrite unit test
6328 not to use gst_parse_launch(); allow N sub-streams. Increasing
6329 the number of sub-streams seems to reproduce #474823 more easily.
6331 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6333 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6336 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6337 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6338 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6339 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6340 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6341 so use _pipe() directly (#492077).
6343 * win32/common/dirent.c: (_treaddir):
6344 Add a couple of casts to make it build without warnings with MSVC.
6346 * win32/common/libgstreamer.def:
6347 Add some more symbols that need to be exported.
6349 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6351 * tests/examples/metadata/read-metadata.c: (message_loop):
6352 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6353 arriving in a second or third tag message are added to
6354 the tag list as well.
6356 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6358 * libs/gst/base/gstbasesrc.c:
6359 Its "Since:" and not "@Since:". And remove an superflous cast.
6361 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6363 * docs/libs/gstreamer-libs-sections.txt:
6364 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6365 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6366 (gst_base_sink_get_property), (gst_base_sink_render_object),
6367 (gst_base_sink_preroll_object),
6368 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6369 (gst_base_sink_change_state):
6370 * libs/gst/base/gstbasesink.h:
6371 Add a new last-buffer property that contains the last buffer used in
6372 basesink for preroll or rendering. useful for making snapshots.
6373 API: gst_base_sink_get_last_buffer()
6374 API: GstBaseSink::last-buffer
6376 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6378 * docs/gst/running.xml:
6380 * gst/gstdebugutils.c:
6381 * gst/gstdebugutils.h:
6382 * tools/gst-launch.c:
6383 Improve bin graph dumping, by using the envvar to specify a path.
6384 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6386 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6388 * plugins/elements/gsttypefindelement.c:
6389 (gst_type_find_element_handle_event),
6390 (gst_type_find_element_activate):
6391 Post special error message if we can't determine the type of a stream
6394 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6396 * docs/gst/running.xml:
6397 * gst/gstdebugutils.c:
6398 Document new env-var. Add one log-line after dumpng a graph.
6400 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6403 Ugly hack to put the (recently removed and non-portable, apparently)
6404 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6405 GNU ld, because without that 'make check' fails miserably on my debian
6406 stable box. Someone with more knowledge of linker intricacies and
6407 portability issues than me fix this properly please.
6409 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6411 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6412 Reset last seen position after flushing so that we don't report the old
6415 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6417 * gst/gstelementfactory.c: (gst_element_register):
6419 Patch from Alessandro Decina adding get_type_full and
6420 get_protocols_full private vfuncs to the URIHandler interface
6421 to allow bindings to support creating URI handlers.
6422 Partially fixes: #339279
6423 API: GstURIHandlerInterface::get_type_full
6424 API: GstURIHandlerInterface::get_protocols_full
6426 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6428 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6429 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6430 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6431 Make it so that pads are considered linked until a buffer is pushed
6432 and discovered otherwise. This avoids problems with decodebin2 hanging
6433 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6436 Make sure we lock the multiqueue when updating the max-size properties.
6438 Fix a crash on Solaris in a debug statement in get_request_pad that
6439 passes a NULL string to GST_DEBUG.
6441 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6442 (run_output_order_test):
6443 Fix the test to allow the first buffer on not-linked pads to come out
6444 of sequence while multiqueue discovers that they are not-linked.
6446 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6449 * libs/gst/check/Makefile.am:
6450 Use a custom export symbol regex for libgstcheck, as it needs
6451 to export symbols that don't match the standard GStreamer gst_*
6452 pattern, and --export-dynamic is not portable (only works on
6455 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6456 (gst_check_setup_sink_pad):
6457 Make sure to pass a message parameter to the fail_* macros.
6459 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6460 Fix some compiler warnings.
6462 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6464 * tests/check/gst/gststructure.c: (test_to_string):
6465 Disable test that checks that white spaces are not allowed
6466 in structure names or field names, since we need to
6467 support that for now for backwards compatibility reasons.
6469 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6471 * docs/gst/gstreamer-sections.txt:
6474 API: add GST_TAG_ARTIST_SORTNAME
6475 API: add GST_TAG_ALBUM_SORTNAME
6476 API: add GST_TAG_TITLE_SORTNAME
6477 Add tag variants for sorting (#414539).
6479 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6481 * gst/gststructure.c:
6482 Also allow white space for names so we don't break
6483 backwards compatibility.
6485 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6487 * docs/design/part-TODO.txt:
6488 * docs/design/part-segments.txt:
6489 * docs/design/part-streams.txt:
6492 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6494 * docs/gst/gstreamer-sections.txt:
6495 Fixed documentation from my previous commit (added new API add
6496 gst_value_set_structure(), add gst_value_get_structure() and
6497 GST_VALUE_HOLDS_STRUCTURE).
6499 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6501 * gst/gstdebugutils.c:
6502 Reflow code to fix uninitialized variable warning.
6504 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6506 * gst/gstcaps.c: (gst_caps_to_string),
6507 (gst_caps_from_string_inplace):
6508 * gst/gststructure.c: (gst_structure_get_abbrs),
6509 (gst_structure_to_string), (gst_structure_from_string):
6510 * gst/gstvalue.c: (gst_value_set_structure),
6511 (gst_value_get_structure), (gst_value_serialize_structure),
6512 (gst_value_deserialize_structure), (_gst_value_initialize):
6514 * tests/check/gst/gststructure.c: (GST_START_TEST),
6515 (gst_structure_suite):
6516 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6517 Added GstStructure to gst_value_table and its related functions.
6518 Changed gst_structure_to_string to print ';' in the end.
6519 Changed gst_caps_to_string to not print ';' beteween its
6520 fields (structures) anymore and remove the lastes ';' from latest
6521 structure. Now it is possible to have nested structures.
6522 In addition, backward compatibilty is assured by accepting '\0' as
6523 end delimiter. Fixes: #487969.
6524 API: add gst_value_set_structure()
6525 API: add gst_value_get_structure()
6526 API: add GST_VALUE_HOLDS_STRUCTURE
6528 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6531 When no GSource callback has been set up, tell developer
6532 to use a function that actually exists.
6534 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6536 * docs/gst/gstreamer-sections.txt:
6540 * gst/gstdebugutils.c:
6541 * gst/gstdebugutils.h:
6544 * tools/gst-launch.c:
6545 Allow dumping pipelines as dot graphs. Fixes #456573.
6547 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6549 * gst/gststructure.c:
6550 Allow '+' as well, it can be part of media or mime types
6551 such as image/svg+xml.
6553 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6555 * docs/gst/gstreamer-sections.txt:
6558 API: add gst_bus_pop_filtered
6559 API: add gst_bus_timed_pop_filtered
6560 Two new functions for waiting for specific message types on the
6561 bus for a specified amount of time without iterating any main
6562 loops or main contexts.
6564 * tests/check/gst/gstbus.c:
6565 Some tests for the new functions.
6567 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6569 * docs/libs/gstreamer-libs-sections.txt:
6570 Make gtk-doc ignore stuff it should ignore.
6572 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6574 * libs/gst/check/gstcheck.c:
6575 * libs/gst/check/gstcheck.h:
6576 Allow runtime selection of unit tests to run via the GST_CHECKS
6577 environment variable (test case function names, comma-separated).
6579 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6581 * gst/gststructure.c:
6582 * tests/check/gst/gststructure.c:
6583 Revert serialisation change and constrain structure-names after
6584 consensus on irc. Update api documentation to reflect the change.
6586 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6588 * gst/gststructure.c:
6589 Improve serialization and fix tests.
6591 * tests/check/gst/gststructure.c:
6592 Add another test that covers why I actually did the previous structure
6595 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6597 * tools/gst-inspect.c: (print_element_info):
6598 Don't crash when inspecting an element.
6600 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6602 * tests/check/gst/gststructure.c:
6603 Add unit test for escaping of structure name when serialising
6604 and deserialising to/from strings.
6606 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6608 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6609 (gst_single_queue_new):
6610 * plugins/elements/gstqueue.c: (gst_queue_init),
6611 (gst_queue_push_one):
6612 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6613 upstream is tricked into thinking it can suggest a format downstream
6614 while downstream does not support that format. The real problem is that
6615 core calls acceptcaps when pushing a buffer with new caps, for which we
6616 do a little workaround by setting the caps on the srcpad ourselves
6617 before pushing the buffer (until this is figured out). Fixes #486758.
6619 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6621 * gst/gststructure.c:
6623 Add some more comments and debug output. Quote structure name to fix
6624 deserialisation of some strings.
6626 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6629 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6630 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6632 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6634 * tools/gst-inspect.c:
6635 Save approx. 400 1 byte allocs when printing. Use API to acces element
6641 * tools/gst-xmlinspect.c:
6642 Use API to acces element details.
6644 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6647 Fix some spelling errors.
6649 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6651 * gst/gstbin.c: (bin_handle_async_done):
6652 Correctly set the next state if all of our async children commited their
6653 state. This makes sure we can actually cancel the state change in
6654 progress. Fixes a regression in Rhythmbox when seeking.
6656 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6659 Don't shadow local variable.
6662 Don't shadow global function name.
6664 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6666 * gst/gstelementfactory.c:
6667 * gst/gstpluginfeature.c:
6668 * gst/gstpluginfeature.h:
6669 * gst/gstregistrybinary.c:
6670 * gst/gstregistryxml.c:
6671 * gst/gsttypefind.c:
6672 Use already-interned string for the private GstPluginFeature
6675 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6677 * docs/libs/gstreamer-libs-sections.txt:
6678 Add new API to docs; fixes the build.
6680 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6682 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6684 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6685 (gst_base_sink_event):
6686 * libs/gst/base/gstbasesink.h:
6687 Add function to wait for EOS, subclasses can use this to correctly wait
6688 for devices to drain before performing the EOS logic. Fixes #485343.
6689 API: gst_base_sink_wait_eos()
6691 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6694 Cast description string constants in GST_PLUGIN_DEFINE macros
6695 to a (gchar*) to make C++ code using these macros compile
6696 without warning with g++-4.2 (see #462737). Even if slightly
6697 ugly, this seems preferable to putting the description strings
6698 into the GLib quark table or making the structure member a
6699 const gchar * and doing casts in core code that allocs and
6700 frees these strings, or requiring a cast in the C++ code.
6702 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6705 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6706 to print the entire class/function signature into the log
6707 file for C++ code. This only affects C++ code, for C code
6708 everything remains the same.
6710 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6712 * gst/gstbin.c: (remove_from_queue):
6713 Work around a problem with pipelines containing (semi)loops until a
6714 proper, more complicated solution is ready. See #475455.
6716 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6720 * gst/gstregistrybinary.c:
6721 * gst/gstregistryxml.c:
6722 Put more strings into the GLib quark table. No need to keep
6723 a hundred-something copies of identical version strings,
6724 license strings, package name strings and package origin
6727 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6729 * docs/manual/advanced-dataaccess.xml:
6730 Don't imply that it's okay to unconditionally change
6731 buffer data or buffer metadata in a pad probe callback,
6732 and a bunch of other comments. Fixes #430031.
6734 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6736 * win32/common/gstenumtypes.c:
6737 * win32/common/gstenumtypes.h:
6738 * win32/common/gstversion.h:
6739 Update generated files.
6741 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6743 * docs/manual/advanced-autoplugging.xml:
6744 Prefix section with broken code with a warning (see #342432).
6746 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6748 * docs/manual/appendix-integration.xml:
6749 * docs/manual/basics-init.xml:
6750 Call g_thread_init() before g_option_context_new() to
6751 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6753 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6755 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6756 (gst_base_sink_queue_object_unlocked),
6757 (gst_base_sink_queue_object), (gst_base_sink_event),
6758 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6759 When we received EOS and are waiting for when to post the EOS message,
6760 our state is prerolled and we should not return ASYNC.
6761 Reorganize some code paths to implement this behavior.
6763 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6765 Add unit test to verify above EOS fix.
6767 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6769 * plugins/elements/gsttypefindelement.c:
6770 (gst_type_find_element_have_type), (gst_type_find_element_init),
6771 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6772 Move detecting the input caps of the sinkpad to the setcaps function.
6773 This allows us to update the output caps when we receive new input caps
6774 instead of always using the first detected caps.
6776 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6778 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6779 (gst_base_sink_get_position):
6780 Don't try to preroll non-async elements after a flush.
6781 Subtract latency form clock times when reporting position.
6783 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6785 * gst/gstpad.c: (gst_pad_pause_task):
6787 Small comment and documentation update.
6789 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6791 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6792 (gst_base_src_set_live), (gst_base_src_is_live),
6793 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6794 (gst_base_src_default_event), (gst_base_src_wait),
6795 (gst_base_src_do_sync), (gst_base_src_get_range),
6796 (gst_base_src_pad_get_range), (gst_base_src_loop),
6797 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6798 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6799 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6800 (gst_base_src_change_state):
6801 Rework the locking of basesrc in a similar fashion to basesink. We
6802 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6803 us to handle live sources and semi live ones much better.
6805 Fix unlocking when seeking, shutting down and pausing in live sources.
6807 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6809 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6810 Fix compilation again.
6812 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6815 Use meaningful categories for the logs to clean the default one.
6817 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6819 * tests/check/pipelines/cleanup.c:
6820 Print message name and not just number.
6822 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6824 * docs/design/draft-tagreading.txt:
6825 Add some more thoughts.
6827 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6829 * tests/check/pipelines/simple-launch-lines.c:
6830 Print message name and not just number.
6832 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6834 * libs/gst/base/gsttypefindhelper.c:
6835 Speedup typefinding. This is work in progress (see #459862).
6837 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6840 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6841 Spotted by Josep Torra Valles <josep@fluendo.com>.
6843 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6846 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6847 field has moved to GstObject.
6849 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6851 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6852 (gst_base_src_get_range), (gst_base_src_change_state):
6853 Call unlock for live sources so that they can't get stuck in _create and
6854 produce a buffer before they are set back to PLAYING.
6856 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6858 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6859 (gst_queue_locked_dequeue):
6860 Comment the segment-related code... in the PROPER function.
6861 See #482147 and my commit from yesterday.
6863 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6865 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6866 Also initialize the counter that calculates the first timestamp on a
6867 buffer correctly for non-live sources.
6869 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6871 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6872 Disable code that's breaking the current-time-level reporting.
6875 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6877 * docs/gst/gstreamer-sections.txt:
6878 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6879 as they shouldn't show up. Fixes the docs build.
6881 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6884 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6885 Define M_PI which is used in files which are including gstinfo.h.
6886 VS6 includes doesn't define it.
6887 * win32/common/libgstbase.def:
6888 * win32/common/libgstcontroller.def:
6889 * win32/common/libgstreamer.def:
6890 Add new exported functions and variables.
6891 * win32/vs6/libgstcontroller.dsp:
6892 * win32/vs6/libgstreamer.dsp:
6893 Update the list of files to build.
6895 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6897 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6899 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6900 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6901 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6902 Improve debugging. Fixes #480858.
6904 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6906 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6908 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6909 First patch of code cleanups, use the macros and right arguments in the
6910 macros to signal and lock the queue. See #480858.
6912 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6914 * gst/gstbus.c: (poll_func):
6915 Improve debugging when dealing with _poll().
6917 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6919 * gst/gstregistryxml.c:
6920 Fix memory leak I introduced a few days ago.
6922 2007-09-26 Michael Smith <msmith@fluendo.com>
6924 * gst/gstbuffer.c: (gst_buffer_finalize):
6925 Make it once again possible to free GstBuffers in the default
6927 The poisoning scribbles on parts of the miniobject we need in
6931 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6933 * docs/gst/gstreamer-sections.txt:
6936 API: add GST_TAG_COMPOSER, fixes #459809.
6938 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6942 Add the 3-clause BSD license and the MIT/X11 license to the license
6943 list. Fixes #479784.
6945 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6947 * docs/faq/getting.xml:
6948 Add Q+A about different GStreamer versions (#364056).
6950 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6952 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6953 (gst_base_sink_event), (gst_base_sink_change_state):
6954 Return correct gboolean from query function.
6956 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6958 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6959 (gst_base_sink_event), (gst_base_sink_query),
6960 (gst_base_sink_change_state):
6961 Simplify latency query.
6962 When not synchronizing, we can report latency without querying the peer
6965 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6969 Fix small typos in the docs.
6971 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6973 * docs/design/draft-latency.txt:
6974 * docs/design/draft-push-pull.txt:
6975 * docs/design/draft-tagreading.txt:
6976 * docs/design/part-MT-refcounting.txt:
6977 * docs/design/part-activation.txt:
6978 * docs/design/part-block.txt:
6979 * docs/design/part-element-source.txt:
6980 * docs/design/part-events.txt:
6981 * docs/design/part-gstbin.txt:
6982 * docs/design/part-gstelement.txt:
6983 * docs/design/part-gstobject.txt:
6984 * docs/design/part-gstpipeline.txt:
6985 * docs/design/part-messages.txt:
6986 * docs/design/part-preroll.txt:
6987 * docs/design/part-push-pull.txt:
6988 * docs/design/part-qos.txt:
6989 * docs/design/part-query.txt:
6990 * docs/design/part-scheduling.txt:
6991 * docs/design/part-seeking.txt:
6992 * docs/design/part-segments.txt:
6993 * docs/design/part-states.txt:
6994 Documentation updates and typo fixes.
6996 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6998 * plugins/elements/gstfakesink.c:
6999 Add some debug text to error message to indicate that
7000 we errored out on request.
7002 * tools/gst-launch.c:
7003 When the state change to PLAYING fails, check for an
7004 error message on the bus and print it.
7006 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
7008 translated by: Jorge González González <aloriel@gmail.com>
7012 Added Spanish translation.
7014 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
7016 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7017 Fix printf arguments.
7019 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7021 * tests/check/generic/states.c:
7022 Improved state change unit test.
7024 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7027 Move priv to the right place.
7029 * gst/gstsystemclock.c:
7030 Add FIXME: and improve log.
7032 * tests/check/Makefile.am:
7033 * tests/examples/manual/Makefile.am:
7034 Work with all types of registries.
7036 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
7038 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7039 Don't unref the event after pushing it. Fixes #478401.
7041 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7044 * tests/examples/manual/.cvsignore:
7045 Ignore registries in any format.
7047 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7049 * gst/glib-compat-private.h:
7050 Add compatibility macro for g_intern_string() for
7051 GLib-2.8 (any reason we can't just bump the
7052 requirement to at least 2.10?)
7054 * gst/gstpadtemplate.h:
7055 * gst/gstelementfactory.c:
7056 * gst/gstregistryxml.c:
7057 * gst/gstregistrybinary.c:
7058 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7059 up the internal code accordingly. This shouldn't be a problem, since
7060 there is no reason external code could ever assume the string in such
7061 a structure is dynamically allocated unless it did that itself; the
7062 use of g_strdup() is private to element factories. The new code also
7063 saves some memory by putting pad template name strings into the GLib
7064 quark table instead of allocating them dynamically.
7065 Declaring this field constant fixes warnings with g++-4.2 when using
7066 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7068 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7070 * gst/gstelementfactory.c:
7071 Release static caps. Fixes #475723.
7073 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7077 Make some internal API take const gchar * instead of just
7078 gchar * to avoid compiler warnings with g++-4.2.2 when
7079 passing string constants (partially fixes #478092).
7081 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7083 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7084 A latency query fails when one of the sinks fail.
7086 * gst/gstelement.c: (gst_element_set_base_time):
7089 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7091 * gst/gstbin.c: (gst_bin_continue_func):
7092 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7093 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7094 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7096 Fix minor compilation warnings shown with Forte.
7098 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7100 * plugins/elements/gstqueue.c: (apply_buffer),
7101 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7102 Measure queue level based on the diff between head and tail timestamps
7103 even when pushing the first buffer.
7105 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7107 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7108 (gst_base_sink_event), (gst_base_sink_change_state):
7109 Sinks that don't preroll can always be queried for the latency.
7110 Don't post ASYNC start when we are not async.
7112 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7114 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7115 (gst_queue_handle_sink_event), (gst_queue_chain),
7116 (gst_queue_push_one), (gst_queue_handle_src_query),
7117 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7118 * plugins/elements/gstqueue.h:
7119 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7120 push more buffers but allow pushing of EOS and NEWSEGMENT.
7121 Add some more debug info here and there. Fixes #476514.
7123 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7125 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7126 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7127 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7128 (gst_base_sink_set_flushing), (gst_base_sink_query),
7129 (gst_base_sink_change_state):
7130 Latency query is allowed after we are prerolled. Introduce a new flag
7131 for this and stop abusing other variables.
7133 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7135 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7136 Push OOB events downstream when we get them in send_event. This allows
7137 the application to insert events in the pipeline.
7138 Add some more comments.
7140 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7142 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7143 (do_bin_latency), (gst_bin_change_state_func):
7144 * gst/gstpipeline.c: (gst_pipeline_change_state):
7145 Move latency query from GstPipeline to GstBin so that we can also
7146 use it when async-handling is enabled on bins.
7148 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7150 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7151 (gst_base_src_do_sync), (gst_base_src_change_state):
7153 Clean up the timestamping and syncing code for pseudo live sources.
7155 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7157 Patch by: Steve Fink <sphink gmail com>
7159 * docs/manual/appendix-checklist.xml:
7160 Mention less -R switch in the section about debug output (#474055).
7162 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7164 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7165 Queue can latency to the pipeline up to the configured max size in time.
7166 Report this fact in the latency query.
7168 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7170 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7172 * libs/gst/controller/gstinterpolation.c:
7173 * libs/gst/controller/gstlfocontrolsource.c:
7174 Use gst_guint64_to_gdouble() when converting from a uint64 or
7175 GstClockTime to double to fix the build on win32. Fixes #474371.
7177 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7179 * gst/gstbuffer.c: (gst_buffer_finalize):
7180 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7181 When finalizing a buffer the complete struct is filled with 0xff,
7182 thus making a use of the buffer after the final unref impossible.
7184 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7186 * tests/check/libs/controller.c: (GST_START_TEST):
7187 Use fail_unless_equals_int(a, b) instead of
7188 fail_unless_equals (a == b) to get better output on failures.
7190 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7192 * tests/check/gst/gsturi.c:
7193 Also check for the other file URI variant on win32.
7195 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7197 * gst/gsturi.c: (gst_uri_get_location):
7198 If there's no hostname, we want to return 'c:/foo/bar.txt'
7199 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7201 * tests/check/gst/gsturi.c:
7202 Unit test for the above and a few more things.
7204 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7206 * docs/design/part-live-source.txt:
7207 Add docs on how live sources should timestamp.
7209 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7210 Add some more debug info.
7211 For subclasses that are live and like to sync, add aditional startup
7212 latency to sync time and timestamps so that we timstamp according to the
7215 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7218 Also do a g_type_class_ref() for the subbuffer type in
7221 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7223 * docs/gst/gstreamer-sections.txt:
7224 * gst/gstpad.c: (gst_pad_peer_query):
7226 Add function to perform a query on the peer of a pad.
7227 API: gst_pad_peer_query()
7229 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7231 * tests/check/gst/gstsystemclock.c:
7232 Cleanup the test a little (use gst-logging and not g_message). Improve
7233 test to check if a wait reached the target.
7235 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7237 * docs/libs/gstreamer-libs-sections.txt:
7238 Add new API to docs and fix the build.
7240 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7242 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7243 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7244 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7245 (gst_base_src_get_property), (gst_base_src_do_sync):
7246 * libs/gst/base/gstbasesrc.h:
7247 Add property to make the basesrc timestamp buffers based on the current
7249 API: GstBaseSrc::do-timestamp
7250 API: gst_base_src_set_do_timestamp()
7251 API: gst_base_src_get_do_timestamp()
7253 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7255 * docs/random/release:
7256 Really make sure translations are up-to-date before
7257 a release (#465010).
7259 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7261 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7262 Always destroy the timer, also in error cases.
7264 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7266 * docs/manual/highlevel-xml.xml:
7267 Fix XML example code. Fixes #472714.
7269 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7271 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7272 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7273 (gst_base_sink_query):
7274 Protect eos and have_preroll with the OBJECT lock so we don't need to
7275 take the PREROLL lock when querying the latency. Fixes #473846.
7277 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7280 Give some log-messages a category.
7282 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7284 * gst/gststructure.c:
7285 (gst_structure_fixate_field_nearest_fraction):
7286 Fix fraction list fixation code. Take the fraction with the smallest
7287 difference with the target instead of the first one in the list.
7289 * tests/check/gst/gststructure.c: (GST_START_TEST),
7290 (gst_structure_suite):
7291 Added test to verify correct fraction list fixation behaviour.
7293 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7295 * win32/common/libgstreamer.def:
7296 Export gst_bus_add_signal_watch too.
7298 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7300 * docs/libs/gstreamer-libs-sections.txt:
7301 Add new methods to docs.
7303 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7304 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7305 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7306 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7307 * libs/gst/base/gstbasesink.h:
7308 Add ts-offset property to fine-tune the synchronisation.
7309 API: GstBaseSink::ts-offset property
7310 API: gst_base_sink_set_ts_offset()
7311 API: gst_base_sink_get_ts_offset()
7313 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7315 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7316 (gst_base_sink_init), (gst_base_sink_set_sync),
7317 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7318 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7319 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7320 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7321 (gst_base_sink_get_property), (gst_base_sink_change_state):
7322 * libs/gst/base/gstbasesink.h:
7323 Add async property to instruct the sink never to inform the parent about
7324 ASYNC state changes, update docs.
7325 Check argument with g_return_* for the public functions.
7326 API: GstBaseSink::async property
7327 API: gst_base_sink_set_async_enabled()
7328 API: gst_base_sink_is_async_enabled()
7330 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7332 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7335 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7336 (gst_base_src_default_query), (gst_base_src_wait),
7337 (gst_base_src_do_sync), (gst_base_src_change_state):
7338 Rearrange some code so that we can add support for measuring the
7341 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7343 * docs/random/ensonic/dynlink.txt:
7344 More thoughs on this.
7346 * plugins/elements/gstcapsfilter.c:
7347 Add bugzilla ticket number to FIXME comment.
7349 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7351 * docs/design/part-TODO.txt:
7352 * docs/design/part-block.txt:
7355 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7358 Revert patch which uses $(gst_headers) instead of $^ because it
7361 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7363 * tests/check/gst/gstbin.c: (GST_START_TEST):
7364 Fix leaks in the new unit test.
7366 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7369 Don't use GST_INFO before the debug system is actually initialised
7370 (shouldn't do any harm, but won't print anything either, so we can
7371 just as well remove it).
7374 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7375 compilers that don't support variadic macros (such as MSVC), should
7376 check for debug_level <= __gst_debug_min as well, since that's the
7377 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7378 inline helper functions. Should improve performance a bit, but also
7379 makes sure uses of GST_INFO et.al are ignored if the debugging
7380 system isn't initialised yet (instead of printing an assertion
7383 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7385 patch by: David Nečas <yeti@physics.muni.cz>
7388 Replace some non portable makefile constructs.
7390 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7392 * common/gtk-doc-plugins.mak:
7393 Grrrrr. Don't remove the types file on make clean.
7395 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7397 * tools/gst-launch.1.in:
7398 Add colorspace to example pipeline. Fixes #458274.
7400 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7402 * docs/random/release:
7403 The release manager should run 'make download-po' before making a
7404 release to make sure translations are up-to-date.
7410 Add some new translations.
7412 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7414 * tools/gst-launch.c: (event_loop), (main):
7415 Don´t try to do any state management when a live pipeline posts
7417 Also make the buffering string translatable.
7419 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7421 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7422 (bin_handle_async_start), (gst_bin_handle_message_func):
7424 When adding elements, insert messages into the bus of the newly added
7425 element and make sure the element is the source of the message. This
7426 allows the parent bin to intercept the message and do the
7427 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7428 messages to the app (which is not allowed).
7431 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7432 Fix testsuite so that is does not work around messages that should not
7433 have been posted in the first place.
7435 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7437 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7438 (update_degree), (gst_bin_sort_iterator_next):
7439 Fix annoying bug in the sorted iterator where a sink that is not really
7440 a sink (when it has downstream links) screwed up the iterator.
7442 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7443 Unit test to verify the fix.
7445 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7448 Add some more docs for the messages.
7450 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7451 (gst_base_sink_query):
7452 Add some more debugging.
7454 * tools/gst-launch.c: (event_loop):
7455 When interrupting, don't try to set pipeline to PAUSED twice.
7457 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7460 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7461 (bin_handle_async_start), (gst_bin_handle_message_func):
7462 Move ASYNC_START message posting to where it belongs, similar to
7464 Don't post ASYNC_START when we are in error.
7465 Post ASYNC_START when we added an async element to a bin.
7467 2007-08-14 Julien MOUTTE <julien@moutte.net>
7469 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7470 generation from vargs. Fixes #466595.
7472 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7474 * gst/gstbin.c: (gst_bin_element_set_state):
7475 Always change the state of a NO_PREROLL element even if it has ASYNC
7476 elements inside (in case of a bin).
7478 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7479 Unit test for this case.
7481 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7483 * libs/gst/check/gstbufferstraw.c:
7484 * libs/gst/check/gstcheck.h:
7485 * libs/gst/controller/gstcontroller.c:
7486 * libs/gst/controller/gstcontrolsource.h:
7487 * libs/gst/controller/gstlfocontrolsource.h:
7488 * plugins/elements/gstcapsfilter.h:
7489 * plugins/elements/gstfdsink.h:
7490 * plugins/elements/gstfdsrc.h:
7491 Add more missing docs.
7493 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7495 * gst/gststructure.c:
7496 Add Since tag to docs.
7498 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7500 * docs/gst/gstreamer-sections.txt:
7501 * gst/gststructure.c: (gst_structure_get_uint):
7502 * gst/gststructure.h:
7503 Add function to get uint from a structure.
7504 API: gst_structure_get_uint()
7506 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7508 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7509 (gst_caps_intersect):
7510 Fix proper check for simple caps.
7512 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7514 * docs/gst/Makefile.am:
7515 * docs/libs/Makefile.am:
7516 Remove cruft and do some cleanups.
7518 * docs/gst/gstreamer-docs.sgml:
7519 * docs/libs/gstreamer-libs-docs.sgml:
7520 Prepare for comming gtkdoc features (rebase against online docs).
7522 2007-08-10 Michael Smith <msmith@fluendo.com>
7524 * docs/gst/gstreamer-sections.txt:
7525 Add gst_registry_add_path to docs.
7527 2007-08-10 Michael Smith <msmith@fluendo.com>
7529 * gst/gstregistry.h:
7530 Add gst_registry_add_path, which was missing from this header.
7532 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7534 * libs/gst/controller/gstlfocontrolsource.c:
7537 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7539 * libs/gst/base/gstbasesink.c:
7540 Don't send an async_start message during downwards state change if
7541 target state is less than READY
7543 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7545 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7549 Added Hungarian translation.
7551 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7558 Updated translations.
7560 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7562 * libs/gst/controller/Makefile.am:
7563 Dist gstlfocontrolsourceprivate.h
7565 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7567 * docs/libs/gstreamer-libs.types:
7568 Don't register the enum type gst_lfo_waveform_get_type() in the
7569 .types file - only GObject derived types belong.
7571 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7573 Patch by: <arenevier at fdn dot fr>
7576 Remove comma from last element in enum to avoid compile errors when
7577 using -pendantic. Fixes #464366.
7579 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7581 * docs/design/part-TODO.txt:
7582 Add some more TODO items
7584 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7587 * gst/gstcaps.c: (gst_caps_intersect):
7588 Optimize trivial intersection case between identical caps pointers.
7590 * gst/gstelement.c: (gst_element_continue_state),
7591 (gst_element_set_state_func):
7593 Fix spelling and grammar mistakes.
7595 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7599 Update POTFILES. Fixes #461599.
7601 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7604 Fix confusing typo in debug output.
7606 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7608 reviewed by: Stefan Kost <ensonic@users.sf.net>
7610 * libs/gst/controller/Makefile.am:
7611 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7612 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7613 (gst_lfo_control_source_new),
7614 (gst_lfo_control_source_set_waveform),
7615 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7616 (gst_lfo_control_source_finalize),
7617 (gst_lfo_control_source_dispose),
7618 (gst_lfo_control_source_set_property),
7619 (gst_lfo_control_source_get_property),
7620 (gst_lfo_control_source_class_init):
7621 * libs/gst/controller/gstlfocontrolsource.h:
7622 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7623 API: Add GstLFOControlSource, a control source that gives values
7624 for specific timestamps based on several periodic waveforms.
7627 * tests/check/libs/controller.c: (GST_START_TEST),
7628 (gst_controller_suite):
7629 * docs/libs/gstreamer-libs-docs.sgml:
7630 * docs/libs/gstreamer-libs-sections.txt:
7631 * docs/libs/gstreamer-libs.types:
7632 Add documentation and unit tests for GstLFOControlSource.
7634 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7639 === release 0.10.14 ===
7641 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7644 releasing 0.10.14, "Breathing Vacuum"
7646 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7648 * gst/gstelement.c: (gst_element_class_set_details_simple):
7650 Make strings passed to gst_element_class_set_details_simple()
7651 constant, as they should be (#462752).
7653 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7655 * gst/gstbin.c: (gst_bin_change_state_func),
7656 (bin_handle_async_done), (gst_bin_handle_message_func):
7657 Don't forget about the fact that some element went ASYNC even after a
7658 resync. This makes us post the ASYNC_DONE message correctly.
7661 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7663 * gst/gstregistry.c: (gst_registry_add_feature):
7664 When replacing an existing feature in the registry, make sure to
7665 continue holding a reference until we've replaced the name string
7666 within our feature hash table. Make sure to use g_hash_table_replace
7667 instead of g_hash_table_insert to ensure the new name string is used
7668 as a key instead of the old one that we're about to free.
7671 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7673 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7674 (gst_plugin_feature_set_name):
7675 Revert patch from #459466 until after the release and we can work
7676 out exactly what the problem is (if any).
7678 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7680 * docs/gst/gstreamer-sections.txt:
7683 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7685 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7687 * docs/libs/Makefile.am:
7688 Include our build-prefix libs and includes before the generic ones to
7689 avoid linking against the installed libs when we want the build-tree
7692 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7694 Patch by: Steve Fink <sphink gmail com>
7696 * docs/pwg/building-testapp.xml:
7697 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7698 if people try to build or install the example from the plugin
7699 template against a GStreamer from package using the configure
7702 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7704 Patch by: Steve Fink <sphink gmail com>
7706 * tools/gst-inspect.1.in:
7707 Document --print-all and --print-plugin-auto-install-info command
7708 line options in man page.
7710 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7712 * docs/gst/gstreamer-sections.txt:
7713 Add docs for new api function.
7715 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7717 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7718 * gst/gstelementfactory.h:
7719 API: gst_element_factory_has_interface()
7720 Added method to check if an element factory implements a named
7723 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7726 * docs/gst/gstreamer.types.in:
7727 Another conditional doc check.
7730 * gst/gstparamspecs.h:
7731 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7736 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7738 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7739 (gst_registry_binary_load_feature),
7740 (gst_registry_binary_load_plugin),
7741 (gst_registry_binary_read_cache):
7742 Print error just once and with additional info.
7744 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7746 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7747 (helper_find_suggest), (helper_find_get_length),
7748 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7749 (gst_type_find_helper_for_buffer):
7750 Cleanup the typefindhelper code and add private doc comments.
7752 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7754 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7755 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7756 Fix capsfilter for cases where the caps set on capsfilter will provide
7757 additional information.
7760 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7762 * gst/gsttypefindfactory.c:
7763 Fix docs that recommened wrong function to use.
7765 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7767 * tools/gst-inspect.c: (print_plugin_features):
7768 Also give media-type for typefinders in element output.
7770 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7772 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7773 (gst_registry_remove_features_for_plugin_unlocked),
7774 (gst_registry_add_feature), (gst_registry_remove_feature),
7775 (gst_registry_lookup_feature_locked):
7776 * gst/gstregistry.h:
7777 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7780 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7782 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7783 (gst_plugin_feature_set_name):
7784 Avoid double memory usage for pluginfeature names. Fixes #459466.
7786 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7789 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7790 driving the pipeline may need to explicitly check for NOT_LINKED as
7791 well, since IS_FATAL doesn't cover that.
7793 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7795 * docs/pwg/advanced-types.xml:
7796 Fix typo and duplicate entry in video formats list.
7798 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7800 * libs/gst/controller/gstinterpolation.c:
7801 Also round to the nearest int when using cubic interpolation.
7803 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7805 * libs/gst/controller/gstinterpolation.c:
7806 When linearly interpolating integer types, round to the nearest int
7807 by adding 0.5. Don't do it for float/double types.
7808 Fixes the failing controller test on my machine, which is somehow
7809 rounding differently than on the buildbots.
7811 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7813 * tools/gst-plot-timeline.py:
7814 Better log parsing (categories can have -). Adjust text vs. lines, so
7815 that they span the same y-range.
7817 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7819 * docs/random/ensonic/audiobaseclasses.txt:
7820 * docs/random/ensonic/dynlink.txt:
7821 * docs/random/ensonic/profiling.txt:
7824 * docs/random/moving-plugins:
7825 Add note to use g_assert type macros.
7827 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7830 * libs/gst/check/Makefile.am:
7831 Add libm check as we use in for plugins.
7833 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7835 * gst/gstbin.c: (gst_bin_continue_func):
7836 Check that the state_cookie hasn't changed since the continue_func
7837 was scheduled. Avoids problems where the state changes back to
7838 something it shouldn't be because it was changed in the meantime.
7840 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7842 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7843 (gst_registry_binary_save_string),
7844 (gst_registry_binary_save_pad_template),
7845 (gst_registry_binary_save_feature),
7846 (gst_registry_binary_save_plugin),
7847 (gst_registry_binary_load_feature),
7848 (gst_registry_binary_load_plugin),
7849 (gst_registry_binary_read_cache):
7850 Fix memory leak. Be less verbose in the log.
7852 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7854 * tests/check/elements/.cvsignore:
7855 Add file to cvsignore as commanded.
7857 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7859 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7860 (mq_dummypad_event), (run_output_order_test):
7861 Use a GStaticMutex to protect all cases where libcheck
7862 fail_if/fail_unless macros might be called from multiple threads
7863 simultaneously to avoid errors like:
7864 "check_pack.c:107: :-1081725400:Bad message type arg"
7866 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7868 * tests/check/pipelines/stress.c: (GST_START_TEST):
7869 Make sure we set the pipeline back to the NULL state before
7870 dropping our final reference.
7872 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7874 * tests/check/elements/tee.c: (GST_START_TEST):
7875 Make the tee stress-test a little less stressful so it doesn't just
7876 time out on slow-machines, and remove a small race when it's starting
7877 up by adding a get_state() call.
7879 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7882 Avoid reading registry twice on startup. Fixes #457322.
7884 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7886 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7887 * pkgconfig/gstreamer-check.pc.in:
7888 Substitute the CFLAGS for libcheck into our .pc file too so that
7889 dependent modules will pick it up properly if libcheck is installed
7890 into some other prefix.
7892 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7895 Revert the pkg-config check for libcheck, since it pulls in the
7896 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7897 a proper solution, either from the check project, or something else.
7899 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7902 Use pkg-config to locate check.
7904 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7911 Add deprecation guards.
7913 * libs/gst/base/gstcollectpads.h:
7914 Don't document object (this is implicitly private).
7916 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7918 * gst/gststructure.c: (gst_structure_parse_value):
7919 When deserialising foo=bar without a type cast, check if it's a
7920 boolean before falling back to a string type, otherwise things like
7921 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7922 because the filtercaps end up having a signed=(string)true field,
7923 which causes problems later when intersection caps.
7925 * tests/check/gst/gststructure.c: (GST_START_TEST):
7926 Add a unit test for this.
7928 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7930 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7932 * libs/gst/controller/Makefile.am:
7933 * libs/gst/controller/gstcontroller.c:
7934 (gst_controlled_property_add_interpolation_control_source),
7935 (gst_controlled_property_new), (gst_controlled_property_free),
7936 (gst_controller_find_controlled_property),
7937 (gst_controller_new_valist), (gst_controller_new_list),
7938 (gst_controller_new), (gst_controller_remove_properties_valist),
7939 (gst_controller_remove_properties_list),
7940 (gst_controller_remove_properties),
7941 (gst_controller_set_property_disabled),
7942 (gst_controller_set_disabled), (gst_controller_set_control_source),
7943 (gst_controller_get_control_source), (gst_controller_get),
7944 (gst_controller_sync_values), (gst_controller_get_value_array),
7945 (_gst_controller_dispose), (gst_controller_get_type),
7946 (gst_controlled_property_set_interpolation_mode),
7947 (gst_controller_set), (gst_controller_set_from_list),
7948 (gst_controller_unset), (gst_controller_unset_all),
7949 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7950 * libs/gst/controller/gstcontroller.h:
7951 * libs/gst/controller/gstcontrollerprivate.h:
7952 * libs/gst/controller/gstcontrolsource.c:
7953 (gst_control_source_class_init), (gst_control_source_init),
7954 (gst_control_source_get_value),
7955 (gst_control_source_get_value_array), (gst_control_source_bind):
7956 * libs/gst/controller/gstcontrolsource.h:
7957 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7958 (gst_object_get_control_source):
7959 * libs/gst/controller/gstinterpolation.c:
7960 (gst_interpolation_control_source_find_control_point_node),
7961 (gst_interpolation_control_source_get_first_value),
7962 (_interpolate_none_get), (interpolate_none_get),
7963 (interpolate_none_get_boolean_value_array),
7964 (interpolate_none_get_enum_value_array),
7965 (interpolate_none_get_string_value_array),
7966 (_interpolate_trigger_get), (interpolate_trigger_get),
7967 (interpolate_trigger_get_boolean_value_array),
7968 (interpolate_trigger_get_enum_value_array),
7969 (interpolate_trigger_get_string_value_array):
7970 * libs/gst/controller/gstinterpolationcontrolsource.c:
7971 (gst_control_point_free), (gst_interpolation_control_source_reset),
7972 (gst_interpolation_control_source_new),
7973 (gst_interpolation_control_source_set_interpolation_mode),
7974 (gst_interpolation_control_source_bind),
7975 (gst_control_point_compare), (gst_control_point_find),
7976 (gst_interpolation_control_source_set_internal),
7977 (gst_interpolation_control_source_set),
7978 (gst_interpolation_control_source_set_from_list),
7979 (gst_interpolation_control_source_unset),
7980 (gst_interpolation_control_source_unset_all),
7981 (gst_interpolation_control_source_get_all),
7982 (gst_interpolation_control_source_get_count),
7983 (gst_interpolation_control_source_init),
7984 (gst_interpolation_control_source_finalize),
7985 (gst_interpolation_control_source_dispose),
7986 (gst_interpolation_control_source_class_init):
7987 * libs/gst/controller/gstinterpolationcontrolsource.h:
7988 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7989 API: Refactor GstController into the core controller which can take
7990 a GstControlSource for providing actual values for timestamps.
7991 Implement a interpolation control source and use this for backward
7992 compatibility, deprecate a bunch of functions that are now handled
7993 by GstControlSource or GstInterpolationControlSource.
7994 Make it possible to disable the controller completely or only for
7995 specific properties. Fixes #450711.
7996 * docs/libs/gstreamer-libs-docs.sgml:
7997 * docs/libs/gstreamer-libs-sections.txt:
7998 * docs/libs/gstreamer-libs.types:
7999 Add new functions and classes to the docs.
8000 * tests/check/libs/controller.c: (GST_START_TEST),
8001 (gst_controller_suite):
8002 * tests/examples/controller/audio-example.c: (main):
8003 Port unit test and example to the new API and add some new
8006 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
8008 Patch by: Mark Nauwelaerts <manauw at skynet be>
8010 * plugins/elements/gstmultiqueue.c:
8011 (gst_multi_queue_get_internal_links), (apply_buffer),
8012 (single_queue_overrun_cb), (gst_single_queue_new):
8013 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8014 the pipeline layout can be tracked correctly. Fixes #453732.
8016 2007-07-05 Stefan Kost <ensonic@users.sf.net>
8018 * docs/gst/Makefile.am:
8019 * docs/libs/Makefile.am:
8020 * docs/plugins/Makefile.am:
8021 Simplify --extra-dir as gtkdoc scans recursively.
8023 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8025 * tools/gst-launch.c: (main):
8026 When we got an error, there is no point in waiting for preroll when
8029 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8031 * plugins/elements/gsttee.c: (gst_tee_base_init),
8032 (gst_tee_request_new_pad), (gst_tee_release_pad),
8033 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8034 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8036 Be a lot smarter when deciding what srcpad to use for proxying
8037 the buffer_alloc. Also handle pad added/removed when doing so.
8039 Keep track of what pads we already pushed on in case we have pads
8040 added/removed while pushing. Fixes #374639
8042 * tests/check/Makefile.am:
8043 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8045 Added unit test for pad resync.
8047 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8051 Updated translations.
8053 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8055 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8059 Added new Finnish translation.
8061 2007-06-28 Wim Taymans <wim@fluendo.com>
8063 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8064 (single_queue_overrun_cb):
8065 When figuring out when a queue is filled, use our internal time estimate
8066 based on segments, just like check_full does.
8068 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8070 * gst/gstminiobject.c: (gst_mini_object_get_type):
8071 Remove 3 do-nothing methods.
8073 2007-06-27 Wim Taymans <wim@fluendo.com>
8075 Patch by: Tim Angus <tim at ngus dot net>
8077 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8078 (gst_capsfilter_set_property):
8079 Take a reference instead of a copy when setting "caps".
8080 Fix documentation to clarify this behaviour. Fixes #449414.
8082 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8084 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8085 * gst/gstplugin.c: (gst_plugin_init):
8086 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8087 * gst/gstquery.c: (gst_query_get_type):
8088 * gst/gstregistry.c: (gst_registry_init):
8089 * gst/gsturi.c: (gst_uri_handler_base_init):
8090 Remove empty instance_init() functions to save relocs and lessen the
8091 noise. Remove some of the function prototypes that are doubled by
8094 2007-06-27 Wim Taymans <wim@fluendo.com>
8096 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8098 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8099 Add peer and direction in the XML serialisation of ghostpads.
8102 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8105 Preserve useful information, thanks Tim.
8107 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8109 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8110 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8111 (gst_single_queue_push_one), (gst_multi_queue_loop),
8112 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8113 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8114 (compute_high_id), (gst_single_queue_new):
8115 * plugins/elements/gstmultiqueue.h:
8116 Take the multiqueue lock when updating the fill level so we don't get
8119 After applying a buffer or event on the src pad segment, make sure to
8120 call gst_data_queue_limits_changed() to get the data queue to unblock
8121 and check the filled state again.
8123 Rework the not-linked pad handling so the logic is that not-linked
8124 pads can push as fast as they like, but only so they never get
8125 ahead of any linked pads.
8127 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8128 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8129 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8131 Add a test to check that not-linked pads always stay behind
8136 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8138 * docs/random/release:
8139 Some updates to the release procedure.
8141 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8143 * gst/gstelementfactory.c: (__gst_element_details_clear):
8144 Microoptimization that saves stunning 80 bytes.
8146 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8148 * docs/plugins/gstreamer-plugins.args:
8149 * docs/plugins/inspect/plugin-coreelements.xml:
8150 * docs/plugins/inspect/plugin-coreindexers.xml:
8151 Update docs with caps info.
8153 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8156 Updated Italian translation.
8158 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8162 Update Vietnamese translations.
8164 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8166 * libs/gst/base/gstbasesink.c:
8167 Remove unused signal enum.
8169 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8171 * docs/gst/gstreamer-sections.txt:
8173 * gst/gstutils.c: (gst_type_register_static_full):
8174 Beef up and include the docs for gst_type_register_static_full and
8175 gst_element_class_set_details_simple and add the API keyword
8178 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8180 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8181 (update_time_level), (gst_single_queue_push_one),
8182 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8183 (single_queue_overrun_cb), (single_queue_underrun_cb),
8184 (single_queue_check_full):
8185 Fix setting max-* properties after adding queues.
8186 Use IS_FILLED for checking visible items.
8187 Signal overrun if multiple queues overrun.
8188 Add extra debug output.
8189 Patch by: Wim Taymans <wim@fluendo.com>
8191 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8193 * gst/gstelement.c: (gst_element_class_set_details_simple):
8195 * gst/gstutils.c: (gst_type_register_static_full):
8197 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8198 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8199 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8200 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8201 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8202 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8203 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8204 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8205 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8206 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8207 (apply_buffer), (gst_queue_chain):
8208 * plugins/elements/gsttee.c: (gst_tee_base_init):
8209 * plugins/elements/gsttypefindelement.c:
8210 (gst_type_find_element_base_init),
8211 (gst_type_find_element_class_init):
8212 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8213 API: add gst_type_register_static_full
8214 API: add gst_element_class_set_details_simple
8216 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8218 * docs/pwg/advanced-types.xml:
8219 Fix typo in iana.org URI.
8221 2007-06-19 Andy Wingo <wingo@pobox.com>
8223 * tests/check/pipelines/simple-launch-lines.c
8224 (test_state_change_returns): Enable pull-mode tests now that
8225 basesink has been fixed.
8227 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8228 Changed from gst_base_sink_is_prerolled, reversing the sense of
8229 the return value. Returns FALSE also if the sink is in pull mode,
8230 in which case it needs no preroll.
8231 (gst_base_sink_query, gst_base_sink_change_state): Update for
8232 needs_preroll change.
8233 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8234 chaining up, in which we return SUCCESS directly if we activated
8235 in pull mode instead of ASYNC. Involves countering an async_start
8236 message sent before chaining up; not sure if this is correct, in
8237 an ideal world we only send async-start when activating in push
8240 * tests/check/pipelines/simple-launch-lines.c
8241 (test_state_change_returns): New test, partially disabled until
8244 2007-06-19 Wim Taymans <wim@fluendo.com>
8246 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8247 (gst_multi_queue_sink_event):
8250 2007-06-19 Wim Taymans <wim@fluendo.com>
8252 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8253 (gst_bin_change_state_func), (bin_push_state_continue),
8254 (bin_handle_async_start), (bin_handle_async_done),
8255 (gst_bin_handle_message_func):
8256 Move the common code for posting state-change messages into
8258 Broadcast the state signal after we posted the messages.
8259 Mark the bin as busy when it's doing a state-change.
8260 Make sure async-start/done messages don't interfere with the bin's
8261 state when it's busy.
8262 After the state change, let the bin check which elements completed the
8263 state change while it was busy so that it can update its state.
8265 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8267 * docs/random/release:
8268 Add a note about updating the doap file to the release checklist
8270 2007-06-18 Wim Taymans <wim@fluendo.com>
8272 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8273 (gst_single_queue_push_one), (gst_multi_queue_chain),
8274 (gst_multi_queue_sink_event):
8275 Make sure we don't reference the buffer/event after we have given away
8276 ownership in the queue.
8278 2007-06-18 Wim Taymans <wim@fluendo.com>
8280 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8281 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8282 Update queue state _after_ adding the item in the queue because else we
8283 could end up being full without the element added yet.
8285 2007-06-18 Wim Taymans <wim@fluendo.com>
8287 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8288 (gst_bin_remove_func), (gst_bin_get_state_func),
8289 (gst_bin_element_set_state), (gst_bin_continue_func),
8290 (bin_push_state_continue), (bin_handle_async_start),
8291 (bin_handle_async_done), (gst_bin_handle_message_func):
8293 Immediatly commit the toplevel bin state when receiving an async-done
8294 message. This enables us to avoid spawning a thread to commit the state
8295 in some common cases and it also avoids some races.
8296 Avoid spawning a state thread when adding/removing async elements to a
8297 toplevel bin. Instead we immediatly update the bin state.
8298 Get rid of iterating all the children when getting the state in the bin
8299 because it is now always up-to-date.
8300 Fix bug where locked elements would always return _SUCCESS even it they
8301 returned NO_PREROLL before being locked.
8302 Fix the order of the state_change, async-start/done messages that was
8303 sometimes incorrect.
8304 Mark the state_dirty field as deprecated, we don't need it anymore as we
8305 are always up-to-date.
8307 * gst/gstelement.c: (gst_element_get_state_func),
8308 (gst_element_continue_state):
8309 Small debug inprovements.
8310 Return the previous element state return when nothing is pending instead
8311 of blindly returning SUCCESS.
8313 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8315 Add a whole bunch of new testcases.
8317 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8321 Update translations.
8323 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8326 Fix typo in the docs.
8328 2007-06-15 Wim Taymans <wim@fluendo.com>
8330 * docs/libs/gstreamer-libs-sections.txt:
8331 Add docs for new methods.
8333 2007-06-15 Wim Taymans <wim@fluendo.com>
8335 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8336 (gst_multi_queue_item_new):
8337 Don't use GSlice because we don't depend on >= 2.10 yet.
8339 2007-06-15 Wim Taymans <wim@fluendo.com>
8341 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8342 (update_time_level), (apply_segment), (apply_buffer),
8343 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8344 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8345 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8346 (single_queue_underrun_cb), (single_queue_check_full):
8347 Remove debug printf.
8349 2007-06-15 Wim Taymans <wim@fluendo.com>
8351 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8352 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8353 (gst_data_queue_set_flushing), (gst_data_queue_push),
8354 (gst_data_queue_pop), (gst_data_queue_drop_head),
8355 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8356 * libs/gst/base/gstdataqueue.h:
8358 Added methods to get the current levels and to inform the queue that the
8359 'full' limits changed.
8361 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8362 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8363 (gst_single_queue_flush), (update_time_level), (apply_segment),
8364 (apply_buffer), (gst_single_queue_push_one),
8365 (gst_multi_queue_item_steal_object),
8366 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8367 (gst_multi_queue_loop), (gst_multi_queue_chain),
8368 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8369 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8370 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8371 (single_queue_underrun_cb), (single_queue_check_full),
8372 (gst_single_queue_new):
8373 Keep track of time in the queue by measuring the difference between
8374 running_time on input and output. This gives more accurate results and
8375 can compensate for segments correctly.
8376 Make a queue by default only 5 buffers deep. We will now increase the
8377 buffer size depending on the filledness of the other queues.
8378 Factor out commong flush code.
8379 Make sure we don't add additional refcounts to buffers when we can avoid
8381 Propagate GstFlowReturn differently.
8382 Use GSlice for intermediate GstMultiQueueItems.
8384 Resize queues on over and underruns based on filled level of other
8386 When checking if the queue is filled, prefer to measure in time if we
8387 can and fall back to bytes when no time is known.
8389 * plugins/elements/gstqueue.c:
8392 2007-06-15 Wim Taymans <wim@fluendo.com>
8394 * libs/gst/base/gstbasetransform.c:
8395 (gst_base_transform_sink_event):
8396 Work around the brokenness of the event vmethod in basetransform. Prefer
8397 to return TRUE when the subclass returned FALSE (meaning don't forward
8400 * libs/gst/base/gstbasetransform.h:
8403 2007-06-15 Wim Taymans <wim@fluendo.com>
8405 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8406 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8407 (gst_base_src_default_query), (gst_base_src_get_range),
8408 (gst_base_src_start):
8409 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8412 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8414 * docs/pwg/advanced-types.xml:
8415 Added more formats to caps table.
8417 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8419 * tools/gst-launch.c: (main):
8420 Remove crufy code. GOption does not need this workaround.
8422 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8424 * libs/gst/controller/gstcontroller.c:
8425 (gst_controlled_property_set_interpolation_mode):
8426 Fix wrong getter for enums in controller.
8428 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8430 * libs/gst/check/gstcheck.c: (gst_check_init):
8431 Intercept criticals and warnings in the Gst-Phonon log domain, so
8432 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8435 2007-06-14 Edward Hervey <edward@fluendo.com>
8437 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8438 Since this file doesn't include "gst.h" it will not go through the
8439 macros that disable GST_LOG if debugging was disabled.
8441 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8443 * libs/gst/check/Makefile.am:
8444 * libs/gst/check/gstcheck.h:
8445 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8446 * pkgconfig/gstreamer-check.pc.in:
8447 Ugly 'fix' for the controller unit test on the p5 bot: in
8448 fail_unless_equals_float() check whether the values are 'almost
8449 equal' by allowing a small absolute error, which should be good
8450 enough for our use cases (normal numbers and values close to 0).
8451 Proper fixage left to floating point arithmetic aficionados.
8453 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8455 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8456 (gst_base_sink_render_object), (gst_base_sink_get_position):
8457 Add two breaks thats where missing.
8459 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8461 * docs/libs/gstreamer-libs-sections.txt:
8462 * libs/gst/check/gstcheck.h:
8463 API: add fail_unless_equals_float() and assert_equals_float().
8464 Add documentation for some of the macros.
8466 * tests/check/libs/controller.c: (GST_START_TEST):
8467 Use newly-added asserts.
8469 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8471 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8472 Show the caps change in the log to help spotting the case of not
8473 exactly matching caps.
8475 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8477 * docs/pwg/building-boiler.xml:
8478 Fix typos, spotted by Thijs Vermeir (#447190).
8480 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8482 * docs/plugins/tmpl/.cvsignore:
8483 Ignore file to keep the buildbots happy
8485 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8487 * docs/plugins/Makefile.am:
8488 * docs/plugins/gstreamer-plugins-docs.sgml:
8489 * docs/plugins/gstreamer-plugins-sections.txt:
8490 Pull fdsink into the docs too.
8492 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8494 * libs/gst/controller/gstinterpolation.c:
8495 Actually use the new functions with min/max checks for the trigger and
8496 none interpolation modes for get() and get_value_array() instead of
8499 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8501 * libs/gst/controller/gstcontroller.c:
8502 (gst_controlled_property_free):
8503 Unset the minimum and maximum GValues when freeing the corresponding
8504 GstControllerProperty struct.
8506 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8508 * libs/gst/controller/gstcontroller.c:
8509 (gst_controlled_property_new):
8510 * libs/gst/controller/gstcontrollerprivate.h:
8511 * libs/gst/controller/gstinterpolation.c:
8512 (gst_controlled_property_find_control_point_node),
8513 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8514 (interpolate_none_get_string_value_array),
8515 (interpolate_trigger_get),
8516 (interpolate_trigger_get_enum_value_array),
8517 (interpolate_trigger_get_string_value_array):
8518 Protect against values larger or smaller than the minimum or maximum
8519 allowed value for the property when using values that can be compared.
8521 Optimize trigger interpolator a bit by taking the last requested value
8522 into account instead of always looping through the complete list.
8524 Fix coding style a bit, everywhere else we use "return foo" instead
8527 * tests/check/libs/controller.c: (GST_START_TEST),
8528 (gst_controller_suite):
8529 Add unit test for the protection against too large or too small
8532 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8534 * docs/random/slomo/controller.txt:
8535 Add some thoughts about the future of the controller.
8537 2007-06-08 Wim Taymans <wim@fluendo.com>
8539 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8540 Don't overflow in retimestamping code.
8542 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8544 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8545 Use gst_util_guint64_to_gdouble for conversions.
8546 * win32/common/libgstreamer.def:
8547 Add new exported functions.
8549 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8552 Small docs addition.
8554 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8557 Remove that test line again.
8559 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8562 Test commit mail sending.
8564 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8567 Fix typo and test commit mail sending.
8569 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8571 * tests/examples/controller/audio-example.c:
8572 Improve comment and test commit mail sending.
8574 2007-06-07 Wim Taymans <wim@fluendo.com>
8576 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8577 (gst_bin_remove_func), (gst_bin_element_set_state),
8578 (bin_handle_async_start), (bin_handle_async_done),
8579 (gst_bin_handle_message_func):
8580 Add helper function to find messages.
8581 Generate the async-done messages together with the state change
8583 Small cleanups in handling toplevel bins.
8585 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8587 * libs/gst/base/gstdataqueue.c:
8588 * libs/gst/base/gstdataqueue.h:
8589 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8590 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8591 (gst_multi_queue_sink_event):
8592 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8593 Fix multiqueue leaking buffers and events when downstream or the
8594 queue are flushing. Make refcounting assumptions explicit and
8595 document them (shouldn't break existing code that uses it other than
8596 maybe leak miniobjects, but that already happens anyway). Add unit
8597 test for the most common flushing case. Fixes #423700.
8599 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8601 * libs/gst/controller/gstcontroller.c:
8602 Clarify docs: The get_all, get_value_array(s) functions
8603 don't modify the GObject properties.
8605 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8607 * libs/gst/controller/gstcontroller.c:
8608 (gst_controlled_property_set_interpolation_mode),
8609 (gst_controlled_property_prepend_default),
8610 (gst_controlled_property_new), (gst_controller_set_unlocked),
8611 (gst_controller_set), (gst_controller_set_from_list),
8612 (gst_controller_unset), (gst_controller_unset_all):
8613 * libs/gst/controller/gstcontrollerprivate.h:
8614 * libs/gst/controller/gstinterpolation.c:
8615 Factor out the 'set' logic into gst_controller_set_unlocked for the
8616 gst_controller_set and gst_controller_set_from_list functions.
8618 To make life of the interpolators easier always add a control point
8619 at timestamp zero with the default value.
8621 In the linear interpolator make things more obvious by better variable
8624 Implement cubic interpolation mode (by using a natural cubic spline)
8625 and map the quadratic interpolation mode to this too (as quadratic
8626 doesn't make much sense, see discussion on the list).
8628 * tests/check/libs/controller.c: (GST_START_TEST),
8629 (gst_controller_suite):
8630 Add unit test for the cubic interpolation mode and check everywhere
8631 if the interpolation mode could be set as expected.
8633 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8635 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8636 Don't use GLib-2.10 functions, we still depend on
8637 GLib-how-old-is-it-again-2.8.
8639 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8641 * docs/gst/gstreamer-sections.txt:
8645 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8646 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8647 (_gst_param_fraction_values_cmp),
8648 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8649 * gst/gstparamspecs.h:
8651 * tests/check/Makefile.am:
8652 * tests/check/gst/.cvsignore:
8653 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8654 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8655 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8656 (GST_START_TEST), (gst_param_spec_suite):
8657 API: add GstParamSpecFraction, so elements can have fraction
8658 properties without lots of painful string parsing (#444648).
8660 2007-06-05 Wim Taymans <wim@fluendo.com>
8662 * gst/gstobject.c: (gst_object_class_init):
8663 Fix signal signature.
8666 Add small clarification in the api docs.
8668 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8669 States are protected with object lock.
8671 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8674 I should probably be listed as an author by now.
8676 * docs/random/release:
8677 Update the release doc
8679 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8682 Make docs for gst_value_compare() mention return enums that
8685 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8690 === release 0.10.13 ===
8692 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8695 releasing 0.10.13, "With or without you"
8697 2007-05-25 Wim Taymans <wim@fluendo.com>
8699 * gst/gstbin.c: (bin_handle_async_done):
8700 Make sure that the child bin stops after completing the async state
8701 change so that the parent can continue the state change to PLAYING.
8704 2007-05-25 Wim Taymans <wim@fluendo.com>
8706 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8707 (unref_data), (gst_collect_pads_remove_pad),
8708 (gst_collect_pads_check_pads):
8709 Use additional refcounting to avoid crashes when dynamically adding and
8710 removing pads. Fixes #420206.
8712 2007-05-24 Wim Taymans <wim@fluendo.com>
8714 * tools/gst-launch.c: (event_loop):
8715 When buffering goes from a two digit to a single digit number, make sure
8716 to remove the old second digit by writing a blank over it.
8718 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8720 * libs/gst/base/gstdataqueue.c:
8721 Eliminate tabs and trailing comma in enum list; fix some typos.
8723 2007-05-24 Wim Taymans <wim@fluendo.com>
8725 * tests/check/gst/gstbin.c: (GST_START_TEST):
8726 Allow refcount of 3 and 4 because some state thread might still be busy
8729 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8731 * plugins/elements/Makefile.am:
8732 * plugins/elements/gstmultiqueue.h:
8733 * plugins/elements/gstqueue.h:
8734 These are not installed headers, no need for padding.
8736 2007-05-24 Wim Taymans <wim@fluendo.com>
8738 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8739 (gst_bin_continue_func):
8740 Enable latency for next release.
8741 Restore STATE_LOCK around recalc_state that was left out during the
8742 rewrite and could result in racy behaviour when _get_state and
8743 recalc_state are run concurrently. See #440463.
8745 2007-05-23 Wim Taymans <wim@fluendo.com>
8747 * tests/check/gst/gstsystemclock.c: (store_callback),
8749 Improve test_async_order to also work when both timers are already
8750 expired when we get scheduled to check it.
8752 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8754 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8755 (gst_bin_set_property), (gst_bin_get_property),
8756 (gst_bin_remove_func), (gst_bin_handle_message_func):
8758 'private' is a c++ keyword, let's not use that in header files,
8759 otherwise c++ compilers will throw a tantrum.
8761 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8763 * plugins/elements/gstelements.c:
8764 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8765 (gst_file_sink_get_current_offset):
8766 * plugins/indexers/gstindexers.c: (plugin_init):
8767 Use #ifdef for HAVE_XYZ for consistency.
8769 * tests/check/Makefile.am:
8770 * tests/check/elements/.cvsignore:
8771 * tests/check/elements/filesink.c: (setup_filesink),
8772 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8773 Add some unit tests for filesink.
8775 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8777 Patch by: Mark Nauwelaerts <manauw at skynet be>
8779 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8780 (gst_file_sink_query), (gst_file_sink_do_seek),
8781 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8782 * plugins/elements/gstfilesink.h:
8783 Fix position reporting; rename data_written member to current_pos to
8784 reflect its real meaning (fixes #412648).
8786 2007-05-22 Edward Hervey <edward@fluendo.com>
8788 * docs/gst/gstreamer-sections.txt:
8789 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8790 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8791 (gst_bin_remove_func), (gst_bin_handle_message_func):
8793 Add a property for bins that handle the state change of their childs.
8796 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8798 * libs/gst/controller/gstinterpolation.c:
8799 Use an array of the correct type when using _get_value_array with
8800 linear interpolation.
8802 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8804 * gst/gstelement.c (gst_element_requires_clock,
8805 gst_element_provides_clock, gst_element_request_pad,
8806 gst_element_class_set_details, gst_element_class_set_details_simple,
8807 gst_element_default_send_event, gst_element_abort_state,
8808 gst_element_continue_state, gst_element_set_state,
8809 gst_element_set_state_func, iterator_activate_fold_with_resync):
8810 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8811 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8812 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8813 gst_pad_get_range, gst_pad_pull_range):
8814 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8815 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8816 GstPadActivateModeFunction, GstPadChainFunction,
8817 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8818 GstPadFixateCapsFunction, GstPadTemplate):
8819 * gst/gstpipeline.c (gst_pipeline_change_state,
8820 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8821 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8822 gst_pipeline_get_delay):
8823 Whitespace and docs fixes.
8825 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8827 * libs/gst/controller/gstinterpolation.c:
8828 (interpolate_trigger_get_enum_value_array),
8829 (interpolate_trigger_get_string_value_array):
8830 Add support for retrieving value arrays when using the trigger
8833 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8835 * libs/gst/controller/gstcontroller.c:
8836 (gst_controller_get_value_array):
8837 * libs/gst/controller/gstcontroller.h:
8838 Clarify the docs of gst_controller_get_value_array(): The array where
8839 the values should be written to must be allocated as there seems to be
8840 no way to get the size of a random GType. This doesn't change any
8841 behaviour. Also fix some typos all over the place and remove an unused,
8842 commented function that is not necessary as g_object_set() could be
8844 * tests/check/libs/controller.c: (GST_START_TEST),
8845 (gst_controller_suite):
8846 Add unit test for gst_controller_get_value_array().
8848 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8850 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8852 Disable part of the gst_buffer_try_new_and_alloc test, because
8853 it can happily succeed on 64-bit systems where there's more address
8856 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8858 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8859 Add unit test for the improved caps checking from bug #421543.
8861 2007-05-21 Wim Taymans <wim@fluendo.com>
8863 * docs/design/part-synchronisation.txt:
8866 * gst/gstbin.c: (gst_bin_query):
8867 * plugins/elements/gstqueue.c: (apply_segment):
8873 2007-05-21 Wim Taymans <wim@fluendo.com>
8875 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8876 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8877 (gst_pad_configure_src):
8878 Added simple version of improved caps checking. It was previously
8879 assumed that a setcaps function would check the validity of the caps but
8880 people prefer us to check caps against the template automatically.
8883 2007-05-21 Wim Taymans <wim@fluendo.com>
8885 * libs/gst/base/gstbasetransform.h:
8886 Fix macro for locking/unlocking the transform lock.
8888 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8890 * docs/plugins/tmpl/.cvsignore:
8893 2007-05-18 Edward Hervey <edward@fluendo.com>
8895 * plugins/elements/gstqueue.c: (gst_queue_loop):
8896 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8897 for the subtle art of warning a potentially blocking thread that it
8898 should check the source pad return value, and relay the information
8901 2007-05-18 Edward Hervey <edward@fluendo.com>
8903 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8904 Release the queue lock !
8906 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8908 * docs/libs/gstreamer-libs-sections.txt:
8909 Add the two new controller functions to the appropiate places.
8911 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8913 reviewed by: Stefan Kost <ensonic@users.sf.net>
8915 * libs/gst/controller/gstcontroller.c:
8916 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8917 (_gst_controller_get_property), (_gst_controller_set_property),
8918 (_gst_controller_init), (_gst_controller_class_init):
8919 * libs/gst/controller/gstcontroller.h:
8920 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8921 (gst_object_get_control_rate), (gst_object_set_control_rate):
8922 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8923 Add API that provides sync suggestion timestamps for elements that
8924 call gst_object_sync_values() from which those elements can subdivide
8925 their processing loop to get the best results for the controlled
8926 properties. For now it just suggests last_sync + control_rate as
8927 new timestamp but this will be improved in the future.
8929 While doing that change the control-rate property to a GstClockTime
8930 from guint and change it's meaning from samples to nanoseconds as
8931 the GstController doesn't know anything about sampling rate. Strictly
8932 speaking this breaks ABI but as the control-rate property didn't do
8933 anything in the past and as such couldn't be used this should be no
8936 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8938 reviewed by: Stefan Kost <ensonic@users.sf.net>
8940 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8941 (gst_controller_unset_all):
8942 * libs/gst/controller/gstcontrollerprivate.h:
8943 * libs/gst/controller/gstinterpolation.c:
8944 (gst_controlled_property_find_control_point_node):
8945 Save last synced value from the list to continue searching from there
8946 in future syncs. This speeds everything up a bit.
8948 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8950 reviewed by: Stefan Kost <ensonic@users.sf.net>
8952 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8953 (gst_control_point_find), (gst_controlled_property_new),
8954 (gst_control_point_free), (gst_controlled_property_free),
8955 (gst_controller_set), (gst_controller_set_from_list),
8956 (gst_controller_unset), (gst_controller_unset_all),
8957 (gst_controller_sync_values):
8958 * libs/gst/controller/gstcontroller.h:
8959 * libs/gst/controller/gstcontrollerprivate.h:
8960 * libs/gst/controller/gstinterpolation.c:
8961 (gst_controlled_property_find_control_point_node),
8962 (interpolate_none_get), (interpolate_trigger_get):
8963 Add a new private GstControlPoint struct which "inherits" from
8964 GstTimedValue to allow different interpolators to store internal
8965 values next to each control point. From the outside everything is
8966 still a GstControlPoint so we don't loose binary compatibility.
8967 Also fixup all the GValue handling to not leak GValues or list nodes.
8968 * tests/check/libs/controller.c: (GST_START_TEST):
8969 Free the list nodes and GValues in the controller_misc test.
8971 2007-05-17 Edward Hervey <edward@fluendo.com>
8976 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8978 * gst/gstplugin.c: (gst_plugin_load_file):
8979 If we fail to load a plugin because of unresolved symbols or missing
8980 libraries and spew a warning to stderr, we may just as well mention
8981 which plugin it was that failed to load.
8983 2007-05-13 David Schleef <ds@schleef.org>
8985 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8986 handles the case when ENABLE_GTK_DOC is false, and installs
8987 the prebuilt documentation. So gtk-doc subdirs are
8988 unconditionally enabled. Fixes: #349099.
8990 2007-05-13 David Schleef <ds@schleef.org>
8992 * gst/gstutils.h: Reword some documentation.
8994 2007-05-12 David Schleef <ds@schleef.org>
8996 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8997 do anything with the passed "module" parameter, so remove it.
8998 Allows removal of additional vestigal code.
9000 2007-05-12 David Schleef <ds@schleef.org>
9003 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9004 Switch to using g_stat() because it's more portable.
9006 2007-05-12 David Schleef <ds@schleef.org>
9009 Add GST_DISABLE_OPTION_PARSING, in order to disable option
9010 parsing for embedded systems.
9011 * gst/gstelementfactory.c:
9012 Allow gst_element_register() to be called with plugin==NULL.
9013 Did nobody notice that static elements were broken?
9015 2007-05-12 Wim Taymans <wim@fluendo.com>
9017 * tools/gst-launch.c: (event_loop):
9018 Give more interesting info when buffering starts and stops.
9019 Fix case where buffering starts but we fail to update the buffering flag
9020 because the target state is not PLAYING.
9022 2007-05-12 Wim Taymans <wim@fluendo.com>
9024 * plugins/elements/gstqueue.c: (gst_queue_init),
9025 (gst_queue_finalize), (update_time_level), (apply_segment),
9026 (apply_buffer), (gst_queue_locked_flush),
9027 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9028 (gst_queue_handle_sink_event), (gst_queue_chain),
9029 (gst_queue_push_one), (gst_queue_loop):
9030 * plugins/elements/gstqueue.h:
9031 Refactor an cleanup queue a bit.
9032 Do better time level calculations that also work when the srcpad is not
9034 Remove some unneeded debug lines.
9036 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9037 Added testcase for time level measurement.
9038 Try to make some stuff more racefree.
9040 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9042 * gst/gsturi.c: (gst_element_make_from_uri):
9043 Don't leak plugin feature.
9045 * tests/check/Makefile.am:
9046 * tests/check/gst/.cvsignore:
9047 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9048 Add brain-dead unit test.
9050 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9052 Patch by: Jeroen Wouters <woutersj at gmail com>
9054 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9055 Treat protocol strings in a case-insensitive way (#437563).
9057 2007-05-11 Michael Smith <msmith@fluendo.com>
9059 * gst/gstplugin.c: (gst_plugin_load_file):
9060 * gst/gstregistry.c: (gst_registry_scan_path_level):
9061 Don't print a g_warning for any failure to load a shared object.
9062 Instead, push this down into gstplugin.c, and warn _only_ if we
9063 failed to open the module (i.e. failure to link).
9064 Avoids warnings on normal, working, non-plugin .so files.
9066 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9068 * gst/gstplugin.c (gst_plugin_load_file):
9069 * gst/gstregistry.c (GST_CAT_DEFAULT,
9070 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9071 Print a g_warning if there was an error when loading a plugins during
9072 registry scan. The shuld help beginners starting with gst-plugin
9075 2007-05-10 Wim Taymans <wim@fluendo.com>
9077 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9078 (update_time_level), (gst_queue_locked_flush),
9079 (gst_queue_handle_sink_event), (gst_queue_chain),
9080 (gst_queue_push_one), (gst_queue_loop):
9081 * plugins/elements/gstqueue.h:
9082 Be smarter when calculating the current amount of data in the queue by
9083 measuring the difference between start and end timestamps (in running
9084 time) inside the queue. Fixes #432876.
9085 API: GstQueue::pushing to notify elements that we are pushing data again
9086 since the running signal is rather broken for this purpose.
9088 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9090 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9091 gst_queue_base_init, gst_queue_init):
9094 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9096 * win32/common/libgstreamer.def:
9097 Add new exported functions.
9098 * win32/vs6/grammar.dsp:
9099 Use grammar pre-generated files.
9101 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9103 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9106 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9108 * gst/gstutils.c: (gst_parse_bin_from_description):
9110 Maintain API and ABI when --disable-parse is used. Now that
9111 we have an appropriate error code, we can just return NULL and the
9112 appropriate error when gst_parse_launch() is used despite it having
9113 been disabled (#342564).
9115 * tests/check/Makefile.am:
9116 * tests/check/pipelines/.cvsignore:
9117 * tests/check/pipelines/parse-disabled.c:
9118 Make sure these functions exist and return NULL plus a GError when
9119 --disable-parse is used.
9121 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9123 * tests/benchmarks/complexity.c: (main):
9124 * tests/benchmarks/mass-elements.c: (main):
9125 Set a good example and don't leak messages.
9127 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9129 * docs/gst/Makefile.am:
9130 * docs/libs/Makefile.am:
9131 Correct fixxrefs options.
9133 * docs/plugins/Makefile.am:
9134 * docs/plugins/gstreamer-plugins-docs.sgml:
9135 * docs/plugins/gstreamer-plugins-sections.txt:
9136 * plugins/elements/Makefile.am:
9137 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9138 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9139 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9140 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9141 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9142 _GstCapsFilterClass, trans_class):
9143 * plugins/elements/gstelements.c (name, rank, type, _elements):
9144 * plugins/elements/gstidentity.c
9145 (gst_identity_check_imperfect_timestamp,
9146 gst_identity_check_imperfect_offset):
9147 Document capsfilter and add doc-blurb to identity.
9149 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9151 * libs/gst/controller/gstcontroller.c:
9152 (gst_controlled_property_set_interpolation_mode):
9153 * libs/gst/controller/gstinterpolation.c:
9154 Don't crash if someone tries to set an interpolation mode that
9155 is invalid or that isn't supported yet. Fixes #422295.
9157 * tests/check/libs/controller.c: (GST_START_TEST),
9158 (gst_controller_suite):
9159 Add a test case for the above.
9161 2007-05-03 Edward Hervey <edward@fluendo.com>
9163 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9164 Properly set the last_stop position on GstSegment. This will only happen
9165 if there is a buffer to push out.
9167 2007-05-03 Wim Taymans <wim@fluendo.com>
9169 * libs/gst/base/gstbasetransform.c:
9170 (gst_base_transform_buffer_alloc):
9171 always_in_place does not mean that the sink and source caps are the
9172 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9174 2007-05-03 Wim Taymans <wim@fluendo.com>
9176 * docs/libs/gstreamer-libs-sections.txt:
9177 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9178 (gst_base_src_default_query), (gst_base_src_get_range):
9179 * libs/gst/base/gstbasesrc.h:
9180 API: gst_base_src_query_latency(). Added method so that subclasses can
9181 easily get the latency values of the base source class.
9183 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9185 * tools/gst-inspect.c (print_implementation_info):
9188 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9190 * tools/Makefile.am:
9191 * tools/gst-launch.1.in:
9192 Don't create a customised man page based on the host architecture,
9193 describe the default registry path generically. That way the man
9194 page is the same for all architectures and packagers have one
9195 multilib issue less to deal with. Fixes #434926.
9197 2007-05-02 Wim Taymans <wim@fluendo.com>
9200 Fix documentation as spotted by rg on IRC.
9202 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9205 Improve docs for gst_element_{link,unlink}.
9207 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9209 * docs/design/part-events.txt:
9210 * docs/design/part-overview.txt:
9214 * libs/gst/base/gstbasesink.c:
9215 Typo fixes; minor docs addition.
9217 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9219 * docs/gst/gstreamer-sections.txt:
9220 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9221 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9223 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9224 or src that supports a given URI protocol exists.
9226 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9228 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9229 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9230 Set the location to NULL if "file://" is set as URI. Otherwise
9231 some random previous URI would still be set if "file://" is
9232 set on an already used filesink/filesrc.
9234 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9236 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9237 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9238 Special case the "file://" URI as as this is used by some
9239 applications to test with gst_element_make_from_uri if there's
9240 an element that supports the URI protocol.
9241 Also move the g_path_is_absolute() check for the location part
9242 of the URI to also check this for "file://localhost/bla" URIs.
9244 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9246 * docs/gst/gstreamer-sections.txt:
9247 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9249 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9251 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9253 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9255 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9256 (gst_registry_binary_load_pad_template),
9257 (gst_registry_binary_load_plugin),
9258 (gst_registry_binary_read_cache):
9259 * gst/gstregistrybinary.h:
9260 Implement no-mmap alternative for registry reading. Do code cleanups.
9261 Add more comments about avoiding strdups for all text data. Comments
9264 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9266 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9267 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9268 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9269 Comment structs and reformat to fix the build (that stuff should go
9270 into a priv. header).
9272 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9274 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9275 (gst_registry_binary_load_feature):
9276 * gst/gstregistrybinary.h:
9277 Refactor so that we can implement multiple features. Add support for
9278 TypeFindFactory features.
9280 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9282 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9285 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9287 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9289 * gst/gstbin.c: (gst_bin_element_set_state),
9290 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9291 (bin_handle_async_done), (gst_bin_handle_message_func):
9292 Fix build with --gst-disable-gst-debug
9294 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9296 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9297 Make sure streaming has finished before calling the ::stop() vfunc,
9298 since that vfunc might clear state which is being used in the
9299 streaming thread. This fixes a race that caused crashes in
9300 audioresample when shutting down a pipeline (#420106).
9302 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9304 * docs/gst/gstreamer-sections.txt:
9305 That was one byte missing.
9307 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9310 * docs/gst/gstreamer-sections.txt:
9312 * gst/gstconfig.h.in:
9313 * gst/gstobject.c: (gst_object_class_init),
9314 (gst_signal_object_class_init):
9316 2nd attempt to have a xml-less build as a joined effort of #413123
9319 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9321 * docs/design/draft-tagreading.txt:
9322 Added open issues/thoughts to draft.
9324 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9326 * gst/parse/grammar.tab.pre.c:
9327 * gst/parse/grammar.tab.pre.h:
9328 * gst/parse/lex._gst_parse_yy.pre.c:
9329 Update the prebuild parser sources.
9331 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9333 * gst/parse/Makefile.am:
9334 And now fix the building of the flex sources. Now everything should
9337 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9339 * gst/parse/Makefile.am:
9340 Now hopefully fix the build failures by setting proper rule
9341 dependencies and moving instead of copying.
9343 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9345 * tests/benchmarks/complexity.gnuplot:
9346 * tests/benchmarks/complexity.scm:
9347 * tests/benchmarks/mass-elements.gnuplot:
9348 * tests/benchmarks/mass-elements.scm:
9349 Total licensification.
9351 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9353 * gst/parse/Makefile.am:
9354 Fix the build by correcting the rule that gave wrong files to flex.
9356 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9358 * tests/benchmarks/complexity.c:
9359 * tests/benchmarks/mass-elements.c:
9360 Change licence to LGPL as granted by Benjamin and Andy.
9362 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9364 * gst/parse/Makefile.am:
9365 Add correct grammar.tab.h dependency if compiling without new enough
9366 flex. Fixes #431150.
9368 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9370 * gst/parse/Makefile.am:
9371 Fix typo and use outdated sources if the flex/bison sources are newer
9372 than the pregenerated ones but flex is too old. Print a warning in
9373 that case. This should fix the build on the build bot.
9375 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9377 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9378 * gst/parse/Makefile.am:
9379 * gst/parse/grammar.y:
9380 * gst/parse/parse.l:
9381 Make the parser reentrant and recursively callable. This requires flex
9382 >= 2.5.31, for older versions pregenerated sources are used as we
9383 can't bump the build dependency. Finally fixes #349180.
9385 * gst/gstparse.c: (gst_parse_launch):
9386 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9389 * docs/gst/Makefile.am:
9390 * docs/gst/Makefile.am:
9391 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9392 (__gst_parse_strfree), (__gst_parse_link_new),
9393 (__gst_parse_link_free), (__gst_parse_chain_new),
9394 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9395 (gst_parse_element_set), (gst_parse_free_link),
9396 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9397 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9398 (_gst_parse_launch):
9399 * gst/parse/grammar.tab.pre.h:
9400 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9401 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9402 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9403 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9404 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9405 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9406 (_gst_parse_yypop_buffer_state),
9407 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9408 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9409 (yy_fatal_error), (_gst_parse_yyget_extra),
9410 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9411 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9412 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9413 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9414 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9415 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9416 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9417 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9418 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9419 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9420 (_gst_parse_yyfree):
9421 If the installed flex version is too old use pre-generated parser
9422 sources. These pre-generated parser sources are always updated when
9423 the actual flex/bison sources change but require everybody who wants
9424 to change something in the parser to have flex >= 2.5.31 installed.
9426 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9428 * common/m4/gst-gettext.m4:
9429 * gst/gst-i18n-lib.h:
9430 Make --disable-nls to work
9432 2007-04-17 Wim Taymans <wim@fluendo.com>
9434 * gst/gstconfig.h.in:
9435 Revert previous change that broke the build.
9437 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9441 * gst/gstconfig.h.in:
9442 Drop libxml2 dependency when building with
9443 --enable-binary-registry --disable-loadsave
9445 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9447 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9448 (gst_registry_binary_read_cache):
9449 * gst/gstregistrybinary.h:
9450 Remove unnecessary <sys/mman.h> include which broke the win32 build
9451 with MingW; move includes from header file to .c file, even if the
9452 header file isn't installed; use g_strerror() where UTF-8 strings
9453 are expected, such as in GST_DEBUG messages.
9455 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9457 * docs/libs/gstreamer-libs-sections.txt:
9458 Remove bogus addition for API I didn't end up keeping.
9460 * libs/gst/base/gstbasesrc.h:
9461 Mention Since: 0.10.13 in the documentation.
9463 Add the API keyword to the previous ChangeLog entry.
9465 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9467 * docs/libs/gstreamer-libs-sections.txt:
9468 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9469 (gst_base_src_default_prepare_seek_segment),
9470 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9471 * libs/gst/base/gstbasesrc.h:
9472 Allow basesrc derived classes to execute seeks in other formats
9473 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9474 to prepare the GstSegment in any format that their perform_seek method
9475 will be able to understand. The default implementation provides the
9476 old behaviour of attempting to convert the seek offsets to the
9477 configured native format.
9479 API: basesrc::prepare_seek_segment vmethod.
9481 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9483 * gst/gstelement.c: (gst_element_get_state_func):
9484 Don't output the same debug statement twice.
9486 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9487 (gst_adapter_peek), (gst_adapter_take_buffer):
9488 Optimise the case where we have buffers at the head of the queue that
9489 can be joined quickly (because they're contiguous sub-buffers) by
9490 merging them together rather than copying data out into new memory.
9492 * gst/parse/grammar.y:
9493 * tests/check/pipelines/parse-launch.c:
9494 Fix a leak in an error path for parse_launch, and add a check
9495 for it to the testsuite.
9497 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9499 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9500 Don't deadlock when releasing a pad - gst_pad_set_active may try
9501 and take the multiqueue lock too.
9503 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9505 * gst/gsterror.c: (_gst_core_errors_init):
9507 API: add GST_CORE_ERROR_DISABLED (#392804).
9509 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9511 * docs/faq/gst-uninstalled:
9512 don't get empty paths on the PATH variables
9513 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9514 Don't format for the uncommon terminal width of 84 characters.
9516 2007-04-06 Wim Taymans <wim@fluendo.com>
9518 * gst/gstpipeline.c: (reset_stream_time),
9519 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9520 Only try to select a different pipeline clock when we went back to
9521 PAUSED and not when we merely got flushed.
9523 2007-04-05 Michael Smith <msmith@fluendo.com>
9525 * tools/gst-launch.1.in:
9526 fractions are better supported in gstreamer than ractions, so
9527 suggest using those.
9529 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9531 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9535 Added Danish translation.
9537 2007-04-05 Wim Taymans <wim@fluendo.com>
9539 * libs/gst/base/gstbasesink.c:
9540 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9541 Fix leak caused when refusing newsegment after EOS.
9543 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9544 (gst_fake_sink_init), (gst_fake_sink_set_property),
9545 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9546 (gst_fake_sink_render), (gst_fake_sink_change_state):
9547 * plugins/elements/gstfakesink.h:
9548 Add num-buffers property to make the element generate EOS after a
9549 configurable amount of buffers.
9550 API: fakesink::num-buffers property.
9552 * tests/check/elements/fakesink.c: (GST_START_TEST),
9554 Fix GstBus leak in test.
9555 Test for fakesink num-buffers.
9557 2007-04-05 Wim Taymans <wim@fluendo.com>
9559 * libs/gst/base/gstbasesink.c:
9560 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9561 (gst_base_sink_change_state):
9562 Don't accept anything after an EOS, return UNEXPECTED instead.
9564 * tests/check/elements/fakesink.c: (GST_START_TEST),
9566 Unit test for new EOS behaviour.
9568 2007-04-05 Wim Taymans <wim@fluendo.com>
9570 * gst/gstelement.c: (gst_element_get_request_pad):
9571 Make padtemplates also work when they don't contain %s or %d.
9573 2007-04-05 Wim Taymans <wim@fluendo.com>
9575 * docs/gst/gstreamer-sections.txt:
9576 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9577 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9579 Improve _adjust_unlocked() so that it overflows less.
9580 Add gst_clock_unadjust_unlocked to convert from external time to
9581 internal time based on calibration.
9582 Add some more debug.
9583 API: GstClock::gst_clock_unadjust_unlocked()
9585 2007-04-03 Wim Taymans <wim@fluendo.com>
9587 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9589 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9590 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9591 when releasing sink pad. Fixes #425400.
9593 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9595 * docs/random/ensonic/dynlink.txt:
9596 More work on proposal for new core api.
9598 * docs/libs/gstreamer-libs-sections.txt:
9599 * libs/gst/base/gstbasetransform.h:
9600 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9602 * libs/gst/controller/gstcontroller.c:
9603 (on_object_controlled_property_changed),
9604 (gst_controller_sync_values),
9605 (gst_controller_set_interpolation_mode):
9606 * libs/gst/controller/gstcontroller.h:
9607 Less verbose logging add docs for unimplemented parts and correctly
9608 return when using unavailable parts.
9610 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9612 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9613 Move all the debug to the CLOCK category, and associate it with
9616 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9618 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9619 Make take_buffer a bit quicker by removing redundant checks
9620 caused by calling gst_adapter_take.
9622 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9624 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9627 * tests/check/Makefile.am:
9628 * tests/check/elements/.cvsignore:
9629 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9630 (GST_START_TEST), (multiqueue_suite):
9631 Add some dead simple unit tests for the 'multiqueue' element
9632 (some bits don't work yet and are disabled for now).
9634 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9636 * gst/gstelement.c: (gst_element_get_request_pad),
9637 (gst_element_class_get_request_pad_template):
9638 Make gst_element_get_request_pad() create request pads only for
9639 request pad templates and not for, say, sometimes pad templates.
9641 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9643 * docs/design/draft-klass.txt:
9644 Add example that needs more thinking.
9646 * docs/design/draft-missing-plugins.txt:
9647 More thoughts about wrapper plugins.
9649 * docs/random/ensonic/embedded.txt:
9650 * docs/random/ensonic/profiling.txt:
9653 2007-03-25 Wim Taymans <wim@fluendo.com>
9655 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9656 (gst_base_src_loop):
9657 Only push the segment events in the PLAYING state for live sources.
9659 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9661 * gst/gstpipeline.c: (gst_pipeline_change_state):
9662 Modify the clock distribution path in PAUSED->PLAYING so that we
9663 never attempt to choose a new clock unless we're actually leaving
9664 the PAUSED state for the first time. This prevents choosing a
9665 different clock when the state_change gets called for a 2nd time due
9666 to some element doing an async state change.
9668 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9670 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9671 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9672 (gst_pad_chain_unchecked), (gst_pad_push):
9673 Revert last commit. This needs some more thoughts.
9675 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9677 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9678 (gst_pad_chain_unchecked), (gst_pad_push):
9679 Check in set_caps if the caps are compatible with the pad and remove
9680 two functions that are redundant now. Fixes #421543.
9682 2007-03-22 Wim Taymans <wim@fluendo.com>
9684 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9685 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9686 Unref some more to make valgrind happy.
9688 2007-03-22 Wim Taymans <wim@fluendo.com>
9690 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9691 (gst_system_clock_id_wait_jitter),
9692 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9693 Fix anoying regression that survived a few releases. When adding an
9694 async entry while blocking on a sync entry, the sync entry will unblock
9695 but still be busy, so it should continue to wait instead of returning
9697 Add some comments here and there.
9699 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9700 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9701 Add testcase for this.
9703 2007-03-22 Wim Taymans <wim@fluendo.com>
9705 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9706 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9707 WRONG_STATE and can silently pause the task. All other cases should
9710 2007-03-22 Wim Taymans <wim@fluendo.com>
9712 Patch by: Ville Syrjala <syrjala at sci dot fi>
9714 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9715 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9718 2007-03-21 Michael Smith <msmith@fluendo.com>
9720 * docs/pwg/advanced-types.xml:
9721 Fix some errors in the typefinding docs pointed out on irc.
9723 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9725 * libs/gst/base/gstbasesrc.c:
9726 Clarify FIXME comment in the face of having added unlock_stop()
9728 2007-03-21 Wim Taymans <wim@fluendo.com>
9730 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9731 Prepare for release where we warn against possible app breakage in the
9732 case of live pipelines along with an env var to enable/disable live
9733 preroll mode (GST_COMPAT=[no-]live-preroll).
9735 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9737 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9738 So we should use correct constants for checking for None offset.
9740 2007-03-20 Wim Taymans <wim@fluendo.com>
9742 * docs/design/part-block.txt:
9743 Mention the fact that the newly switched element should be set to at
9746 2007-03-20 Wim Taymans <wim@fluendo.com>
9749 Fix compilation with registry disabled as spotted by Saur.
9751 2007-03-20 Wim Taymans <wim@fluendo.com>
9753 Patch by: Olivier Crete <tester at tester dot ca>
9755 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9756 Look at the pending state too when syncing the element state to the
9757 parent. Fixes #420133.
9759 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9761 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9762 (gst_base_sink_change_state):
9763 * libs/gst/base/gstbasesink.h:
9764 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9765 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9766 (gst_base_src_deactivate):
9767 * libs/gst/base/gstbasesrc.h:
9768 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9769 for sub-classes to correctly clear any state they set trying to
9770 unlock, such as clearing out unlock commands from a command fd.
9771 API: basesrc::unlock_stop
9772 API: basesink::unlock_stop
9774 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9775 (gst_fd_sink_render), (gst_fd_sink_unlock),
9776 (gst_fd_sink_unlock_stop):
9777 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9778 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9779 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9781 Implement unlock_stop in fdsrc and fdsink.
9782 Implement seeking in fdsrc when a seekable fd is passed, as in
9783 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9785 2007-03-19 Wim Taymans <wim@fluendo.com>
9787 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9789 * gst/gstelement.c: (gst_element_class_init):
9790 Fix pad-added and pad-removed signal signatures so that the pad type is
9791 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9793 2007-03-19 Wim Taymans <wim@fluendo.com>
9795 * docs/gst/gstreamer-sections.txt:
9796 Add new element field and method.
9798 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9799 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9800 (gst_bin_recalc_state), (gst_bin_get_state_func),
9801 (gst_bin_element_set_state), (gst_bin_change_state_func),
9802 (gst_bin_continue_func), (bin_bus_handler),
9803 (bin_push_state_continue), (bin_handle_async_start),
9804 (bin_handle_async_done), (gst_bin_handle_message_func):
9805 Make async state changes a bit smarter by using new ASYNC_START and
9806 ASYNC_DONE messages. This reduces the number of times we run the state
9807 recalculation thread.
9808 Don't change state of element with a pending ASYNC_START message.
9809 Deprecate STATE_DIRTY messages.
9811 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9812 (gst_element_get_state_func), (gst_element_continue_state),
9813 (gst_element_lost_state), (gst_element_set_state_func),
9814 (gst_element_change_state):
9816 Keep the state that was last set by the app in a new element field.
9817 Don't allow state changes when handling an element event.
9818 Post ASYNC_START and ASYNC_DONE messages.
9819 Change lost_state so that we go to PAUSED and wait for the parent to set
9820 us to PLAYING again (so latency calculation can be performed)
9821 Export gst_element_change_state() method so that subclasses can use it.
9822 API: gst_element_change_state()
9823 API: GST_STATE_TARGET
9825 * gst/gstpipeline.c: (gst_pipeline_class_init),
9826 (reset_stream_time), (gst_pipeline_change_state),
9827 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9828 Using the new ASYNC_START message we can reset the base_time when
9829 needed. This can then be used to implement base_time redistribution in
9830 flushing seeks so that we can remove the explicit seek handling.
9831 Perform latency query and configuration when going to PLAYING.
9833 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9834 (gst_base_sink_query), (gst_base_sink_change_state):
9835 Post new ASYNC_START/ASYNC_DONE messages.
9837 * tests/check/generic/sinks.c: (GST_START_TEST):
9838 Fix test because the bin will not set the async element to PLAYING right
9841 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9842 Make the message check a little stronger.
9843 Handle ASYNC messages.
9845 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9846 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9847 Expect ASYNC_DONE messages.
9849 2007-03-19 Wim Taymans <wim@fluendo.com>
9851 * docs/gst/gstreamer-sections.txt:
9852 * gst/gstmessage.c: (gst_message_new_async_start),
9853 (gst_message_new_async_done), (gst_message_parse_info),
9854 (gst_message_parse_async_start):
9856 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9859 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9861 * tools/gst-inspect.c:
9862 (print_plugin_automatic_install_info_codecs):
9863 Now that we don't check for the 'Codec' keyword any longer in the
9864 klass, we shouldn't spew a warning if the klass isn't a decoder or
9865 encoder (since it might be a Source/Network, for example).
9867 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9869 * tools/gst-inspect.c:
9870 (print_plugin_automatic_install_info_codecs):
9871 Don't require decoder/demuxer/depayloader elements or
9872 encoder/muxer/paylader elements to have 'Codec' as part of their
9873 factory class string when introspecting a plugin's capabilities.
9874 draft-klass.txt mentions that it might be removed in future, and
9875 flump3dec doesn't have it as part of its class string, so chances
9876 are others might also not have it.
9878 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9900 Update translations from translation project
9902 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9904 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9905 (gst_child_proxy_set_property):
9906 Invert precondition check to be alike the ones in the mimiced gobject
9909 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9911 * docs/design/draft-tagreading.txt:
9912 * docs/random/ensonic/audiobaseclasses.txt:
9913 Do some Architect work.
9915 * gst/gstobject.c: (gst_object_set_name):
9919 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9921 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9923 * gst/gstsystemclock.c: (gst_system_clock_init),
9924 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9925 Defer starting the async system clock thread until the first async
9926 wait is scheduled. Fixes #414986.
9928 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9930 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9931 (gst_single_queue_free):
9932 Fix small leak (free GstSingleQueue structure too, not only contents).
9934 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9936 * gst/gstbin.c:(gst_bin_add):
9937 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9938 * win32/common/libgstbase.def:
9939 * win32/common/libgstreamer.def:
9940 Add new exported functions.
9942 2007-03-09 Wim Taymans <wim@fluendo.com>
9944 * docs/plugins/gstreamer-plugins-sections.txt:
9947 2007-03-09 Wim Taymans <wim@fluendo.com>
9949 * docs/gst/gstreamer-sections.txt:
9950 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9952 Add metadata copy functions. Fixes #393099.
9953 API: gst_buffer_copy_metadata()
9955 * gst/gstutils.c: (gst_buffer_stamp):
9956 * libs/gst/base/gstbasetransform.c:
9957 (gst_base_transform_prepare_output_buffer):
9958 Use new metadata copy functions.
9960 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9962 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9963 (gst_identity_init), (gst_identity_check_perfect),
9964 (gst_identity_check_imperfect_timestamp),
9965 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9966 (gst_identity_set_property), (gst_identity_get_property):
9967 * plugins/elements/gstidentity.h:
9968 Separate out check-imperfect-timestamp and check-imperfect-offset.
9969 Put back check-perfect as it was to keep compatibility.
9971 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9973 * gst/gstelement.c: (gst_element_dispose):
9974 There's no need to warn if VOID_PENDING is not NONE here, as
9975 long as the state is NULL it's ok, and that's checked immediately
9978 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9980 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9981 Fix check for perfect stream to ignore buffers with -1
9982 offsets/offset ends when checking data contiguity.
9984 2007-03-08 Wim Taymans <wim@fluendo.com>
9986 * tools/gst-launch.c: (event_loop):
9987 Print INFO messages.
9989 2007-03-08 Wim Taymans <wim@fluendo.com>
9991 * libs/gst/base/gstbasetransform.c:
9992 (gst_base_transform_sink_eventfunc),
9993 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9994 (gst_base_transform_activate):
9995 * libs/gst/base/gstbasetransform.h:
9996 Add support for dropping buffers with custom GstFlowReturn.
9997 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9998 buffers or dropped buffers.
10000 * docs/libs/gstreamer-libs-sections.txt:
10001 docs for new custom return code.
10003 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10004 Use drop support in base class to implement drop-probability.
10006 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
10008 * gst/gst.c: (load_plugin_func):
10009 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10010 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10011 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10012 Remove newlines at end of debug log strings.
10014 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10016 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10017 Only post bus message at max, once per buffer received.
10019 2007-03-07 Wim Taymans <wim@fluendo.com>
10021 * docs/design/Makefile.am:
10022 * docs/design/part-synchronisation.txt:
10023 Add doc about synchronisation
10025 * docs/design/draft-latency.txt:
10026 * docs/design/part-TODO.txt:
10027 * docs/design/part-clocks.txt:
10028 * docs/design/part-events.txt:
10029 * docs/design/part-gstbus.txt:
10030 * docs/design/part-gstpipeline.txt:
10031 * docs/design/part-live-source.txt:
10032 * docs/design/part-messages.txt:
10033 * docs/design/part-overview.txt:
10034 * docs/design/part-streams.txt:
10035 * docs/design/part-trickmodes.txt:
10036 Documentation updates.
10038 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10041 Update the doap file.
10043 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10045 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10046 Rename non-perfect to imperfect for Mike and for the sanctity of the
10048 Also make sure bus message gets emitted for data-incontiguities.
10050 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10052 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10053 (gst_identity_start):
10054 * plugins/elements/gstidentity.h:
10055 Emit bus message if check-perfect is true and we encounter a
10056 non-perfect stream between 2 consecutive buffers.
10059 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10064 === release 0.10.12 ===
10066 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10069 releasing 0.10.12, "Inevitable Demise"
10071 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10074 Version 0.10.11.2 (0.10.12 pre-release)
10075 Bump libtool versioning.
10077 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10079 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10080 Log flow-names and not numbers.
10082 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10085 Convert to new AG_GST style.
10087 2007-02-28 Wim Taymans <wim@fluendo.com>
10089 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10090 Don't unref query twice.
10092 2007-02-28 Wim Taymans <wim@fluendo.com>
10094 * gst/gstvalue.c: (gst_value_transform_object_string),
10095 (_gst_value_initialize):
10096 Implement GstObject -> string transform so we print object names
10097 when serializing GValues containing GstObjects.
10099 2007-02-28 Wim Taymans <wim@fluendo.com>
10101 * docs/gst/gstreamer-sections.txt:
10102 Add new stuff to docs.
10104 2007-02-28 Wim Taymans <wim@fluendo.com>
10106 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10107 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10108 (gst_base_sink_change_state):
10109 Improve latency query code.
10110 Don't leak latency events.
10112 * tests/check/gst/gstbin.c: (GST_START_TEST):
10115 2007-02-28 Wim Taymans <wim@fluendo.com>
10117 * gst/gstelement.c: (gst_element_message_full),
10118 (gst_element_get_state_func):
10119 * gst/gstelement.h:
10120 Improve docs a little. Added Since: for new macro.
10122 * gst/gstobject.c: (gst_object_sink):
10123 * gst/gstpipeline.c: (gst_pipeline_change_state),
10124 (gst_pipeline_set_new_stream_time):
10125 * gst/gstpipeline.h:
10126 Improve debugging and docs.
10128 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10131 2007-02-28 Wim Taymans <wim@fluendo.com>
10133 * gst/gstelement.c: (gst_element_message_full),
10134 (gst_element_set_locked_state), (gst_element_get_state_func),
10135 (gst_element_change_state):
10136 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10137 Documentation updates.
10138 Small code cleanups.
10140 * gst/gstmessage.c: (gst_message_new_info),
10141 (gst_message_parse_info):
10142 * gst/gstmessage.h:
10143 API: gst_message_new_info()
10144 API: gst_message_parse_info()
10145 Add INFO message create and parse code.
10147 2007-02-28 Wim Taymans <wim@fluendo.com>
10149 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10150 (bin_query_latency_done):
10151 Also report the live parameter of a latency query.
10153 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10155 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10156 Copy the current generic/states example from -base and adapt so
10157 we can use the exact same code everywhere.
10158 Check a STATES_IGNORE_ELEMENTS env var which can be used
10159 to ignore certain element factories for this test, which is
10160 what is being done in -base
10161 * tests/check/Makefile.am:
10162 Mention this environment variable.
10164 2007-02-27 Wim Taymans <wim@fluendo.com>
10166 * docs/gst/gstreamer-sections.txt:
10167 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10168 (gst_bus_timed_pop), (gst_bus_pop):
10170 API: gst_bus_timed_pop()
10171 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10172 message to arrive on the bus.
10174 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10176 Two unit tests for new _timed_pop() function.
10178 2007-02-23 Wim Taymans <wim@fluendo.com>
10180 * gst/gstpipeline.c: (gst_pipeline_change_state),
10181 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10182 Don't ref a NULL clock in _provide_clock_func().
10183 Don't allow an INVALID delay.
10184 Don't try to calculate base_time with an invalid start_time.
10185 Also distribute and notify a NULL clock when it was selected.
10187 * tools/gst-launch.c: (event_loop):
10188 Don't crash when a NULL clock was selected in the pipeline.
10190 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10192 * docs/design/Makefile.am:
10193 * docs/design/draft-missing-plugins.txt:
10194 * docs/random/draft-missing-plugins.txt:
10195 Some small updates: update plugin system identifier prefix
10196 ('gstreamer.net' to 'gstreamer'), mention our new install
10197 API in libgstbaseutils rather than libgimme-codec, add
10198 reference to the online docs.
10200 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10202 * win32/common/config.h:
10203 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10204 use moap cl ci to only check in what is mentioned in the ChangeLog.
10206 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10208 * docs/gst/gstreamer-sections.txt:
10209 * gst/gstelement.h:
10210 Fix up documentation to link to the correct GstGError section.
10211 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10213 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10215 * tools/gst-launch.c: (event_loop):
10216 Make sure that we actually show the important message part of a
10218 No need to check if the gerror is not NULL to free; first of all
10219 g_free accepts NULL; and second the default error handler would
10220 segfault if gerror was NULL.
10222 2007-02-21 Wim Taymans <wim@fluendo.com>
10224 * docs/gst/gstreamer-sections.txt:
10225 Removed docs as well.
10227 2007-02-21 Wim Taymans <wim@fluendo.com>
10229 * gst/gstmessage.c: (gst_message_parse_duration):
10230 * gst/gstmessage.h:
10231 Remove new messages for release.
10233 2007-02-20 Wim Taymans <wim@fluendo.com>
10235 * docs/design/part-gstghostpad.txt:
10236 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10237 (gst_ghost_pad_new_full):
10238 Make the ghostpad a parent of the internal pad again for better backward
10239 compatibility. Don't write code that relies on this however.
10241 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10242 (gst_pad_link_check_hierarchy):
10243 Require that parents should be GstElements in the hierarchy check.
10245 2007-02-20 Wim Taymans <wim@fluendo.com>
10247 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10248 (gst_bin_change_state_func), (bin_query_min_max_init),
10249 (bin_query_latency_fold), (bin_query_latency_done),
10251 Improve debug info.
10252 Implement latency query.
10254 2007-02-20 Wim Taymans <wim@fluendo.com>
10256 * docs/design/part-gstghostpad.txt:
10257 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10258 (gst_ghost_pad_internal_do_activate_push),
10259 (gst_ghost_pad_internal_do_activate_pull),
10260 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10261 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10262 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10263 Do not set the internal pad as a parent anymore so we can avoid
10264 hierarchy linking errors when the ghostpad has no parent yet. This also
10265 fixes failed activation because of unlinked internal pads, which in
10266 turn fixes the impossible case where you have to activate a pad before
10267 you can add it to a running element.
10270 * gst/gstpad.c: (pre_activate), (post_activate),
10271 (gst_pad_set_active), (gst_pad_activate_pull),
10272 (gst_pad_activate_push), (gst_pad_check_pull_range):
10273 Add some more debug info.
10274 Mark activation mode in pre_activate so that we don't try to activate in
10275 endless loops. Fixes #385084.
10277 2007-02-19 Wim Taymans <wim@fluendo.com>
10279 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10280 (gst_base_transform_check_get_range):
10281 Implement a checkgetrange function instead of relying on the default
10282 core behaviour that assumes we can operate in pull mode if we have a
10283 getrange function. First step at fixing #385084.
10285 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10287 * gst/gstchildproxy.h:
10288 * libs/gst/base/gstbasesink.h:
10289 * libs/gst/base/gstbasesrc.h:
10290 * libs/gst/base/gstbasetransform.h:
10291 More docs coverage and some ChangeLog surgery (add missing names)
10293 2007-02-15 Wim Taymans <wim@fluendo.com>
10295 * docs/design/part-TODO.txt:
10296 * docs/design/part-activation.txt:
10297 * docs/design/part-block.txt:
10298 * docs/design/part-buffering.txt:
10299 * docs/design/part-clocks.txt:
10300 * docs/design/part-element-source.txt:
10301 * docs/design/part-events.txt:
10302 * docs/design/part-gstbin.txt:
10303 * docs/design/part-gstbus.txt:
10304 * docs/design/part-gstpipeline.txt:
10305 * docs/design/part-live-source.txt:
10306 * docs/design/part-messages.txt:
10307 * docs/design/part-overview.txt:
10308 * docs/design/part-qos.txt:
10309 * docs/design/part-query.txt:
10310 * docs/design/part-states.txt:
10311 * docs/design/part-trickmodes.txt:
10312 Some doc updates. Start renaming from stream_time to running_time where
10313 it was used wrongly.
10315 2007-02-15 Wim Taymans <wim@fluendo.com>
10317 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10318 Answer LATENCY query.
10320 2007-02-15 Wim Taymans <wim@fluendo.com>
10322 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10326 2007-02-15 Wim Taymans <wim@fluendo.com>
10328 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10329 (gst_pad_dispatcher):
10330 Improve debugging of default pad dispatcher and query functions.
10332 2007-02-15 Wim Taymans <wim@fluendo.com>
10334 * docs/gst/gstreamer-sections.txt:
10335 Remove old unused method.
10337 2007-02-13 Wim Taymans <wim@fluendo.com>
10339 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10342 2007-02-13 Wim Taymans <wim@fluendo.com>
10344 * docs/design/part-seeking.txt:
10347 * gst/gstsegment.c: (gst_segment_set_seek):
10348 Revert old bogus change that should make seeking work again.
10350 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10352 * docs/random/ensonic/dynlink.txt:
10353 * docs/random/ensonic/interfaces.txt:
10354 * docs/random/ensonic/receipies.txt:
10355 Possible dynamic reconnection api, plus some type fixes the other two
10358 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10360 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10361 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10362 Also check for an absolute path following file:// in the filesrc
10363 element. Remove redundant check and call g_path_is_absolute() on the
10364 unescaped location.
10366 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10368 * docs/design/draft-klass.txt:
10369 Add existing category analysis.
10372 Fix doc example, framerate is a fraction.
10374 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10377 * docs/gst/Makefile.am:
10378 * docs/gst/gstreamer-sections.txt:
10379 * docs/libs/Makefile.am:
10380 Erm, forgot a bunch of --extra-dir.
10382 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10385 * docs/gst/Makefile.am:
10386 * docs/libs/Makefile.am:
10387 * docs/plugins/Makefile.am:
10388 Add crossreferences to glib/gobject docs.
10390 2007-02-12 Wim Taymans <wim@fluendo.com>
10392 * docs/design/draft-latency.txt:
10395 * docs/libs/gstreamer-libs-sections.txt:
10396 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10397 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10398 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10399 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10400 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10401 (gst_base_sink_get_position), (gst_base_sink_query),
10402 (gst_base_sink_change_state):
10403 * libs/gst/base/gstbasesink.h:
10404 API: gst_base_sink_query_latency() to let subclasses query the upstream
10406 API: gst_base_sink_get_latency() to let subclasses query the configured
10407 latency in the sink.
10408 Implement query and set latency.
10410 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10411 don't continue preroll when we are flushing. Fixes #405284.
10413 * tests/check/pipelines/stress.c: (change_state_timeout),
10414 (quit_timeout), (GST_START_TEST), (stress_suite):
10417 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10419 Patch by: René Stadler <mail at renestadler de>
10421 * docs/gst/gstreamer-sections.txt:
10422 * gst/gsttaglist.c: (_gst_tag_initialize):
10423 * gst/gsttaglist.h:
10424 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10426 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10428 * docs/libs/Makefile.am:
10429 Fix path to core docs.
10431 * gst/gstbin.c: (gst_bin_get_by_interface),
10432 (gst_bin_iterate_all_by_interface):
10433 Refix docs by also renaming 'interface' to 'iface' in implementation.
10435 * docs/gst/gstreamer-sections.txt:
10437 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10438 * gst/gstchildproxy.h:
10439 * gst/gstelementfactory.c:
10440 * gst/gstpadtemplate.h:
10441 * libs/gst/controller/gstcontroller.c:
10442 (gst_controlled_property_new):
10445 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10447 * gst/gstbin.h:(gst_bin_get_by_interface),
10448 (gst_bin_iterate_all_by_interface):
10449 Replace interface parameter name by iface as interface is
10450 a reserved keyword in Visual Studio for C++ projects so it removes
10451 a build error for application developpers using VS.
10452 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10453 Fix a bug on Windows in uri format check. Now the prefix checked
10454 is file:// and next we check if the path after file:// is absolute.
10455 * win32/common/libgstbase.def:
10456 * win32/common/libgstdataprotocol.def:
10457 * win32/common/libgstgstreamer.def:
10458 Add new exported functions.
10460 2007-02-09 Andy Wingo <wingo@pobox.com>
10462 * tests/check/pipelines/simple-launch-lines.c
10463 (simple_launch_lines_suite, test_tee): Disable tee test until I
10464 have time to fix it :-(
10466 * tests/check/Makefile.am (noinst_HEADERS):
10467 * tests/check/libs/libsabi.c:
10468 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10469 * tests/check/gst/gstabi.c:
10470 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10472 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10473 tests for push and pull tee behavior.
10475 * plugins/elements/gsttee.h:
10476 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10477 mark as deprecated as well as unimplemented. It was a crack idea.
10478 Add support for tee operating in pull mode, off by default.
10480 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10481 normal-case logs down to LOG, raise errors to WARNING.
10482 (gst_registry_xml_read_cache): Don't log before calling a function
10485 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10486 exit (registry finalize).
10487 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10488 DEBUG log when we emit signals that people don't even have the
10489 chance to connect to.
10490 (gst_registry_scan_path_level): Less logging in the normal case.
10492 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10494 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10496 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10497 Correctly generate EOS for non-seekable files. We don't have a total
10498 length for them and would get an unexpected end of file if we only
10499 special-cased for regular files. (Fixes: #404569)
10501 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10503 * tests/check/elements/filesrc.c: (GST_START_TEST),
10505 Add unit test for the GstURIHandler interface in filesrc. This also
10506 tests the newly added file://localhost/foo/bar support.
10508 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10510 * gst/gstelementfactory.h:
10511 The klass string is not a hierarchy. Add reference to the design doc
10512 for more information and common types.
10514 2007-02-02 Wim Taymans <wim@fluendo.com>
10516 * gst/gstquery.c: (gst_query_new_latency):
10517 Remove old structure field.
10519 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10521 * tools/gst-launch.1.in:
10522 Give example for network streaming (#351998)
10524 2007-02-02 Wim Taymans <wim@fluendo.com>
10526 * docs/gst/gstreamer-sections.txt:
10527 Add docs for new methods.
10529 * gst/gstevent.c: (gst_event_new_latency),
10530 (gst_event_parse_latency):
10532 Add new LATENCY event to configure latency in a pipeline.
10533 API: gst_event_new_latency
10534 API: gst_event_parse_latency
10536 * gst/gstmessage.c: (gst_message_new_buffering),
10537 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10538 (gst_message_new_latency), (gst_message_parse_buffering),
10539 (gst_message_parse_lost_preroll):
10540 * gst/gstmessage.h:
10541 Added messages used in draft-latency.
10542 API: gst_message_new_lost_preroll
10543 API: gst_message_parse_lost_preroll
10544 API: gst_message_new_prerolled
10545 API: gst_message_new_latency
10547 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10548 (gst_query_parse_latency):
10550 Implemented new latency query as in design doc.
10551 API: gst_query_new_latency
10552 API: gst_query_set_latency
10553 API: gst_query_parse_latency
10555 2007-02-02 Wim Taymans <wim@fluendo.com>
10557 * docs/design/draft-latency.txt:
10558 Slight redesign to allow for dynamic latency adjustments.
10560 * docs/design/part-negotiation.txt:
10563 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10565 reviewed by: Wim Taymans <wim@fluendo.com>
10567 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10568 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10569 Allow file://localhost/foo/bar URLs and correctly fail for every other
10570 hostname that one sets. This was gnomevfssrc is linked for those if
10571 installed as it can handle it (#403172)
10573 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10575 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10577 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10578 (unref_data), (gst_collect_pads_add_pad_full):
10579 * libs/gst/base/gstcollectpads.h:
10580 Don't put the previously added destroy notify in the GstCollectData
10581 struct as all it's padding is already used and we don't want to break
10582 ABI. Instead put in the pad's GObject data for now. This should be
10583 cleaned up for 0.11 (#402393).
10585 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10587 reviewed by: Wim Taymans <wim@fluendo.com>
10589 * docs/libs/gstreamer-libs-sections.txt:
10590 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10591 (unref_data), (gst_collect_pads_add_pad),
10592 (gst_collect_pads_add_pad_full):
10593 * libs/gst/base/gstcollectpads.h:
10594 API: Add function to specify a destroy notification for custom
10595 GstCollectData when adding new pads in GstCollectPads (#402393).
10597 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10600 Update Swedish translation (#378255).
10602 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10604 * docs/design/draft-klass.txt:
10605 Fix the previous change, this is a list of categories and not a hierarchy.
10607 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10609 * docs/design/draft-klass.txt:
10610 Add info about how to get a list of used classes.
10612 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10614 * plugins/elements/gsttypefindelement.c:
10615 (gst_type_find_element_chain_do_typefinding),
10616 (gst_type_find_element_change_state):
10617 Don't leak found caps in chain function (no idea why that never
10618 showed up as a leak anywhere).
10620 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10623 Fix and expand GstPluginDesc API docs.
10625 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10628 * gst/gstelementfactory.c:
10629 * gst/gstpadtemplate.h:
10632 * libs/gst/controller/gstcontroller.c:
10633 (gst_controlled_property_new):
10634 * tests/examples/controller/audio-example.c:
10637 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10640 comment about refining the xml deps
10642 * docs/manuals.mak:
10643 comments about moving away from jade for docs
10646 recommit the ifdefs to use the binary registry
10648 * gst/gstbin.c: (gst_bin_change_state_func):
10649 this break is obsolete
10651 * gst/gstelementfactory.h:
10652 better GST_ELEMENT_DETAILS docs, add comment about translation
10657 * gst/gstobject.c: (gst_signal_object_get_type):
10658 add G_UNLIKELY as usual
10660 * gst/gstpad.c: (gst_pad_event_default):
10661 add fall trhu comment
10663 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10664 (gst_registry_binary_initialize_magic),
10665 (gst_registry_binary_save_string),
10666 (gst_registry_binary_save_pad_template),
10667 (gst_registry_binary_save_feature),
10668 (gst_registry_binary_save_plugin),
10669 (gst_registry_binary_write_cache),
10670 (gst_registry_binary_check_magic),
10671 (gst_registry_binary_load_pad_template),
10672 (gst_registry_binary_load_feature),
10673 (gst_registry_binary_load_plugin),
10674 (gst_registry_binary_read_cache):
10675 comment typo and formatting
10677 * gst/gstutils.c: (gst_element_state_get_name),
10678 (gst_element_state_change_return_get_name):
10679 remove obsolete breaks
10681 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10682 add FIXME 0.11 and remove cpp comment
10684 2007-01-29 Edward Hervey <edward@fluendo.com>
10686 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10687 Fix print statement in an even more portable way.
10689 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10691 * docs/gst/gstreamer-sections.txt:
10693 API: add GST_ROUND_DOWN_* macros (#401781).
10695 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10697 * docs/gst/gstreamer.types.in:
10698 * gst/gstregistry.c: (gst_registry_class_init):
10699 Document registry signals and make gtk-doc pick them up (#401381).
10701 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10703 * docs/pwg/building-testapp.xml:
10704 Add some audioconverts and audioresample to the pipeline, and some
10705 more comments and error handling.
10707 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10709 * docs/manual/manual.xml:
10710 * docs/pwg/pwg.xml:
10711 Fix typo (#400987).
10713 2007-01-26 Wim Taymans <wim@fluendo.com>
10715 * gst/gstcaps.c: (gst_static_caps_get):
10716 Init caps flags too.
10718 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10720 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10722 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10723 If not using mmap'ed files try to seek to the end instead of the
10724 start to determine whether we can seek at all. This fixes the case
10725 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10726 seeks for everything afterwards fail. Fixes #400656
10728 2007-01-25 Wim Taymans <wim@fluendo.com>
10730 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10731 Add some refcount debugging.
10732 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10733 in multiple streaming threads.
10735 2007-01-25 Wim Taymans <wim@fluendo.com>
10737 Patch by: David Schleef <ds at schleef dot org>
10739 * docs/libs/gstreamer-libs-sections.txt:
10740 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10741 * libs/gst/base/gstadapter.h:
10742 API: gst_adapter_copy() that can reduce the amount of memcpy when
10743 getting data from the adapter. Fixes #388201.
10745 2007-01-25 Edward Hervey <edward@fluendo.com>
10747 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10748 In print statements, "%x" is for guint. Fixes build on macosx.
10750 2007-01-24 Edward Hervey <edward@fluendo.com>
10752 * plugins/elements/gstmultiqueue.c:
10753 (gst_multi_queue_loop):
10755 (single_queue_overrun_cb), (single_queue_underrun_cb),
10756 (single_queue_check_full), (gst_single_queue_new):
10757 Implement single queue growth system.
10758 This uses the extra-size properties, and will grow single queues by
10759 that much if one goes full whereas there are others empty. This is
10760 called extra-mode in the code.
10761 When a single queue's levels go back below the initial max-size
10762 limits, it is no longer in extra-mode. This is to ensure we don't
10763 consume too much memory.
10766 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10768 * gst/gst.c: (gst_init_get_option_group):
10769 Make warning about late g_thread_init() calls a bit more explicit,
10770 so that it's more obvious to application developers what they need
10771 to do if a user files a bug against their application.
10773 2007-01-22 Edward Hervey <edward@fluendo.com>
10775 * plugins/elements/gstmultiqueue.c:
10776 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10777 Remove previous hack of unsetting the flushing flag for the source pad
10778 instead of activating it. Instead, fix the source pad activate function
10779 so that it no longer depends on having a parent set or not.
10781 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10783 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10785 * docs/manual/basics-bus.xml:
10786 Fix example code, gst_element_unref() doesn't exist any longer.
10788 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10790 Patch by: Mark Nauwelaerts <manauw at skynet be>
10793 Fix two docs typoes (#399094).
10795 2007-01-19 Edward Hervey <edward@fluendo.com>
10797 * docs/faq/gst-uninstalled:
10798 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10799 depending on libgstbaseutils can work in uninstalled environment.
10801 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10803 * gst/gsttaglist.h:
10804 * gst/gsttagsetter.c:
10805 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10806 statement for new tag.
10808 2007-01-17 Edward Hervey <edward@fluendo.com>
10810 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10811 When dynamically creating single queues, activate sinkpad before adding
10813 We should be doing the same thing for the source pad, but we can't
10814 since it would call a method which needs the parent to be set in order
10815 to work propertly. Instead of activating the source pad, we just unset
10816 the flushing flag, which is the minimal requirement for adding a pad
10817 to an element in a state greater than READY.
10819 2007-01-17 Edward Hervey <edward@fluendo.com>
10821 * docs/faq/gst-uninstalled:
10822 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10825 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10827 * tests/check/gst/gstabi.c:
10828 * tests/check/gst/struct_hppa.h:
10829 * tests/check/libs/libsabi.c:
10830 * tests/check/libs/struct_hppa.h:
10831 Add ABI structs for HPPA (see #393796).
10833 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10835 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10836 Actually write ABI structs to the file specified in the GST_ABI
10837 environment variable, as the message we print claims we would.
10839 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10841 * tests/check/gst/gsttask.c:
10842 Fix header comment.
10844 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10846 * gst/gsttaglist.c: (_gst_tag_initialize):
10847 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10848 previous two entries.
10850 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10852 * docs/gst/gstreamer-sections.txt:
10853 * gst/gsttaglist.c: (_gst_tag_initialize):
10854 * gst/gsttaglist.h:
10855 Add tag support for beat-per-minute.
10857 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10859 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10860 (gst_registry_binary_initialize_magic),
10861 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10862 (gst_registry_binary_save_pad_template),
10863 (gst_registry_binary_save_feature),
10864 (gst_registry_binary_save_plugin),
10865 (gst_registry_binary_write_cache),
10866 (gst_registry_binary_check_magic),
10867 (gst_registry_binary_load_pad_template),
10868 (gst_registry_binary_load_feature),
10869 (gst_registry_binary_load_plugin),
10870 (gst_registry_binary_read_cache):
10871 * gst/gstregistrybinary.h:
10872 Use glib types, cleanup comments, impement interfaces and uri-types.
10874 2007-01-13 Andy Wingo <wingo@pobox.com>
10876 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10877 getrange() to return buffers with other caps, while we fix
10878 demuxers and typefind, or otherwise change part-negotiation.txt.
10880 2007-01-12 Andy Wingo <wingo@pobox.com>
10882 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10883 Factor start/stop into this private function instead of partially
10884 in activate functions and partially in the change_state function.
10885 Fixes setup before the element has changed from READY->PAUSED, as
10886 is the case in pull-mode pipelines.
10887 (gst_base_transform_sink_activate_push)
10888 (gst_base_transform_src_activate_pull): Refactor to use
10889 gst_base_transform_activate().
10890 (gst_base_transform_change_state): Removed, not needed any more.
10892 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10893 Truncate before fixating.
10895 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10896 Don't set_caps() if the result of fixating is ANY, as it's not
10897 supported, and not necessary in the case of a link with no
10898 template caps on either side. Fixes tests/check/libs/basesrc in
10899 some pull-mode tests.
10901 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10902 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10903 (gst_base_transform_src_activate_pull):
10904 Track the activation mode.
10905 (gst_base_transform_setcaps): In pull mode, when activating the
10906 src pad, after activating the sink pad, activate the sink pad's
10907 peer, as discussed in part-negotiation.txt.
10909 * libs/gst/base/gstbasesrc.h:
10910 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10911 vmethod, as in basesink.
10913 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10915 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10916 mode, first proxy the setcaps to the peer pad.
10917 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10918 new fixate vmethod.
10919 (gst_base_sink_default_activate_pull): Rename from
10920 gst_base_sink_activate_pull.
10921 (gst_base_sink_negotiate_pull): New function, performs negotiation
10922 in pull mode before calling ::activate_pull().
10923 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10924 vmethod instead of the default implementation. I have no idea how
10925 this worked before. Negotiate before calling activate_pull.
10927 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10928 sink pads in pull mode. In addition to being correct, fixes
10929 filesrc ! decodebin ! identity ! fakesink.
10930 (gst_pad_get_range, gst_pad_pull_range): Don't call
10931 gst_pad_set_caps() if the caps changes; instead error out with
10932 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10934 2007-01-12 Andy Wingo <wingo@pobox.com>
10936 * docs/design/part-negotiation.txt: Update with more policy.
10938 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10940 * libs/gst/check/gstbufferstraw.h:
10941 * libs/gst/check/gstcheck.h:
10942 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10945 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10947 * tests/check/Makefile.am:
10948 * tests/check/gst/.cvsignore:
10949 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10950 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10951 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10952 (GST_START_TEST), (gst_tag_setter_suite):
10953 Add minimal unit test for beforementioned GstTagSetter bug.
10955 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10957 Patch by: René Stadler <mail at renestadler dot de>
10959 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10960 gst_tag_list_merge() returns a new list, so it's not the best idea
10961 to ingore its return value. Effectively meant that tags could only
10962 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10963 Also add function guard to require a non-NULL taglist as input (has
10964 always been so due to gst_tag_list_copy(), just making it explicit).
10966 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10968 * docs/random/draft-missing-plugins.txt:
10969 Some additions: mention new API that is supposed to be used at the
10970 various stages; short blob about new gst-inspect introspection
10971 option; mention potential future problem with plugins that have
10972 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10974 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10976 * tools/gst-inspect.c:
10977 (print_plugin_automatic_install_info_codecs),
10978 (print_plugin_automatic_install_info_protocols),
10979 (print_plugin_automatic_install_info), (main):
10980 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10981 introspect plugin files and get machine-parsable output that corresponds
10982 to the last bit of the missing-plugin installer string (small gotcha:
10983 doesn't take into account ranks).
10985 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10988 * docs/gst/gstreamer-sections.txt:
10990 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10991 (gst_registry_lookup_locked):
10992 * gst/gstregistry.h:
10993 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10994 (gst_registry_binary_initialize_magic),
10995 (gst_registry_binary_save_string),
10996 (gst_registry_binary_save_pad_template),
10997 (gst_registry_binary_save_feature),
10998 (gst_registry_binary_save_plugin),
10999 (gst_registry_binary_write_cache),
11000 (gst_registry_binary_check_magic),
11001 (gst_registry_binary_load_pad_template),
11002 (gst_registry_binary_load_feature),
11003 (gst_registry_binary_load_plugin),
11004 (gst_registry_binary_read_cache):
11005 * gst/gstregistrybinary.h:
11006 * gst/gstregistryxml.c: (load_feature),
11007 (gst_registry_xml_read_cache):
11008 commit binary registry (disabled by default, see #359653)
11010 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11012 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11013 Fix 'make check' too.
11015 2007-01-10 Andy Wingo <wingo@pobox.com>
11017 * docs/design/part-negotiation.txt: Fix a typo, add a couple
11020 * docs/design/part-negotiation.txt: Update with, um, one way that
11021 pull-mode negotiation might work?
11024 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11025 that the pad must be a src pad; makes sense to call it the other
11026 way in pull mode, and the logic is symmetric anyway.
11028 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
11030 * plugins/elements/gstfilesink.c:
11031 Include <stdio.h> for fseeko().
11033 2007-01-10 Wim Taymans <wim@fluendo.com>
11037 Reserve LATENCY event.
11039 2007-01-09 Wim Taymans <wim@fluendo.com>
11041 * docs/design/draft-latency.txt:
11044 2007-01-09 Wim Taymans <wim@fluendo.com>
11046 * docs/design/draft-latency.txt:
11049 * gst/gstelement.h:
11050 * gst/gststructure.c:
11054 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11056 * tests/check/.cvsignore:
11057 Ignore test-registry.xml as well.
11059 2007-01-09 Wim Taymans <wim@fluendo.com>
11061 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11062 unref data at the end when we are done with the pad.
11064 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11066 * docs/gst/gstreamer-sections.txt:
11067 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11068 (init_post), (gst_deinit), (gst_update_registry):
11070 API: add gst_update_registry() (#391296).
11072 * tests/check/Makefile.am:
11073 * tests/check/gst/gstregistry.c:
11074 * tests/check/gst/.cvsignore:
11075 Simple unit test for the above.
11077 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11079 * gst/gstregistry.c: (gst_registry_scan_path_level):
11080 Plugin extension on HP-UX is .sl, add that to the list of approved
11081 plugin extensions (see #393796).
11083 * tests/check/gst/gstpad.c: (GST_START_TEST):
11084 ulong => gulong. Fixes compilation with HP-UX compiler.
11086 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11087 Fix compilation if valgrind headers are not available.
11089 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11091 * win32/common/libgstreamer.def:
11092 Add new exported function.
11093 * win32/vs6/libgstbase.dsp:
11094 Add gstdataqueue.c to the build.
11095 * win32/vs6/libgstcoreelements.dsp:
11096 Add gstmultiqueue.c to the build.
11098 2007-01-06 Andy Wingo <wingo@pobox.com>
11100 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11101 activate_pull(), providing for a way to specialize the process of
11102 spawning a thread to pull on the sink pad. There is a default
11105 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11106 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11107 (gst_base_sink_init): Renamed pad activation functions (inserting
11108 "_pad" in their names). Refactor to use the new activate_pull
11109 vmethod, as appropriate.
11110 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11111 default activate_pull function to start a task pulling from the
11112 sink pad, as before.
11114 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11115 on the pads if necessary, as in push()/chain(). Update docs.
11116 Shouldn't affect existing pull() usage as it is currently only
11117 being used on buffers without caps.
11119 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11121 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11123 Call g_thread_init() first thing in gst_init() / gst_check_init().
11124 When initialisation is done via gst_init_get_option_group() and
11125 GOption parsing, issue a warning if the GLib thread system has not
11126 been initialised yet by the time gst_init_get_option_group() is
11127 called, as it's quite likely other GLib functions such as
11128 g_option_context_new() have been called already then, and
11129 g_thread_init() must be called before any other GLib function. The
11130 application in question must be fixed in that case, since memory
11131 corruption might happen otherwise.
11132 We issue the warning because even if the GLib folks decide to work
11133 around the problem on their end in future, this is still an issue
11134 with all GLib versions >= 2.10.0, so we should warn until we depend
11135 on a GLib version we know to be safe.
11136 Update documentation as well.
11137 Closes bug #391278.
11139 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11141 * tools/gst-inspect.c: (main):
11142 * tools/gst-launch.c: (main):
11143 * tools/gst-typefind.c: (main):
11144 * tools/gst-xmlinspect.c: (main):
11145 Call g_thread_init() really really early, before any other GLib
11146 function (see #342564 and recent discussion on gtk-devel-list).
11148 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11150 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11152 * gst/gst_private.h:
11153 * gst/gstconfig.h.in:
11155 On win32, all the __declspec stuff for symbol exporting is
11156 apparently only needed with MSVC, but doesn't work with MingW.
11157 Fixes compilation with MingW and #391909.
11159 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11161 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11162 Change some GST_ERROR_OBJECT that aren't really errors to
11163 GST_WARNING_OBJECT in order to reduce terminal spam.
11165 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11167 * tests/check/Makefile.am:
11168 disable test again, as there seem to be still race problems
11170 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11172 * tests/check/Makefile.am:
11173 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11174 (GST_START_TEST), (queue_suite):
11175 enable queue test again, add tests for the leaky behaviour
11177 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11180 * tests/examples/Makefile.am:
11181 Compile adapter test/example only if the required headers are
11182 available (fixes #391915).
11184 2007-01-01 David Schleef <ds@schleef.org>
11187 Restore the previous signal handler for SIGSEGV instead of
11188 setting to default, since we may have stolen it away from
11189 someone. (i.e., Mono)
11191 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11193 * docs/random/draft-missing-plugins.txt:
11194 Some small additions and clarifications.
11196 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11198 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11199 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11200 since that can lead to random memory corruptions and crashes
11201 (may or may not be related to #383244, #386711, and #386711).
11203 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11205 * tests/check/.cvsignore:
11206 * tests/check/Makefile.am:
11207 sync .cvsignome and CLEANFILES
11209 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11211 * tests/check/Makefile.am:
11214 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11216 * docs/design/part-states.txt:
11217 two tiny additional comments
11219 * gst/gststructure.c:
11222 * tests/check/Makefile.am:
11223 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11225 disable test for now, unless it gets fixed
11227 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11229 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11231 fix race in underrun test
11233 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11235 * tests/check/elements/.cvsignore:
11238 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11240 try to narrow test failure
11242 2006-12-21 David Schleef <ds@schleef.org>
11244 * plugins/elements/gstfakesrc.c:
11245 Use g_random_int_range(), since it produces better random
11246 numbers in a range than almost-correct floating point code.
11248 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11250 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11251 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11252 (gst_check_teardown_sink_pad):
11253 do not automatically (de)activate pads
11255 * tests/check/Makefile.am:
11256 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11257 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11258 add new, yet simple tests for queue
11260 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11261 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11262 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11264 * tests/check/elements/identity.c: (cleanup_identity):
11265 consistent pad (de)activation
11267 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11269 Patch by: Sebastian Dröge <slomo ubuntu com>
11271 * libs/gst/base/gstcollectpads.c:
11272 Fix two doc typos (#387866).
11274 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11276 * docs/manual/advanced-dparams.xml:
11277 Fix typo (g_object_control_properties() doesn't exist).
11279 2006-12-19 Edward Hervey <edward@fluendo.com>
11281 * gst/gstsegment.c: (gst_segment_set_seek):
11282 Fine tune the cases where the segment start/stop values are really
11284 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11285 Add tests for the return values of gst_segment_set_seek().
11287 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11292 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11294 Fix incorrect documentation and flesh it out a bit more.
11295 Set default values for the max properties on the GParamSpec as well,
11296 so it shows up correctly in gst-inspect.
11298 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11300 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11301 Correct docs of queue, add more detail and crosslink it more.
11303 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11305 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11306 Print additional debug info when the stream isn't perfectly
11307 timestamped; don't try to use invalid durations.
11309 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11311 * docs/design/Makefile.am:
11312 Dist new design docs.
11314 2006-12-16 Wim Taymans <wim@fluendo.com>
11316 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11318 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11319 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11320 (gst_collect_pads_stop), (gst_collect_pads_event),
11321 (gst_collect_pads_chain):
11322 * libs/gst/base/gstcollectpads.h:
11323 Add refcounting to the collectpads data so we can track when it's safe
11324 to free the data. Fixes #383382.
11326 2006-12-15 Wim Taymans <wim@fluendo.com>
11328 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11329 (gst_collect_pads_remove_pad):
11330 Automatically activate/deactivate pads when they are added to a
11331 started/stoped collectpads.
11333 2006-12-15 Wim Taymans <wim@fluendo.com>
11335 * gst/gstelement.c: (gst_element_add_pad):
11336 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11337 * gst/gstpad.c: (gst_pad_init):
11338 Set pads to FLUSHING when they are created. Check, warn and fix when a
11339 demuxer adds an inactive pad to itself when running. Fixes #339326.
11341 2006-12-15 Wim Taymans <wim@fluendo.com>
11343 * gst/gstelement.c: (gst_element_class_init),
11344 (gst_element_default_send_event), (gst_element_send_event),
11345 (gst_element_default_query), (gst_element_query):
11346 Expose default element send_event and query handling as vmethods that
11347 subclasses can chain up to.
11349 2006-12-15 Wim Taymans <wim@fluendo.com>
11351 * gst/gstelement.c: (gst_element_set_state_func):
11352 Small documentation fixes.
11354 2006-12-15 Wim Taymans <wim@fluendo.com>
11356 * docs/design/draft-latency.txt:
11357 Checked in draft for handling latency in pipelines.
11359 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11363 * gstreamer.spec.in:
11366 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11368 * gst/gst.c: (init_pre), (init_post):
11369 init_pre() and init_post() might be called via our GOptionGroup or
11370 from gst_init(), and we should skip both of them if we've already
11371 been initialised, otherwise we will init some things twice or add
11372 two default log functions.
11374 2006-12-13 Edward Hervey <edward@fluendo.com>
11376 * docs/manual/basics-bus.xml:
11377 No, gst_main_loop does not exist. Its g_main_loop.
11378 Discovered by somebody who abused the copy-paste technique of coding :)
11380 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11382 * gst/gstghostpad.c:
11383 Log ghostpad debug stuff to the GST_PADS category as well rather
11384 than just to the default category.
11386 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11389 * gst/gst.c: (init_pre):
11390 Add some basic system details such as OS and architecture
11391 to the debug output if possible, courtesy of uname().
11393 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11395 * docs/gst/running.xml:
11396 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11397 environment variables.
11399 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11401 * tests/check/gst/gstbin.c: (GST_START_TEST):
11402 It is acceptable to have a refcount of 2 or 3 at this point in the
11403 test, because the pipeline might be just posting its state_change
11404 message. The next line then waits for that message to appear using
11405 bus_poll, so that should be fine too.
11407 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11409 * gst/gst.c: (ensure_current_registry_forking):
11410 Ignore EINTR when reading from the child registry pipe.
11411 Explicitly ignore the return value from close, since it makes no
11414 * gst/gstminiobject.c: (gst_mini_object_ref),
11415 (gst_mini_object_unref):
11416 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11418 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11419 When removing cached plugins, remove their features too, so they're
11420 not visible after they've disappeared.
11422 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11423 In the unlikely case that we are linking pads with no parents, don't
11424 crash trying to get the non-existent parent bin.
11426 * gst/parse/grammar.y:
11427 Output debug in the PIPELINE category
11429 2005-03-08 Wim Taymans <wim@fluendo.com>
11431 Patch by: René Stadler <mail at renestadler dot de>
11433 * gst/gstclock.c: (gst_clock_new_periodic_id):
11434 Reject invalid clock times for interval of periodic ids.
11437 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11439 * gst/gstelementfactory.c: (gst_element_factory_create):
11440 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11441 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11442 * tools/gst-inspect.c: (print_element_info):
11443 Fix refcounting of gst_plugin_feature_load to match the docs.
11446 2006-12-07 Wim Taymans <wim@fluendo.com>
11448 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11449 (gst_base_sink_get_position):
11450 Improve debugging of events.
11452 2006-12-07 Wim Taymans <wim@fluendo.com>
11454 Patch by: René Stadler <mail at renestadler dot de>
11456 * gst/gstclock.c: (gst_clock_id_wait):
11457 Make period ids add the interval to the origial requested time instead
11458 of the possibly updated time which can be wrong when there are multiple
11459 waiters for the same id. Fixes #382592.
11461 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11462 (gst_system_clock_id_wait_jitter_unlocked),
11463 (gst_system_clock_id_wait_jitter):
11464 Fix restart in the async notify thread when an async entry is added to
11465 the front of the list. Fixes #381492.
11467 * tests/check/gst/gstsystemclock.c: (store_callback),
11468 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11469 Added test for multiple async waits.
11470 Added test for async wait order.
11472 2006-12-07 Wim Taymans <wim@fluendo.com>
11474 * gst/gstbin.c: (gst_bin_query):
11475 Add some more docs about the POSITION query.
11477 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11480 Bump version nano - back to CVS.
11482 === release 0.10.11 ===
11484 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11487 releasing 0.10.11, "Love never runs on time"
11489 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11491 * win32/common/libgstbase.def:
11492 * win32/common/libgstreamer.def:
11493 * win32/vs8/libgstbase.vcproj:
11494 * win32/vs8/libgstcoreelements.vcproj:
11495 * win32/vs8/libgstreamer.vcproj:
11496 Fix compilation on win32 under VS8
11497 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11498 Partially fixes #381175
11500 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11502 * gst/gstvalue.c: (gst_value_compare_fraction):
11503 If someone is foolish enough to compare 2 fractions with denominator =
11504 0, return UNORDERED rather than aborting.
11506 2006-11-28 Edward Hervey <edward@fluendo.com>
11508 * libs/gst/base/Makefile.am:
11509 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11510 (gst_data_queue_base_init), (gst_data_queue_class_init),
11511 (gst_data_queue_init), (gst_data_queue_new),
11512 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11513 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11514 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11515 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11516 (gst_data_queue_set_flushing), (gst_data_queue_push),
11517 (gst_data_queue_pop), (gst_data_queue_drop_head),
11518 (gst_data_queue_set_property), (gst_data_queue_get_property):
11519 * libs/gst/base/gstdataqueue.h:
11520 New GstDataQueue object for threadsafe queueing. Most useful for
11521 elements that need some queueing functionnality.
11522 * docs/libs/gstreamer-libs-docs.sgml:
11523 * docs/libs/gstreamer-libs-sections.txt:
11524 Insert documentation for GstDataQueue
11525 * plugins/elements/Makefile.am:
11526 * plugins/elements/gstelements.c:
11527 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11528 (gst_multi_queue_class_init), (gst_multi_queue_init),
11529 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11530 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11531 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11532 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11533 (gst_multi_queue_loop), (gst_multi_queue_chain),
11534 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11535 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11536 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11537 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11538 (wake_up_next_non_linked), (compute_next_non_linked),
11539 (single_queue_overrun_cb), (single_queue_underrun_cb),
11540 (single_queue_check_full), (gst_single_queue_new):
11541 * plugins/elements/gstmultiqueue.h:
11542 New multiqueue element, using GstDataQueue. Used for queuing multiple
11544 Closes #344639 and #347785
11546 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11548 * docs/pwg/advanced-types.xml:
11549 add more missing type details
11551 * tools/gst-run.c: (main):
11552 remove unused variable
11554 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11556 * docs/libs/Makefile.am:
11557 * docs/libs/gstreamer-libs.types:
11558 add types of base classes to enable gobject specific stuff in the docs
11560 * docs/random/ensonic/embedded.txt:
11561 more ideas about isolating platform specific things
11563 2006-11-20 Wim Taymans <wim@fluendo.com>
11565 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11567 * libs/gst/check/gstcheck.h:
11568 Fix compilation and running against 0.9.4. Fixes #377332.
11570 2006-11-20 Wim Taymans <wim@fluendo.com>
11572 * gst/gstsegment.c: (gst_segment_set_seek),
11573 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11574 (gst_segment_to_running_time):
11575 Fix boundary checking in to_running_time() and to_stream_time().
11578 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11579 stream and running time can now be calculated for the complete
11582 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11584 * gst/gstpad.c: (gst_pad_push_event):
11585 Can't access event structure after giving away ownership of
11588 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11590 * docs/random/ensonic/embedded.txt:
11591 * docs/random/ensonic/profiling.txt:
11592 * docs/random/ensonic/receipies.txt:
11595 2006-11-13 Wim Taymans <wim@fluendo.com>
11597 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11600 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11602 2006-11-13 Wim Taymans <wim@fluendo.com>
11604 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11606 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11607 Store new length in segment duration so we don't keep on calling the
11608 potentially expensize get_size() call. Fixes #370865.
11610 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11612 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11614 * win32/common/libgstreamer.def:
11615 Add two missing symbols (#366492).
11617 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11619 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11620 (gst_adapter_take_buffer):
11621 Fix format string to use all its arguments.
11622 Remove useless >= check on a guint
11624 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11626 * tests/examples/adapter/.cvsignore:
11627 Ignore build file as commanded by the build-bot
11629 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11631 * tests/examples/adapter/Makefile.am:
11632 * tests/examples/adapter/adapter_test.c: (run_test_take),
11633 (run_test_take_buffer), (run_tests), (main):
11635 Add new files from the previous commit
11637 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11641 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11642 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11643 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11644 * libs/gst/base/gstadapter.h:
11645 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11646 (GST_START_TEST), (gst_adapter_suite):
11647 * tests/examples/Makefile.am:
11648 Do some optimisation work in GstAdapter to avoid copies in more cases.
11649 It could still do slightly better by merging buffers when
11650 gst_buffer_is_span_fast is true, but is already faster.
11652 Also, avoid traversing a single-linked list to append each incoming
11653 buffer inside the adapter.
11655 Add simple test app that times the adapter behaviour in different
11656 situations, and extend the unit test to check that bytes enter and
11657 exit the adapter in their original order.
11659 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11661 * docs/random/draft-missing-plugins.txt:
11662 Update: use element message instead of adding a new message
11663 type to the core; don't provide GStreamer API to initiate the
11664 plugin download, just provide API to compose the strings needed
11665 and let an external libgimmestuff handle the rest.
11667 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11669 * tools/gst-inspect.c: (print_element_properties_info):
11670 Print a string instead of 'unknown type' for GValueArray properties
11672 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11674 * docs/random/draft-missing-plugins.txt:
11677 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11679 * tests/examples/typefind/typefind.c: (type_found), (main):
11680 Make typefind element example work again (#371894); add a
11683 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11685 * docs/random/draft-missing-plugins.txt:
11686 Commit initial draft about how to deal with missing plugins,
11687 needs work (API too).
11689 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11691 * docs/pwg/advanced-types.xml:
11692 documents the new caps elements (see #363118)
11694 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11696 * gst/gstplugin.c: (gst_plugin_load_file):
11697 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11698 (gst_file_src_map_region), (gst_file_src_start):
11699 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11700 (gst_file_index_commit):
11701 Use g_strerror() instead of strerror() - we want UTF-8.
11703 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11705 Patch by: Peter Kjellerstedt <pkj at axis com>
11707 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11708 Another printf fix (#371493).
11710 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11712 * tests/check/gst/gsttag.c:
11713 relicence (okay with author=company)
11715 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11717 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11718 (gst_pad_push_event):
11719 Enhance debug and improve docs
11724 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11726 * docs/random/ensonic/distributed.txt:
11727 * docs/random/ensonic/profiling.txt:
11730 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11732 * docs/gst/gstreamer-sections.txt:
11733 add new API and fix the build
11735 * gst/gstbin.c: (gst_bin_recalc_state):
11736 * gst/gstelement.c: (gst_element_message_full),
11737 (gst_element_get_state_func), (gst_element_set_state_func):
11738 use new API and improve logging
11740 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11742 API: add function to get StateChangereturn names to improve logs
11744 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11746 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11747 I'm considering shooting the next person to put strerror stuff
11748 in the translateable part of the message.
11750 2006-11-03 Wim Taymans <wim@fluendo.com>
11752 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11753 Get the type and printf conversion specifiers right.
11755 2006-11-03 Wim Taymans <wim@fluendo.com>
11757 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11759 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11760 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11761 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11762 Some small cleanups. Improve debugging.
11764 Signal all waiting threads with a broadcast instead of just one.
11767 2006-11-03 Wim Taymans <wim@fluendo.com>
11769 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11770 (gst_fd_src_create):
11771 Add some debugging.
11772 Only update fd when it's different from the old.
11774 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11776 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11777 Printf fixes for PPC/OSX, take two (#369366).
11779 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11781 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11783 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11784 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11785 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11786 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11787 don't cast to long long for portability reasons, but use
11788 GLib's types instead.
11790 2006-10-30 Michael Smith <msmith@fluendo.com>
11792 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11793 Get the arguments to lseek() the right way around.
11796 2006-10-30 Wim Taymans <wim@fluendo.com>
11798 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11801 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11803 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11805 Patch by: Kjartan Maraas <kmaraas at gnome org>
11807 * docs/design/part-MT-refcounting.txt:
11808 * docs/random/wtay/capsnego2-docs:
11811 Typo fixes (#366212).
11813 2006-10-28 Wim Taymans <wim@fluendo.com>
11815 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11818 * win32/common/libgstbase.def:
11819 * win32/common/libgstreamer.def:
11820 * win32/vs8/libgstbase.vcproj:
11821 * win32/vs8/libgstcontroller.vcproj:
11822 Add needed entries in .def files.
11824 Rearrange def files in vs8 solutions. Fixes #366286.
11826 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11828 * win32/common/gstconfig.h:
11829 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11830 hand-made win32 gstconfig.h. Fixes #366321.
11832 2006-10-27 Wim Taymans <wim@fluendo.com>
11834 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11835 (gst_ghost_pad_new_full):
11836 Make acceptcaps return TRUE when we don't have a target, just like
11839 2006-10-27 Wim Taymans <wim@fluendo.com>
11841 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11842 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11844 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11846 * gst/gststructure.c: (gst_structure_id_set_value):
11847 If someone tries to set a non-UTF8 string field on a structure,
11848 don't just print a warning, but also ignore the request and do
11849 not change/add that field to the structure.
11851 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11852 Test for the above.
11854 2006-10-25 David Schleef <ds@schleef.org>
11857 g_hash_table_insert() needs a cast to a non-const pointer duh.
11859 2006-10-25 David Schleef <ds@schleef.org>
11863 Change name parameter of _gst_debug_register_funcptr to const
11864 to reflect the constness of its use in the function as well
11865 as to quiet a gcc warning.
11867 2006-10-25 Edward Hervey <edward@fluendo.com>
11869 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11870 Don't push the buffer if it's empty.
11873 2006-10-24 Wim Taymans <wim@fluendo.com>
11878 * libs/gst/base/gstbasetransform.c:
11879 (gst_base_transform_sink_eventfunc):
11880 Debug segment values *after* updating them as this is more
11883 2006-10-23 Wim Taymans <wim@fluendo.com>
11885 * docs/design/part-events.txt:
11888 * docs/design/part-block.txt:
11889 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11890 (gst_pad_push_event):
11891 Revert BLOCKING patch, it tries to be smart without really having a
11892 clear idea what or how. So, now we discard all FLUSHING events again on
11893 a blocking pad. Should fix gnonlin again.
11895 2006-10-23 Wim Taymans <wim@fluendo.com>
11897 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11899 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11900 (gst_base_src_start), (gst_base_src_activate_push):
11901 Make sure size is always initialized. Fixes #364388.
11903 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11905 * docs/random/ensonic/distributed.txt:
11906 add some ideas about doing distributed processing
11908 * docs/random/ensonic/profiling.txt:
11909 get_rusage look promising
11911 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11913 * docs/manual/basics-helloworld.xml:
11914 Add a cast in example to fix compile warning
11916 2006-10-18 Wim Taymans <wim@fluendo.com>
11918 * gst/gstsegment.c: (gst_segment_set_last_stop),
11919 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11920 Relax arg checking again, -1 is allowed.
11922 2006-10-18 Wim Taymans <wim@fluendo.com>
11924 * gst/gstsegment.c: (gst_segment_set_last_stop),
11925 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11926 _set_last_stop() must be with a value != -1
11927 A _TYPE_SET to -1 means seek to 0.
11928 Calc last_stop correctly for negative rates.
11929 Make sure we work with positive durations when updating a segment.
11931 2006-10-18 Wim Taymans <wim@fluendo.com>
11933 * docs/design/part-live-source.txt:
11937 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11940 Add an explicit cast to GstBuffer** to keep old code that added an
11941 explicit cast to GstMiniObject** for gst_mini_object_replace()
11942 compiling without warning.
11944 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11946 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11947 check for validity of dates
11949 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11951 * docs/gst/gstreamer-sections.txt:
11952 Forgot this one, makes gtk-doc shut up.
11954 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11956 Patch by: Peter Kjellerstedt <pkj at axis com>
11959 Don't define xmlNodePtr to gpointer if the core was built with
11960 --disable-loadsave and --disable-registry, this will break
11961 applications that want to use libxml2 but are buildling against a
11962 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11963 instead so we don't have to mess with the libxml2 namespace
11966 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11969 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11970 type-punned pointer warnings.
11972 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11974 * gst/gstelement.h:
11975 Add casts to the correct return type to state <=> state transition
11978 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11980 * docs/design/part-live-source.txt:
11981 describe howto handle latency
11983 * docs/random/ensonic/profiling.txt:
11986 * tools/gst-plot-timeline.py:
11987 fix log parsing for solaris, remove unused function
11989 2006-10-16 Wim Taymans <wim@fluendo.com>
11991 * docs/design/part-trickmodes.txt:
11993 Update some docs regarding reverse playback.
11995 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11997 Patch by: Marcus Granado <mrc dot gran at gmail com>
11999 * win32/vs8/grammar.vcproj:
12000 Error out with a warning if glib-genmarshal.exe is not in path,
12001 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12003 2006-10-13 Wim Taymans <wim@fluendo.com>
12005 * gst/gstsegment.c: (gst_segment_set_seek):
12006 When seeking to stop -1, set last_stop (current position) to the
12007 duration of the segment.
12009 2006-10-13 Wim Taymans <wim@fluendo.com>
12011 * gst/gstelement.h:
12012 Clarify _NO_PREROLL a bit more.
12017 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12018 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12019 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12020 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12021 due to wrong locking order. Fixes #361769.
12022 Remove some redundant/misplaced checks in pad_block.
12024 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12025 For negative rates, count backwards from the duration.
12027 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
12029 * gst/gsterror.c: (_gst_library_errors_init):
12030 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12031 up with something better).
12033 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12035 * win32/vs6/libgstreamer.dsp:
12036 * win32/vs7/libgstreamer.vcproj:
12037 * win32/vs8/libgstreamer.vcproj:
12038 Don't reference glib-compat.c which is currently not used and not
12039 disted; add gstquark.c which was recently added. Fixes #361730.
12041 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12043 * win32/common/libgstbase.def:
12044 * win32/common/libgstcontroller.def:
12045 * win32/common/libgstreamer.def:
12046 Add gst_caps_merge() and a bunch of other recently-added functions.
12049 2006-10-11 Wim Taymans <wim@fluendo.com>
12051 * docs/plugins/gstreamer-plugins.args:
12052 * docs/plugins/inspect/plugin-coreelements.xml:
12053 * docs/plugins/inspect/plugin-coreindexers.xml:
12054 Update element args.
12056 * gst/gstsystemclock.c:
12057 Small comment update.
12059 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12060 (gst_tee_request_new_pad), (gst_tee_release_pad),
12061 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12062 (gst_tee_sink_activate_pull):
12063 * plugins/elements/gsttee.h:
12065 Add default property defines.
12066 Implement release pad function.
12067 Give properties better blubs etc.
12068 Activate pads before adding them to a running tee.
12069 Do simple buffer_alloc on the first requested pad.
12070 Post error when activation fails.
12072 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12074 * gst/gst.c: (ensure_current_registry_forking):
12075 Check return value of write() to make compiler happy.
12077 2006-10-11 Wim Taymans <wim@fluendo.com>
12079 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12081 * plugins/elements/gstqueue.c: (gst_queue_chain):
12082 Recheck queue filledness after signalling the overrun when we're about
12083 to leak downstream because we released the lock when emitting the signal
12084 and the queue could be empty again. Fixes #352345.
12086 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12088 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12089 Fix refcounting here too, just like we did for _new_valist() a few
12090 days ago (#357180) (thanks to René Stadler). Also remove all those
12091 'Since: 0.9' from the gtk-doc blobs.
12093 * tests/check/libs/controller.c: (controller_refcount_new_list),
12094 (gst_controller_suite):
12095 Unit test for the above.
12097 2006-10-10 Wim Taymans <wim@fluendo.com>
12099 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12101 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12102 (gst_pad_save_thyself):
12104 Write pad direction in XML output. Fixes #345496.
12106 2006-10-10 Wim Taymans <wim@fluendo.com>
12108 Patch by: René Stadler <mail at renestadler dot de>
12110 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12111 (gst_controller_new_list), (_gst_controller_dispose),
12112 (_gst_controller_finalize), (_gst_controller_class_init):
12113 Take ref to controlled object so that it cannot disappear.
12116 2006-10-10 Wim Taymans <wim@fluendo.com>
12118 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12119 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12120 (gst_check_teardown_sink_pad):
12121 Activate/deactivate pads in setup/teardown respectively.
12123 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12125 Patch by: Josep Torra Valles <josep@fluendo.com>
12128 Cast values when making gstenumtypes.h. This pacifies Forte
12129 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12130 in the enumeration.
12132 2006-10-09 Wim Taymans <wim@fluendo.com>
12134 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12135 Rename some more @cur to @start to fix docs.
12137 * gst/gstsegment.c: (gst_segment_set_seek):
12139 time and start must always stay in sync as defined in design doc.
12141 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12142 Rename param to fix docs.
12144 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12145 Check that start and time are in sync.
12147 * tests/check/pipelines/parse-launch.c:
12148 (gst_parse_test_element_change_state):
12149 Activate pad before adding to the element.
12151 2006-10-09 Wim Taymans <wim@fluendo.com>
12153 * docs/design/part-qos.txt:
12158 Update seek event docs regarding negative rates.
12159 Rename @cur to @start.
12161 * gst/gstsegment.c: (gst_segment_set_seek):
12162 * gst/gstsegment.h:
12163 Update set_seek docs regarding negative rates.
12164 Correctly update last_stop to @stop when dealing with negative
12166 Rename @cur to @start.
12168 * tests/check/gst/gstpad.c: (GST_START_TEST):
12169 Activate pads before trying to use them.
12171 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12172 (gst_segment_suite):
12173 Add simple check for segments and negative rates.
12175 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12177 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12178 * gst/gsttaglist.h:
12179 * docs/gst/gstreamer-sections.txt:
12180 API: add gst_tag_list_is_empty() (#360467).
12182 * tests/check/gst/gsttag.c: (GST_START_TEST):
12185 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12187 * gst/gstmessage.h:
12188 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12189 a value that doesn't fit on enumeration.
12191 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12193 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12194 Remove local debugging system and use Gstreamer's instead.
12196 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12198 Patch by: Josep Torra Valles <josep@fluendo.com>
12200 * common/m4/gst-error.m4:
12201 Disable warning of statement not reached on Forte.
12202 * gst/gstmessage.h:
12203 Fix warning on Forte (value doesn't fit on enumeration).
12204 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12205 Fix warning on Forte (value doesn't fit on enumeration).
12206 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12207 DEBUG macro says it takes minimum of 2 args and so Forte
12208 complains about the use with just 1 arg.
12209 * plugins/elements/gstfdsink.c:
12210 * plugins/elements/gstfdsrc.c:
12211 * plugins/elements/gstfilesink.c:
12212 * plugins/elements/gstfilesrc.c:
12213 Use correct return type for the uri handler implementations.
12215 All these fix warnings in Forte. Fixes bug #360860.
12217 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12219 * gst/gstelement.h:
12220 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12221 format string, so don't use G_GNUC_PRINTF for those versions.
12223 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12225 * gst/gsttaglist.c: (gst_is_tag_list):
12226 * gst/gsttaglist.h:
12227 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12229 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12230 Small test for the above.
12232 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12234 * gst/gsttaglist.h:
12235 Less tabs, more spaces.
12237 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12240 Those two function declarations do actually belong there, revert
12241 commit from yesterday that turned them intro macros.
12243 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12245 Patch by: Josep Torra Valles <josep@fluendo.com>
12247 * gst/gst.c: (gst_init_get_option_group):
12248 Fix empty declaration and type mismatch.
12249 * gst/gstbin.c: (gst_bin_change_state_func):
12251 * gst/gstelement.c: (gst_element_continue_state),
12252 (gst_element_set_state_func), (gst_element_change_state),
12253 (gst_element_change_state_func):
12254 Fix type mismatches.
12255 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12256 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12257 Cast as appropriate.
12258 * gst/gstobject.c: (gst_class_signal_connect):
12259 Cast as appropriate. The function pointer parameter really
12260 has the wrong type but would break API if we change it.
12262 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12263 order of including string.h.
12264 * gst/gstutils.c: (gst_element_state_get_name):
12265 Remove unreachable line.
12266 * gst/gstxml.c: (gst_xml_parse_doc):
12268 All these caught by Forte.
12270 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12272 Patch by: Josep Torra Valles <josep@fluendo.com>
12274 * common/m4/gst-error.m4:
12276 We need to disable warnings on Forte for empty declarations
12277 due to gst-indent adding ;s to lines that just use macros
12278 where the macro actually doesn't need a ; at end to end
12281 2006-10-06 Wim Taymans <wim@fluendo.com>
12283 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12284 (gst_file_sink_close_file), (gst_file_sink_event),
12285 (gst_file_sink_render):
12286 Add some FIXME for the NEWSEGMENT handling.
12288 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12290 * gst/parse/grammar.y:
12291 Remove static function gst_parse_element_lock as all it does
12292 is return. Looks like cruft from 0.8.
12294 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12296 Patch by: Josep Torra Valles <josep@fluendo.com>
12298 * common/m4/gst-error.m4:
12300 * libs/gst/net/Makefile.am:
12301 Fix a compilation issue with Forte on Solaris. inet_aton is in
12304 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12306 * gst/gstpad.c: (pre_activate):
12307 * gst/gstregistry.c: (gst_registry_scan_path_level):
12308 * gst/gstregistryxml.c: (load_plugin):
12309 * libs/gst/controller/gstcontroller.c:
12310 (gst_controlled_property_set_interpolation_mode):
12311 * libs/gst/dataprotocol/dataprotocol.c:
12312 (gst_dp_packet_from_event_1_0):
12313 * libs/gst/net/gstnetclientclock.c:
12314 (gst_net_client_clock_observe_times):
12315 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12318 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12321 * docs/gst/gstreamer-sections.txt:
12322 * gst/gstconfig.h.in:
12323 * gst/gstelement.h:
12325 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12326 whether we can use G_GNUC_PRINTF in other header files and at
12327 least check the printf format/arguments of debug messages and
12328 GST_ELEMENT_ERROR messages when the printf extension is not
12330 Replace more tabs with spaces in gstinfo.h and remove two spurious
12331 function declarations in GST_DISABLE_DEBUG part with macros.
12333 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12335 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12336 More docs for the sync-message signal (mention that it is not
12337 emitted by default); log message structures of messages posted on
12340 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12342 * gst/gst.c: (ensure_current_registry_forking):
12343 Use a pipe pair to receive status results from the forked child, and
12344 ignore the result from waitpid. Fixes #355499
12346 2006-10-02 Wim Taymans <wim@fluendo.com>
12348 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12349 (gst_ghost_pad_suite):
12352 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12355 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12357 2006-10-02 Edward Hervey <edward@fluendo.com>
12359 * docs/design/part-block.txt:
12360 Further explain the use of flushing on blocked pads.
12361 * docs/gst/gstreamer-sections.txt:
12362 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12363 (gst_pad_push_event):
12365 Added new GstPadFlag : GST_PAD_BLOCKING.
12366 Adds the notion of pads really blocking, which enables to properly
12367 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12369 API: gst_pad_is_blocking()
12370 API: GST_PAD_IS_BLOCKING() macro
12371 API: GST_PAD_BLOCKING GstPadFlag
12373 2006-10-02 Wim Taymans <wim@fluendo.com>
12375 Patch by: mrcgran <mrc.gran at gmail dot com>
12377 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12378 Filter the proxied caps against the padtemplate if we have one.
12380 * gst/gstquery.c: (gst_query_new_segment):
12381 Add include for gstinfo.h so that compilation with
12382 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12384 2006-10-02 Wim Taymans <wim@fluendo.com>
12386 Patch by: Alessandro Decina <alessandro at nnva org>
12388 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12389 (gst_file_sink_set_location), (gst_file_sink_open_file),
12390 (gst_file_sink_close_file), (gst_file_sink_event),
12391 (gst_file_sink_render):
12392 Set file to NULL when closing filesink so that we can set a new filename
12393 in READY. Fixes #358613.
12395 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12397 Patch by: Alessandro Decina <alessandro at nnva org>
12399 * gst/gstevent.c: (_gst_event_copy):
12400 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12401 with event structures by setting the parent refcount address of the
12402 copied structure to the address of the refcount member of the newly
12403 copied event rather than the address of the refcount member of the
12404 original event. Fixes #358737.
12406 * tests/check/gst/gstevent.c: (GST_START_TEST):
12407 Unit test for the above.
12409 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12411 * docs/design/Makefile.am:
12412 Dist some more files.
12414 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12416 * tests/check/libs/controller.c: (GST_START_TEST),
12417 (gst_controller_suite):
12418 Add test for the previous fix; add some more tests
12419 for correct refcounting behaviour; fix a few leaks
12420 in test cases; call gst_controller_init() at start
12423 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12425 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12426 (gst_controller_set_from_list):
12427 Don't g_return_val_if_fail() on timed values with invalid timestamps
12428 inside a critical section without unlocking the mutex. Spotted by
12429 René Stadler. (#357617)
12430 Also, fix up refcounting properly: when returning an existing
12431 controller, we should increase the reference only once and not
12432 once per property and when trying to control a property again
12433 we should also increase the refcount.
12435 2006-09-29 Wim Taymans <wim@fluendo.com>
12437 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12438 * libs/gst/net/gstnettimeprovider.c:
12439 (gst_net_time_provider_thread):
12440 Stop reading commands when EOF as well.
12442 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12443 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12444 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12445 Unify description of the dump property.
12447 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12449 * tests/examples/manual/.cvsignore:
12450 OK, so it's actually cvsignore that needs changing. Stop laughing.
12452 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12454 * tests/examples/manual/Makefile.am:
12455 Gah, declare vars *before* using them
12457 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12459 * gst/gst.c: (init_pre), (scan_and_update_registry),
12460 (ensure_current_registry_nonforking),
12461 (ensure_current_registry_forking), (ensure_current_registry),
12462 (init_post), (gst_debug_help), (gst_deinit):
12463 * gst/gst_private.h:
12464 * gst/gstregistry.c: (gst_registry_finalize),
12465 (gst_registry_remove_features_for_plugin_unlocked),
12466 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12467 (gst_registry_scan_path),
12468 (_priv_gst_registry_remove_cache_plugins),
12469 (_priv_gst_registry_cleanup):
12470 * gst/gstregistry.h:
12471 Re-commit the registry changes, along with an extra fix:
12472 When a cached plugin is encountered at a different file path,
12473 update the stored path in the registry cache so that the parent
12474 process knows where it actually is now when it re-reads the registry
12475 cache. Fixes the thing that broke distcheck with the previous commit.
12477 * tests/check/Makefile.am:
12478 Clean up files named 'core' too when running make clean.
12480 * tests/examples/manual/Makefile.am:
12481 Set up a registry path for running these tests, and clean it properly
12484 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12487 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12488 want gmodule-no-export-2.0.pc instead so that we don't drag in
12489 --export-dynamic on every project that links to GStreamer.
12491 Also, make our export regex only match the start of symbols, rather
12492 than any symbol that contains '_gst' somewhere.
12494 * libs/gst/check/Makefile.am:
12495 The libgstcheck we build does however need export-dynamic, as it
12496 produces some symbols that don't match our _gst... style regex.
12499 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12501 * gst/gst.c: (init_pre), (scan_and_update_registry),
12502 (ensure_current_registry_nonforking),
12503 (ensure_current_registry_forking), (ensure_current_registry),
12504 (init_post), (gst_debug_help), (gst_deinit):
12505 * gst/gst_private.h:
12506 * gst/gstregistry.c: (gst_registry_finalize),
12507 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12508 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12509 (_gst_registry_cleanup):
12510 * gst/gstregistry.h:
12511 Revert previous change until I figure out why it breaks distcheck.
12513 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12515 * gst/gst.c: (init_pre), (scan_and_update_registry),
12516 (ensure_current_registry_nonforking),
12517 (ensure_current_registry_forking), (ensure_current_registry),
12518 (init_post), (gst_debug_help), (gst_deinit):
12520 Make init_pre and init_post take the full complement of GOptionFunc
12521 args so they can return useful GErrors. Make the registry updating
12524 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12525 ensure that the registry we're about to write out doesn't contain
12526 stale information about old-deleted plugin files.
12528 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12529 that deletion of plugin files is considered a registry change.
12531 * gst/gst_private.h:
12532 * gst/gstregistry.c: (gst_registry_finalize),
12533 (gst_registry_remove_features_for_plugin_unlocked),
12534 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12535 (gst_registry_scan_path),
12536 (_priv_gst_registry_remove_cache_plugins),
12537 (_priv_gst_registry_cleanup):
12538 * gst/gstregistry.h:
12539 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12540 by adding _priv prefix, so that they won't appear in the global
12541 symbol table. They still do atm though because of #318031. Move the
12542 prototypes to gst_private.h
12544 When removing a plugin, remove all features for that plugin too.
12547 2006-09-27 Wim Taymans <wim@fluendo.com>
12549 * docs/random/moving-plugins:
12550 Make it clear that the "compiled-in descriptions" really mean
12551 the element details.
12553 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12554 (gst_base_sink_wait_preroll):
12557 * docs/libs/gstreamer-libs-sections.txt:
12558 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12559 (gst_base_src_get_range), (gst_base_src_activate_push):
12560 * libs/gst/base/gstbasesrc.h:
12561 Added function to block while waiting for PLAYING, this function
12562 is used by live sources that block on the clock.
12563 API: gst_base_src_wait_playing()
12565 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12567 Patch by: Peter Kjellerstedt <pkj at axis com>
12570 gst-element-check.m4 is generated and should therefore be
12571 copied from the build dir rather than the source dir (#357593).
12572 'make distcheck' hasn't noticed this because we were disting
12573 the file as well, so stop doing that.
12575 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12577 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12578 Add some tests for gst_caps_intersect().
12580 * tools/gst-launch.c: (event_loop):
12581 Print all buffering percentages we get, even the 100% one.
12583 2006-09-26 Wim Taymans <wim@fluendo.com>
12585 * tools/gst-inspect.c: (print_element_properties_info),
12586 (print_signal_info):
12587 Fix printing of flags to match the look of enums.
12589 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12591 * gst/gstelementfactory.c:
12592 Fix typo in docs blurb.
12594 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12596 * gst/gsturi.c: (search_by_entry):
12597 Don't assert/crash here if a uri handler doesn't return any
12598 supported protocols. The list of protocols could be generated
12599 dynamically at runtime or at plugin registration, and an error
12600 in the underlying library shouldn't be fatal (#353301).
12602 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12605 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12606 (spotted by Peter Kjellerstedt).
12608 2006-09-23 Wim Taymans <wim@fluendo.com>
12610 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12612 * libs/gst/base/gstbasesrc.c:
12613 (gst_base_src_default_check_get_range), (gst_base_src_start),
12614 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12615 (gst_base_src_change_state):
12616 Match _start/_stop calls in the activate functions. Remove redundant
12617 _stop call from the state change function. Fixes #356910.
12618 Turn failure DEBUG into ERROR.
12620 2006-09-22 Wim Taymans <wim@fluendo.com>
12622 * docs/design/part-buffering.txt:
12623 * gst/gstmessage.c: (gst_message_new_buffering),
12624 (gst_message_parse_buffering):
12625 Update docs about buffering.
12627 * docs/design/part-trickmodes.txt:
12630 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12632 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12633 (gst_controller_new_list):
12634 Ref instances when returning them again (fixes #357180)
12636 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12638 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12639 Don't forget to release proxy lock when there's an error.
12641 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12644 Add extra initialisers for Caps things, to fix some plugin warnings
12647 2006-09-18 Wim Taymans <wim@fluendo.com>
12649 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12650 Also set template on the internal pad so that a getcaps from the
12651 target pad returns the template caps.
12653 2006-09-18 Wim Taymans <wim@fluendo.com>
12655 * gst/gstelement.c: (gst_element_post_message),
12656 (gst_element_dispose):
12657 Use _DEBUG_OBJECT some more.
12659 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12662 * tools/gst-launch.c: (main):
12663 If the toplevel element is not a GstPipeline, it must be put in a
12664 pipeline so that a bus and clock is selected.
12666 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12668 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12669 JITTER, RATE, and LATENCY query should be handled by the
12670 default case and not by the CONVERT query code.
12672 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12674 * gst/gstformat.c: (gst_format_register):
12675 Fix locking order (must take lock before using n_values).
12677 * gst/gstvalue.c: (gst_value_serialize_enum),
12678 (gst_value_deserialize_enum_iter_cmp),
12679 (gst_value_deserialize_enum):
12680 Fix serialisation/deserialisation of custom registered GstFormats.
12682 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12683 Unit test for custom format serialisation/deserialisation.
12685 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12687 * docs/pwg/building-boiler.xml:
12688 * plugins/elements/gstcapsfilter.c:
12689 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12692 2006-09-16 Edward Hervey <edward@fluendo.com>
12694 * libs/gst/base/gstbasetransform.c:
12695 (gst_base_transform_buffer_alloc):
12696 Check if requested caps are the same as the sinks caps IF
12697 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12699 This fixes the renegotiation issues stated in #352827.
12701 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12704 * docs/manual/advanced-autoplugging.xml:
12705 * tests/examples/Makefile.am:
12706 * tests/examples/manual/.cvsignore:
12707 * tests/examples/manual/Makefile.am:
12708 * tests/examples/manual/extract.pl:
12709 Extract the manual examples again like we used to do.
12712 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12714 * win32/common/config.h:
12717 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12720 Documents how to receive errors.
12722 2006-09-15 Wim Taymans <wim@fluendo.com>
12724 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12725 (event_loop), (main):
12726 Added some comments here and there.
12727 Post an application message when an interrupt is caught instead of doing
12728 an uncontrolled state change.
12729 Clean up the event loop.
12730 Handle buffering messages, pause/resume the pipeline.
12731 Make shutdown because of an interrupt more reliable.
12733 2006-09-15 Wim Taymans <wim@fluendo.com>
12735 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12736 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12737 (gst_base_sink_preroll_object):
12738 Make sure that our internal state is correct when we commit our state
12739 asynchronously. This solves a race where a state change to PLAYING
12740 could cause the sink to remain blocked in preroll in some situations.
12742 2006-09-15 Wim Taymans <wim@fluendo.com>
12744 * tools/gst-inspect.c: (print_element_properties_info),
12745 (print_signal_info):
12746 List flags as hex so it's easier to deal with.
12748 2006-09-15 Wim Taymans <wim@fluendo.com>
12750 * docs/libs/gstreamer-libs-sections.txt:
12751 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12752 (gst_base_sink_do_sync):
12753 * libs/gst/base/gstbasesink.h:
12754 Expose logic to wait for preroll so that subclasses such as audiosink
12755 can also use this method.
12756 API: gst_base_sink_wait_preroll()
12758 2006-09-15 Wim Taymans <wim@fluendo.com>
12760 * gst/gstobject.c: (gst_object_set_parent):
12761 * gst/gstpipeline.c: (do_pipeline_seek):
12762 Small cleanups in docs and code.
12764 * gst/gstsegment.c: (gst_segment_clip):
12765 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12766 if stop == start and start is in the segment, no clipping should be
12767 done. Also add a test for this.
12769 2006-09-15 Wim Taymans <wim@fluendo.com>
12771 * docs/design/part-buffering.txt:
12772 * docs/gst/gstreamer-sections.txt:
12773 * gst/gstmessage.c: (gst_message_new_buffering),
12774 (gst_message_parse_buffering):
12775 * gst/gstmessage.h:
12776 Added methods to create and parse BUFFERING messages.
12777 Added preliminary docs about buffering.
12778 API: gst_message_new_buffering
12779 API: gst_message_parse_buffering
12781 2006-09-06 Wim Taymans <wim@fluendo.com>
12784 Update documentation.
12786 * gst/gstelement.c: (gst_element_class_init),
12787 (gst_element_release_request_pad), (gst_element_set_clock),
12788 (gst_element_get_index), (gst_element_add_pad),
12789 (gst_element_remove_pad), (gst_element_get_random_pad),
12790 (gst_element_send_event), (gst_element_get_query_types),
12791 (gst_element_query), (gst_element_post_message),
12792 (gst_element_message_full), (gst_element_continue_state),
12793 (gst_element_lost_state), (gst_element_save_thyself),
12794 (gst_element_restore_thyself):
12795 Documentation updates.
12796 Rename last bit of the new-pad -> pad-added signal rename.
12797 Fix the case where an element query would only work if the source
12799 Avoid some useless type checking in message handling.
12804 Documentation updates.
12806 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12808 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12809 add an INFO line for when we actually update the fd
12811 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12816 === release 0.10.10 ===
12818 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12821 releasing 0.10.10, "Pais"
12823 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12825 * docs/manual/advanced-position.xml:
12826 Fix typo in sample code.
12828 2006-09-05 Wim Taymans <wim@fluendo.com>
12830 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12831 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12832 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12833 * libs/gst/net/gstnetclientclock.h:
12834 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12835 * libs/gst/net/gstnettimepacket.h:
12836 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12837 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12838 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12839 * libs/gst/net/gstnettimeprovider.h:
12840 Make stuff compile on windows. Fixes #345295.
12842 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12844 * gst/gst.c: (ensure_current_registry_forking):
12845 Print better details when child was terminated by signal.
12847 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12849 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12850 Print a warning rather than g_assert() if a plugin feature
12851 is a URI handler but returns no protocols (#353976).
12853 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12855 * docs/random/moving-plugins:
12858 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12860 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12861 Fix locking order, handle NULL function values properly.
12866 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12867 Initialise variable before using it and fix debug statement to
12868 print the address of the function rather than the address of the
12869 variable on the stack holding the address of the function.
12871 2006-09-01 Wim Taymans <wim@fluendo.com>
12873 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12874 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12875 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12876 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12877 (gst_ghost_pad_parent_unset),
12878 (gst_ghost_pad_internal_do_activate_push),
12879 (gst_ghost_pad_internal_do_activate_pull),
12880 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12881 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12882 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12883 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12884 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12885 (gst_ghost_pad_new_no_target_from_template),
12886 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12888 Avoid needless typechecking in macros.
12889 Since the internal pad is always present and never changes, there is
12890 no need to locking or ref when retrieving it.
12891 Improve debugging a bit.
12892 Handle link errors when setting the target. Fixes #341029.
12894 2006-09-01 Wim Taymans <wim@fluendo.com>
12896 * docs/libs/gstreamer-libs-sections.txt:
12897 * docs/plugins/gstreamer-plugins-sections.txt:
12898 Fix docs some more.
12900 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12901 (gst_collect_pads_event):
12902 * libs/gst/base/gstcollectpads.h:
12903 Documentation updates.
12904 Free queued buffer when removing a pad.
12906 2006-08-31 Michael Smith <msmith@fluendo.com>
12908 * gst/gstutils.c: (gst_element_link_pads),
12909 (gst_element_link_pads_filtered):
12910 Ensure that we set a capsfilter to NULL if we failed to link it
12911 when doing filtered linking, to avoid criticals.
12913 No need to check for unreffing srcpad, which is explicly NULLed
12914 above (a trivial code cleanup).
12916 2006-08-31 Wim Taymans <wim@fluendo.com>
12918 * docs/design/part-gstghostpad.txt:
12919 Update ascii art in documentation.
12921 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12922 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12923 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12924 (gst_ghost_pad_internal_do_activate_push),
12925 (gst_ghost_pad_internal_do_activate_pull),
12926 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12927 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12928 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12929 (gst_ghost_pad_set_target):
12930 Small cleanups and leak fixes.
12931 Remove some checks now that the internal pad is never NULL.
12932 Fix the case where linking pads without a target would create nasty
12933 criticals. Fixes #341029.
12934 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12935 value of _set_target().
12937 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12938 (gst_ghost_pad_suite):
12939 Some more tests for creating and linking untargeted ghostpads.
12941 2006-08-31 Edward Hervey <edward@fluendo.com>
12943 * docs/gst/gstreamer-sections.txt:
12944 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12945 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12946 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12947 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12948 (gst_ghost_pad_new_from_template),
12949 (gst_ghost_pad_new_no_target_from_template):
12950 * gst/gstghostpad.h:
12951 Refactored *_new() functions.
12952 Templates are now used as a g_object_new() parameter.
12953 Use template in _do_getcaps() if we don't have a target.
12954 Small documentation cleanups.
12955 Added two new constructors:
12956 gst_ghost_pad_new_from_template()
12957 gst_ghost_pad_new_no_target_from_template()
12958 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12959 (gst_ghost_pad_suite):
12960 Added tests for new ghostpad instanciation functions.
12962 API additions: gst_ghost_pad_new_from_template,
12963 gst_ghost_pad_new_no_target_from_template
12965 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12967 * docs/random/ensonic/profiling.txt:
12968 Ideas about qos profiling.
12970 2006-08-29 Wim Taymans <wim@fluendo.com>
12972 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12976 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12979 Improve and detypofy docs.
12981 * tests/check/Makefile.am:
12982 * tests/check/gst/.cvsignore:
12983 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12984 Add a basic test suite for GstXML.
12986 2006-08-29 Wim Taymans <wim@fluendo.com>
12988 * gst/gstelement.c: (activate_pads), (clear_caps),
12989 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12990 Clear the pad caps when the element shut down all of the pads and
12991 is not streaming data that could modify the caps.
12994 2006-08-28 Michael Smith <msmith@fluendo.com>
12996 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12997 Revert previous change; I misunderstood single-segment mode.
12999 2006-08-28 Michael Smith <msmith@fluendo.com>
13001 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13002 Unset DISCONT on buffers when using single-segment mode.
13004 2006-08-28 Wim Taymans <wim@fluendo.com>
13006 * gst/gstcaps.c: (gst_caps_merge_structure):
13008 Fix docs and indentation again.
13010 * tests/check/gst/gstquery.c: (GST_START_TEST):
13011 Fix leak in tests and add some more tests.
13013 2006-08-28 Edward Hervey <edward@fluendo.com>
13015 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13016 Inform GstSegment of the last stop position in order for the current
13017 segment to have a proper duration if it doesn't have a specific stop
13018 position from which a duration could be calculated.
13019 This bug was noticeable when a non-flushing, non-update new segment was
13020 followed by another segment (all buffers from the new segment were being
13023 2006-08-28 Wim Taymans <wim@fluendo.com>
13025 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13026 Small comment update.
13028 * plugins/elements/gstidentity.c: (gst_identity_class_init),
13029 (gst_identity_transform_ip):
13030 Drop-probability is broken, mention this in the code with a
13031 FIXME and also in the property description.
13032 Make silent also be silent about the drop messages.
13034 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
13036 * docs/manual/appendix-win32.xml:
13037 Remove mention of popt, we don't depend on that any
13038 longer (#353136). Add some comments pointing out that
13039 this section is slightly outdated.
13041 2006-08-28 Wim Taymans <wim@fluendo.com>
13043 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13045 * gst/gstquery.c: (gst_query_new_segment):
13046 * tests/check/gst/gstquery.c: (GST_START_TEST):
13047 Initialize variables when creating a new segment query.
13050 2006-08-28 Wim Taymans <wim@fluendo.com>
13052 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13054 * gst/gstelement.c: (gst_element_get_bus):
13055 * tests/check/gst/gstelement.c: (GST_START_TEST):
13056 Check for NULL before _reffing the bus. Fixes #353122.
13058 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13060 * docs/manual/basics-bus.xml:
13061 Docs update: fix wrong callback return value explanation; add
13062 some lines about the implicit relationship between main loop
13063 and main context; remove duplicate main loop variable declaration.
13065 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13067 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13068 Don't leak caps in unit test; add a few more simple
13071 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13073 * docs/gst/gstreamer-sections.txt:
13074 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13075 (gst_caps_structure_is_subset), (gst_caps_merge),
13076 (gst_caps_merge_structure):
13078 * libs/gst/base/gstbasetransform.c:
13079 (gst_base_transform_transform_caps):
13080 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13081 implement caps merging (fixes #352580)
13083 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13085 * tools/Makefile.am:
13086 * tools/gst-plot-timeline.py:
13087 add debug-log plotting developer tool (#340674)
13089 2006-08-23 Wim Taymans <wim@fluendo.com>
13091 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13092 (gst_pad_stop_task):
13093 Improve debugging for task functions.
13095 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13096 (gst_task_start), (gst_task_pause), (gst_task_join):
13097 Make sure that the task function started and finished after a
13099 Don't try to push the task function on the threadpool multiple
13101 Improve the g_warning message with some useful suggestions
13102 about how to fix the problem.
13104 2006-08-23 Wim Taymans <wim@fluendo.com>
13106 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13107 Handle RESYNC correctly in _proxy_getcaps.
13109 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13111 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13112 (gst_xml_parse_memory), (gst_xml_get_element):
13113 Chain up to parent class in dispose function and also
13114 unref the elements in the toplevel_elements GList.
13115 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13116 Always return a reference in gst_xml_get_element() rather
13117 than only sometimes.
13119 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13120 Don't leak GstXml object.
13122 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13124 * docs/gst/gstreamer-sections.txt:
13125 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13128 * libs/gst/base/gstbasetransform.c:
13129 (gst_base_transform_transform_caps):
13130 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13133 2006-08-21 Edward Hervey <edward@fluendo.com>
13135 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13136 Implement GObject::dispose virtual method in GstXML so we can free the
13137 top_elements GList.
13139 2006-08-21 Wim Taymans <wim@fluendo.com>
13141 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13142 (gst_buffer_create_sub):
13143 Copy duration/offset_end/caps when creating a subbuffer of the
13145 Make the subbuffer read-only when we make the metadata writable for
13146 now. Fixes #351768.
13148 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13149 Added check for metadata copy when creating subbuffers.
13151 2006-08-21 Edward Hervey <edward@fluendo.com>
13153 * libs/gst/base/gstbasetransform.c:
13154 (gst_base_transform_buffer_alloc):
13155 Only call downstream buffer_alloc if transform element is passthrough
13156 or always_in_place. Closes #350449.
13158 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13161 ChangeLog surgery to add comments to previous changes
13163 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13168 * gst/gstpad.c: (gst_pad_set_active):
13169 Be more verbose in the log
13171 * libs/gst/base/gstbasetransform.c:
13172 (gst_base_transform_transform_caps):
13173 Simplify caps to get rid of duplicates, fixes #345444
13175 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13179 Use these optimizations only internally.
13181 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13183 * gst/gstvalue.c: (gst_value_compare_list),
13184 (gst_value_compare_fraction_range),
13185 (gst_value_intersect_fraction_fraction_range),
13186 (gst_value_intersect_fraction_range_fraction_range),
13187 (gst_value_subtract_fraction_fraction_range),
13188 (gst_value_subtract_fraction_range_fraction_range),
13189 (gst_value_get_compare_func), (gst_value_compare),
13190 (gst_value_compare_with_func):
13192 Saves the expensive lookup of the compare function in many cases
13195 2006-08-18 Edward Hervey <edward@fluendo.com>
13197 * tests/check/gst/gstinfo.c: (gst_info_suite):
13198 Disable test that require gstdebug if it wasn't built in core.
13200 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13202 * docs/random/ensonic/logging.txt:
13205 * gst/gstinfo.c: (gst_debug_log_default):
13206 reorder fields, save some columns, add optional color codes for log
13209 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13211 * docs/random/ensonic/logging.txt:
13212 add ideas about making the logs a bit more useful
13214 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13216 * docs/pwg/advanced-events.xml:
13217 * docs/pwg/titlepage.xml:
13218 Update for 0.10 API (#340627). Add myself
13221 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13223 * docs/libs/gstreamer-libs-docs.sgml:
13224 * docs/libs/gstreamer-libs-sections.txt:
13225 * libs/gst/check/gstbufferstraw.c:
13226 Make gstcheck stuff show up in docs (still needs to
13227 be documented properly though).
13229 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13231 * docs/gst/gstreamer-sections.txt:
13233 * gst/gst.c: (init_post):
13234 * gst/gst_private.h:
13235 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13237 * gst/gstquery.c: (gst_query_new_position),
13238 (gst_query_set_position), (gst_query_parse_position),
13239 (gst_query_new_duration), (gst_query_set_duration),
13240 (gst_query_parse_duration), (gst_query_new_convert),
13241 (gst_query_set_convert), (gst_query_parse_convert),
13242 (gst_query_new_segment), (gst_query_set_segment),
13243 (gst_query_parse_segment), (gst_query_new_seeking),
13244 (gst_query_set_seeking), (gst_query_parse_seeking):
13245 Add internal helpers for pre-registering quarks from static strings
13246 and using the quark values directly instead of looking them up when
13247 creating and parsing queries. Can be used for event construction too.
13250 2006-08-16 Wim Taymans <wim@fluendo.com>
13255 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13257 * gst/gstutils.c: (gst_util_set_value_from_string):
13258 Fix memleak (#351502).
13260 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13261 Add unit test for most of gst_util_set_value_from_string()
13262 (not that one would want to encourage use of this function).
13264 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13266 * libs/gst/check/gstcheck.h:
13267 Use const gchar * variables in fail_unless_equals_string
13268 macro to avoid compiler warnings (and don't use tabs for
13271 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13273 * tools/gst-launch.c: (print_tag):
13274 More space on the left for the tag names, to cater
13275 for the 'extended comment' tag (not touching the
13276 string for the first line since it's translated).
13278 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13280 * libs/gst/check/gstcheck.h:
13281 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13282 print something when they fail.
13284 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13286 * docs/gst/gstreamer-sections.txt:
13287 * gst/gsttaglist.c: (_gst_tag_initialize):
13288 * gst/gsttaglist.h:
13289 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13290 Also change merge function for GST_TAG_COMMENT to
13293 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13295 * gst/gstinfo.c: (gst_debug_print_object):
13296 Make GST_PTR_FORMAT print messages as well.
13298 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13299 (GST_START_TEST), (gst_info_suite):
13302 2006-08-14 Edward Hervey <edward@fluendo.com>
13304 * gst/gstelementfactory.c: (gst_element_register):
13305 If the GstElementClass doesn't have a GstElementDetails with all fields
13306 filled up correctly (longname, description AND author), then error out
13307 nicely instead of crashing.
13309 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13311 * gst/gststructure.c:
13312 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13315 Expand on the difference between arrays and lists as we use them.
13317 2006-08-14 Wim Taymans <wim@fluendo.com>
13319 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13320 If the parent state change function failed, don't assume we can safely
13321 stop the source, this will be done when the pads are deactivated.
13323 2006-08-14 Wim Taymans <wim@fluendo.com>
13326 * gst/gsttask.c: (gst_task_join):
13329 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13330 (gst_pad_stop_task):
13331 When pad (de)activation failed for some reason, restore the old
13332 activation mode and set the pad to flushing instead of assuming the
13333 pad is deactivated.
13334 If the _task_join() failed, reinstall the task on the pad so that it can
13335 be stopped later and return an error.
13337 2006-08-11 Andy Wingo <wingo@pobox.com>
13340 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13341 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13342 is only for users of API that don't want to see deprecated
13343 functions in the headers; people that want to compile out
13344 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13345 CFLAGS. Fixes the build of multifdsink, or will soon..
13347 2006-08-11 Wim Taymans <wim@fluendo.com>
13349 * docs/gst/gstreamer-sections.txt:
13350 Add GstClockClass vmethod docs.
13353 Mark #endif with comment for associated #if
13355 * gst/gstclock.c: (gst_clock_id_wait):
13357 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13358 most clock implementations.
13360 Flesh out docs about resolution methods.
13361 API: GstClockClass::wait_jitter
13363 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13364 (gst_system_clock_async_thread),
13365 (gst_system_clock_id_wait_jitter_unlocked),
13366 (gst_system_clock_id_wait_jitter):
13367 Use base class wait_jitter variant for improved performance
13368 due to less clock polling.
13370 2006-08-11 Edward Hervey <edward@fluendo.com>
13372 * gst/gst.c: (gst_init_check), (init_post):
13373 Set gst as being initialized before scanning/updating the registry,
13374 since there might be my python plugin loader that calls gst_init() and
13375 we don't want to loop back in.
13378 2006-08-11 Wim Taymans <wim@fluendo.com>
13380 * docs/design/part-qos.txt:
13381 Bring docs in line with the code. Mostly the sign of the jitter was
13382 wrong in the docs. Fixes #349943.
13385 Fix the docs for the jitter.
13387 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13388 (gst_event_parse_tag), (gst_event_new_buffer_size),
13389 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13390 (gst_event_new_seek), (gst_event_parse_seek),
13391 (gst_event_new_navigation):
13392 Make sure the GstStructure has no parent when creating custom
13394 Add some more argument checking so that we avoid 0.0 rates.
13395 Flesh out the docs for the QoS event some more.
13397 2006-08-11 Wim Taymans <wim@fluendo.com>
13399 * docs/gst/gstreamer-sections.txt:
13400 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13401 (ensure_current_registry_forking), (ensure_current_registry),
13402 (parse_one_option), (parse_goption_arg), (gst_deinit),
13403 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13406 Added API and command line option to disable registry forking in
13407 addition to the environment variable.
13408 Constify some static arrays.
13409 Added some more debug.
13410 Don't deinit twice.
13411 API: gst_registry_fork_is_enabled()
13412 API: gst_registry_fork_set_enabled()
13413 API: --gst-disable-registry-fork command line option
13416 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13418 * gst/gst.c: (gst_init):
13419 Fix typo in error message.
13421 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13423 * libs/gst/controller/gstcontroller.h:
13424 fix ABI size-correction
13426 * tests/check/libs/gdp.c: (gst_dp_suite):
13427 make tests that use deprecated API conditional
13429 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13431 * docs/libs/gstreamer-libs-sections.txt:
13432 * libs/gst/controller/gstcontroller.c:
13433 (_gst_controller_get_property), (_gst_controller_set_property),
13434 (_gst_controller_init), (_gst_controller_class_init):
13435 * libs/gst/controller/gstcontroller.h:
13436 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13437 (gst_object_set_control_rate):
13438 API: add gst_object_{s,g}et_control_rate(), add private data section,
13441 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13442 * libs/gst/dataprotocol/dataprotocol.h:
13443 add deprecation guards to make gtk-doc happy and allow disabling cruft
13445 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13447 * tests/check/Makefile.am:
13448 * tests/check/gst/.cvsignore:
13449 Let's enable the new unit test as well.
13451 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13454 * docs/gst/gstreamer-sections.txt:
13455 * gst/gstconfig.h.in:
13456 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13457 (_gst_info_printf_extension_ptr),
13458 (_gst_info_printf_extension_segment):
13459 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13460 register that lets us easily dump GstSegments into debug
13463 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13464 (info_segment_format_printf_extension), (gst_info_suite):
13465 Add simple unit test that logs a bunch of different segments (not
13466 valgrinded at the moment because of leaks in
13467 gst_debug_add_log_function).
13469 2006-08-09 Edward Hervey <edward@fluendo.com>
13471 * libs/gst/base/gstbasetransform.c:
13472 (gst_base_transform_buffer_alloc):
13473 Even if we can't figure out the proper format to request downstream,
13474 call buffer_alloc() downstream with the input parameters without setting
13475 the caps on the srcpad. This will force negotiation in the chain
13479 2006-08-08 Edward Hervey <edward@fluendo.com>
13481 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13482 Unlinking from a pad without a target is now a perfectly valid case
13483 which should NOT raise an assertion.
13484 This case would happen if a linked ghostpad its target set to NULL after
13485 it was previously linked.
13487 2006-08-08 Edward Hervey <edward@fluendo.com>
13489 * tests/check/libs/gdp.c:
13490 Also comment out the test (see below).
13492 2006-08-08 Edward Hervey <edward@fluendo.com>
13494 * tests/check/libs/gdp.c: (gst_dp_suite):
13495 Use the architecture information from config.h and not gcc macros
13496 in order to properly disable a test that fails on PPC64.
13498 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13500 * gst/gstelement.c: (gst_element_remove_pad):
13501 Don't crash printing the warning if the pad has no parent.
13503 2006-08-02 Wim Taymans <wim@fluendo.com>
13505 * libs/gst/dataprotocol/dataprotocol.c:
13506 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13507 (gst_dp_crc), (gst_dp_header_payload_length),
13508 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13509 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13510 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13511 (gst_dp_event_from_packet), (gst_dp_validate_header),
13512 (gst_dp_validate_payload):
13513 Make debug category static
13514 Constify the crc table.
13515 Do some more arg checking in public functions.
13516 Fix some docs and do some small cleanups.
13518 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13519 Add some more checks to see if GDP deals with bogus input.
13521 2006-07-31 Wim Taymans <wim@fluendo.com>
13523 * gst/gstvalue.c: (gst_value_compare_list):
13524 Fix GstValueList comparison code. Fixes #347293.
13526 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13527 Check to test GstValueList comparison.
13529 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13531 * gst/gstelementfactory.c: (gst_element_factory_create):
13532 Remove unnecessary ref/unref pair
13534 * gst/parse/grammar.y:
13535 Make sure to free the parse buffer on all code paths.
13536 Move a g_free up to the error handler where it's easier to see.
13538 * tests/check/gst/gstevent.c: (test_event):
13539 Extending timeout for downstream travelling events to 10 seconds to
13540 hopefully avoid intermittent failure on the buildbots.
13542 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13543 Don't manually set the state of the src element - it will happen as a
13544 natural consequence of the pipeline changing state, and that way it
13545 will do it in the right order too.
13547 2006-07-31 Wim Taymans <wim@fluendo.com>
13549 * libs/gst/base/gstbasetransform.c:
13550 (gst_base_transform_buffer_alloc):
13551 Use OBJECT_LOCK and refcounting to get the pad caps in the
13552 buffer_alloc function because the caps could change while we are
13553 busy with them. Fixes #349105
13555 2006-07-31 Wim Taymans <wim@fluendo.com>
13557 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13558 Protect _PAD_CAPS with OBJECT_LOCK.
13560 2006-07-31 Wim Taymans <wim@fluendo.com>
13562 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13563 (gst_pad_get_property), (gst_pad_activate_pull),
13564 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13565 (gst_pad_set_activate_function),
13566 (gst_pad_set_activatepull_function),
13567 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13568 (gst_pad_set_getrange_function),
13569 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13570 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13571 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13572 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13573 (gst_pad_set_acceptcaps_function),
13574 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13575 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13576 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13577 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13578 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13579 (gst_pad_configure_sink), (gst_pad_configure_src),
13580 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13581 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13582 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13583 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13584 (gst_pad_send_event):
13585 Use _DEBUG_OBJECT when it makes sense.
13586 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13587 Small cleanups and code reflows.
13588 Avoid caps refcounting in _accept_caps.
13589 Refactor alloc_buffer so that the code performed on the peer is in a
13590 separate function. Also if the pad does not implement a buffer alloc
13591 function, we should still check if the pad is flushing before falling
13592 back to the default allocator.
13594 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13596 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13597 Make all uses of identity and fakesink have silent=true to avoid
13598 serialising every passing data structure, which is breaking tests
13599 on FC4 for some unknown reason.
13601 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13603 * gst/parse/Makefile.am:
13604 * gst/parse/grammar.y:
13605 * gst/parse/parse.l:
13606 Reverted previous patch as it required to bump the flex dependency to
13607 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13609 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13611 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13613 * gst/parse/Makefile.am:
13614 * gst/parse/grammar.y:
13615 * gst/parse/parse.l:
13616 push & pop the state of the lexer for reentrant use case
13619 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13621 * libs/gst/base/gstbasesrc.h:
13622 Note in the docs that the ::newsegment vfunc is not actually used by
13625 2006-07-28 Wim Taymans <wim@fluendo.com>
13627 * libs/gst/base/gstcollectpads.c:
13628 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13629 (gst_collect_pads_clear), (gst_collect_pads_flush),
13630 (gst_collect_pads_event), (gst_collect_pads_chain):
13631 When flushing a pad, also clear the queued buffer so that we don't
13632 accidentally use it when we shouldn't.
13633 Fix leaks by inreffing incomming buffer.
13634 Flush out queued buffers in case of errors.
13637 2006-07-28 Wim Taymans <wim@fluendo.com>
13639 * docs/random/phonon-gst:
13640 Random notes about a Phonon backend.
13642 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13644 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13646 * tests/check/libs/gdp.c: (gst_dp_suite):
13647 Take a whack at fixing the ppc compile using a different define to
13648 disable the broken test.
13650 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13651 Remove excess g_print()
13653 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13655 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13656 Oops, meant to uncomment this line too to dampen the noise a bit.
13658 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13660 * gst/parse/grammar.y:
13661 * gst/parse/parse.l:
13662 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13663 (GST_START_TEST), (parse_suite):
13664 Fix some of the leaks exposed by extending the parse-launch testsuite,
13665 and move the 3 I can't figure out into a separate test that won't run
13666 the pipelines unless the appropriate line is uncommented.
13668 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13670 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13671 Requesting 0 bytes before the end of the file should result in
13672 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13675 2006-07-27 Wim Taymans <wim@fluendo.com>
13677 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13678 Fix useless assert, a uint is always positive.
13680 * gst/gststructure.c: (gst_structure_nth_field_name),
13681 (gst_structure_foreach), (gst_structure_map_in_place):
13682 Check input arguments for public functions to avoid obvious crashes.
13684 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13685 * plugins/elements/gstfakesink.h:
13686 Do less useless typechecking.
13688 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13690 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13691 Do not use mmap() by default since there are a number of error
13692 conditions that we would like to handle in a non-fatal way that
13693 will result in a SIGBUS if we use mmap(). Examples: external
13694 devices (USB harddrive, portable music player) being unplugged
13695 while in use; file on mounted CD/DVD that can't be read because
13696 the medium is partly damaged. Fixes #348455 and #348475.
13698 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13701 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13702 rates are a gdouble
13704 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13706 * gst/gstregistry.c:
13707 Move big documentation comment into class section header, so that it
13708 appears in the API docs.
13710 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13712 * docs/gst/gstreamer-sections.txt:
13713 Oops. Commit the docs additions too for new API.
13714 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13716 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13718 * gst/gststructure.c: (gst_structure_id_set),
13719 (gst_structure_id_set_valist):
13720 * gst/gststructure.h:
13721 Add API for setting values into structures without performing
13722 a quark lookup, if the appropriate quark is already known.
13724 API: gst_structure_id_set
13725 API: gst_structure_id_set_valist
13727 * gst/parse/grammar.y:
13728 * gst/parse/parse.l:
13729 Remove some dead code shown by the coverage information.
13730 Don't throw a critical g_warning when encountering a syntax error,
13731 just warn and let the normal error path handle it.
13733 * plugins/elements/gstelements.c:
13734 Bump the rank of filesink up to PRIMARY so that it is preferred over
13735 gnomevfssink for file:// sink uri's
13737 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13738 (GST_START_TEST), (run_delayed_test),
13739 (gst_parse_test_element_base_init),
13740 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13741 (gst_parse_test_element_change_state),
13742 (gst_register_parse_element), (parse_suite):
13743 Beef up the tests for parse syntax to check that more error cases
13744 fail as they are supposed to. Increases the test coverage a bit.
13746 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13748 * docs/manual/basics-elements.xml:
13749 Fix gst_element_link() example.
13752 Mention in API docs that one should usually gst_bin_add()
13753 elements to a bin or pipeline before doing the linking.
13755 2006-07-26 Wim Taymans <wim@fluendo.com>
13757 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13758 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13759 Avoid function call for known types by keeping the buffer and
13760 subbuffer GType global.
13762 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13763 Random silly optimisations in read() path.
13765 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13767 * tools/gst-launch.c: (main):
13768 If the top-level of the parse is a normal bin, it doesn't do the
13769 right logic to run as a top-level element, so place it inside a
13772 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13774 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13775 Remove superfluous g_object_notify() calls, GObject does
13776 that for us automatically.
13778 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13781 on Win32, use dllspec to export the debug category symbols
13783 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13785 * gst/gsttaglist.c: (_gst_tag_initialize):
13786 Allow more than one GST_TAG_IMAGE per taglist.
13788 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13790 * gst/gstminiobject.c:
13792 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13793 (gst_fd_src_create):
13794 log recurring events at LOG level
13795 add more debug for when the fd gets set
13797 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13799 * gst/gstparse.c: (gst_parse_launch):
13800 Also remove reentrance checks if flex is MT safe (#348179)
13801 Fix my empty ChangeLog entry below
13803 2006-07-21 Andy Wingo <wingo@pobox.com>
13805 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13807 * libs/gst/check/Makefile.am
13808 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13809 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13810 * libs/gst/check/gstbufferstraw.h:
13811 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13812 functions, thus proving I am still a GStreamer haxor. OK I wrote
13813 them a long time ago, but anyways.
13815 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13818 * gst/gstparse.c: (gst_parse_launch):
13819 Check for flex version and omit mutex if we have a MT save flex
13822 2006-07-21 Wim Taymans <wim@fluendo.com>
13824 * gst/gstparse.c: (gst_parse_launch):
13825 Protect recursive calls to _parse with a recursive mutex
13828 2006-07-21 Wim Taymans <wim@fluendo.com>
13830 * tests/check/gst/gstpad.c: (GST_START_TEST):
13833 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13835 * gst/gstparse.c: (gst_parse_launch):
13836 Do not hang on recursive usage of gst_parse_launch()
13838 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13840 * gst/gsttaglist.c:
13841 Add some more docs, comments and FIXME 0.11s here and there
13842 and also fix some typos.
13844 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13846 * gst/gstsegment.h:
13847 Convert tabs to spaces for better readability.
13849 2006-07-20 Edward Hervey <edward@fluendo.com>
13851 * tests/check/libs/gdp.c: (gst_dp_suite):
13852 the test_buffer test fails at line 140 on ppc64 at the following
13854 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13855 GST_BUFFER_FLAG_IN_CAPS),
13856 "GST_BUFFER_IN_CAPS flag should have been copied !");
13857 See bug #348114 for more details.
13859 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13861 * docs/pwg/advanced-scheduling.xml:
13863 Fix typos (#348000).
13865 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13867 * docs/pwg/intro-basics.xml:
13868 Fix wrong links (#347927).
13870 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13872 * gst/gstregistry.h:
13873 * gst/gstregistryxml.c: (load_feature),
13874 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13875 * win32/common/config.h:
13876 make --disable-index work (#342564)
13878 2006-07-18 Wim Taymans <wim@fluendo.com>
13880 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13884 The attached patch adds two missing defines to gsttrace.h when tracing
13885 is disabled. It also corrects one existing define.
13888 2006-07-17 Wim Taymans <wim@fluendo.com>
13890 * docs/gst/gstreamer-sections.txt:
13891 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13893 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13894 Add two functions to check and change the SIGSEGV behaviour
13895 when loading plugins.
13896 Don't mess with the SIGSEGV handler when we were told not to.
13898 API: gst_segtrap_is_enabled
13899 API: gst_segtrap_set_enabled
13901 2006-07-14 Wim Taymans <wim@fluendo.com>
13903 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13904 * tests/check/elements/filesrc.c: (GST_START_TEST):
13905 Revert fix for regression in #347408 after release.
13907 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13909 Patch by: Antoine Tremblay <hexa00 at gmail com>
13911 * gst/gstutils.c: (gst_element_unlink):
13912 Free iterator when done (#347311).
13914 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13915 And add a test case for this.
13917 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13920 Bump nano back to CVS
13922 === release 0.10.9 ===
13924 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13927 releasing 0.10.9, "On the road again"
13929 2006-07-13 Wim Taymans <wim@fluendo.com>
13931 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13932 * tests/check/elements/filesrc.c: (GST_START_TEST):
13933 Revert pull-0 fix for release. Disable check. Fixes #347408.
13935 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13937 * libs/gst/dataprotocol/dataprotocol.c:
13938 (gst_dp_event_from_packet_1_0):
13939 Fixes #347337: failure to deserialize event packets with
13940 empty payload (only event type)
13942 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13945 do not install a .c file in the header directory
13947 2006-07-13 Edward Hervey <edward@fluendo.com>
13949 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13950 GhostPad no longer implicitely use the padtemplates of the targets.
13953 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13955 * gst/gstvalue.c: (gst_value_compare_list),
13956 (gst_value_compare_array), (_gst_value_initialize):
13957 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13958 Make GstValueArray comparison be order dependent as designed.
13959 Add checks for value lists and value array comparisons.
13962 2006-07-11 Edward Hervey <edward@fluendo.com>
13964 * gst/gstbin.c: (activate_pads),
13965 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13966 (gst_bin_change_state_func):
13967 (de)activate src pads before calling state_change on the childs.
13968 This is to avoid the case where a src ghostpad is blocked (holding the
13969 stream lock), which would block the deactivation of the ghostpad's
13971 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13972 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13973 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13974 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13975 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13976 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13977 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13978 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13979 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13980 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13981 (gst_ghost_pad_class_init),
13982 (gst_ghost_pad_internal_do_activate_push),
13983 (gst_ghost_pad_internal_do_activate_pull),
13984 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13985 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13986 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13987 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13988 GhostPads now create their internal GstProxyPad at creation (and not
13989 when they're linked, as it was being done previously).
13990 The internal and target pads are linked straight away.
13991 The data will also travel through the other pad in order to make
13992 pad blocking and probes non-hackish (the probe/block now really happens
13993 on the GhostPad and not on the target).
13994 * gst/gstpad.c: (gst_pad_set_blocked_async),
13995 (gst_pad_link_prepare), (gst_pad_push_event):
13996 Remove previous ghostpad cruft.
13997 * gst/gstutils.c: (gst_pad_add_data_probe),
13998 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13999 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14000 (gst_pad_remove_buffer_probe):
14001 Remove previous ghost pad cruft.
14002 Added more detailed debug statements.
14003 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14004 Fix the testsuite for refcounting changes.
14005 The comments about who has references were correct, but the refcount
14006 being checked wasn't the same (!?!).
14010 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14012 * docs/gst/gstreamer-sections.txt:
14013 * gst/gstconfig.h.in:
14014 More docs for configuration options, add docs to gtk-doc.
14016 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14019 * gst/gstconfig.h.in:
14020 * win32/common/config.h:
14021 Fix build when disabling tracing (fixes #344016). Also start to document
14022 the defines that disable the sub-systems.
14024 2006-07-10 Edward Hervey <edward@fluendo.com>
14026 * gst/gst.c: (ensure_current_registry_forking):
14027 let's make valgrind happy...
14029 2006-07-09 Wim Taymans <wim@fluendo.com>
14031 * gst/gstelement.c: (activate_pads),
14032 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14033 Better pad activation code: Reset the collect value too on resync.
14036 2006-07-09 Wim Taymans <wim@fluendo.com>
14038 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14039 (gst_pad_activate_push):
14040 Use some more macros where it makes sense.
14041 Allow pad mode switching instead of asserting. When a pad
14042 is activated in one mode and we activate it in another,
14043 deactivate it first before activating it in a different mode.
14046 2006-07-08 Andy Wingo <wingo@pobox.com>
14048 * tools/gst-launch.c (main): Handle err == NULL.
14050 * gst/gst.c (init_post, ensure_current_registry)
14051 (ensure_current_registry_forking)
14052 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14053 factoring out the registry scanning into separate functions. Don't
14054 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14055 Better environment var name/interface suggestions accepted.
14057 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14059 * gst/gstobject.c: (gst_object_set_name_default),
14060 (gst_object_set_name):
14061 Random micro-optimisation: don't use a hash table
14062 with strings as keys and the usual strdup/strcmp
14063 involved, but rather just use the GQuark of the
14064 type name as key, since it needs to be looked up
14065 anyway to get the type name string.
14067 * tests/check/gst/gstobject.c: (GST_START_TEST):
14070 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14072 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14073 (gst_bin_iterate_all_by_interface):
14074 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14075 GTypes are gulongs and thus the top 4 bytes might be cut
14076 off on some platforms when doing GPOINTER_TO_INT, leading
14077 to invalid GTypes and bad things happening (see RH bug #179654).
14078 Also add a check to make sure the type passed in is really
14081 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14086 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14090 * gst-element-check.m4:
14091 * gst-element-check.m4.in:
14092 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14093 instead of the unversioned gst-inspect (#324176, #168659).
14095 2006-07-06 Wim Taymans <wim@fluendo.com>
14097 * gst/gstmessage.h:
14098 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14101 2006-07-06 Wim Taymans <wim@fluendo.com>
14103 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14104 (gst_base_src_wait), (gst_base_src_update_length),
14105 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14106 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14107 (gst_base_src_loop), (gst_base_src_start),
14108 (gst_base_src_activate_pull):
14110 blocksize == 0 now means the default blocksize when working in push
14112 Remove some pointless asserts in _wait function.
14113 Fix offset/length calculations and EOS handling. We can now pull 0
14114 bytes as well, which is allowed.
14115 use _check_get_range() to decide if we can operate in _pull based
14117 Fix refcounting leak when check_get_range function was not
14119 API GstBaseSrc::blocksize range can be 0 too now (default)
14121 * tests/check/elements/filesrc.c: (GST_START_TEST),
14123 Added check to test _get_range() behaviour.
14125 2006-07-06 Wim Taymans <wim@fluendo.com>
14127 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14128 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14129 (gst_pad_pull_range):
14131 Lots of comments and docs added to the pad functions.
14132 Flesh out the expected behaviour of the get_range() functions.
14134 2006-07-06 Wim Taymans <wim@fluendo.com>
14139 * gst/gstiterator.h:
14143 Remove comma at end of enumerator list.
14145 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14147 * win32/common/libgstbase.def:
14148 * win32/common/libgstdataprotocol.def:
14149 * win32/common/libsgtreamer.def:
14150 Add new exported functions.
14152 2006-07-05 Wim Taymans <wim@fluendo.com>
14154 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14155 Add some more docs here and there.
14157 2006-07-05 Wim Taymans <wim@fluendo.com>
14159 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14160 (gst_base_sink_loop), (gst_base_sink_get_position):
14161 When operating in pull mode update the offset so that we
14164 2006-07-05 Wim Taymans <wim@fluendo.com>
14166 * gst/gstregistryxml.c: (read_string):
14167 Avoid strdup. (will happen in libxml, but hey!)
14170 Add some more docs.
14172 2006-07-05 Wim Taymans <wim@fluendo.com>
14174 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14175 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14176 (gst_buffer_suite):
14177 No point in checking if the size of the subbuffer > 0, the
14178 code handles it correclty as demonstrated by unit test.
14179 Also add a unit test for the zero sized _new_and_alloc and
14180 _copy. Fixes #346663.
14182 2006-07-05 Wim Taymans <wim@fluendo.com>
14184 * libs/gst/base/gstbasetransform.c:
14185 (gst_base_transform_prepare_output_buffer),
14186 (gst_base_transform_buffer_alloc),
14187 (gst_base_transform_handle_buffer):
14188 Make sure the buffer we pass to transform_ip has a refcount of
14189 1 and thus is writable. Fixes #343196
14191 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14193 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14194 (gst_file_src_init), (gst_file_src_set_property),
14195 (gst_file_src_get_property), (gst_file_src_map_region):
14196 * plugins/elements/gstfilesrc.h:
14197 Add "sequential" property, off by default, to use madvise and hint
14198 to the kernel that sequential access is desired.
14199 Touch all retrieved pages by default to ensure they are pulled
14200 into memory. (Closes #345720)
14202 2006-07-03 Wim Taymans <wim@fluendo.com>
14204 * docs/design/part-block.txt:
14205 * docs/design/part-dynamic.txt:
14206 Small docs updates.
14208 2006-07-03 Wim Taymans <wim@fluendo.com>
14210 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14211 (gst_caps_unref), (gst_static_caps_get),
14212 (gst_caps_append_structure):
14213 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14214 Use GSlice when the glib we build against is >= 2.10
14216 2006-07-03 Wim Taymans <wim@fluendo.com>
14218 * gst/gstelement.c: (gst_element_pads_activate):
14219 Small cleanup in pad activation code.
14221 2006-07-03 Wim Taymans <wim@fluendo.com>
14223 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14225 * gst/gst-i18n-app.h:
14226 * gst/gst-i18n-lib.h:
14227 * tools/gst-inspect.c: (print_signal_info):
14228 The attached patch will make the inclusion of gettext.h unconditional in
14229 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14230 libintl.h in tools/gst-inspect.c.
14231 This allows use of --disable-nls again and fixes #344642.
14233 2006-07-03 Edward Hervey <edward@fluendo.com>
14235 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14236 Implement pad blocking on events according to part-block.txt.
14237 More comments on behaviour.
14238 * tests/check/gst/gstevent.c: (test_event):
14239 Send event to peer pad of blocked pad (else it will block).
14241 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14243 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14244 (gst_check_run_suite):
14245 if we get the wrong message, give us the types as string
14246 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14248 * tests/check/elements/filesrc.c: (GST_START_TEST):
14249 add a test for trying to open a non-existing file
14251 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14253 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14254 add a test for adding self
14256 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14258 * libs/gst/check/gstcheck.h:
14259 add some assert_ as alias for fail_unless_*
14260 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14261 increase test coverage
14263 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14266 include lcov.mak for lcov coverage generation
14267 * tools/Makefile.am:
14270 2006-07-02 Edward Hervey <edward@fluendo.com>
14272 * tests/check/elements/.cvsignore:
14275 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14278 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14279 * tests/check/Makefile.am:
14280 clean up gcov files
14282 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14284 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14285 remove gst_caps_simplify; it was not declared and not used
14286 and deprecated in 0.8
14288 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14290 * docs/faq/gst-uninstalled:
14291 don't put empty paths on PYTHONPATH
14292 * docs/gst/gstreamer-sections.txt:
14293 remove some symbols that are not there
14295 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14297 * gst/gstcaps.c: (gst_caps_compare_structures):
14299 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14300 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14303 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14305 * libs/gst/dataprotocol/Makefile.am:
14306 build dataprotocol test by linking to the lib, instead of
14307 compiling the source, so we get coverage
14308 * tests/check/Makefile.am:
14309 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14310 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14311 add a test for filesrc
14313 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14315 * tests/check/gst/gststructure.c: (GST_START_TEST),
14316 (gst_structure_suite):
14317 Push coverage from 59.04% to 70.00%
14319 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14321 * tests/check/Makefile.am:
14322 gst-inspect every element; this makes sure that we also get
14323 coverage on element's get/set functions
14325 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14328 set CFLAGS and friends to -O0 if gcov is being used
14331 * libs/gst/base/Makefile.am:
14332 * libs/gst/check/Makefile.am:
14333 * libs/gst/controller/Makefile.am:
14334 * libs/gst/dataprotocol/Makefile.am:
14335 * libs/gst/net/Makefile.am:
14336 * plugins/elements/Makefile.am:
14337 * plugins/indexers/Makefile.am:
14338 add makefile rules to generate gcov data and clean up
14339 * tests/check/Makefile.am:
14340 add a coverage target that generates an html overview
14343 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14345 * tests/check/elements/fakesink.c:
14346 * tests/check/elements/fakesrc.c:
14347 * tests/check/elements/fdsrc.c:
14348 * tests/check/elements/identity.c:
14349 * tests/check/generic/sinks.c: (gst_sinks_suite):
14350 * tests/check/generic/states.c:
14351 * tests/check/gst/gst.c:
14352 * tests/check/gst/gstabi.c:
14353 * tests/check/gst/gstbin.c:
14354 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14355 * tests/check/gst/gstbus.c: (gst_bus_suite):
14356 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14357 * tests/check/gst/gstelement.c:
14358 * tests/check/gst/gstevent.c: (gst_event_suite):
14359 * tests/check/gst/gstghostpad.c:
14360 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14361 * tests/check/gst/gstmessage.c: (gst_message_suite):
14362 * tests/check/gst/gstminiobject.c:
14363 * tests/check/gst/gstobject.c:
14364 * tests/check/gst/gstpad.c:
14365 * tests/check/gst/gstpipeline.c:
14366 * tests/check/gst/gstplugin.c:
14367 * tests/check/gst/gstquery.c: (gst_query_suite):
14368 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14369 * tests/check/gst/gststructure.c:
14370 * tests/check/gst/gstsystemclock.c:
14371 * tests/check/gst/gsttag.c:
14372 * tests/check/gst/gsttask.c: (gst_task_suite):
14373 * tests/check/gst/gstutils.c:
14374 * tests/check/gst/gstvalue.c:
14375 * tests/check/libs/adapter.c:
14376 * tests/check/libs/basesrc.c:
14377 * tests/check/libs/collectpads.c:
14378 * tests/check/libs/controller.c:
14379 * tests/check/libs/gdp.c: (gst_dp_suite):
14380 * tests/check/libs/gstnetclientclock.c:
14381 * tests/check/libs/gstnettimeprovider.c:
14382 * tests/check/libs/libsabi.c: (libsabi_suite):
14383 * tests/check/libs/typefindhelper.c:
14384 * tests/check/pipelines/cleanup.c:
14385 * tests/check/pipelines/parse-launch.c:
14386 * tests/check/pipelines/simple-launch-lines.c:
14387 * tests/check/pipelines/stress.c: (stress_suite):
14390 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14392 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14393 * libs/gst/check/gstcheck.h:
14394 create a macro and function so that the simple unit test
14395 case can be just one macro to create main()
14397 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14399 * gst/gstbin.c: (gst_bin_restore_thyself):
14400 * gst/gstxml.c: (gst_xml_make_element):
14401 Fix deserialisation from XML. Set parent manually
14402 instead of using gst_bin_add(), since gst_bin_add()
14403 will unlink all pads of the element being added.
14406 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14408 Patch by: Peter Kjellerstedt <pkj at axis com>
14410 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14411 Fix missing g_strdup() and double free when using the
14412 --gst-plugin-load command line option (#346097).
14414 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14417 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14419 * libs/gst/net/gstnetclientclock.c:
14420 * libs/gst/net/gstnettimeprovider.c:
14421 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14423 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14425 * docs/manual/advanced-dataaccess.xml:
14426 Fix buffer probe example compilation in
14429 2006-06-22 Edward Hervey <edward@fluendo.com>
14431 * gst/gstelement.c: (gst_element_pads_activate):
14432 We need to deactivate src pads first and then sink pads.
14433 The reason is the src pads might be blocking while holding the streaming
14434 lock, so we need to deactivate them first so that deactivating the sink
14435 pads doesn't block (since it will require the streaming lock).
14437 2006-06-22 Wim Taymans <wim@fluendo.com>
14439 * libs/gst/base/gstbasetransform.c:
14440 (gst_base_transform_buffer_alloc):
14441 Forgot to remove two unneeded unrefs.
14442 Simplify a check _is_equal allready checks the obvious case.
14444 2006-06-22 Wim Taymans <wim@fluendo.com>
14446 * docs/design/part-block.txt:
14447 Some docs about what pad_block should do.
14449 2006-06-22 Wim Taymans <wim@fluendo.com>
14451 * gst/gstcaps.c: (gst_caps_replace):
14452 Fix crasher when passed NULL. Doc clarification.
14453 Optimize for the trivial case.
14455 * gst/gstpipeline.c: (gst_pipeline_change_state):
14458 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14459 Small documentation cleanup.
14461 * libs/gst/base/gstbasetransform.c:
14462 (gst_base_transform_buffer_alloc):
14463 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14464 is what we need and it avoids a whole lot of redundant
14465 refcount operations.
14467 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14469 Patch by: Philip Jägenstedt <philip at lysator liu se>
14471 * docs/manual/advanced-dataaccess.xml:
14472 Fix 'Embedding static elements' section to use
14473 GST_PLUGIN_DEFINE_STATIC (#345607).
14475 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14477 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14478 Attempt to 'fix' spuriously failing test case: it seems like the
14479 timeout of half a second is simply too small when the system is under
14480 load otherwise, and the timeout doesn't really seem to serve any
14481 particular purpose here. Give the pipeline a few seconds to preroll
14482 first, and then give it another half a second to go from PAUSED to
14483 PLAYING and marshal the message into the main thread.
14485 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14487 * tools/gst-feedback-m.m:
14488 Don't only use unversioned tools, try versioned tools as well
14491 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14493 * gst/gstbus.c: (gst_bus_class_init):
14494 Fix some typos, make docs more explicit.
14496 2006-06-20 Wim Taymans <wim@fluendo.com>
14498 * tests/check/gst/gstghostpad.c: (block_callback),
14499 (GST_START_TEST), (gst_ghost_pad_suite):
14500 Added some more ghostpad tests, mainly blocking
14503 2006-06-16 Wim Taymans <wim@fluendo.com>
14505 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14506 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14507 (gst_file_sink_event), (gst_file_sink_render):
14508 * plugins/elements/gstfilesink.h:
14509 Check if we can seek in the file instead of assuming
14510 we always can. Post an error when we are asked to seek in a
14511 non-seekable file (like a fifo). Fixes #343312.
14514 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14516 * tools/gst-launch.1.in:
14517 Un-garble (fourcc) bit in filtered caps section.
14519 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14521 * docs/manual/advanced-autoplugging.xml:
14522 * docs/manual/basics-helloworld.xml:
14523 * docs/manual/highlevel-components.xml:
14524 Don't leak bus reference in sample code.
14526 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14529 Add default for new --enable-plugin-docs switch.
14532 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14535 * docs/Makefile.am:
14536 Use new ENABLE_PLUGIN_DOCS conditional.
14538 2006-06-14 Wim Taymans <wim@fluendo.com>
14540 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14541 Make it clear with a FIXME and a real define what the #if 0
14542 previously disabled.
14544 2006-06-14 Wim Taymans <wim@fluendo.com>
14546 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14547 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14548 * libs/gst/base/gstbasetransform.c:
14549 (gst_base_transform_sink_eventfunc):
14550 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14551 Don't randomly and silently reset a segment when the format
14552 changes as this is a bug somewhere upstream. Fixes #330379.
14554 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14556 Patch by: Wouter Paesen <wouter at kangaroot net>
14558 * libs/gst/controller/gstcontroller.c:
14559 (gst_controlled_property_new):
14560 Fix controlling of float properties (#344849).
14562 * tests/check/libs/controller.c:
14563 (gst_test_mono_source_get_property),
14564 (gst_test_mono_source_set_property),
14565 (gst_test_mono_source_class_init), (GST_START_TEST):
14566 While we're at it, add some float stuff to unit test.
14568 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14571 * docs/images/gdp-header.svg:
14573 * docs/libs/Makefile.am:
14574 * docs/libs/gdp-header.png:
14575 * libs/gst/dataprotocol/dataprotocol.c:
14576 add it to the API docs
14577 * docs/manual/intro-motivation.xml:
14580 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14582 * gst/gst.c: (scan_and_update_registry), (init_post):
14583 If the fork()'ed child process can't write the updated registry cache
14584 file to disk for some reason, make it exit with a failure exit code,
14585 so that the parent can then re-scan the plugins itself and update the
14586 registry structures in memory and work with that (rather than failing
14587 when creating elements because seemingly no plugins are available).
14588 Refactor registry scanning code into separate function for this and
14589 also separate fork() and non-fork() code paths. Fixes #344748.
14591 2006-06-13 Wim Taymans <wim@fluendo.com>
14593 * docs/manual/advanced-dataaccess.xml:
14594 Fix wrong PluginDesc. Fixes #344755.
14596 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14598 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14599 Fix silly bug that prevented us from creating
14600 ~/.gstreamer-0.10 and writing the registry in one
14601 go (the first call to g_mkstemp() would overwrite the
14602 placeholder in the template string, so the second call
14603 to g_mkstemp() after creating the missing directory
14604 would then error out with 'invalid argument').
14606 2006-06-13 Edward Hervey <edward@fluendo.com>
14608 * gst/gst.c: (init_post):
14611 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14613 * gst/glib-compat-private.h:
14614 * gst/glib-compat.c:
14615 * gst/glib-compat.h:
14616 * gst/gstvalue.c: (gst_value_serialize_flags):
14617 remove GLib 2.6 compatibility code
14619 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14621 * gst/parse/Makefile.am:
14622 Fix build with 'make -j N' even more (#340016).
14624 2006-06-12 Wim Taymans <wim@fluendo.com>
14626 * docs/gst/gstreamer-sections.txt:
14629 2006-06-12 Wim Taymans <wim@fluendo.com>
14631 * gst/gstsegment.c: (gst_segment_set_duration),
14632 (gst_segment_set_last_stop), (gst_segment_set_seek),
14633 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14634 (gst_segment_to_running_time), (gst_segment_clip):
14635 Use G_UNLIKELY to help the compiler a bit.
14637 2006-06-12 Wim Taymans <wim@fluendo.com>
14639 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14641 * gst/gstevent.c: (gst_event_get_type):
14642 * gst/gstmessage.c:
14643 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14645 constify quark registration strings. Fixes #344115
14646 Avoid unneeded type checking is _pad_push() by internally
14647 calling gst_pad_chain_unchecked().
14649 2006-06-12 Wim Taymans <wim@fluendo.com>
14651 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14652 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14653 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14654 (gst_buffer_is_span_fast), (gst_buffer_span):
14655 Init _type for consistency.
14656 Use _FLAGS macro to avoid type check.
14657 Avoid unneeded type checks in subbufer code.
14659 2006-06-12 Wim Taymans <wim@fluendo.com>
14661 * gst/gst.c: (gst_debug_help):
14662 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14663 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14664 (gst_plugin_feature_list_free):
14665 * gst/gstregistry.c: (gst_registry_add_plugin),
14666 (gst_registry_add_feature), (gst_registry_plugin_filter),
14667 (gst_registry_feature_filter), (gst_registry_find_plugin),
14668 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14669 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14670 * gst/gstregistryxml.c: (load_feature),
14671 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14672 * gst/gstminiobject.c: (gst_mini_object_unref),
14673 (gst_mini_object_replace), (gst_value_mini_object_free),
14674 (gst_value_mini_object_copy):
14675 Use _CAST macros to avoid unneeded type checking.
14676 Added some more G_UNLIKELY.
14678 2006-06-12 Wim Taymans <wim@fluendo.com>
14681 Avoid unneeded type checking.
14682 API: GST_BUFFER_IS_DISCONT
14684 * gst/gstminiobject.h:
14685 Avoid type check in flag accessor.
14687 * gst/gstelementfactory.h:
14689 * gst/gstpluginfeature.h:
14691 API: GST_ELEMENT_FACTORY_CAST
14692 API: GST_PLUGIN_CAST
14693 API: GST_PLUGIN_FEATURE_CAST
14695 2006-06-12 Wim Taymans <wim@fluendo.com>
14697 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14698 (gst_object_unref):
14699 Add G_UNLIKELY in type registration.
14700 Avoid type check in _ref/_unref since that is also
14703 2006-06-12 Wim Taymans <wim@fluendo.com>
14705 * gst/gsterror.c: (gst_g_error_get_type):
14706 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14707 (gst_static_pad_template_get_type):
14708 * gst/gsttaglist.c: (gst_tag_list_get_type):
14709 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14710 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14711 * gst/gsturi.c: (gst_uri_handler_get_type):
14712 * gst/gstvalue.c: (gst_date_get_type):
14713 * gst/gstxml.c: (gst_xml_get_type):
14714 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14715 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14716 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14717 Add G_UNLIKELY in type registration.
14719 2006-06-12 Wim Taymans <wim@fluendo.com>
14721 * tools/gst-inspect.c: (print_signal_info):
14722 Properly print enum values.
14724 2006-06-12 Wim Taymans <wim@fluendo.com>
14726 * gst/gstinfo.c: (gst_debug_set_active),
14727 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14729 Add some G_[UN]LIKELY.
14730 Maintain __gst_debug_min to avoid formatting the arguments of
14731 debug messages that will be dropped anyway to avoid a lot of
14732 overhead from the debugging system.
14734 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14737 * po/POTFILES.skip:
14738 add missing files containing translatable strings, tell intltool about
14741 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14743 * tests/check/libs/.cvsignore:
14744 add test-binary to ignore list
14746 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14748 * docs/libs/gstreamer-libs-docs.sgml:
14749 reorder (put dp into a chapter) and indent
14751 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14756 === release 0.10.8 ===
14758 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14761 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14763 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14765 * gst/gst.c: (init_post):
14766 move pid declaration to declaration block
14768 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14770 * gst/gst.c: (init_post):
14771 use _exit() instead of exit() in our forked child; this ensures
14772 that none of the registered exit handlers from whatever is using
14773 GStreamer get executed. This fixes gnome-mixer-applet failing
14774 to load, because ORBit would shut down.
14775 Spotted by: Edward Hervey <edward@fluendo.com>
14776 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14779 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14784 === release 0.10.7 ===
14786 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14789 releasing 0.10.7, "Soepeke, ik zie ou"
14791 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14814 * win32/common/config.h:
14815 0.10.6.2 prerelease
14817 2006-06-07 Wim Taymans <wim@fluendo.com>
14819 * gst/gstindex.c: (gst_index_gtype_resolver):
14820 * tools/gst-xmlinspect.c: (print_plugin_info):
14821 Fix leak spotted by coverity checker. Fixes #343827
14822 Fix another other leak found by paolo borelli.
14824 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14826 * libs/gst/dataprotocol/dataprotocol.c:
14827 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14828 (gst_dp_version_get_type), (gst_dp_init),
14829 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14830 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14831 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14832 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14833 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14834 (gst_dp_packetizer_free):
14835 * libs/gst/dataprotocol/dataprotocol.h:
14836 API: add a GstDPPacketizer object, and create/free functions
14837 API: add GstDPVersion enum
14838 Add 1.0 event function that uses the string serialization
14839 Serialize more useful buffer flags
14842 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14844 * tests/check/Makefile.am:
14845 * tests/check/gst/gstabi.c:
14846 * tests/check/gst/struct_ppc64.h:
14847 * tests/check/libs/libsabi.c:
14848 * tests/check/libs/struct_ppc64.h:
14849 add ppc64 structure sizes
14851 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14853 * tests/check/Makefile.am:
14854 * tests/check/gst/gstabi.c:
14855 * tests/check/gst/struct_x86_64.h:
14856 * tests/check/libs/libsabi.c:
14857 * tests/check/libs/struct_x86_64.h:
14858 generate and add structure size lists for x86_64
14860 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14862 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14863 * libs/gst/check/gstcheck.h:
14864 factor out the method from tests that checks size of structures,
14865 and add code to generate the header containing these sizes
14866 * tests/check/gst/gstabi.c: (GST_START_TEST):
14867 * tests/check/gst/struct_i386.h:
14868 * tests/check/libs/libsabi.c: (GST_START_TEST):
14869 * tests/check/libs/struct_i386.h:
14872 2006-06-06 Michael Smith <msmith@fluendo.com>
14874 * gst/gstsegment.h:
14875 Don't use c++-style comments, fixes #343929
14877 2006-06-05 Edward Hervey <edward@fluendo.com>
14880 plugin_paths is not used if we build without registry support.
14882 * gst/gstsegment.c: (gst_segment_copy):
14883 _copy() was always returning NULL...
14885 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14887 * libs/gst/dataprotocol/dataprotocol.c:
14888 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14889 (gst_dp_packet_from_event):
14890 factor out CRC code
14892 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14894 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14895 make sure we unset caps
14897 2006-06-02 Michael Smith <msmith@fluendo.com>
14899 * libs/gst/check/gstcheck.c: (gst_check_init),
14900 (gst_check_chain_func):
14901 * libs/gst/check/gstcheck.h:
14902 Add a cond/mutex to the check support lib, signal this whenever we
14903 add to the buffers list. This will allow tests to not busy-wait on
14906 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14908 * libs/gst/dataprotocol/dataprotocol.c:
14909 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14910 (gst_dp_packet_from_event):
14911 factor out some common header init code
14913 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14915 * docs/libs/gstreamer-libs-sections.txt:
14916 * docs/libs/tmpl/gstdataprotocol.sgml:
14917 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14918 * libs/gst/dataprotocol/dataprotocol.h:
14919 API: make gst_dp_crc() public
14921 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14923 * plugins/indexers/gstindexers.c: (plugin_init):
14924 conditionally register fileindexer (fixes #343598)
14926 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14928 * gst/gsttagsetter.h:
14929 Can't cast ifaces to a class
14931 * libs/gst/net/gstnetclientclock.h:
14932 * libs/gst/net/gstnettimeprovider.h:
14933 * plugins/elements/gstfakesink.h:
14934 * plugins/elements/gstfakesrc.h:
14935 * plugins/elements/gstfdsink.h:
14936 * plugins/elements/gstfdsrc.h:
14937 * plugins/elements/gstfilesink.h:
14938 * plugins/elements/gstfilesrc.h:
14939 * plugins/elements/gstidentity.h:
14940 * plugins/elements/gstqueue.h:
14941 * plugins/elements/gsttee.h:
14942 * plugins/indexers/gstfileindex.c:
14943 * plugins/indexers/gstmemindex.c:
14944 * tests/old/examples/plugins/example.h:
14945 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14947 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14949 * libs/gst/dataprotocol/dataprotocol.c:
14950 (gst_dp_header_from_buffer):
14951 make sure we zero the whole ABI-compatible area
14953 2006-06-01 Wim Taymans <wim@fluendo.com>
14955 Patch by: Alessandro Decina <alessandro at nnva dot org>
14957 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14958 Make sure the EOS flag is cleared from pads after a flush
14959 or stop. Fixes #343538.
14961 * tests/check/libs/collectpads.c: (GST_START_TEST),
14962 (gst_collect_pads_suite):
14963 Added test for collectpads reusage after EOS.
14965 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14968 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14969 * win32/common/libgstbase.def:
14970 export gst_collect_pads_set_flushing
14971 * win32/common/libgstreamer.def:
14972 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14973 gst_value_fraction_multiply
14974 * win32/vs6/gst_inspect.dsp:
14975 add a link to intl.lib
14977 2006-05-30 Wim Taymans <wim@fluendo.com>
14979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14980 (gst_collect_pads_chain):
14981 Handle the case where a pad is removed from the collection
14982 that could cause the other pads to become collectable.
14984 2006-05-30 Wim Taymans <wim@fluendo.com>
14986 * gst/gstelement.c:
14987 Clarify the use of _release_request_pad() and
14988 _get_request_pad() a bit better.
14990 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14991 (gst_adapter_take_buffer):
14992 Fix some doc and comment typos.
14994 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14996 * docs/gst/gstreamer-sections.txt:
14997 * docs/libs/gstreamer-libs-sections.txt:
14998 add declared symbols
15000 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
15002 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15003 Add debug that can be enabled using a #define at the top of the file,
15004 for dumping stats about how late/early we were when waking up from
15005 waiting on the clock.
15007 2006-05-30 Wim Taymans <wim@fluendo.com>
15009 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15010 When rebuilding the pad list, don't leak the previous list.
15012 2006-05-30 Wim Taymans <wim@fluendo.com>
15014 Patch by: Lutz Mueller <lutz at topfrose dot de>
15016 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15017 (gst_base_src_get_query_types), (gst_base_src_update_length):
15018 Publish supported query types.
15019 Update last_stop field in get_range mode so the position
15020 query works. Fixes #342321.
15022 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
15024 * docs/gst/gstreamer-sections.txt:
15025 * gst/gsttaglist.c: (_gst_tag_initialize):
15026 * gst/gsttaglist.h:
15027 API: add GST_TAG_PREVIEW_IMAGE (#343341).
15029 2006-05-30 Wim Taymans <wim@fluendo.com>
15031 Patch by: Alessandro Decina <alessandro at nnva dot org>
15033 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15034 Unlock mutex when removing an unknown pad.
15037 * tests/check/Makefile.am:
15038 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15039 (push_event), (setup), (teardown), (GST_START_TEST),
15040 (gst_collect_pads_suite), (main):
15041 Added collecpads check, disabled for now as check crashes for
15044 2006-05-29 Wim Taymans <wim@fluendo.com>
15046 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15047 Don't leak pads lists.
15049 2006-05-29 Wim Taymans <wim@fluendo.com>
15051 * docs/libs/gstreamer-libs-sections.txt:
15052 * libs/gst/base/gstcollectpads.c:
15053 (gst_collect_pads_set_flushing_unlocked),
15054 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15055 (gst_collect_pads_stop):
15056 * libs/gst/base/gstcollectpads.h:
15057 API: gst_collect_pads_set_flushing()
15058 Added api to set the pads to flushing, useful for seeking
15059 code in elements using collectpads.
15060 Clear segment when receiving a flush.
15062 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15064 * gst/gst.c: (add_path_func), (init_post):
15065 Don't scan registry paths passed via --gst-plugin-path immediately
15066 (will crash, because absolutely nothing is set up and no types are
15067 registered etc.); do this later in init_post(). Fixes #343057.
15069 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15071 * gst/gst.c: (init_post):
15072 if we have fork, fork while reading/rebuilding the registry
15073 so the parent doesn't take the hit of having all plugins loaded
15074 in memory. Fixes #342777.
15076 Check if we have fork()
15077 * win32/common/config.h.in:
15080 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15082 * plugins/elements/gstelements.c:
15083 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15084 (gst_file_src_init), (gst_file_src_set_property),
15085 (gst_file_src_get_property), (gst_file_src_start):
15086 * plugins/elements/gstfilesrc.h:
15087 API: GstFileSrc::use-mmap
15089 Add a use-mmap property to enable easier testing of all code paths.
15090 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15091 in the absence of gnomevfssrc. (Closes #340501)
15093 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15095 * tools/gst-inspect.c:
15096 Add missing include, removes warning of ngettext not being defined on
15099 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15101 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15102 Handle NULL input and output pointers silently as a failed conversion,
15103 rather than g_warnings.
15105 2006-05-25 Wim Taymans <wim@fluendo.com>
15107 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15108 Initialize variable before using. Fixes #342820.
15110 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15112 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15113 Fix off-by-one bug that would only allow peeks of N-1 bytes
15114 from the start even if the buffer to typefind on contains
15115 in fact N bytes of data (makes vorbis typefinding from a
15116 vorbis identification header buffer work).
15118 * tests/check/Makefile.am:
15119 * tests/check/libs/.cvsignore:
15120 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15121 (gst_typefindhelper_suite), (main), (foobar_typefind),
15123 Add very basic unit test for gst_type_find_helper_for_buffer()
15124 that checks for the problem fixed above.
15126 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15128 * tools/gst-inspect.c: (print_interfaces),
15129 (print_element_properties_info), (print_element_list), (main):
15130 add more translatable strings
15132 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15134 Patch by: Julien Moutte <julien at moutte net>
15136 * docs/gst/gstreamer-sections.txt:
15137 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15139 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15140 (gst_fake_sink_preroll):
15141 * plugins/elements/gstfakesink.h:
15142 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15144 2006-05-23 Wim Taymans <wim@fluendo.com>
15146 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15148 Added _CUSTOM error and success GstFlowReturn that can be
15149 used be elements internally.
15150 Added macro to check for SUCCESS flowreturns.
15151 API: GST_FLOW_CUSTOM_SUCCESS
15152 API: GST_FLOW_CUSTOM_ERROR
15153 API: GST_FLOW_IS_SUCCESS
15155 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15156 Added check for GstFlowReturn sanity.
15158 2006-05-23 Wim Taymans <wim@fluendo.com>
15160 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15162 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15163 (gst_collect_pads_event):
15164 clear/reset segment info in FLUSH_STOP.
15167 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15170 (gst_collect_pads_check_collected):
15171 Flush queued buffer on _stop(), fixes playing again (#342454)
15173 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15175 * tests/check/gst/gststructure.c: (GST_START_TEST),
15176 (gst_structure_suite):
15177 add a test for a complete structure
15179 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15181 * docs/faq/developing.xml:
15182 * docs/faq/faq.xml:
15183 * docs/faq/troubleshooting.xml:
15184 * docs/faq/using.xml:
15185 Some minor FAQ updates that won't change the fact that
15186 our FAQ is badly structured, full of information hardly
15187 anyone new to GStreamer needs to know and lacking lots
15188 of information people constantly ask for.
15190 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15192 * gst/gstpad.c: (gst_pad_set_caps):
15193 Short-circuit gst_pad_set_caps if setting the existing
15194 caps pointer again, and avoid printing debug and
15195 reffing/unreffing the caps.
15197 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15198 There's actually no need to set the caps before pushing -
15199 the acceptcaps method will handle it anyway.
15201 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15203 * docs/gst/gstreamer-sections.txt:
15204 * win32/common/libgstreamer.def:
15205 * gst/gstutils.c: (gst_element_seek_simple):
15207 API: add gst_element_seek_simple() (#342238).
15209 2006-05-18 Edward Hervey <edward@fluendo.com>
15211 * gst/gsttypefind.c: (gst_type_find_get_type):
15212 * gst/gsttypefind.h:
15213 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15214 registered for GstTypeFind pointers. This allows wrapping the structure
15215 in bindings (i.e. gst-python).
15217 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15219 * gst/gsttagsetter.c:
15220 Docs additions and fixes (see #339918).
15222 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15224 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15225 The caps intersection algorithm can produce multiple copies of the
15226 caps. Until that is fixed, we need to simplify the result to be
15227 sure whether the allowed caps are fixed or not.
15229 * plugins/elements/gstqueue.c: (gst_queue_init),
15230 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15231 (gst_queue_push_one):
15232 Proxied buffer alloc should not set the caps on the source pad.
15233 When pushing buffers, we always accept the caps change that triggers.
15234 This prevents negotiation errors caused by caps changing mid-stream
15235 and then being refused on our source pad (because upstream is now
15236 refusing those caps).
15238 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15240 * tests/examples/helloworld/helloworld.c: (main):
15241 Must plug audioconvert and audioresample between decoder
15244 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15246 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15247 (load_feature), (load_plugin):
15248 Allow empty strings for some of the plugin fields so we don't
15249 drop valid plugin entries that were written out correctly
15252 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15254 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15255 Use g_remove and g_rename instead of remove and rename that don't
15256 handle utf8 characters. rename was failing for users who had specific
15257 characters in their name then the registry was built at each
15259 * win32/vs6/gst_inspect.dsp:
15260 * win32/vs6/gst_launch.dsp:
15261 * win32/vs6/libgstbase.dsp:
15262 * win32/vs6/libgstcoreelements.dsp:
15263 * win32/vs6/libgstreamer.dsp:
15264 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15265 build of libgstreamer and clean unused libraries in projects link
15268 2006-05-17 Edward Hervey <edward@fluendo.com>
15270 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15271 The queue is not responsible for pushing an EOS when receiving a fatal
15272 flow error. It's up to the real element driving the pipeline to do that.
15274 2006-05-16 Edward Hervey <edward@fluendo.com>
15276 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15277 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15278 buffer returned a fatal error. It should just send an EOS and stop
15280 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15281 when pushing buffers on the queue and will be able to handle the event.
15283 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15285 * docs/manual/basics-bins.xml:
15286 * docs/manual/basics-init.xml:
15287 Fix typos and minor errors in sample code (#341856).
15289 2006-05-16 Wim Taymans <wim@fluendo.com>
15291 * docs/design/part-qos.txt:
15292 Fix indexes in formulas to make more sense.
15294 2006-05-15 Wim Taymans <wim@fluendo.com>
15296 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15297 Don't report POSITION based on clock time if sync is
15298 disabled in a sink.
15300 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15303 Add cast to make compiler happy - refcount variable was a gint
15304 in GstObject but is a guint in GObject and g_atomic_int_get()
15307 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15309 * gst/parse/Makefile.am:
15310 chain commands using &&, which also makes parallel make work
15312 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15314 * docs/gst/gstreamer-sections.txt:
15317 * gst/gstmessage.h:
15320 === release 0.10.6 ===
15322 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15325 releasing 0.10.6, "Take the cannoli"
15327 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15329 * tools/gst-launch.c: (print_tag):
15330 Fix use of uninitialized variable in the hypothetical
15331 case that some broken plugin creates a GST_TAG_IMAGE
15332 tag containing a NULL buffer (#341667).
15334 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15336 * tools/gst-launch.c: (print_tag):
15337 Print something more intelligible for image tags when
15338 using the -t switch (#341556).
15340 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15345 define GST_MAJORMINOR so we have it available in win32/common/config.h
15346 Possibly remove it from our Makefile.am files later
15347 * win32/common/config.h:
15348 * win32/common/config.h.in:
15349 added GST_MAJORMINOR
15350 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15351 * win32/common/gstversion.h:
15354 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15357 Update win32 files listing.
15358 * win32/common/gstversion.h:
15359 Add GST_MAJORMINOR definition.
15360 * win32/common/libgstreamer.def:
15361 Add new exported functions.
15363 2006-05-12 Michael Smith <msmith@fluendo.com>
15365 * gst/gstplugin.c: (gst_plugin_load_file):
15366 If an so file has no plugin entry point, unload the module.
15368 2006-05-11 Wim Taymans <wim@fluendo.com>
15370 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15371 (gst_queue_set_property):
15372 Don't forget to signal the _chain or _loop function
15373 when the queue size or thresholds change since that might
15374 cause them to make progres again.
15376 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15378 * gst/gstclock.c: (gst_clock_class_init):
15379 * gst/gstindex.c: (gst_index_class_init):
15380 * gst/gstobject.c: (gst_object_class_init):
15381 * gst/gstpad.c: (gst_pad_class_init):
15382 * gst/gstpipeline.c: (gst_pipeline_class_init):
15383 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15384 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15385 * libs/gst/base/gstbasetransform.c:
15386 (gst_base_transform_class_init):
15387 * libs/gst/net/gstnetclientclock.c:
15388 (gst_net_client_clock_class_init):
15389 * libs/gst/net/gstnettimeprovider.c:
15390 (gst_net_time_provider_class_init):
15391 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15392 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15393 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15394 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15395 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15396 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15397 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15398 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15399 * plugins/elements/gsttee.c: (gst_tee_class_init):
15400 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15401 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15402 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15404 2006-05-11 Wim Taymans <wim@fluendo.com>
15406 * gst/gstbuffer.c: (_gst_buffer_initialize):
15407 Register subbufer along with the buffer type so that
15408 it does not accidentally gets registered from N
15409 different streaming threads in a non threadsafe way.
15411 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15415 * gst/gstmessage.h:
15416 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15417 gst_event_ref() and gst_message_ref() functions again
15418 (ugly hack, please do fix if there's a better way besides
15419 overrides.txt, which doesn't seem to work).
15421 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15423 * libs/gst/check/gstcheck.h:
15424 add an assert for setting state to avoid lots of repetitive code
15427 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15429 * gst/gstvalue.c: (gst_value_serialize_flags):
15430 fix a leak if no flags are set
15431 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15434 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15436 * docs/manual/basics-pads.xml:
15437 Expand a bit on caps and filtered links and update
15438 examples that were still using the no longer existing
15439 gst_pad_link_filtered() (#338206).
15441 2006-05-10 Wim Taymans <wim@fluendo.com>
15443 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15444 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15445 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15446 (gst_collect_pads_stop):
15447 * libs/gst/base/gstcollectpads.h:
15448 No need to call _stop in _finalize.
15449 Iterate the main pad list in _finalize.
15450 Added some more debug.
15451 Free lists and data in the right order.
15452 Also free data whem doing _remove_pad when stopped for
15453 backward compatibility protect ::started with PAD_LOCK as
15456 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15458 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15459 (gst_structure_parse_value):
15461 rename a method so that it actually says what it does better
15463 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15465 * gst/gstevent.c: (_gst_event_initialize):
15466 * gst/gstformat.c: (_gst_format_initialize):
15467 make sure some essential types used by events are registered
15468 as part of gst_init()
15469 * gst/gstvalue.c: (gst_value_serialize_flags):
15470 if no flags are set, serialize them to a value that represents NONE
15471 so that deserializing them works
15472 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15473 add tests for serialization and deserialization of flags
15475 2006-05-10 Wim Taymans <wim@fluendo.com>
15477 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15478 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15479 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15480 (gst_collect_pads_event), (gst_collect_pads_chain):
15483 Catch and return errors from the collect function
15484 Refuse data on eos pads.
15486 2006-05-10 Edward Hervey <edward@fluendo.com>
15488 * gst/gstinterface.h:
15489 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15490 GInterface type checking.
15491 They were previously using non-defined macros.
15493 2006-05-09 Wim Taymans <wim@fluendo.com>
15495 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15496 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15497 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15498 (gst_collect_pads_start), (gst_collect_pads_stop),
15499 (gst_collect_pads_peek), (gst_collect_pads_pop),
15500 (gst_collect_pads_available), (gst_collect_pads_read),
15501 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15502 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15503 (gst_collect_pads_chain):
15504 * libs/gst/base/gstcollectpads.h:
15505 Clean up the mess that is collectpads, add comments and
15506 FIXMEs where needed.
15507 Maintain a separate pad list so we can add pads while
15508 collecting the other ones. For this we need a new separate
15510 Fix memory leak in finalize.
15511 Refactor some weird code to set/unset pad flushing flags, mark
15513 Don't crash in _available, _read, _flush when we're EOS.
15515 * tests/check/libs/.cvsignore:
15516 Ignore adapter check binary.
15518 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15520 * gst/gstindex.c: (gst_index_resolver_get_type):
15521 * plugins/elements/gstfakesink.c:
15522 (gst_fake_sink_state_error_get_type):
15523 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15524 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15525 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15526 Const-ify GEnumValue arrays.
15528 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15530 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15531 Add test case for flags + gst_buffer_make_metadata_writable().
15533 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15535 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15536 gst_buffer_make_metadata_writable() should maintain the
15537 buffer flags (those that make sense at least) (see #340859).
15539 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15541 * tools/gst-inspect.c:
15542 * tools/gst-launch.c:
15543 * tools/gst-typefind.c:
15544 * tools/gst-xmlinspect.c:
15546 Fix up includes: need to include stdlib.h in tools.h for exit().
15548 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15550 * gst/gsttaglist.c: (_gst_tag_initialize):
15551 * gst/gsttaglist.h:
15552 API: add GST_TAG_IMAGE tag (#340721).
15554 2006-05-08 Wim Taymans <wim@fluendo.com>
15557 Added some docs for the segment query.
15559 2006-05-08 Wim Taymans <wim@fluendo.com>
15561 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15562 (gst_base_src_loop), (gst_base_src_change_state):
15563 Always push non-flushing serialized events in the streaming
15566 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15568 * gst/gsterror.c: (_gst_stream_errors_init):
15569 Add a missing error string.
15571 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15573 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15574 Add applied_rate to the debug
15576 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15577 Copy applied_rate into the outgoing NEWSEGMENT event
15579 2006-05-08 Wim Taymans <wim@fluendo.com>
15581 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15583 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15584 (gst_base_sink_change_state):
15585 call ::unlock before taking the PREROLL_LOCK so we can safely
15586 handle elements that lock in ::render.
15589 2006-05-08 Edward Hervey <edward@fluendo.com>
15591 * autogen.sh: (CONFIGURE_DEF_OPT):
15592 Darwin's libtoolize is in fact called glibtoolize.
15593 Adding glibtoolize to the list of accepted names for libtoolize.
15595 2006-05-08 Wim Taymans <wim@fluendo.com>
15597 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15598 Unify error handling, don't post an error message
15599 when a push() returns EOS but perform our normal EOS
15600 handling code. Fixes #340772.
15602 2006-05-08 Wim Taymans <wim@fluendo.com>
15604 * docs/design/part-overview.txt:
15605 Make upsteam/downstream concepts more clear.
15606 Give an example of serialized/non-serialized events.
15608 * docs/design/part-events.txt:
15609 * docs/design/part-streams.txt:
15610 Mention applied_rate.
15612 * docs/design/part-trickmodes.txt:
15613 Mention applied rate, flesh out some more use cases.
15615 * gst/gstevent.c: (gst_event_new_new_segment),
15616 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15617 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15618 (gst_event_parse_tag), (gst_event_new_buffer_size),
15619 (gst_event_parse_buffer_size), (gst_event_new_qos),
15620 (gst_event_parse_qos), (gst_event_parse_seek),
15621 (gst_event_new_navigation):
15623 Add applied_rate field to NEWSEGMENT event.
15624 API: gst_event_new_new_segment_full()
15625 API: gst_event_parse_new_segment_full()
15627 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15628 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15629 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15630 * gst/gstsegment.h:
15631 Add applied_rate to GstSegment structure.
15632 Make calculation of stream_time and running_time more correct
15633 wrt rate/applied_rate.
15634 Add some more docs.
15635 API: GstSegment::applied_rate field
15636 API: gst_segment_set_newsegment_full();
15638 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15639 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15640 * libs/gst/base/gstbasetransform.c:
15641 (gst_base_transform_sink_eventfunc),
15642 (gst_base_transform_handle_buffer):
15643 Parse and use applied_rate in the GstSegment field.
15645 * tests/check/gst/gstevent.c: (GST_START_TEST):
15646 Add check for applied_rate field.
15648 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15649 (gstsegments_suite):
15650 Add more checks for various GstSegment operations.
15652 2006-05-08 Wim Taymans <wim@fluendo.com>
15654 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15655 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15656 (gst_base_sink_get_position), (gst_base_sink_change_state):
15657 Store the sync time of the buffer end position separatly in a
15658 new variable eos_rtime so we can properly sync the EOS event.
15660 Fix the docs for gst_base_sink_set_qos_enabled().
15661 Don't set segment start to invalid value when we receive a
15662 non TIME newsegment.
15663 get closer to handling position reporting for negative rates
15666 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15669 Docs about how to print caps for debug purposes.
15671 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15672 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15674 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15676 * gst/gstelement.c:
15677 use full enum names and preprend a '%' in docs strings to make recent
15678 gtk-doc turn that into a link
15680 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15682 * docs/manual/basics-bins.xml:
15683 * docs/manual/basics-bus.xml:
15684 * docs/manual/basics-pads.xml:
15685 Some typo fixes, some additions, some clarifications.
15687 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15689 * tools/gst-inspect.c: (main):
15690 * tools/gst-launch.c: (main):
15691 * tools/gst-run.c: (main):
15692 * tools/gst-typefind.c: (main):
15693 * tools/gst-xmlinspect.c: (main):
15694 Use the string passed to g_option_context_new() for
15695 what it's intended for - the program name is already
15698 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15700 * tools/Makefile.am:
15701 * tools/gst-inspect.c: (main):
15702 * tools/gst-launch.c: (main):
15703 * tools/gst-xmlinspect.c: (main):
15705 Add back --version command line option (#340460).
15707 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15708 Add --version option and use GOption for argument parsing; refactor a
15709 bit; accept directories as arguments and recurse into them; lastly,
15710 print a decent error message when things go wrong.
15712 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15714 * docs/manual/basics-bins.xml:
15715 Don't mention GstThread (#340611)
15716 * docs/manual/basics-elements.xml:
15717 Update link to GObject tutorial (#340607)
15719 2006-05-05 Wim Taymans <wim@fluendo.com>
15722 * gst/gstminiobject.c:
15723 Add note about refcounting and miniobject/buffer writeability
15724 to docs. Fixes #340604
15726 * gst/gstelementfactory.h:
15727 Added some explanation about @klass.
15729 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15731 * docs/manual/intro-motivation.xml:
15732 * docs/manual/manual.xml:
15733 Avoid CORBA & Bonobo references (#340598)
15735 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15737 * docs/manual/basics-bus.xml:
15738 * docs/manual/basics-pads.xml:
15739 Fix up some inaccuracies and omissions (#340609)
15741 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15743 * gst/gstghostpad.c:
15744 Small typo in docs (#340625)
15746 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15748 * gst/parse/Makefile.am:
15749 Make 'make -j' proof (see #340698).
15751 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15754 Require GLib-2.8 here as well.
15756 2006-05-05 Wim Taymans <wim@fluendo.com>
15758 * gst/glib-compat.c:
15759 * gst/gst.c: (init_pre):
15760 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15761 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15762 (gst_object_dispatch_properties_changed):
15764 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15765 * gst/gststructure.c: (gst_structure_set_valist):
15766 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15767 Remove pre glib2.8 compatibility, fixes #340508
15769 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15771 * gst/gsttaglist.h:
15772 Mention type of tags in doc blurbs.
15774 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15776 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15777 (gst_pad_configure_src), (gst_pad_push):
15778 Restore acceptcaps checking behaviour now that good plugins have
15781 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15783 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15790 * gst/gstmessage.c:
15794 * gst/parse/Makefile.am:
15795 * libs/gst/base/gstadapter.c:
15796 * libs/gst/base/gstbasesrc.c:
15797 * libs/gst/base/gstpushsrc.c:
15798 * libs/gst/base/gsttypefindhelper.c:
15799 * plugins/elements/gstfakesrc.c:
15800 * plugins/elements/gstidentity.c:
15801 Make sure gstprivate.h and/or config.h are
15802 always included first, otherwise some of our
15803 defines (like _FILE_OFFSET_BITS) might be
15804 redefined in the system headers. Fixes build
15805 on opensolaris (#340016).
15807 2006-05-04 Wim Taymans <wim@fluendo.com>
15809 * docs/libs/gstreamer-libs-sections.txt:
15810 API: addition: gst_adapter_take_buffer()
15812 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15813 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15814 (gst_adapter_available_fast):
15815 * libs/gst/base/gstadapter.h:
15816 Prepare for optimizing the hell out of this hugely inefficient
15818 Added gst_adapter_take_buffer() so we can at least start thinking
15819 about subbuffering and merging.
15820 Added some comments.
15822 * tests/check/Makefile.am:
15823 * tests/check/libs/adapter.c: (GST_START_TEST),
15824 (gst_adapter_suite), (main):
15825 Added GstAdapter check.
15827 2006-05-04 Wim Taymans <wim@fluendo.com>
15829 * docs/design/part-overview.txt:
15830 Fix some typos, add blurb about buffer flags.
15832 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15834 * docs/libs/gstreamer-libs-sections.txt:
15835 make sure GstBaseTransformClass shows up in the docs
15836 * libs/gst/base/gstbasetransform.c:
15837 * libs/gst/base/gstbasetransform.h:
15838 move docs so gtk-doc picks it up now
15840 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15842 * docs/libs/gstreamer-libs-sections.txt:
15843 add missing symbols to docs
15845 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15847 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15848 back out the newsegment handling change, see #340060 for ongoing
15851 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15853 * tools/gst-run.c: (get_candidates), (main):
15854 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15855 work); fix typo in error message. Fixes #340079.
15857 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15859 * common/Makefile.am:
15860 * docs/Makefile.am:
15861 * docs/faq/Makefile.am:
15862 * docs/gst/Makefile.am:
15863 * docs/libs/Makefile.am:
15864 * docs/manual/Makefile.am:
15865 * docs/plugins/Makefile.am:
15866 * docs/pwg/Makefile.am:
15867 * docs/slides/Makefile.am:
15869 * common/upload.mak:
15870 move upload.mak to common
15872 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15874 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15875 add more asserts on refcounts
15876 do more cleanup at end of tests
15877 fix test leaks showing in FC5
15879 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15881 * plugins/elements/gsttypefindelement.c:
15882 (gst_type_find_element_handle_event):
15883 reverted wrong change and reflowed code to avoid others falling into
15886 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15888 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15889 fix changelog entry about last collectpads change,
15890 add notes about proper fix
15892 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15895 * gst/gstregistry.c: (gst_registry_scan_path_level),
15896 (gst_registry_scan_path):
15897 * gst/gstregistry.h:
15898 only write out registry if it has changed, fixes #338339
15900 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15903 * gst/gstpipeline.c:
15904 * plugins/elements/gstcapsfilter.c:
15905 * plugins/elements/gstfakesink.c:
15906 * plugins/elements/gstfakesrc.c:
15907 * plugins/elements/gstfdsink.c:
15908 * plugins/elements/gstfdsrc.c:
15909 * plugins/elements/gstfilesink.c:
15910 * plugins/elements/gstfilesrc.c:
15911 * plugins/elements/gstidentity.c:
15912 * plugins/elements/gstqueue.c:
15913 * plugins/elements/gsttee.c:
15914 * plugins/elements/gsttypefindelement.c:
15915 (gst_type_find_element_handle_event):
15916 make GstElementDetails const
15918 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15920 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15921 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15922 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15923 more detailed debug and formatting cleanup,
15924 forward newsegments to src-pad (so that e.g. adder not eats them)
15926 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15928 * gst/gstutils.c: (gst_element_link_pads):
15929 cleanup double code
15931 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15933 * libs/gst/controller/gstcontroller.c:
15934 (gst_controller_sync_values):
15936 * tests/check/libs/controller.c: (GST_START_TEST),
15937 (gst_controller_suite):
15938 a new test for live value handling
15940 2006-04-28 Wim Taymans <wim@fluendo.com>
15942 * gst/gstutils.c: (push_and_ref):
15943 Added some more docs.
15944 Fix refcount issue whith gst_element_found_tags() helper
15945 function. Fixes #338335
15947 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15948 Added testsuite for gst_element_found_tags().
15950 2006-04-28 Michael Smith <msmith@fluendo.com>
15952 * gst/gstvalue.c: (gst_value_serialize_flags):
15953 Avoid NULL dereference when trying to serialize flags containing
15956 2006-04-28 Michael Smith <msmith@fluendo.com>
15958 * plugins/elements/gsttypefindelement.c:
15959 (gst_type_find_element_handle_event):
15960 If we get EOS before any data is accumulated, don't use
15961 uninitialised local variables.
15963 2006-04-28 Michael Smith <msmith@fluendo.com>
15965 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15966 (gst_dp_event_from_packet):
15967 Fixes in reading/writing events over GDP (not currently used?) -
15968 dereferencing NULL events for unknown/invalid event types, memory
15969 leak, and change g_warning to GST_WARNING.
15971 2006-04-28 Wim Taymans <wim@fluendo.com>
15973 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15974 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15975 (gst_base_sink_get_position), (gst_base_sink_change_state):
15976 When frame dropping is enabled, we should not ignore frames
15977 without a duration.
15978 Update some documentation.
15980 2006-04-28 Wim Taymans <wim@fluendo.com>
15982 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15983 (gst_base_src_send_event), (gst_base_src_change_state):
15984 Documentation updates.
15986 2006-04-28 Wim Taymans <wim@fluendo.com>
15988 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15989 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15990 handle EAGAIN, EINTR and short writes correctly. Also clean
15991 up some error cases, avoid a deadlock on bad file descriptors and
15992 use GST_DEBUG_OBJECT.
15995 2006-04-28 Wim Taymans <wim@fluendo.com>
15997 * gst/gstvalue.c: (gst_value_serialize_buffer),
15998 (gst_value_deserialize_buffer):
15999 Don't try to serialize a GValue with a NULL buffer.
16002 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16003 Added check for serialisation of NULL buffers.
16005 2006-04-28 Wim Taymans <wim@fluendo.com>
16007 * gst/gstminiobject.c: (gst_value_take_mini_object):
16008 Taking a NULL miniobject is valid, fix the case where
16009 we try to unref the NULL miniobject.
16011 2006-04-28 Wim Taymans <wim@fluendo.com>
16013 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16015 * gst/gstbin.c: (gst_bin_handle_message_func):
16017 Don't leak bin refcount when a state recalc is
16018 in progress and we delay another one #339808.
16020 2006-04-28 Wim Taymans <wim@fluendo.com>
16022 * docs/design/part-TODO.txt:
16023 Mention QoS as an ongoing work item.
16025 * docs/design/part-buffering.txt:
16026 New doc about buffering that needs to be fleshed out
16029 * docs/design/part-qos.txt:
16030 More QoS policy for decoders/demuxers/transforms
16032 * docs/design/part-trickmodes.txt:
16035 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16040 === release 0.10.5 ===
16042 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16045 releasing 0.10.5, "Fogo"
16047 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16049 patch by: Wim Taymans
16051 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16052 (gst_pad_configure_src), (gst_pad_push):
16053 * gst/gstpipeline.c: (gst_pipeline_init):
16054 Fix internal data flow errors. Fixes #338711.
16056 2006-04-12 Wim Taymans <wim@fluendo.com>
16058 * tests/check/gst/gstelement.c: (GST_START_TEST):
16059 Don't leak the factory.
16061 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16064 * win32/common/config.h:
16067 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16069 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16070 (gst_controller_unset_all):
16071 Free allocated GstTimedValues when freeing list nodes.
16072 Should fix leaks 'make check-valgrind' complains about.
16074 * win32/common/libgstcontroller.def:
16075 Add gst_controller_unset_all.
16077 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16079 * docs/libs/gstreamer-libs-sections.txt:
16080 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16081 (gst_controller_unset_all):
16082 * libs/gst/controller/gstcontroller.h:
16083 API: Added new method gst_controller_unset_all()
16084 fixed gst_controller_unset()
16085 * tests/check/libs/controller.c: (GST_START_TEST),
16086 (gst_controller_suite):
16087 Added two testcases for new and fixed method
16089 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16091 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16092 MSG_DONTWAIT is not defined on Cygwin, so work
16093 around that (fixes #317048).
16095 2006-04-11 Wim Taymans <wim@fluendo.com>
16097 * gst/gstelementfactory.c: (gst_element_register),
16098 (gst_element_factory_create), (gst_element_factory_make):
16101 Updated docs (Fixes #131079)
16103 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16106 * tests/check/gst/gstelement.c: (GST_START_TEST),
16107 (gst_element_suite):
16108 Added testcase for elementfactory class field.
16110 2006-04-10 Wim Taymans <wim@fluendo.com>
16112 * gst/gstsegment.c:
16113 Added some more docs.
16115 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16116 (gst_base_sink_reset_qos):
16117 Calculate more accurate rate values.
16119 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16121 * gst/gst_private.h:
16122 add a new #ifdef to use __declspec(dllimport) only for
16123 other modules and not for gstreamer core
16124 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16125 use gst_guint64_to_gdouble for conversion
16126 * win32/common/libgstreamer.def:
16127 add new exported functions
16128 * win32/vs6/gst_inspect.dsp:
16129 * win32/vs6/gst_launch.dsp:
16130 * win32/vs6/libgstbase.dsp:
16131 * win32/vs6/libgstcontroller.dsp:
16132 * win32/vs6/libgstcoreelements.dsp:
16133 * win32/vs6/libgstdataprotocol.dsp:
16134 * win32/vs6/libgstnet.dsp:
16135 update project files
16137 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16139 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16140 * gst/gstclock.c: (gst_clock_class_init):
16141 * gst/gstelement.c: (gst_element_class_init):
16142 * gst/gstindex.c: (gst_index_class_init):
16143 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16144 * gst/gstobject.c: (gst_object_class_init),
16145 (gst_signal_object_class_init):
16146 * gst/gstpad.c: (gst_pad_class_init):
16147 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16148 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16149 * gst/gstregistry.c: (gst_registry_class_init):
16150 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16151 * gst/gsttask.c: (gst_task_class_init):
16152 * gst/gstxml.c: (gst_xml_class_init):
16153 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16154 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16155 (gst_base_src_loop):
16156 * libs/gst/controller/gstcontroller.c:/
16157 (_gst_controller_class_init):
16158 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16159 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16160 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16161 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16162 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16163 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16165 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16167 * gst/gstpad.c: (gst_pad_link):
16168 Must set peer pads before calling the link function, otherwise
16169 a task started from a link function might get a flow-not-linked
16170 result when trying to push because the other thread where the
16171 linking happens hasn't had a chance to set the peers yet. This
16172 might happen for example when a queue gets linked to a downstream
16173 element, as queue starts a streaming task when its source pad
16174 gets linked. Happens in real life when playing back flac/musepack
16175 files in playbin (#332390).
16177 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16181 * libs/gst/base/gstadapter.h:
16182 * libs/gst/base/gstbasesink.h:
16183 * libs/gst/base/gstbasesrc.h:
16184 * libs/gst/base/gstbasetransform.h:
16185 * libs/gst/base/gstcollectpads.h:
16186 * libs/gst/base/gstpushsrc.h:
16187 Fix broken GObject macros
16189 2006-04-07 Wim Taymans <wim@fluendo.com>
16191 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16192 Initialize start and stop times, thanks valgrind.
16194 2006-04-07 Wim Taymans <wim@fluendo.com>
16196 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16197 Be a bit nicer to badly behaving upstream elements that expect
16198 us to deal with non TIME segments and timestamps (such as fakesrc
16201 2006-04-07 Wim Taymans <wim@fluendo.com>
16204 Small documentation clarification about the signal watch.
16206 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16207 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16208 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16209 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16210 (gst_base_sink_get_position_last),
16211 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16212 Convert and store timestamps in stream time and running time, the
16213 raw timestamps are not useful, also document this better.
16214 Use different window sizes for good and bad QoS observations so
16215 we react to badness a little quicker.
16216 Keep track of the amount of rendered and dropped buffers.
16217 Send QoS timestamps in running time.
16219 * libs/gst/base/gstbasetransform.c:
16220 (gst_base_transform_sink_eventfunc),
16221 (gst_base_transform_handle_buffer):
16222 Compare QoS timestamps against running time.
16224 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16227 Typo fixes in docs.
16229 2006-04-06 Michael Smith <msmith@fluendo.com>
16231 * gst/gstpad.c: (gst_pad_set_property):
16232 Use g_value_get_object() instead of g_value_dup_gst_object(),
16233 to avoid double-reffing the pad template (which we then sink,
16234 so this worked previously if (and only if) the pad template
16237 * gst/gstpadtemplate.c: (gst_pad_template_init),
16238 (gst_pad_template_pad_created):
16239 Never return floating references to pad templates, create
16240 them as initially-sunken.
16242 Document an extra function (and make this stop sinking our
16243 pad template, since that is now guaranteed to do nothing,
16244 since we created it sunken).
16246 * gst/gstghostpad.c:
16249 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16251 * gst/gstinfo.c: (__gst_in_valgrind):
16254 * plugins/elements/gsttypefindelement.c:
16255 (gst_type_find_element_chain):
16256 Don't leak buffer caps.
16258 2006-04-06 Michael Smith <msmith@fluendo.com>
16260 * gst/parse/grammar.y:
16261 Fix a leak in parse-launch for any source-or-sink named element
16264 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16265 Unref the pipeline if it exists after we've failed parsing.
16267 2006-04-05 Michael Smith <msmith@fluendo.com>
16269 * gst/gstpipeline.c: (gst_pipeline_init):
16270 When we create a pipeline bus, initially create it in flushing mode.
16271 Fixes leaks in at least one test, and makes a new pipeline work the
16272 same as one that has gone to READY and then back to NULL.
16274 * gst/gstelement.c:
16277 2006-04-05 Michael Smith <msmith@fluendo.com>
16279 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16280 Unref a pad we reffed.
16281 * tests/check/gst/gstutils.c: (GST_START_TEST):
16284 2006-04-05 Michael Smith <msmith@fluendo.com>
16286 * gst/gstquery.c: (gst_query_set_formats),
16287 (gst_query_set_formatsv):
16288 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16290 2006-04-05 Michael Smith <msmith@fluendo.com>
16292 * tests/check/generic/sinks.c: (GST_START_TEST):
16293 Fix a variety of memleaks in sinks check, which are only sometimes
16294 shown by running the tests under valgrind (weird?).
16296 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16298 * docs/version.entities.in:
16299 Fix the substituted entity name after thomas' changes on the
16302 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16304 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16307 2006-04-05 Andy Wingo <wingo@pobox.com>
16309 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16311 * libs/gst/base/gstbasetransform.c
16312 (gst_base_transform_sink_eventfunc): When resetting our segment on
16313 FLUSH_STOP, also update the flag saying we haven't seen a
16316 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16318 Patch by: Paolo Borelli <pborelli at katamail dot com>
16320 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16321 (gst_plugin_check_license):
16322 minor clean-ups: G_DEFINE_TYPE already takes care of the
16323 parent_class stuff, no need to do it twice. Mark array of
16324 license strings as constant. (#337103)
16326 2006-04-04 Michael Smith <msmith@fluendo.com>
16328 * tools/gst-inspect.c: (print_element_list):
16329 Free the right plugin list; fixes a memory leak.
16331 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16333 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16335 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16336 Don't error out on empty buffers (#336945).
16338 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16340 * docs/libs/gstreamer-libs-sections.txt:
16341 * gst/gsttaglist.c:
16342 * libs/gst/base/gstbasesink.c:
16343 * libs/gst/base/gstbasesink.h:
16344 * libs/gst/base/gstbasesrc.c:
16345 * libs/gst/base/gstbasesrc.h:
16346 Documentation updates. Make BaseSink and BaseSrc docs contain the
16347 class structure so that people can actually see the prototypes for
16348 virtual functions they're supposed to be overriding.
16350 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16352 * plugins/elements/gsttypefindelement.c:
16353 (gst_type_find_element_chain):
16354 More debug info; when skipping typefinding, send cached
16355 events in all cases.
16357 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16360 use new AS_VERSION and AS_NANO macros
16361 * gst/gst-i18n-lib.h:
16364 * gst/gstversion.h.in:
16365 * win32/common/config.h:
16366 * win32/common/config.h.in:
16369 2006-03-31 Michael Smith <msmith@fluendo.com>
16371 * plugins/elements/gsttypefindelement.c:
16372 (gst_type_find_element_chain):
16373 Do not typefind content if the buffers already have caps.
16374 Neccesary for icydemux (#333657), and the right thing to do anyway.
16376 2006-03-30 Wim Taymans <wim@fluendo.com>
16378 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16379 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16380 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16381 (gst_base_sink_record_qos_observation),
16382 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16383 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16384 (gst_base_sink_change_state):
16385 More QoS measurements as described in the design doc.
16386 Get rid of ringbuffer with observations, running average is
16387 more simple and equally good.
16388 Calculates valid proportion now.
16389 Added beginning of flood measurement.
16391 2006-03-29 Wim Taymans <wim@fluendo.com>
16393 * docs/design/part-qos.txt:
16395 Small documentation updates and additions.
16397 2006-03-29 Wim Taymans <wim@fluendo.com>
16399 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16400 (gst_base_src_send_event), (gst_base_src_loop),
16401 (gst_base_src_change_state):
16402 Perform the EOS logic when we reach the segment stop position.
16403 Fix compilation on gcc4.1
16405 2006-03-29 Wim Taymans <wim@fluendo.com>
16407 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16409 * plugins/elements/gstqueue.c: (gst_queue_init),
16410 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16411 (gst_queue_set_property):
16412 * plugins/elements/gstqueue.h:
16413 In queue, when EOS is received, if minimum threshold > max_size -
16414 current_level, there is chance that queue blocks forever in conditional
16415 item del wait. This is because the queue is not emptied completely due
16416 to minimum threshold. Here is another approach. Instead of setting
16417 cur_levels to max in EOS, just zero all minimum threshold levels. This
16418 should make sure that queue gives out all data. When going to READY
16419 (stop) state, just reset the original minimum threshold levels.
16422 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16424 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16425 (gst_type_find_element_handle_event),
16426 (gst_type_find_element_send_cached_events),
16427 (gst_type_find_element_change_state):
16428 * plugins/elements/gsttypefindelement.h:
16429 When typefinding is done in push mode, we should cache
16430 events we receive during typefinding instead of just
16431 dropping them (e.g. newsegment, custom events from
16432 dvdreadsrc etc.) and then send them out once we've
16433 determined the type of the stream (and decodebin
16434 has had a chance to plug in a decoder/demuxer).
16436 2006-03-27 Wim Taymans <wim@fluendo.com>
16438 * docs/design/part-qos.txt:
16441 2006-03-27 Wim Taymans <wim@fluendo.com>
16443 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16445 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16446 (gst_base_src_send_event), (gst_base_src_change_state):
16447 Handle element seek correctly when we are streaming.
16450 2006-03-24 Michael Smith <msmith@fluendo.com>
16452 * docs/faq/gst-uninstalled:
16453 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16454 allow you to correctly run intalled applications built against old
16455 core, using plugins that require updated core (e.g. running
16456 installed totem against a full uninstalled gstreamer stack)
16458 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16463 2006-03-24 Wim Taymans <wim@fluendo.com>
16465 * docs/gst/gstreamer-sections.txt:
16466 Rearrange the order of the methods so that related methods
16467 are grouped together in sections.
16469 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16471 * gst/gstelement.c:
16472 Little clarification in the docs
16474 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16478 * plugins/elements/gstidentity.c:
16479 * plugins/elements/gstqueue.c:
16480 * plugins/elements/gsttee.c:
16481 * plugins/elements/gsttypefindelement.c:
16482 GST_ELEMENT_DETAILS formatting
16484 2006-03-24 Wim Taymans <wim@fluendo.com>
16486 * libs/gst/base/gstbasesink.h:
16487 Only add fields, not insert or we break ABI.
16489 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16491 * win32/common/libgstbase.def:
16492 * win32/common/libgstreamer.def:
16493 Update, add recently added functions.
16495 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16497 * docs/gst/gstreamer-sections.txt:
16498 * gst/gstutils.c: (gst_pad_query_peer_position),
16499 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16501 API: add some new utility functions:
16502 - gst_pad_query_peer_position()
16503 - gst_pad_query_peer_duration()
16504 - gst_pad_query_peer_convert()
16506 2006-03-23 Wim Taymans <wim@fluendo.com>
16508 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16509 (gst_base_sink_init), (gst_base_sink_finalize),
16510 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16511 (gst_base_sink_set_property), (gst_base_sink_get_property),
16512 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16513 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16514 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16515 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16516 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16517 (gst_base_sink_preroll_object), (gst_base_sink_event),
16518 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16519 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16520 (gst_base_sink_query), (gst_base_sink_change_state):
16521 Decouple max-lateness and the fact that QoS messages are generated
16522 with a new property (qos).
16523 added API: GstBaseSink::async_play()
16524 Add vmethod so subclasses can be notified of ASYNC playing
16526 Collect timestamp start and stop to report better current
16527 position in EOS/PLAYING/PAUSED/READY/NULL.
16528 Refactor QoS/frame dropping and other measurements.
16529 API: GstBaseSrc::qos
16532 * libs/gst/base/gstbasesink.h:
16533 Added Private struct.
16534 API: gst_base_sink_set_qos_enabled()
16535 API: gst_base_sink_is_qos_enabled()
16537 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16539 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16540 If compiling against GLib-2.8 or newer, try to read the
16541 registry file using GMappedFile first before falling back
16542 to fopen() + fread() (#332151).
16544 2006-03-22 Wim Taymans <wim@fluendo.com>
16546 * gst/gstinfo.c: (gst_debug_set_active),
16547 (gst_debug_category_set_threshold):
16548 Disable debugging unless explicitly activated.
16551 2006-03-22 Wim Taymans <wim@fluendo.com>
16553 * gst/gstelement.c: (gst_element_set_locked_state),
16554 (gst_element_dispose):
16555 Cleanup the error case.
16557 * gst/gstobject.c: (gst_object_dispose):
16558 print a critical when some object was disposed with
16559 a parent, also revive the object since it might
16562 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16564 * tools/gst-launch.1.in:
16567 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16570 * tests/check/Makefile.am:
16571 disable some tests when we don't have a registry
16572 * tests/check/gst/gstutils.c: (gst_utils_suite):
16573 don't build the part that needs parsing
16575 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16578 * tests/examples/Makefile.am:
16579 fix --disable-parse build
16581 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16583 * tools/gst-feedback.1.in:
16584 Fix typo: s/feeback/feedback/ (#133494).
16586 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16588 * tools/Makefile.am:
16589 * tools/gst-launch.1.in:
16590 Add FILES section and correct entry about GST_REGISTRY_PATH
16591 environment variable (#133495; #133494).
16593 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16595 * tools/Makefile.am:
16596 * tools/gst-md5sum.1.in:
16597 * tools/gst-md5sum.c:
16598 Remove gst-md5sum and man page (the md5sink element
16599 required was removed ages ago)
16601 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16603 * gst/gststructure.c: (gst_structure_id_set_value):
16604 Make sure that string fields in structures/taglists
16605 contain valid UTF-8 - we don't want to pass rubbish to
16606 applications because of a buggy plugin (cp. #334167).
16608 2006-03-21 Edward Hervey <edward@fluendo.com>
16610 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16611 (gst_bin_handle_message_func):
16612 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16613 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16614 (gst_element_set_bus_func):
16615 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16616 * gst/gstminiobject.c: (gst_value_set_mini_object),
16617 (gst_value_take_mini_object):
16618 * gst/gstpad.c: (gst_pad_set_pad_template):
16619 * gst/gstpipeline.c: (gst_pipeline_dispose),
16620 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16621 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16622 (gst_collect_pads_chain):
16623 * libs/gst/net/gstnettimeprovider.c:
16624 (gst_net_time_provider_set_property):
16625 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16626 It's in fact all issues with gst_*object_replace().
16628 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16630 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16632 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16633 * pkgconfig/gstreamer-check.pc.in:
16634 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16636 2006-03-21 Edward Hervey <edward@fluendo.com>
16640 * gst/gstmessage.h:
16641 gst_[buffer|event|message]_ref() macros are replaced by a static
16642 inline functions because gcc-4.1 will about if the return value
16644 * tests/check/gst/gstevent.c: (event_probe):
16645 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16647 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16650 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16651 the type' case. (Closes: #335195 for now). In the future, when we
16652 depend on GLib 2.10, we could also intern the type name using
16653 g_intern_static_string()
16655 2006-03-20 Wim Taymans <wim@fluendo.com>
16657 * gst/gstbin.c: (gst_bin_handle_message_func),
16658 (bin_query_max_init), (bin_query_position_fold),
16659 (bin_query_position_done), (gst_bin_query):
16660 Position query should also take max of all streams.
16662 2006-03-20 Wim Taymans <wim@fluendo.com>
16664 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16665 (gst_fake_src_finalize):
16666 Fix leaks in fakesrc.
16668 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16669 Fix leaks in the testcase.
16671 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16673 * gst/gst_private.h:
16674 add win32 specific import decoration(__declspec(dllimport))
16675 for all extern GstDebugCategory * variables
16676 * win32/common/libgstbase.def:
16677 * win32/common/libgstcontroller.def:
16678 * win32/common/libgstreamer.def:
16679 Add some exports, remove empty lines
16680 * win32/common/libgstdataprotocol.def:
16681 * win32/common/libgstdataprotocol.dsp:
16682 * win32/common/libgstnet.def:
16683 * win32/common/libgstnet.dsp:
16684 new project files and exportation files added
16686 2006-03-19 Wim Taymans <wim@fluendo.com>
16688 * tests/check/libs/basesrc.c: (eos_event_counter):
16689 Use proper return value for probe.
16691 2006-03-17 Wim Taymans <wim@fluendo.com>
16693 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16695 Don't leak buffers, caps and pads on negotiation errors.
16697 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16699 * docs/faq/cvs.xml:
16700 * docs/faq/dependencies.xml:
16701 * docs/faq/developing.xml:
16702 * docs/faq/faq.xml:
16703 * docs/faq/general.xml:
16704 * docs/faq/getting.xml:
16705 * docs/faq/legal.xml:
16706 * docs/faq/troubleshooting.xml:
16707 * docs/faq/using.xml:
16708 Faq review and update.
16710 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16712 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16714 Don't pound the cpu to pieces by checking get_caps when accept_caps
16715 is called with the same caps as the pad already has.
16716 Use GST_DEBUG_OBJECT when outputting caps change information.
16718 2006-03-15 Wim Taymans <wim@fluendo.com>
16720 * gst/gstclock.c: (gst_clock_class_init):
16723 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16728 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16729 (gst_pad_accept_caps), (gst_pad_configure_sink),
16730 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16731 Make the default acceptcaps behaviour be to check the requested
16732 caps against the gst_pad_get_caps output.
16734 Ensure that gst_pad_accept_caps is used to check caps when a pad
16735 doesn't have a setcaps function, so that pads automatically refuse
16736 caps that they don't allow in their pad template. (Fixes #332986)
16738 When a buffer with attached caps is pushed, ensure that the source
16739 pad receives those caps even if the element didn't call
16740 gst_pad_set_caps first.
16742 2006-03-15 Wim Taymans <wim@fluendo.com>
16744 * libs/gst/base/gstadapter.c:
16747 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16749 * win32/common/libgstbase.def:
16750 * win32/common/libgstcontroller.def:
16751 * win32/common/libgstreamer.def:
16752 Add a whole bunch of missing functions (#334434).
16754 2006-03-14 Wim Taymans <wim@fluendo.com>
16756 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16757 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16758 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16759 Better debug info when we receive a segment event.
16760 Reorganize a bit so we can pass the get_times() results around.
16761 Use the segment format when calculating the running time.
16762 Don't do QoS is sync is disabled or we have no clock or the
16763 element does not want us to sync to the clock.
16764 Don't drop buffers if QoS is disabled for now.
16766 2006-03-14 Wim Taymans <wim@fluendo.com>
16768 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16769 Marked the stats property as unimplemented so people don't get
16771 Add debug message when regression goes wrong.
16772 Added some more docs.
16774 2006-03-14 Wim Taymans <wim@fluendo.com>
16776 * gst/gstsegment.c: (gst_segment_to_stream_time):
16777 Return correct return type in case of errors.
16779 2006-03-14 Wim Taymans <wim@fluendo.com>
16781 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16782 Don't segfault on invalid formats.
16784 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16786 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16787 Can't use gst_segment_to_running_time() when the segment
16788 is not in GST_TIME_FORMAT (like with filesink, for example).
16789 Stops flac encoding pipelines from spewing critical warnings
16792 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16794 * gst/gstpipeline.c: (gst_pipeline_class_init):
16795 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16797 * plugins/elements/gsttypefindelement.c:
16798 (gst_type_find_element_handle_event):
16799 Don't try to typefind empty streams.
16801 2006-03-14 Wim Taymans <wim@fluendo.com>
16803 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16804 (gst_base_sink_do_qos):
16805 Separate QoS calculation.
16806 Only drop buffers when lateness is bigger than the
16807 duration of the buffer.
16809 2006-03-13 Wim Taymans <wim@fluendo.com>
16811 * gst/gstpipeline.c: (gst_pipeline_set_property),
16812 (gst_pipeline_get_property), (do_pipeline_seek),
16813 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16814 (gst_pipeline_get_delay):
16815 Don't deadlock when reading properties.
16817 2006-03-13 Wim Taymans <wim@fluendo.com>
16819 * libs/gst/base/gstbasetransform.c:
16820 (gst_base_transform_class_init), (gst_base_transform_init),
16821 (gst_base_transform_sink_event),
16822 (gst_base_transform_sink_eventfunc),
16823 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16824 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16825 (gst_base_transform_set_property),
16826 (gst_base_transform_get_property),
16827 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16828 (gst_base_transform_set_qos_enabled),
16829 (gst_base_transform_is_qos_enabled):
16830 * libs/gst/base/gstbasetransform.h:
16831 Make basetransform virtual method for src events too.
16832 Handle QOS in basetransform.
16833 API: gst_base_transform_update_qos()
16834 API: gst_base_transform_set_qos_enabled()
16835 API: gst_base_transform_is_qos_enabled()
16837 2006-03-13 Wim Taymans <wim@fluendo.com>
16839 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16840 (gst_base_sink_do_sync):
16842 Use QOS debug category.
16844 2006-03-13 Wim Taymans <wim@fluendo.com>
16846 * plugins/elements/gstqueue.c:
16847 Very small doc update.
16849 2006-03-13 Wim Taymans <wim@fluendo.com>
16851 * gst/gst_private.h:
16852 * gst/gstinfo.c: (_gst_debug_init):
16853 Added QOS debug category
16855 2006-03-13 Wim Taymans <wim@fluendo.com>
16857 * docs/gst/gstreamer-sections.txt:
16858 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16860 * gst/gstbus.c: (gst_bus_class_init):
16863 * gst/gstelement.c: (gst_element_set_locked_state):
16864 * gst/gstsegment.c:
16865 Documentation updates.
16867 * gst/gstpipeline.c: (gst_pipeline_get_type),
16868 (gst_pipeline_class_init), (gst_pipeline_init),
16869 (gst_pipeline_dispose), (gst_pipeline_set_property),
16870 (gst_pipeline_get_property), (do_pipeline_seek),
16871 (gst_pipeline_send_event), (gst_pipeline_change_state),
16872 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16873 (gst_pipeline_get_delay):
16874 * gst/gstpipeline.h:
16875 Added methods for setting the delay.
16876 API: gst_pipeline_set_delay()
16877 API: gst_pipeline_get_delay()
16878 Add pipeline debug category
16881 Don't reset stream time when seek failed.
16883 2006-03-13 Wim Taymans <wim@fluendo.com>
16885 * docs/design/draft-klass.txt:
16886 * docs/design/part-clocks.txt:
16887 * docs/design/part-events.txt:
16888 * docs/design/part-gstbin.txt:
16889 * docs/design/part-gstpipeline.txt:
16890 * docs/design/part-messages.txt:
16891 * docs/design/part-negotiation.txt:
16892 * docs/design/part-overview.txt:
16893 * docs/design/part-preroll.txt:
16894 * docs/design/part-seeking.txt:
16895 * docs/design/part-states.txt:
16896 * docs/design/part-streams.txt:
16897 Documentation updates.
16899 2006-03-12 Julien MOUTTE <julien@moutte.net>
16901 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16902 us to leak strings...
16904 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16906 * libs/gst/net/gstnettimeprovider.c:
16908 * win32/common/config.h:
16911 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16913 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16916 Don't check for libgnomeui (leftover from old examples
16917 that aren't built or disted any longer) (#334303).
16919 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16921 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16922 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16923 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16924 there's no space left on the device.
16926 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16929 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16930 to cast the input to GstClockTime before comparing with
16931 another GstClockTime value.
16933 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16938 === release 0.10.4 ===
16940 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16943 releasing 0.10.4, "Light"
16945 2006-03-10 Michael Smith <msmith@fluendo.com>
16947 * libs/gst/dataprotocol/dataprotocol.c:
16948 Fix docs for dataprocotol to not get the return types completely
16949 wrong for a few functions.
16951 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16953 * docs/gst/gstreamer-sections.txt:
16954 * gst/gstpipeline.c: (gst_pipeline_class_init),
16955 (gst_pipeline_init), (gst_pipeline_set_property),
16956 (gst_pipeline_get_property), (gst_pipeline_change_state),
16957 (gst_pipeline_set_auto_flush_bus),
16958 (gst_pipeline_get_auto_flush_bus):
16959 * gst/gstpipeline.h:
16960 Add new API: gst_pipeline_set_auto_flush_bus() and
16961 gst_pipeline_get_auto_flush_bus() to disable automatic
16962 flushing of the pipeline's GstBus when going from READY
16963 to NULL state (#332045).
16965 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16967 * docs/gst/gstreamer-sections.txt:
16968 * gst/gsturi.c: (gst_uri_has_protocol):
16970 Add new API: gst_uri_has_protocol() (#333779).
16972 2006-03-09 Wim Taymans <wim@fluendo.com>
16974 * gst/gstclock.c: (gst_clock_entry_new),
16975 (gst_clock_id_compare_func), (gst_clock_id_wait),
16976 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16977 (gst_clock_init), (gst_clock_get_internal_time),
16978 (gst_clock_set_master), (do_linear_regression),
16979 (gst_clock_add_observation), (gst_clock_set_property):
16983 Fix a possible segfault when the window-size is made smaller.
16984 Calculate jitter before performing the clock wait. Ideally
16985 the clock implementation should calculate jitter but we need
16986 API breakage for that.
16988 * gst/gstsystemclock.c: (gst_system_clock_init):
16991 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16992 Remove leftover else
16994 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16995 (gst_systemclock_suite):
16996 Added check to test GST_CLOCK_DIFF.
16998 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17000 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17001 (gst_type_find_helper_get_range):
17002 If we are provided with the size, we should implement
17003 GstTypeFind::get_length, so that typefind functions who
17004 want to can actually peek at the middle of a file.
17006 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
17008 * docs/manual/advanced-dataaccess.xml:
17009 Add some very very basic error checking.
17011 * docs/pwg/appendix-checklist.xml:
17012 Some updates to the list of things to check when writing an element.
17014 2006-03-08 Wim Taymans <wim@fluendo.com>
17016 * docs/design/part-element-transform.txt:
17017 Added some docs about the design of tranform elements.
17019 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17020 (gst_base_src_loop), (gst_base_src_change_state):
17021 Mark buffers with the DISCONT flag.
17023 2006-03-08 Michael Smith <msmith@fluendo.com>
17025 * gst/gstregistry.h:
17026 * gst/gstregistryxml.c: (gst_registry_save),
17027 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17028 (gst_registry_xml_save_pad_template),
17029 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17030 (gst_registry_xml_write_cache):
17031 Rewrite registry-saving to avoid race conditions and check for
17034 2006-03-08 Wim Taymans <wim@fluendo.com>
17036 * libs/gst/base/gstbasetransform.c:
17037 (gst_base_transform_transform_caps),
17038 (gst_base_transform_transform_size),
17039 (gst_base_transform_prepare_output_buffer),
17040 (gst_base_transform_get_unit_size),
17041 (gst_base_transform_buffer_alloc),
17042 (gst_base_transform_handle_buffer),
17043 (gst_base_transform_change_state):
17044 Cleanups, separate normal flow from errors, add sensible
17046 Don't try to renegotiate when allocating an output buffer.
17047 Also copy DISCONT buffer flag when copying a buffer.
17048 Reset the transform after we finish streaming, not during.
17050 2006-03-08 Wim Taymans <wim@fluendo.com>
17052 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17053 Use last buffer timestamp in qos message.
17055 2006-03-07 Wim Taymans <wim@fluendo.com>
17057 Patch by: Christophe Fergeau
17059 * docs/pwg/advanced-tagging.xml:
17060 * docs/pwg/building-pads.xml:
17063 2006-03-07 Wim Taymans <wim@fluendo.com>
17065 * docs/libs/gstreamer-libs-sections.txt:
17066 Added basesink new methods.
17070 Docs updates. Flesh out the QoS docs.
17072 * libs/gst/base/gstadapter.c:
17073 Small doc clarification about ownership and flushing.
17075 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17076 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17077 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17078 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17079 * libs/gst/base/gstbasesink.h:
17081 Added new methods to allow subclass to control max-lateness
17083 Generate very basic QoS events based on last sync observation.
17084 Updated docs, fix typo, added some QoS blurb.
17086 * libs/gst/base/gstbasesrc.c:
17087 Remove obsolete _get_state() calls from docs.
17089 2006-03-07 Wim Taymans <wim@fluendo.com>
17091 * docs/libs/gstreamer-libs-sections.txt:
17092 * libs/gst/base/gstbasetransform.h:
17093 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17094 Fix docs for GstBaseSrc.
17096 2006-03-07 Wim Taymans <wim@fluendo.com>
17098 * docs/gst/gstreamer-sections.txt:
17101 * libs/gst/base/gstbasetransform.h:
17102 Small documentation fixes.
17104 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17107 Document thread-unsafety of gst_value_register_foo_func()
17108 when used at the same time as gst_value_foo() (#322628).
17110 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17112 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17113 (gst_push_src_check_get_range):
17114 Push sources don't support pull mode by default.
17116 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17118 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17119 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17120 (gst_base_src_default_check_get_range):
17121 * libs/gst/base/gstbasesrc.h:
17122 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17123 provide default implementation, and rename
17124 gst_base_src_check_get_range() to
17125 gst_base_src_pad_check_get_range() for clarity.
17127 2006-03-06 Wim Taymans <wim@fluendo.com>
17129 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17130 Make property overridable.
17132 2006-03-06 Wim Taymans <wim@fluendo.com>
17134 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17135 (gst_base_sink_init), (gst_base_sink_set_property),
17136 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17137 * libs/gst/base/gstbasesink.h:
17138 API addition: Make max-lateness a property.
17140 2006-03-06 Wim Taymans <wim@fluendo.com>
17142 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17143 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17144 Don't ever draw a frame that is >10ms late.
17146 2006-03-06 Michael Smith <msmith@fluendo.com>
17148 * gst/gstmessage.c: (_gst_message_copy):
17149 When copying a message, set the parent_refcount of the enclosed
17150 structure to point at the copy, not the original message.
17152 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17154 Patch by: Christophe Fergeau
17157 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17158 usable in c++ code (#333417)
17160 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17163 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17165 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17167 * libs/gst/base/gstbasetransform.c:
17168 (gst_base_transform_transform_caps):
17169 Make sure caps are writable before passing them to
17172 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17175 Fix some minor docs errors.
17177 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17179 Patch by: Ross Burton <ross at burtonini dot com>
17181 * gst/gsterror.c: (_gst_resource_errors_init):
17183 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17185 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17188 Add a check and output a g_warning when GStreamer is built
17189 against GLib 2.6 but running against 2.8 or higher, and vice
17190 versa. (Closes: #323542)
17192 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17194 * gst/parse/parse.l:
17195 Commit patch for parse_launch syntax from #331255. Removes
17196 support for quoted strings and mimetypes when writing filtered
17197 caps. See the bug report for more details - I'm pretty sure this
17198 obscure feature is not in use by _anyone_ anywhere.
17200 With this simple change, the size of the gstreamer.so here
17201 drops from 2193KB to 1565KB.
17203 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17205 * plugins/elements/gsttypefindelement.h:
17206 * plugins/elements/gsttypefindelement.c:
17207 (gst_type_find_element_src_event), (start_typefinding),
17208 (stop_typefinding), (gst_type_find_element_handle_event),
17209 (gst_type_find_element_chain),
17210 (gst_type_find_element_chain_do_typefinding):
17211 Use gst_type_find_helper_for_buffer() for chain-based
17214 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17216 * plugins/elements/gsttypefindelement.c:
17217 (gst_type_find_element_class_init),
17218 (gst_type_find_element_set_property),
17219 (gst_type_find_element_get_property):
17220 Deprecate "maximum" property (not only was it only taken into
17221 account for typefinding in push-mode anyway, it also was never
17222 actually possible to set it in the first place because the
17223 property was registered with the numeric property ID for the
17224 "minimum" property). Register "maximum" property correctly,
17225 for the sake of future copy'n'pasters. Remove some cruft
17226 from property get/set functions.
17228 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17230 * plugins/elements/gsttypefindelement.c:
17231 (gst_type_find_element_activate):
17232 Use gst_type_find_helper_get_range() here, so we
17233 can honour the "minimum" property and also emit
17234 the signal with the correct probability of the found caps.
17236 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17238 * docs/libs/gstreamer-libs-sections.txt:
17239 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17240 (helper_find_suggest), (gst_type_find_helper_get_range),
17241 (gst_type_find_helper):
17242 * libs/gst/base/gsttypefindhelper.h:
17243 New API: gst_type_find_helper_get_range() (#333042).
17245 2006-03-02 Michael Smith <msmith@fluendo.com>
17247 * gst/gstregistryxml.c: (load_feature):
17248 Asserting on a failure to read part of the registry is Not Cool.
17249 Just log a warning and return NULL (which is already handled)
17251 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17253 * win32/common/libgstbase.def:
17254 added export of gst_type_find_helper_for_buffer
17255 * win32/common/libgstbase.def:
17256 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17257 gst_ghost_pad_get_target
17259 2006-02-28 Wim Taymans <wim@fluendo.com>
17261 * docs/design/draft-klass.txt:
17263 Added Connector to mark elements that are only used to
17264 allow pipeline connections.
17265 Moved Debug to extra feature since most of them are
17266 functionally something else.
17268 2006-02-28 Wim Taymans <wim@fluendo.com>
17270 * docs/design/draft-klass.txt:
17271 Some updates and clarifications.
17273 2006-02-28 Wim Taymans <wim@fluendo.com>
17275 * docs/design/draft-klass.txt:
17276 Proposal for klass field values.
17278 * docs/design/part-streams.txt:
17279 Start of a doc describing stream anatomy.
17281 2006-02-28 Wim Taymans <wim@fluendo.com>
17283 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17284 Help the compiler a bit with type registration.
17285 Use existing forward cod path instead of duplicating it when
17286 handling a message.
17288 * gst/gstbus.c: (gst_bus_get_type):
17289 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17290 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17291 * gst/gstclock.c: (gst_clock_get_type):
17292 * gst/gstelement.c: (gst_element_get_type),
17293 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17294 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17295 * gst/gstminiobject.c: (gst_mini_object_get_type):
17296 * gst/gstpad.c: (gst_pad_get_type):
17297 * gst/gstsegment.c: (gst_segment_get_type):
17298 * gst/gststructure.c: (gst_structure_get_type):
17299 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17300 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17302 Help compiler with type registration.
17304 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17307 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17309 * plugins/elements/gsttypefindelement.c:
17310 (gst_type_find_element_handle_event):
17311 When we get an EOS event and have not found a type yet
17312 (most likely because we had not yet accumulated
17313 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17314 type given the data we have so far. Fixes typefinding
17315 for very short streams again, most notably quicktime
17316 redirections as used on Apple's trailer site (#331701).
17318 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17320 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17321 (gst_type_find_helper):
17322 Try typefinding factories with the highest rank first.
17324 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17326 * docs/libs/gstreamer-libs-docs.sgml:
17327 * docs/libs/gstreamer-libs-sections.txt:
17328 * libs/gst/base/gsttypefindhelper.c:
17329 Add section for typefind helper and add documentation
17330 for the old and the new function.
17332 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17334 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17335 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17336 (gst_type_find_helper_for_buffer):
17337 * libs/gst/base/gsttypefindhelper.h:
17338 New API: gst_type_find_helper_for_buffer() (#332723).
17340 2006-02-27 Michael Smith <msmith@fluendo.com>
17342 Patch by: Loïc Minier
17345 * docs/Makefile.am:
17346 * docs/slides/Makefile.am:
17347 prevent CVS directories getting disted.
17349 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17351 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17352 Use the REFCOUNTING category for caps refcounting.
17354 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17356 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17357 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17359 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17361 * plugins/elements/gsttypefindelement.c:
17362 (gst_type_find_element_activate):
17363 Use gst_pad_check_pull_range() before _activate_pull()
17364 to avoid unnecessary open/close (see #331690).
17366 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17369 Docs enhancement: make it crystal clear what the
17370 gst_pad_add_*_probe() callbacks should look like.
17372 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17374 * libs/gst/base/gstbasesrc.c:
17375 Document how applications can stop recording from
17376 live sources (see #330996).
17378 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17380 * tests/check/Makefile.am:
17381 * tests/check/libs/basesrc.c: (eos_event_counter),
17382 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17383 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17384 (gst_basesrc_suite), (main):
17385 ... and add some tests for the base source EOS stuff.
17387 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17389 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17390 Test case originally showed the problem fixed below,
17391 but was then amended. Add checks back at the place
17392 where they used to be.
17394 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17396 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17397 (gst_base_src_init), (gst_base_src_loop),
17398 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17399 (gst_base_src_change_state):
17400 * libs/gst/base/gstbasesrc.h:
17401 Don't unconditionally send EOS when going from PAUSED to
17402 READY state, esp. make sure we don't send two EOS events
17403 in some cases (e.g. one when reaching EOS and one when
17404 going from PAUSED to READY). Also, we don't want to send
17405 EOS events when operating in pull mode. However, we do
17406 want to send an EOS event when shutting down a live
17407 source explicitly, for example (fixes #330996).
17409 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17411 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17412 Update src->read_position after a seek when not using mmap.
17413 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17415 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17421 Make things work with --disable-parse as they do with
17422 --disable-load-save - the symbols involved disappear, but the
17423 header is still installed and GST_DISABLE_PARSE is included via
17426 2006-02-20 Julien MOUTTE <julien@moutte.net>
17428 * libs/gst/base/gstbasetransform.c:
17429 (gst_base_transform_change_state): Fix a stupid bug. I was
17430 sure I compiled that.
17432 2006-02-20 Julien MOUTTE <julien@moutte.net>
17434 * gst/gstpad.c: (gst_pad_set_blocked_async):
17435 * gst/gstutils.c: (gst_pad_add_data_probe),
17436 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17437 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17438 (gst_pad_remove_buffer_probe): Make those function act on the
17439 ghostpad target when it's a ghostpad. (Closes #331727)
17441 2006-02-20 Julien MOUTTE <julien@moutte.net>
17443 * libs/gst/base/gstbasetransform.c:
17444 (gst_base_transform_change_state): Make basetransform reusable.
17447 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17449 * docs/random/release:
17450 Move the current documentation of how to do a release to the top
17453 * gst/gstbin.c: (gst_bin_class_init),
17454 (gst_bin_handle_message_func):
17455 Allow multiple state-recalculation threads. (Closes #328873)
17457 2006-02-19 Julien MOUTTE <julien@moutte.net>
17459 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17460 * gst/gstpad.c: (gst_pad_set_event_function),
17461 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17462 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17463 2 strings. You can't use the STR_NULL macro on that.
17465 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17467 * gst/gstpad.c: (gst_pad_set_event_function),
17468 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17469 (gst_pad_set_getcaps_function)
17470 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17471 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17472 So now, we can use --gst-debug-level=5 on Windows
17473 * win32/common/libgstcontroller.def:
17474 Added export of gst_controller_init
17475 * win32/vs6/libgstcontroller.dsp:
17476 Fixed Release post build configuration
17478 2006-02-17 Wim Taymans <wim@fluendo.com>
17480 * tests/check/gst/gstquery.c: (GST_START_TEST):
17481 Added another check.
17483 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17485 * plugins/elements/gsttypefindelement.c: (find_peek):
17486 We can do peeks at non-zero offsets, as long as they
17487 fall within the buffer we have.
17489 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17491 * tests/check/Makefile.am:
17492 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17493 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17494 (parse_suite), (main):
17495 Add testsuite for parse launch syntax
17497 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17499 * plugins/elements/gsttypefindelement.c:
17500 (gst_type_find_element_chain):
17501 When typefinding is unsuccessful in the chain function, don't
17502 error out immediately. Only error out with NO_CAPS_FOUND if
17503 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17504 otherwise simply wait for more data so we can try typefinding
17505 again with more data later. Also, don't attempt to typefind
17506 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17507 this should improve typefinding from network sources where the
17508 size of the first buffer can be somewhat random.
17510 2006-02-14 Wim Taymans <wim@fluendo.com>
17512 * docs/gst/gstreamer-sections.txt:
17513 * gst/gstpadtemplate.c:
17514 * gst/gstpadtemplate.h:
17515 Fix padtemplate docs, fixes #328805.
17517 2006-02-14 Wim Taymans <wim@fluendo.com>
17519 * tools/gst-launch.c: (main):
17520 NO_PREROLL is not an ERROR so don't send confusing messages
17523 2006-02-14 Wim Taymans <wim@fluendo.com>
17525 Patch by: Torsten Schoenfeld
17527 * gst/gstregistry.c: (gst_registry_get_default),
17528 (_gst_registry_cleanup):
17529 Protect default registry with lock and ref/sink it.
17532 2006-02-14 Wim Taymans <wim@fluendo.com>
17535 * gst/gstquery.c: (gst_query_list_add_format),
17536 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17537 (gst_query_parse_formats_nth):
17538 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17541 2006-02-14 Wim Taymans <wim@fluendo.com>
17543 * docs/gst/gstreamer-sections.txt:
17544 Reworked query docs.
17546 * gst/gstquery.c: (gst_query_new_formats),
17547 (gst_query_list_add_format), (gst_query_set_formats),
17548 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17549 (gst_query_parse_formats_nth):
17551 Flesh out formats query, added some new methods.
17552 Fix part of #324398.
17554 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17555 Added query creation tests.
17557 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17559 * gst/gstpad.c: (fixate_value):
17560 Add a default fixation for fraction lists.
17562 2006-02-13 Wim Taymans <wim@fluendo.com>
17564 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17565 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17568 Detect and warn for obvious deadlocks. fixes #320340
17569 Fix error case where lock was not released.
17571 * tests/check/Makefile.am:
17572 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17573 (task_func), (gst_element_suite), (main):
17576 2006-02-13 Wim Taymans <wim@fluendo.com>
17578 * docs/gst/gstreamer-sections.txt:
17580 Add new functions to docs.
17582 2006-02-13 Wim Taymans <wim@fluendo.com>
17584 * docs/design/part-TODO.txt:
17585 Updated TODO list, basesrc supports seeking to non-bytes
17588 * docs/design/part-element-sink.txt:
17591 * gst/gstbin.c: (bin_replace_message),
17592 (gst_bin_handle_message_func):
17593 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17594 * gst/gstevent.c: (gst_event_finalize):
17595 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17596 (gst_pad_send_event):
17597 Use shiny new _TYPE_NAME macros.
17599 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17600 Move debug statement up.
17602 * gst/gstelement.c: (gst_element_set_locked_state):
17603 Add some debugging.
17605 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17607 * docs/gst/gstreamer-sections.txt:
17608 * gst/gstmessage.h:
17610 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17611 macros (#330906). Also, document the already existing
17612 GST_QUERY_TYPE macro.
17614 2006-02-13 Wim Taymans <wim@fluendo.com>
17616 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17617 (event_probe), (GST_START_TEST):
17618 Only events up to the pipeline EOS are counted, there are
17619 some more when going to NULL currently which we don't care
17622 2006-02-13 Wim Taymans <wim@fluendo.com>
17624 * gst/gstpad.c: (gst_pad_send_event):
17625 Correctly check flushing and emit probes. fixes #330125
17627 2006-02-10 Andy Wingo <wingo@pobox.com>
17629 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17631 (gst_bus_init): Cache the location of the private data in the
17632 instance structure.
17633 (gst_bus_enable_sync_message_emission)
17634 (gst_bus_disable_sync_message_emission): Implement new public
17636 (gst_bus_post): Emit the sync-message signal if the user asked for
17639 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17640 location of the bus-private structure.
17641 (gst_bus_enable_sync_message_emission)
17642 (gst_bus_disable_sync_message_emission): API addition
17644 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17646 Patch by: Vincent Torri
17648 * docs/pwg/building-boiler.xml:
17649 PWG patch from #326800
17651 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17654 * docs/Makefile.am:
17655 * docs/design/Makefile.am:
17658 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17663 === release 0.10.3 ===
17665 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17668 releasing 0.10.3, "Like a virgin"
17670 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17673 2nd prerelease of 0.10.3
17674 Bump libtool versioning.
17676 2006-02-07 Andy Wingo <wingo@pobox.com>
17678 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17679 update last_stop if we're in TIME format and the timestamp is
17682 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17683 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17684 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17685 If we get a new newsegment with a different format, adapt
17688 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17689 of 0. Not a problem, really.
17691 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17694 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17699 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17702 project files updated to the default vs7 configuration
17703 * win32/common/libgstbase.def:
17704 * win32/common/libgstreamer.def:
17706 removed empty lines,
17707 sorted all exported symbols alphabetically
17708 * win32/common/dirent.c:
17709 * win32/common/dirent.h:
17710 * win32/common/gchar.h:
17711 use windows line end.
17713 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17715 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17716 Send EOS event when stopping.
17718 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17721 Tell folks what to do if the plugin-foobar.xml file
17722 hasn't been generated for a newly-added plugin.
17724 2006-02-05 Julien MOUTTE <julien@moutte.net>
17726 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17727 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17728 (gst_collect_pads_start), (gst_collect_pads_stop),
17729 (gst_collect_pads_event): Collectpads now holds a reference
17730 to the GstPad that was added. Indeed we don't want to look
17731 at pads that might just go away with no warning...
17733 2006-02-05 Julien MOUTTE <julien@moutte.net>
17735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17736 (gst_collect_pads_start), (gst_collect_pads_stop),
17737 (gst_collect_pads_event), (gst_collect_pads_chain):
17738 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17739 Mark Nauwelaerts's patch on bug #328491.
17741 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17743 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17745 Add some simple tests for gst_parse_bin_from_description() and
17746 gst_bin_find_unconnected_pad() (#329069).
17748 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17750 * tools/gst-launch.c: (event_loop), (main):
17751 Catch errors during preroll (#320084).
17753 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17755 * plugins/elements/gsttypefindelement.c:
17756 (gst_type_find_element_activate):
17757 Post TYPE_NOT_FOUND error message when typefinding
17758 is unsuccessful in the activate function as well.
17760 2006-02-02 Wim Taymans <wim@fluendo.com>
17762 * docs/design/part-element-sink.txt:
17765 2006-02-02 Wim Taymans <wim@fluendo.com>
17767 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17768 (gst_base_sink_render_object),
17769 (gst_base_sink_queue_object_unlocked):
17770 Only keep track of prerollable items when we are
17772 Before rendering after preroll, always check if we
17774 Added some more debugging.
17776 2006-02-02 Wim Taymans <wim@fluendo.com>
17778 * gst/gstelement.c: (gst_element_continue_state),
17779 (gst_element_set_state_func), (gst_element_change_state):
17780 Fixed #326576, been running this for quite some time with
17781 no regressions at all.
17783 2006-02-02 Wim Taymans <wim@fluendo.com>
17786 Added more suppressions
17788 2006-02-02 Wim Taymans <wim@fluendo.com>
17790 * docs/design/part-element-sink.txt:
17793 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17794 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17795 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17796 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17797 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17798 (gst_base_sink_preroll_object),
17799 (gst_base_sink_queue_object_unlocked),
17800 (gst_base_sink_queue_object), (gst_base_sink_event),
17801 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17802 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17803 (gst_base_sink_get_position), (gst_base_sink_change_state):
17804 * libs/gst/base/gstbasesink.h:
17805 Totally refactored matching the design doc.
17806 Use two segments, one to clip incomming buffers and another to
17808 Handle queueing correctly, bypass the queue when playing.
17809 Make EOS cancelable.
17810 Handle errors correctly when operating in pull based mode.
17812 * tests/check/elements/fakesink.c: (GST_START_TEST),
17814 Added new check for sinks.
17816 2006-02-02 Wim Taymans <wim@fluendo.com>
17818 * gst/gstsegment.c: (gst_segment_clip):
17819 No reason to refuse to clip when start == -1
17821 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17824 * docs/manual/intro-basics.xml:
17825 * docs/manual/intro-preface.xml:
17826 * docs/manual/manual.xml:
17827 * docs/pwg/advanced-dparams.xml:
17828 * docs/pwg/intro-basics.xml:
17829 * docs/pwg/intro-preface.xml:
17830 * docs/pwg/pwg.xml:
17831 describe dparams (controller) for plugins
17832 unify docs a little more
17834 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17836 * docs/gst/gstreamer-sections.txt:
17837 * gst/gstutils.c: (element_find_unconnected_pad),
17838 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17840 Add new API: gst_parse_bin_from_description() and
17841 gst_bin_find_unconnected_pad() (#329069).
17843 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17845 * docs/manual/README:
17846 uncover a nasty detail of the docs build
17848 2006-01-31 Wim Taymans <wim@fluendo.com>
17850 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17851 Don't cache duration messages if we're not going to use or
17854 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17856 * docs/manual/advanced-dparams.xml:
17857 * docs/pwg/advanced-dparams.xml:
17861 * libs/gst/controller/lib.c: (gst_controller_init):
17864 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17866 * gst/gstelement.c: (gst_element_message_full):
17867 also show file/line/func if no additional debug was given
17869 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17871 * win32/vs7/grammar.vcproj:
17872 activate copy of autogenerated files for Release mode
17874 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17876 * win32/common/libgstreamer.def:
17877 export gst_value_compare
17879 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17881 * plugins/elements/Makefile.am:
17882 * plugins/elements/gstelements.c:
17883 * plugins/elements/gstfdsink.c: (_do_init),
17884 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17885 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17886 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17887 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17888 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17889 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17890 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17891 * plugins/elements/gstfdsink.h:
17892 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17894 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17896 * docs/manual/advanced-dparams.xml:
17897 describe controller
17898 * docs/manual/advanced-position.xml:
17899 * docs/manual/basics-init.xml:
17900 * docs/manual/manual.xml:
17901 * docs/manual/titlepage.xml:
17902 * docs/pwg/pwg.xml:
17903 * docs/pwg/titlepage.xml:
17904 cleanup xml (more to come)
17905 * libs/gst/controller/gstcontroller.c:
17908 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17910 * win32/vs6/grammar.dsp:
17911 add autogen of gstmarshal.c,h for Release mode
17913 2006-01-30 Wim Taymans <wim@fluendo.com>
17915 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17916 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17917 (gst_base_sink_handle_object), (gst_base_sink_event),
17918 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17919 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17920 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17921 (gst_base_sink_deactivate), (gst_base_sink_activate),
17922 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17923 (gst_base_sink_query), (gst_base_sink_change_state):
17924 Basesink cleanups, remove some old code.
17925 Handle the case where a subclass can preroll in the render
17926 method (mostly audiosinks).
17927 Handle more events.
17928 Remove some locks around variables that are now protected
17929 with the PREROLL_LOCK (clock_id, flushing, ..).
17930 Optimize position query some more, do correct locking.
17931 Remove old code to push queue in state change, this is not
17932 needed anymore since preroll blocks on all prerollable items
17934 Almost implemented as described in design doc.
17936 2006-01-30 Wim Taymans <wim@fluendo.com>
17938 * tests/check/gst/gstbin.c: (GST_START_TEST):
17939 Wait for refcount to settle down before checking.
17941 2006-01-30 Wim Taymans <wim@fluendo.com>
17943 * docs/design/part-element-sink.txt:
17944 Pseudo code overview of desired sink behaviour regarding
17947 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17948 * win32/vs6/grammar.dsp:
17949 fix some bugs in Release mode for autogenerated files
17951 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17952 * win32/common/libgstbase.def:
17953 * win32/common/libgstreamer.def:
17954 export some new symbols: gst_base_src_set_format,
17955 gst_iterator_next, gst_structure_set_valist
17957 2006-01-29 Julien MOUTTE <julien@moutte.net>
17959 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17960 Set pad functions unconditionally. Fixes #329105.
17962 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17964 add vs8 project files created by Sergey Scobich
17966 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17968 * gst/gstutils.c: (gst_element_unlink_pads):
17969 Don't leak pad references.
17971 * tests/check/elements/fakesink.c: (GST_START_TEST):
17972 * tests/check/generic/sinks.c: (GST_START_TEST):
17973 * tests/check/generic/states.c: (GST_START_TEST):
17974 * tests/check/gst/gstbin.c: (GST_START_TEST):
17975 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17976 * tests/check/gst/gstelement.c: (GST_START_TEST):
17977 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17978 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17979 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17980 Fix a bunch of leaks. Make generic/sinks.c
17981 use a bit less cpu by slowing the buffer rate
17982 between fakesrc and fakesink.
17984 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17986 * gst/gstelement.c: (gst_element_send_event):
17989 * gst/gstiterator.c:
17990 * gst/gstiterator.h:
17991 * gst/gstpad.c: (gst_pad_send_event):
17992 * gst/gststructure.c:
17996 * libs/gst/base/gstadapter.c:
17997 doc fixes, to link to function, just write gst_cool_function(), don't
18000 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18002 * plugins/elements/gsttee.c: (gst_tee_do_push),
18003 (gst_tee_handle_buffer):
18004 Always prefer an actual return value from a src
18005 pad in place of NOT_LINKED. This means we return
18006 WRONG_STATE when all src pads are WRONG_STATE
18007 instead of NOT_LINKED.
18009 Lock when replacing the last message to prevent
18010 racing with the get_property method.
18014 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18016 * tests/check/Makefile.am:
18017 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18019 Add a very simple check that should have caught the memleak I fixed
18020 last night (if not for the slice allocator hiding it)
18022 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18024 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18025 (gst_bin_remove_func), (gst_bin_handle_message_func),
18026 (bin_query_duration_fold), (bin_query_generic_fold):
18027 Clean up references to the clock provider when disposed or when
18028 handling a clock-lost message from it.
18030 Unref sinks when performing a query via gst_iterator_fold, as the
18031 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18033 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18034 (gst_clock_set_master):
18035 Drop our reference to the master clock, if any, when we are disposed.
18037 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18038 Chain up in dispose.
18040 2006-01-26 Wim Taymans <wim@fluendo.com>
18042 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18043 Add some debugging.
18045 2006-01-26 Julien MOUTTE <julien@moutte.net>
18047 * plugins/elements/gsttee.c: (gst_tee_do_push),
18048 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18049 handles pad being NOT_LINKED or in WRONG_STATE.
18051 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18056 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18059 remove obsolete entry
18061 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18063 * docs/gst/gstreamer-sections.txt:
18064 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18065 (gst_bin_iterate_sources), (gst_bin_send_event):
18067 * gst/gstelement.c: (gst_element_send_event):
18069 * gst/gstpad.c: (gst_pad_send_event):
18070 added code for downstream events, reviewed docs in gstevent.c
18072 2006-01-25 Julien MOUTTE <julien@moutte.net>
18074 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18075 We only query position using the clock in the playing state.
18076 Query peer in the other cases.
18077 * win32/common/config.h: Updates.
18079 2006-01-24 Wim Taymans <wim@fluendo.com>
18081 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18082 A clock entry that is scheduled for the exact time of the
18083 clock is still in time.
18085 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18086 (gst_base_sink_do_sync):
18087 Add some more debug info.
18089 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18092 Add new vs7 project files and solution.
18094 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18097 all files removed as they were out-dated.
18099 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18101 * docs/random/release:
18103 * gst/gstbin.c: (gst_bin_init):
18104 * gst/gstbus.c: (gst_bus_new):
18106 * gst/gstpipeline.c: (gst_pipeline_init):
18107 use gst_bus_new(), improve logging, fix docs
18108 * win32/common/config.h:
18109 update for cvs build
18111 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18114 up required version of automake to 1.7
18116 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18118 * win32/common/libgstreamer.def:
18119 export gst_buffer_is_metadata_writable
18121 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18123 * docs/gst/gstreamer-sections.txt:
18125 Add gst_event_replace() (#327001)
18127 2006-01-20 Wim Taymans <wim@fluendo.com>
18129 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18130 Make it actually compile too..
18132 2006-01-20 Wim Taymans <wim@fluendo.com>
18135 Clarify behaviour of _is_equal() when passing NULL parameters.
18137 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18138 (gst_pad_set_caps):
18139 Cleanups. Don't unref NULL caps.
18140 When setting the same caps, protect caps of the pad with
18142 Use full functionality of _is_equal() when comparing caps.
18144 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18146 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18147 Don't loop infinitely if there are no buffers to present. Partially
18148 fixes #327197, but collectpads is just broken for reusing elements
18149 to do multiple encodes atm.
18151 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18153 * tools/gst-inspect.c: (print_element_features):
18154 * tools/gst-xmlinspect.c: (main):
18155 URL_HANDLER is not a plugin feature we can search for in
18158 2006-01-19 Edward Hervey <edward@fluendo.com>
18160 * gst/gstelement.c: (gst_element_pads_activate):
18161 When activating, do src pads first, then sink pads.
18162 When de-activating, do sink pads first, then src pads.
18164 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18166 * docs/gst/gstreamer-sections.txt:
18167 Add gst_index_add_associationv to the docs
18169 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18174 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18175 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18176 Do some refactoring. Doesn't actually change functionality,
18177 but makes landing the DRAIN event easier later.
18179 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18181 * docs/pwg/advanced-scheduling.xml:
18182 Update from 0.9.x to 0.10 API and make example a bit
18185 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18187 * docs/gst/gstreamer-sections.txt:
18188 Add gst_buffer_(is|make)_metadata_writable methods.
18190 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18192 * docs/design/part-sparsestreams.txt:
18193 Update sparse streams doc, hopefully for greater clarity
18195 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18197 * docs/design/part-events.txt:
18198 Remove mention of FILLER events.
18201 * docs/design/part-sparsestreams.txt:
18202 Write some things about using NEWSEGMENT to keep sparse streams
18205 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18207 * gst/gstbin.c: (gst_bin_dispose):
18208 Guard gst_object_unref call against a NULL object (dispose
18209 can theoretically be called multiple times).
18211 2006-01-18 Wim Taymans <wim@fluendo.com>
18213 * gst/gstbin.c: (gst_bin_element_set_state):
18214 * gst/gstclock.c: (gst_clock_id_wait):
18215 Added some more debug info.
18217 * libs/gst/base/gstadapter.c:
18220 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18221 (gst_base_sink_do_sync), (gst_base_sink_chain):
18222 Added some comments.
18224 2006-01-18 Wim Taymans <wim@fluendo.com>
18226 * tests/check/Makefile.am:
18227 * tests/check/elements/fakesink.c: (chain_async_buffer),
18228 (chain_async), (chain_async_return), (GST_START_TEST),
18229 (fakesink_suite), (main):
18230 Added fakesink test that checks prerolling and clipping
18233 * tests/check/gst/gstutils.c: (GST_START_TEST):
18234 Make check run faster so that buildbots don't timeout.
18236 2006-01-18 Wim Taymans <wim@fluendo.com>
18238 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18239 (gst_base_sink_do_sync):
18241 When the sink finishes blocking on the preroll buffer, it can
18242 immediatly render it instead of rendering when the next buffer
18245 2006-01-18 Wim Taymans <wim@fluendo.com>
18247 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18248 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18249 (gst_base_sink_chain):
18251 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18252 Don't store _last_stop if the buffer is dropped.
18254 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18256 * plugins/elements/gsttypefindelement.c:
18257 (gst_type_find_element_class_init):
18258 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18259 object method handler that sets the caps on the pad and we want
18260 that to happen before we emit the signal (fixes e.g. feeding a
18261 plain text file to decodebin).
18263 2006-01-18 Christian Schaller <Christian@fluendo.com>
18265 * gst/gstplugin.c: Add MPL and Proprietary as license options
18267 2006-01-18 Andy Wingo <wingo@pobox.com>
18269 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18270 symbol was exported before, it appears this was just an oversight.
18272 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18274 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18275 prototype to gint. OK since this prototype was not in the header.
18277 2006-01-17 Andy Wingo <wingo@pobox.com>
18279 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18280 registry while we remove plugins.
18282 * tools/gst-inspect.c (print_element_info): Don't unref the
18283 factory arg, that should be the responsibility of whatever code
18284 received the ref. Fixes a double-free when called from
18285 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18286 (main): Unref the factory if we have one.
18287 (print_element_list): No change -- relies on the
18288 plugin_feature_list_free to free the list of features.
18290 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18292 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18293 (gst_buffer_make_metadata_writable):
18295 * libs/gst/base/gstbasetransform.c:
18296 (gst_base_transform_prepare_output_buf):
18297 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18298 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18299 Replace gst_buffer_(make|is)_metadata_writable patch now
18300 that the release is out.
18302 2006-01-17 Andy Wingo <wingo@pobox.com>
18304 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18305 in the present tense without reference to versions.
18307 * gst/gstregistry.c (gst_registry_add_plugin)
18308 (gst_registry_remove_plugin, gst_registry_remove_feature)
18309 (gst_registry_find_feature, gst_registry_get_feature_list)
18310 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18311 (gst_registry_lookup, gst_registry_scan_path)
18312 (_gst_registry_remove_cache_plugins)
18313 (gst_registry_get_feature_list_by_plugin): Add argument
18316 === release 0.10.2 ===
18318 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18321 releasing 0.10.2, "If man is five"
18323 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18327 * libs/gst/base/gstbasetransform.c:
18328 (gst_base_transform_prepare_output_buf):
18329 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18330 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18331 Back out patch until after the release.
18333 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18335 * gst/gstminiobject.c:
18336 Spelling fix in docs.
18337 * ChangeLog - remove conflict indicator
18339 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18341 Reviewed By: Andy Wingo
18343 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18344 (gst_buffer_make_metadata_writable):
18346 Add gst_buffer_(is|make)_metadata_writable as analogues of
18347 gst_buffer_(is|make)_writable.
18349 * libs/gst/base/gstbasetransform.c:
18350 (gst_base_transform_prepare_output_buf):
18351 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18352 Use name gst_buffer_(is|make)_metadata_writable functions.
18354 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18355 Test gst_buffer_(is|make)_metadata_writable
18359 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18361 * docs/manual/Makefile.am:
18362 don't do parallel make
18365 * win32/common/config.h.in:
18366 add generations for HOST_CPU and GST_MAJORMINOR
18367 * win32/common/config.h:
18368 commit generated result
18370 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18372 * docs/manual/appendix-integration.xml:
18373 Update GNOME integration section to use gst_init_get_option_group()
18374 instead of the old popt stuff (#322911). Also, GNOME applications
18375 should now use gconf*sink and gconf*src instead of the old gconf
18378 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18381 * docs/gst/gstreamer-docs.sgml:
18382 * docs/gst/gstreamer-sections.txt:
18383 * docs/libs/gstreamer-libs-sections.txt:
18384 add new API entries to the docs
18385 * libs/gst/controller/Makefile.am:
18386 * libs/gst/controller/gstcontroller.c:
18387 * libs/gst/controller/gstcontroller.h:
18388 * libs/gst/controller/gstcontrollerprivate.h:
18389 * libs/gst/controller/gsthelper.c:
18390 * libs/gst/controller/gstinterpolation.c:
18391 move private structs to private header
18393 gstreamer-0.7 -> gstreamer-0.10
18394 * tests/check/libs/struct_i386.h:
18395 remove private structs
18397 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18399 * plugins/indexers/Makefile.am:
18400 Fixes as part of #317048
18402 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18404 * plugins/indexers/Makefile.am:
18405 fix #316086 - compilation when mmap is missing
18407 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18409 * libs/gst/base/gstbasesink.c:
18410 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18411 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18412 * win32/common/config.h:
18413 added some defines GST_MAJORMINOR and HOST_CPU
18414 * win32/common/libgstbase.def:
18415 * win32/common/libgstreamer.def:
18416 added some exported functions.
18418 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18420 * libs/gst/controller/gstcontroller.c:
18421 (gst_controlled_property_set_interpolation_mode),
18422 (gst_controlled_property_new):
18423 * libs/gst/controller/gstcontroller.h:
18424 * libs/gst/controller/gstinterpolation.c:
18425 (interpolate_none_get_string_value_array):
18426 make G_TYPE_STRING controlable
18428 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18431 * tools/gst-feedback.1.in:
18432 * tools/gst-inspect.1.in:
18433 * tools/gst-launch.1.in:
18434 * tools/gst-md5sum.1.in:
18435 * tools/gst-typefind.1.in:
18436 * tools/gst-xmlinspect.1.in:
18437 * tools/gst-xmllaunch.1.in:
18438 cleanup man-pages, remove reference to gst-register, document env-vars
18440 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18442 * gst/gstbuffer.c: (gst_buffer_span):
18443 gst_buffer_span should copy the timestamp of the first buffer
18444 if they were both originally overlapping subbuffers of the
18445 same parent, using the same logic as the 'slow copy' case.
18447 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18449 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18450 Need to awaken ALL the pads when we pop a buffer, otherwise
18451 collectpads only works when there is 2 input streams.
18453 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18455 * docs/random/ensonic/media-device-daemon.txt:
18458 fix doc example, add clarification
18459 * tools/gst-launch.1.in:
18460 add initial info about GST_PLUGIN_PATH, needs more work
18462 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18464 * docs/manual/basics-bins.xml:
18465 * docs/manual/basics-elements.xml:
18466 * docs/manual/intro-basics.xml:
18467 Some more minor docs additions and updates.
18469 2006-01-11 Wim Taymans <wim@fluendo.com>
18471 * docs/manual/basics-bins.xml:
18472 * docs/manual/basics-elements.xml:
18473 Some small fixes as pointed out by Ser-ver on IRC.
18475 2006-01-10 Edward Hervey <edward@fluendo.com>
18477 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18478 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18479 the single-segment mode.
18481 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18483 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18485 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18486 (gst_base_src_perform_seek), (gst_base_src_send_event),
18487 (gst_base_src_set_property), (gst_base_src_get_property),
18488 (gst_base_src_loop), (gst_base_src_start),
18489 (gst_base_src_activate_push):
18490 * libs/gst/base/gstbasesrc.h:
18491 Name (private) union; makes Sun's Forte compiler happy (#324900).
18493 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18496 gst-register is gone.
18498 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18500 * gst/gstvalue.c: (_gst_value_initialize):
18501 make the G_TYPE_DATE instantiation work if debug is disabled
18503 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18505 * gst/gstmessage.c: (gst_message_parse_tag),
18506 (gst_message_parse_error), (gst_message_parse_warning):
18507 Don't crash when return location for error/warning debug
18508 string is NULL; add fact that return locations can be
18509 NULL to docs where appropriate.
18511 2006-01-05 Wim Taymans <wim@fluendo.com>
18513 * gst/gstplugin.c: (gst_plugin_load_file):
18514 Replace strdup by g_strdup.
18516 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18518 * docs/pwg/advanced-types.xml:
18521 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18523 submitted by: Abel Cheung
18527 Added Chinese (traditional) translation
18529 2006-01-04 Wim Taymans <wim@fluendo.com>
18531 * docs/manual/basics-pads.xml:
18532 * docs/plugins/Makefile.am:
18533 * docs/plugins/gstreamer-plugins-docs.sgml:
18534 * docs/plugins/gstreamer-plugins-sections.txt:
18535 * docs/pwg/advanced-clock.xml:
18536 * docs/pwg/advanced-scheduling.xml:
18537 * docs/pwg/advanced-types.xml:
18538 * plugins/elements/gstfdsink.c:
18539 * plugins/elements/gstfdsrc.c:
18540 * plugins/elements/gstfdsrc.h:
18541 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18542 * plugins/elements/gstidentity.h:
18543 * plugins/elements/gstqueue.h:
18544 * plugins/elements/gsttee.c:
18545 * plugins/elements/gsttee.h:
18546 * plugins/elements/gsttypefindelement.c:
18547 (gst_type_find_element_class_init):
18548 * plugins/elements/gsttypefindelement.h:
18549 Small updates to various docs.
18550 Added core plugins to docs.
18552 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18555 add a suppression for liboil's uninitialized variable
18557 2006-01-02 James Livingston <jrl at ids dot org dot au>
18559 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18562 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18563 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18564 compiler switch is being used (#325429).
18566 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18568 * gst/gstbin.c: (gst_bin_query):
18569 Disable duration query caching in bins until it gets
18570 fixed (see #324807).
18572 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18574 * tools/gst-inspect.c: (print_element_properties_info):
18575 Handle properties of POINTER and BOXED type.
18577 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18579 * gst/gst.c: (init_post):
18580 Init tags stuff and some other things before loading
18581 any static plugins (there may be other static plugins
18582 than just the GStreamer ones, and they may want to
18583 register their own tags or formats or whatever, and
18584 preferably without segfaulting).
18586 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18587 Print at least a warning in the debug logs if we drop a
18588 query just because we don't know how to adjust the value
18589 in the particular format.
18591 2005-12-24 David Schleef <ds@schleef.org>
18593 * tools/gstreamer-completion:
18594 Replacement for gst-complete written in sh and sed. Only
18595 completes names of features, but that's 90% of what I want
18596 it for. Properties are not available in registry.xml. (Maybe
18599 === release 0.10.1 ===
18601 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18604 releasing 0.10.1, "Nollaig chridheil"
18606 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18608 * docs/faq/cvs.xml:
18609 Add missing quote, should be make ERROR_CFLAGS="".
18611 2005-12-20 Wim Taymans <wim@fluendo.com>
18613 * docs/design/part-trickmodes.txt:
18614 More documentation on trickmodes.
18616 2005-12-20 Edward Hervey <edward@fluendo.com>
18618 * gst/gstcaps.c: (gst_static_caps_get_type):
18620 API addition: GST_TYPE_STATIC_CAPS
18621 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18622 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18623 * gst/gstpadtemplate.h:
18624 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18625 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18628 2005-12-18 Wim Taymans <wim@fluendo.com>
18630 * libs/gst/base/gstadapter.c:
18631 * libs/gst/base/gstadapter.h:
18632 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18633 (gst_base_sink_get_position):
18634 * libs/gst/base/gstbasesink.h:
18635 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18636 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18637 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18638 (gst_base_src_send_event), (gst_base_src_update_length),
18639 (gst_base_src_get_range), (gst_base_src_loop),
18640 (gst_base_src_start):
18641 * libs/gst/base/gstbasesrc.h:
18642 * libs/gst/base/gstbasetransform.h:
18643 * libs/gst/base/gstcollectpads.h:
18644 * libs/gst/base/gstpushsrc.c:
18645 * libs/gst/base/gstpushsrc.h:
18646 * libs/gst/dataprotocol/dataprotocol.c:
18647 * libs/gst/dataprotocol/dataprotocol.h:
18648 * libs/gst/net/gstnetclientclock.h:
18649 * libs/gst/net/gstnettimeprovider.h:
18650 Documentation updates.
18652 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18654 * docs/manual/basics-helloworld.xml:
18655 Remove superfluous closing bracket in helloworld example.
18657 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18659 * tools/gst-launch.1.in:
18660 Update gst-launch man page; add a section with useful
18661 environment variables. Fixes #323882.
18663 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18666 * gst/gst_private.h:
18667 change some char* into char[]
18669 2005-12-16 Wim Taymans <wim@fluendo.com>
18671 * gst/gstregistryxml.c: (load_feature):
18673 Don't use g_object_unref on GstObjects so that we avoid
18674 leaks on unsafe glibs.
18676 2005-12-16 Wim Taymans <wim@fluendo.com>
18678 * gst/gstbin.c: (gst_bin_recalc_state):
18681 2005-12-16 Wim Taymans <wim@fluendo.com>
18683 * common/check.mak:
18684 Added make forever target for check.
18686 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18688 * gst/gst.c: (init_post):
18689 make the registry cache file HOST_CPU-dependent
18691 2005-12-16 Andy Wingo <wingo@pobox.com>
18693 * plugins/elements/gstbufferstore.c
18694 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18697 * tests/check/gst/gstobject.c
18698 (test_fake_object_name_threaded_unique): Pay attention to
18699 g_list_sort return value.
18701 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18703 * tools/gst-feedback-m.m:
18704 Update for 0.9/0.10 (fixes #323870).
18706 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18708 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18709 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18711 * tests/check/gst/gstminiobject.c: (my_foo_init),
18712 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18713 (test_value_collection), (gst_mini_object_suite):
18714 Add test to ensure refcounts end up as expected when passing
18715 GstMiniObjects through g_object_get() and g_object_set().
18717 2005-12-14 Julien MOUTTE <julien@moutte.net>
18719 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18720 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18721 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18722 of collectpads. This version removes a lot of races without
18723 touching API/ABI. Yay !
18725 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18727 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18728 Don't allow activation of a srcpad in pull_range if it has no
18730 Change some debug statements to be a little clearer
18732 * plugins/elements/gsttypefindelement.c:
18733 (gst_type_find_handle_src_query):
18734 Check that we have a peer before executing queries thereupon.
18736 * tests/examples/metadata/read-metadata.c: (message_loop):
18737 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18738 immediately return us any available message with 0 timeout.
18740 2005-12-12 Michael Smith <msmith@fluendo.com>
18742 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18743 Don't unref factories after calling them.
18744 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18745 * plugins/elements/gsttypefindelement.c:
18746 (gst_type_find_element_chain):
18747 Free lists of factories after using them. Fixing typefinding memory
18750 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18752 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18753 (gst_plugin_feature_load):
18754 more meaningful debug output
18756 * tests/Makefile.am:
18757 * tests/old/examples/Makefile.am:
18758 make make distcheck happy again
18760 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18762 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18763 Catch the special case where we are operating chain-based,
18764 but the downstream peer pad has no chain function. Emit a
18765 custom error message in this case instead of letting the
18766 core generate one implying that this is some sort of core
18767 bug. It's not, it just means that whatever got plugged
18768 into the pipeline downstream when we announced the type
18769 can only operate pull-based, while our source can only
18770 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18771 Error string has not been marked for translation yet, as
18772 it probably needs some more work first.
18774 (gst_type_find_element_get_best_possibility):
18775 Add helper function to find the best of all available
18776 found possibilities that qualify given the min. threshold.
18778 (gst_type_find_element_handle_event):
18779 Fix the case where we get an EOS while still in TYPEFIND
18780 mode (we want to chose the best of all possible types,
18781 not just the first type that happens to be in our unsorted
18782 list of possible types).
18784 (gst_type_find_element_chain):
18785 Make sure we return GST_FLOW_ERROR when we errored out
18786 in stop_typefinding(); also, don't just find the best of
18787 all found type entries and then use the last examined
18788 type entry, but actually use the best entry.
18790 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18792 * tests/examples/typefind/typefind.c: (type_found):
18793 * tests/examples/xml/runxml.c: (xml_loaded):
18794 More gcc4 fixes and a mem leak fix.
18796 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18798 * tests/examples/xml/createxml.c: (object_saved):
18801 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18803 * tests/Makefile.am:
18804 enable the examples even more
18806 2005-12-12 Andy Wingo <wingo@pobox.com>
18808 * libs/gst/net/gstnettimeprovider.c
18809 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18810 (gst_net_time_provider_set_property)
18811 (gst_net_time_provider_get_property):
18812 API addition: Export "active" as a GObject property.
18813 (gst_net_time_provider_thread): Only respond to time queries if
18814 the time provider is active.
18816 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18817 NetTimeProvider, preserving binary compat.
18819 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18821 * tests/examples/controller/audio-example.c: (main):
18822 * tests/examples/launch/Makefile.am:
18823 convert comments again
18825 2005-12-12 Wim Taymans <wim@fluendo.com>
18827 * libs/gst/base/gstpushsrc.c:
18830 2005-12-12 Wim Taymans <wim@fluendo.com>
18832 * docs/libs/gstreamer-libs-sections.txt:
18833 Added new symbol to docs.
18835 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18836 (gst_base_src_init), (gst_base_src_set_format),
18837 (gst_base_src_default_query), (gst_base_src_query),
18838 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18839 (gst_base_src_perform_seek), (gst_base_src_send_event),
18840 (gst_base_src_default_event), (gst_base_src_event_handler),
18841 (gst_base_src_set_property), (gst_base_src_get_property),
18842 (gst_base_src_wait), (gst_base_src_do_sync),
18843 (gst_base_src_update_length), (gst_base_src_get_range),
18844 (gst_base_src_check_get_range), (gst_base_src_loop),
18845 (gst_base_src_default_negotiate), (gst_base_src_start),
18846 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18847 (gst_base_src_change_state):
18848 * libs/gst/base/gstbasesrc.h:
18849 Implement seeking to other formats than _BYTES.
18850 Implement more seeking methods correctly.
18852 Added query vmethod.
18853 Added do_seek vmethod to make life easier for subclasses
18855 API addition: gst_base_src_set_format()
18857 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18859 * tests/examples/Makefile.am:
18862 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18865 * docs/random/ensonic/media-device-daemon.txt:
18866 * tests/examples/controller/.cvsignore:
18867 * tests/examples/controller/Makefile.am:
18868 * tests/examples/controller/audio-example.c: (main):
18869 * tests/examples/helloworld/.cvsignore:
18870 * tests/examples/helloworld/Makefile.am:
18871 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18872 * tests/examples/launch/.cvsignore:
18873 * tests/examples/launch/Makefile.am:
18874 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18875 * tests/examples/metadata/.cvsignore:
18876 * tests/examples/metadata/Makefile.am:
18877 * tests/examples/metadata/read-metadata.c: (message_loop),
18878 (make_pipeline), (print_tag), (main):
18879 * tests/examples/queue/.cvsignore:
18880 * tests/examples/queue/Makefile.am:
18881 * tests/examples/queue/queue.c: (event_loop), (main):
18882 * tests/examples/typefind/.cvsignore:
18883 * tests/examples/typefind/Makefile.am:
18884 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18886 * tests/examples/xml/.cvsignore:
18887 * tests/examples/xml/Makefile.am:
18888 * tests/examples/xml/createxml.c: (object_saved), (main):
18889 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18890 * tests/old/examples/Makefile.am:
18891 * tests/old/examples/TODO:
18892 * tests/old/examples/controller/.cvsignore:
18893 * tests/old/examples/controller/Makefile.am:
18894 * tests/old/examples/controller/audio-example.c:
18895 * tests/old/examples/helloworld/.cvsignore:
18896 * tests/old/examples/helloworld/Makefile.am:
18897 * tests/old/examples/helloworld/helloworld.c:
18898 * tests/old/examples/launch/.cvsignore:
18899 * tests/old/examples/launch/Makefile.am:
18900 * tests/old/examples/launch/mp3parselaunch.c:
18901 * tests/old/examples/launch/mp3play:
18902 * tests/old/examples/manual/Makefile.am:
18903 * tests/old/examples/metadata/Makefile.am:
18904 * tests/old/examples/metadata/read-metadata.c:
18905 * tests/old/examples/queue/.cvsignore:
18906 * tests/old/examples/queue/Makefile.am:
18907 * tests/old/examples/queue/queue.c:
18908 * tests/old/examples/typefind/.cvsignore:
18909 * tests/old/examples/typefind/Makefile.am:
18910 * tests/old/examples/typefind/typefind.c:
18911 * tests/old/examples/xml/.cvsignore:
18912 * tests/old/examples/xml/Makefile.am:
18913 * tests/old/examples/xml/createxml.c:
18914 * tests/old/examples/xml/runxml.c:
18915 applied some simple fixing to some examples
18916 re-enabled the working examples
18918 2005-12-12 Wim Taymans <wim@fluendo.com>
18920 * gst/gstsegment.c: (gst_segment_init),
18921 (gst_segment_set_last_stop), (gst_segment_set_seek),
18922 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18923 (gst_segment_to_running_time):
18924 Added more documentation.
18925 Make sure the last_pos value is updated properly.
18926 Make sure to_stream_time and to_running_time don't
18927 operate on wrong values.
18929 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18932 2005-12-12 Michael Smith <msmith@fluendo.com>
18934 * plugins/elements/gsttypefindelement.c: (free_entry),
18935 (gst_type_find_element_chain):
18936 Now that we're not leaking factories, make sure we keep references
18937 to them while we need them.
18939 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18941 * tests/check/gst/struct_i386.h:
18942 ifdef out the XML structs
18944 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18946 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18947 floor is not needed, F is always positive; this obviates the
18948 need for adding -lm when building without libxml
18950 2005-12-12 Wim Taymans <wim@fluendo.com>
18952 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18953 Take current playback rate into account when reporting
18956 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18958 * docs/manual/mime-world.fig:
18959 Let's try this again, this time with a file that is
18960 actually in XFig format.
18962 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18964 * docs/manual/mime-world.fig:
18965 Add audioconvert element to diagram so that it
18966 matches the text and the code (fixes #319526).
18968 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18970 * docs/pwg/building-chainfn.xml:
18971 * docs/pwg/building-pads.xml:
18972 * docs/pwg/building-state.xml:
18973 * docs/pwg/other-source.xml:
18974 Update state change stuff for 0.10 (fixes #322969).
18976 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18978 * docs/manual/advanced-dataaccess.xml:
18979 * docs/manual/appendix-checklist.xml:
18980 * docs/manual/appendix-programs.xml:
18981 * docs/manual/basics-pads.xml:
18982 * docs/manual/highlevel-components.xml:
18983 * docs/manual/manual.xml:
18984 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18985 add converters in front of pipelines; remove curly
18986 brackets for threads stuff, they no longer exist; use
18987 GST_TYPE_FRACTION for framerates; update some pieces of
18988 code to 0.10, but there's plenty more to do.
18990 * docs/manual/appendix-porting.xml:
18991 Expand on asynchroneous state changes; s/0.9/0.10/;
18992 mention disappearance of gst_init_get_popt_table()
18995 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18997 * docs/faq/using.xml:
18998 Spider no longer exists, and neither does gst-launch-ext.
18999 Update examples to use decodebin and playbin and put
19000 converters in front of sinks (fixes #323726).
19002 2005-12-09 Michael Smith <msmith@fluendo.com>
19004 * plugins/elements/gsttypefindelement.c: (find_peek),
19005 (gst_type_find_element_chain):
19006 Fix leaking element factories in typefinding.
19007 Fix problem where we forgot about a probable type on non-seekable
19008 files, and thus later mis-typefound it.
19010 2005-12-09 Michael Smith <msmith@fluendo.com>
19012 * common/m4/gst-makecontext.m4:
19013 * common/m4/gst-mcsc.m4:
19015 * win32/common/config.h:
19016 * win32/common/config.h.in:
19017 Remove makecontext stuff; not used in 0.10 and causes problems on
19018 HPUX according to bug #322441
19020 2005-12-07 Wim Taymans <wim@fluendo.com>
19022 * tests/check/Makefile.am:
19023 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19025 * tests/check/libs/struct_i386.h:
19026 Added ABI check for libs
19028 2005-12-07 Wim Taymans <wim@fluendo.com>
19030 * tests/check/Makefile.am:
19031 And add the struct_i386.h to dist.
19033 2005-12-07 Wim Taymans <wim@fluendo.com>
19035 * tests/check/Makefile.am:
19036 * tests/check/gst/.cvsignore:
19037 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19039 * tests/check/gst/struct_i386.h:
19040 Added check for ABI compatibility.
19042 2005-12-07 Wim Taymans <wim@fluendo.com>
19044 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19045 (gst_fake_src_get_times), (gst_fake_src_create):
19046 Fix broken sync option, fixes #323259
19048 2005-12-07 Wim Taymans <wim@fluendo.com>
19053 * gst/gstcaps.c: (gst_caps_is_equal):
19054 Don't assert on NULL <--> X. Fixes #323260
19056 * gst/gstminiobject.c: (gst_mini_object_replace):
19057 If we're doing atomic operations, we might just as well use
19058 the proper way to get an atomic pointer.
19060 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19061 Clean up debugging.
19063 2005-12-07 Michael Smith <msmith@fluendo.com>
19065 * gst/parse/grammar.y:
19066 Remove handling of { } for threads.
19068 2005-12-06 David Schleef <ds@schleef.org>
19070 * libs/gst/base/gstbasetransform.c: speling fix.
19072 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19074 * docs/libs/tmpl/gstdataprotocol.sgml:
19075 * docs/random/omega/testing/gstobject.c:
19078 * gst/gstelement.c:
19079 * gst/gstelementfactory.c:
19082 * gst/gstghostpad.c:
19084 * gst/gstpadtemplate.c:
19085 * gst/gstregistryxml.c:
19086 * gst/gsttaglist.c:
19087 * gst/gsttagsetter.c:
19088 * gst/gsttypefind.c:
19090 * libs/gst/base/gstbasesrc.c:
19091 * libs/gst/net/gstnetclientclock.c:
19092 * libs/gst/net/gstnettimeprovider.c:
19093 * plugins/elements/gstfakesrc.c:
19094 * plugins/elements/gstfdsrc.c:
19095 * plugins/elements/gstfilesrc.c:
19096 * plugins/elements/gstidentity.c:
19097 * plugins/elements/gstqueue.c:
19098 * plugins/elements/gsttypefindelement.c:
19099 * plugins/indexers/gstfileindex.c:
19100 * plugins/indexers/gstmemindex.c:
19101 * tests/check/gst/gsttag.c:
19102 * tests/old/examples/cutter/cutter.c:
19103 * tests/old/examples/mixer/mixer.c:
19104 * tests/old/examples/xml/runxml.c: (main):
19105 * tests/old/testsuite/caps/normalisation.c:
19106 * tests/old/testsuite/debug/global.c:
19107 * tests/old/testsuite/parse/parse1.c:
19108 * tools/gst-xmlinspect.c:
19109 * win32/common/dirent.c:
19112 === release 0.10.0 ===
19114 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19117 releasing 0.10.0, "Maroilles"
19119 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19121 submitted by: Funda Wang <fundawang@linux.net.cn>
19125 added Chinese (Traditional) translation
19127 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19129 * docs/gst/gstreamer-sections.txt:
19130 * docs/libs/tmpl/gstdataprotocol.sgml:
19131 * docs/random/thomasvs/TODO:
19136 2005-12-05 Andy Wingo <wingo@pobox.com>
19138 patch by: Wim Taymans <wim@fluendo.com>
19140 * libs/gst/base/gstbasetransform.c
19141 (gst_base_transform_prepare_output_buf)
19142 (gst_base_transform_buffer_alloc):
19143 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19144 alloc_buffer_and_set_caps.
19146 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19147 set_caps on the source pad.
19148 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19149 alloc_buffer used to do. Fixes #322874.
19151 * docs/gst/gstreamer-sections.txt:
19152 * docs/design/part-negotiation.txt:
19153 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19156 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19158 patch by: Sebastien Moutte
19161 * win32/common/config.h.in:
19162 * win32/vs6/libgstcontroller.dsp:
19165 2005-12-05 Wim Taymans <wim@fluendo.com>
19167 * gst/gstcaps.c: (gst_caps_is_equal):
19168 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19169 (gst_fake_src_create):
19170 Back out previous code changes, leave doc updates, file bugs
19173 2005-12-05 Wim Taymans <wim@fluendo.com>
19175 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19176 (gst_fake_src_get_times), (gst_fake_src_create):
19177 * plugins/elements/gstfakesrc.h:
19178 Fix broken sync code.
19180 2005-12-05 Wim Taymans <wim@fluendo.com>
19182 * gst/gstcaps.c: (gst_caps_is_equal):
19183 Comparing NULL against !NULL yields different caps, not a
19186 2005-12-05 Wim Taymans <wim@fluendo.com>
19188 * gst/gstpipeline.c:
19189 Fix small typo in docs.
19191 2005-12-05 Andy Wingo <wingo@pobox.com>
19193 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19195 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19196 registries/plugins with a MAJORMINOR one.
19197 (plugin_desc): Rename library from gstcoreleements to
19198 staticelements. Fixes #323222.
19200 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19202 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19203 Change debug category to 'collectpads' from 'collect_pads'
19206 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19208 patch by: Sebastien Moutte
19210 * libs/gst/controller/gstinterpolation.c:
19211 use convert function for uint64/double
19212 * win32/vs6/libgstcontroller.dsp:
19215 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19217 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19218 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19220 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19221 add tests that seem to show that the guint64/gdouble conversions
19224 2005-12-02 Wim Taymans <wim@fluendo.com>
19226 * gst/gstregistry.c: (gst_registry_add_path):
19227 * gst/gstregistry.h:
19228 * gst/gstregistryxml.c:
19231 2005-12-02 Wim Taymans <wim@fluendo.com>
19233 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19234 (gst_util_uint64_scale_int):
19237 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19238 Add debug log line.
19240 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19243 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19246 * win32/common/config.h:
19247 * win32/vs6/gstreamer.dsw:
19248 * win32/vs6/libgstcoreelements.dsp:
19249 * win32/vs6/libgstelements.dsp:
19250 renamed core elements plugin
19252 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19256 do piece-wise major/minor comparison so 0.9 < 0.10
19257 also allow .exe extensions for tools
19259 2005-12-02 Michael Smith <msmith@fluendo.com>
19262 Escape a % to make gtkdoc happier; bug 322958.
19264 === release 0.9.7 ===
19266 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19269 releasing 0.9.7, "My Dog Has No Nose"
19271 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19273 * common/gst-xmlinspect.py:
19275 * docs/libs/tmpl/gstdataprotocol.sgml:
19276 * docs/random/release:
19295 * win32/common/config.h:
19296 * win32/common/config.h.in:
19297 * win32/vs6/gst_inspect.dsp:
19298 * win32/vs6/gst_launch.dsp:
19299 * win32/vs6/libgstbase.dsp:
19300 * win32/vs6/libgstelements.dsp:
19301 * win32/vs6/libgstreamer.dsp:
19302 * win32/vs7/GStreamer.vcproj:
19303 * win32/vs7/gst-inspect.vcproj:
19304 * win32/vs7/gst-launch.vcproj:
19305 * win32/vs7/libgstbase.vcproj:
19306 bump GST_MAJORMINOR to 0.10
19307 reset libtool version
19309 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19313 Added Bulgarian translation by (Alexander Shopov)
19315 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19317 * tests/check/gst/gstplugin.c:
19320 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19322 * common/gst-xmlinspect.py:
19323 * common/gtk-doc-plugins.mak:
19325 * docs/Makefile.am:
19326 * docs/gst/Makefile.am:
19327 * docs/gst/gstreamer-docs.sgml:
19328 * docs/gst/gstreamer-sections.txt:
19329 * docs/gst/gstreamer.types:
19330 * docs/gst/gstreamer.types.in:
19331 * docs/plugins/Makefile.am:
19332 * docs/plugins/gstreamer-plugins-docs.sgml:
19333 * docs/plugins/gstreamer-plugins-sections.txt:
19334 * docs/plugins/gstreamer-plugins.types:
19335 * docs/plugins/inspect.stamp:
19336 * docs/plugins/inspect/plugin-coreelements.xml:
19337 * docs/plugins/inspect/plugin-coreindexers.xml:
19338 * docs/plugins/scanobj-build.stamp:
19339 * gstreamer.spec.in:
19340 * plugins/elements/Makefile.am:
19341 * plugins/elements/gstelements.c:
19342 * plugins/elements/gstfakesink.c:
19343 * plugins/elements/gstfakesrc.c:
19344 * plugins/elements/gstfilesink.c:
19345 * plugins/elements/gstfilesrc.c:
19346 * plugins/elements/gstqueue.c:
19347 * plugins/indexers/Makefile.am:
19348 * plugins/indexers/gstindexers.c:
19349 document core plugins in a separate document just like all the
19351 rename these plugins to something starting with core
19353 2005-12-01 Andy Wingo <wingo@pobox.com>
19355 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19356 padding here before, but it missed the commit.
19358 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19360 * libs/gst/controller/gstinterpolation.c:
19361 whitespace prices have crashed, we should feel free to use some now
19362 use gst_guint64_to_gdouble
19364 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19366 * libs/gst/controller/gstcontroller.c:
19367 * libs/gst/controller/gsthelper.c:
19368 * libs/gst/controller/gstinterpolation.c:
19369 * libs/gst/controller/lib.c:
19370 wrap config.h include
19372 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19374 * docs/gst/gstreamer-sections.txt:
19377 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19379 * plugins/elements/gstelements.c:
19380 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19381 (gst_fd_sink__class_init), (gst_fd_sink__init),
19382 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19383 (gst_fd_sink__get_property):
19384 * plugins/elements/gstfdsink.h:
19385 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19386 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19387 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19388 (gst_fd_src_unlock), (gst_fd_src_set_property),
19389 (gst_fd_src_get_property), (gst_fd_src_create),
19390 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19391 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19392 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19393 (gst_fd_src_uri_handler_init):
19394 * plugins/elements/gstfdsrc.h:
19395 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19398 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19400 * docs/gst/Makefile.am:
19401 * docs/gst/gstreamer.types.in:
19405 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19411 * gst/gstregistry.h:
19412 * tests/benchmarks/complexity.c:
19413 * tests/benchmarks/mass-elements.c:
19414 * tests/check/Makefile.am:
19415 * tools/Makefile.am:
19416 * tools/gst-inspect.c:
19417 * tools/gst-xmlinspect.c:
19418 various fixes to make
19419 --disable-nls --disable-registry --disable-loadsave
19420 --disable-parse --disable-gst-debug
19421 work and get the core .so down to 360444 bytes after stripping
19423 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19428 * docs/random/thomasvs/TODO:
19429 * tests/Makefile.am:
19433 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19435 * win32/GStreamer.vcproj:
19438 * win32/Makefile.inspect:
19439 * win32/Makefile.launch:
19440 * win32/Makefile.register:
19441 * win32/README.txt:
19442 * win32/gst-inspect.vcproj:
19443 * win32/gst-launch.vcproj:
19444 * win32/gst-register.vcproj:
19445 * win32/gstelements.vcproj:
19446 * win32/gstgetbits.def:
19447 * win32/gstgetbits.vcproj:
19448 * win32/gstreamer-dbg.def:
19449 * win32/gstreamer.def:
19450 * win32/libgstbase.def:
19451 * win32/libgstbase.vcproj:
19452 * win32/link_oldruntime.c:
19456 * win32/msvc71.sln:
19457 move even more stuff, win32/ is nice and clean now
19459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19461 * libs/gst/control/.cvsignore:
19466 * win32/gstbytestream.def:
19467 * win32/gstbytestream.vcproj:
19468 * win32/gstconfig.h:
19469 * win32/gstenumtypes.c:
19470 * win32/gstenumtypes.h:
19471 * win32/gstoptimalscheduler.vcproj:
19472 * win32/gstversion.h:
19474 * win32/testsuite/bins.vcproj:
19475 * win32/testsuite/bytestream.vcproj:
19476 * win32/testsuite/caps.vcproj:
19477 * win32/testsuite/cleanup.vcproj:
19478 * win32/testsuite/clock.vcproj:
19479 * win32/testsuite/debug.vcproj:
19480 * win32/testsuite/dlopen.vcproj:
19481 * win32/testsuite/dynparams.vcproj:
19482 * win32/testsuite/elements.vcproj:
19483 * win32/testsuite/ghostpads.vcproj:
19484 * win32/testsuite/indexers.vcproj:
19485 * win32/testsuite/negotiation.vcproj:
19486 * win32/testsuite/parse.vcproj:
19487 * win32/testsuite/plugin.vcproj:
19488 * win32/testsuite/refcounting.vcproj:
19489 * win32/testsuite/schedulers.vcproj:
19490 * win32/testsuite/states.vcproj:
19491 * win32/testsuite/tags.vcproj:
19492 * win32/testsuite/threads.vcproj:
19493 remove old win32 stuff that isn't maintained and should be
19496 2005-11-30 Andy Wingo <wingo@pobox.com>
19498 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19499 loading the gst.interfaces python module bork.
19501 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19502 available since GLib 2.2. Fixes #318031.
19504 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19507 * check/.cvsignore:
19508 * check/Makefile.am:
19509 * check/elements/.cvsignore:
19510 * check/elements/fakesrc.c:
19511 * check/elements/fdsrc.c:
19512 * check/elements/identity.c:
19513 * check/generic/.cvsignore:
19514 * check/generic/states.c:
19515 * check/gst-libs/.cvsignore:
19516 * check/gst-libs/controller.c:
19517 * check/gst-libs/gdp.c:
19518 * check/gst/.cvsignore:
19519 * check/gst/capslist.h:
19521 * check/gst/gstbin.c:
19522 * check/gst/gstbuffer.c:
19523 * check/gst/gstbus.c:
19524 * check/gst/gstcaps.c:
19525 * check/gst/gstelement.c:
19526 * check/gst/gstevent.c:
19527 * check/gst/gstghostpad.c:
19528 * check/gst/gstiterator.c:
19529 * check/gst/gstmessage.c:
19530 * check/gst/gstminiobject.c:
19531 * check/gst/gstobject.c:
19532 * check/gst/gstpad.c:
19533 * check/gst/gstpipeline.c:
19534 * check/gst/gstplugin.c:
19535 * check/gst/gstsegment.c:
19536 * check/gst/gststructure.c:
19537 * check/gst/gstsystemclock.c:
19538 * check/gst/gsttag.c:
19539 * check/gst/gstutils.c:
19540 * check/gst/gstvalue.c:
19541 * check/net/.cvsignore:
19542 * check/net/gstnetclientclock.c:
19543 * check/net/gstnettimeprovider.c:
19544 * check/pipelines/.cvsignore:
19545 * check/pipelines/cleanup.c:
19546 * check/pipelines/simple_launch_lines.c:
19547 * check/pipelines/stress.c:
19548 * check/states/.cvsignore:
19549 * check/states/sinks.c:
19551 * examples/Makefile.am:
19552 * examples/appreader/.cvsignore:
19553 * examples/appreader/Makefile.am:
19554 * examples/appreader/appreader.c:
19555 * examples/controller/.cvsignore:
19556 * examples/controller/Makefile.am:
19557 * examples/controller/audio-example.c:
19558 * examples/cutter/.cvsignore:
19559 * examples/cutter/Makefile.am:
19560 * examples/cutter/cutter.c:
19561 * examples/cutter/cutter.h:
19562 * examples/events/Makefile.am:
19563 * examples/events/seek.c:
19564 * examples/helloworld/.cvsignore:
19565 * examples/helloworld/Makefile.am:
19566 * examples/helloworld/helloworld.c:
19567 * examples/helloworld2/.cvsignore:
19568 * examples/helloworld2/Makefile.am:
19569 * examples/helloworld2/helloworld2.c:
19570 * examples/launch/.cvsignore:
19571 * examples/launch/Makefile.am:
19572 * examples/launch/mp3parselaunch.c:
19573 * examples/launch/mp3play:
19574 * examples/manual/.cvsignore:
19575 * examples/manual/Makefile.am:
19576 * examples/manual/extract.pl:
19577 * examples/metadata/Makefile.am:
19578 * examples/metadata/read-metadata.c:
19579 * examples/mixer/.cvsignore:
19580 * examples/mixer/Makefile.am:
19581 * examples/mixer/mixer.c:
19582 * examples/mixer/mixer.h:
19583 * examples/pingpong/.cvsignore:
19584 * examples/pingpong/Makefile.am:
19585 * examples/pingpong/pingpong.c:
19586 * examples/plugins/.cvsignore:
19587 * examples/plugins/Makefile.am:
19588 * examples/plugins/example.c:
19589 * examples/plugins/example.h:
19590 * examples/pwg/.cvsignore:
19591 * examples/pwg/Makefile.am:
19592 * examples/pwg/extract.pl:
19593 * examples/queue/.cvsignore:
19594 * examples/queue/Makefile.am:
19595 * examples/queue/queue.c:
19596 * examples/queue2/.cvsignore:
19597 * examples/queue2/Makefile.am:
19598 * examples/queue2/queue2.c:
19599 * examples/queue3/.cvsignore:
19600 * examples/queue3/Makefile.am:
19601 * examples/queue3/queue3.c:
19602 * examples/queue4/.cvsignore:
19603 * examples/queue4/Makefile.am:
19604 * examples/queue4/queue4.c:
19605 * examples/retag/.cvsignore:
19606 * examples/retag/Makefile.am:
19607 * examples/retag/retag.c:
19608 * examples/retag/transcode.c:
19609 * examples/thread/.cvsignore:
19610 * examples/thread/Makefile.am:
19611 * examples/thread/thread.c:
19612 * examples/typefind/.cvsignore:
19613 * examples/typefind/Makefile.am:
19614 * examples/typefind/typefind.c:
19615 * examples/xml/.cvsignore:
19616 * examples/xml/Makefile.am:
19617 * examples/xml/createxml.c:
19618 * examples/xml/runxml.c:
19619 * tests/Makefile.am:
19620 * tests/check/Makefile.am:
19621 * testsuite/.cvsignore:
19622 * testsuite/Makefile.am:
19624 * testsuite/caps/.cvsignore:
19625 * testsuite/caps/Makefile.am:
19626 * testsuite/caps/app_fixate.c:
19627 * testsuite/caps/audioscale.c:
19628 * testsuite/caps/caps.c:
19629 * testsuite/caps/caps.h:
19630 * testsuite/caps/caps_strings:
19631 * testsuite/caps/compatibility.c:
19632 * testsuite/caps/deserialize.c:
19633 * testsuite/caps/enumcaps.c:
19634 * testsuite/caps/eratosthenes.c:
19635 * testsuite/caps/filtercaps.c:
19636 * testsuite/caps/fixed.c:
19637 * testsuite/caps/fraction-convert.c:
19638 * testsuite/caps/fraction-multiply-and-zero.c:
19639 * testsuite/caps/intersect2.c:
19640 * testsuite/caps/intersection.c:
19641 * testsuite/caps/normalisation.c:
19642 * testsuite/caps/random.c:
19643 * testsuite/caps/renegotiate.c:
19644 * testsuite/caps/sets.c:
19645 * testsuite/caps/simplify.c:
19646 * testsuite/caps/string-conversions.c:
19647 * testsuite/caps/structure.c:
19648 * testsuite/caps/subtract.c:
19649 * testsuite/caps/union.c:
19650 * testsuite/debug/.cvsignore:
19651 * testsuite/debug/Makefile.am:
19652 * testsuite/debug/category.c:
19653 * testsuite/debug/commandline.c:
19654 * testsuite/debug/global.c:
19655 * testsuite/debug/output.c:
19656 * testsuite/debug/printf_extension.c:
19657 * testsuite/dlopen/.cvsignore:
19658 * testsuite/dlopen/Makefile.am:
19659 * testsuite/dlopen/dlopen_gst.c:
19660 * testsuite/dlopen/loadgst.c:
19661 * testsuite/elements/.cvsignore:
19662 * testsuite/elements/Makefile.am:
19663 * testsuite/elements/gst-inspect-check.in:
19664 * testsuite/elements/struct_i386.h:
19665 * testsuite/elements/struct_size.c:
19666 * testsuite/indexers/.cvsignore:
19667 * testsuite/indexers/Makefile.am:
19668 * testsuite/indexers/cache1.c:
19669 * testsuite/indexers/indexdump.c:
19670 * testsuite/parse/.cvsignore:
19671 * testsuite/parse/Makefile.am:
19672 * testsuite/parse/parse1.c:
19673 * testsuite/parse/parse2.c:
19674 * testsuite/plugin/.cvsignore:
19675 * testsuite/plugin/Makefile.am:
19676 * testsuite/plugin/README:
19677 * testsuite/plugin/dynamic.c:
19678 * testsuite/plugin/linked.c:
19679 * testsuite/plugin/loading.c:
19680 * testsuite/plugin/registry.c:
19681 * testsuite/plugin/static.c:
19682 * testsuite/plugin/static2.c:
19683 * testsuite/plugin/testplugin.c:
19684 * testsuite/plugin/testplugin2.c:
19685 * testsuite/plugin/testplugin2_s.c:
19686 * testsuite/plugin/testplugin_s.c:
19687 * testsuite/refcounting/.cvsignore:
19688 * testsuite/refcounting/Makefile.am:
19689 * testsuite/refcounting/bin.c:
19690 * testsuite/refcounting/element.c:
19691 * testsuite/refcounting/element_pad.c:
19692 * testsuite/refcounting/mainloop.c:
19693 * testsuite/refcounting/mem.c:
19694 * testsuite/refcounting/mem.h:
19695 * testsuite/refcounting/object.c:
19696 * testsuite/refcounting/pad.c:
19697 * testsuite/refcounting/sched.c:
19698 * testsuite/refcounting/thread.c:
19699 * testsuite/states/.cvsignore:
19700 * testsuite/states/Makefile.am:
19701 * testsuite/states/bin.c:
19702 * testsuite/states/locked.c:
19703 * testsuite/states/parent.c:
19704 * testsuite/threads/.cvsignore:
19705 * testsuite/threads/159566.c:
19706 * testsuite/threads/159852.c:
19707 * testsuite/threads/Makefile.am:
19708 * testsuite/threads/queue.c:
19709 * testsuite/threads/signals.c:
19710 * testsuite/threads/staticrec.c:
19711 * testsuite/threads/thread.c:
19712 * testsuite/threads/threadb.c:
19713 * testsuite/threads/threadc.c:
19714 * testsuite/threads/threadd.c:
19715 * testsuite/threads/threade.c:
19716 * testsuite/threads/threadf.c:
19717 * testsuite/threads/threadg.c:
19718 * testsuite/threads/threadh.c:
19719 * testsuite/threads/threadi.c:
19720 move all of these under tests
19722 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19725 * tests/Makefile.am:
19728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19730 * docs/gst/gstreamer-sections.txt:
19731 * tests/sched/.cvsignore:
19732 * tests/sched/Makefile.am:
19733 * tests/sched/cases/(fs-fs).xml:
19734 * tests/sched/cases/(fs-i-fs).xml:
19735 * tests/sched/cases/(fs-i-i-fs).xml:
19736 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19737 * tests/sched/dynamic-pipeline.c:
19738 * tests/sched/interrupt1.c:
19739 * tests/sched/interrupt2.c:
19740 * tests/sched/interrupt3.c:
19741 * tests/sched/runtestcases:
19742 * tests/sched/runxml.c:
19743 * tests/sched/sched-stress.c:
19744 * tests/sched/sort.c:
19745 * tests/sched/testcases:
19746 * tests/sched/testcases1.tc:
19747 * tests/seeking/.cvsignore:
19748 * tests/seeking/Makefile.am:
19749 * tests/seeking/seeking1.c:
19750 * tests/threadstate/.cvsignore:
19751 * tests/threadstate/Makefile.am:
19752 * tests/threadstate/test1.c:
19753 * tests/threadstate/test2.c:
19754 * tests/threadstate/threadstate1.c:
19755 * tests/threadstate/threadstate2.c:
19756 * tests/threadstate/threadstate3.c:
19757 * tests/threadstate/threadstate4.c:
19758 * tests/threadstate/threadstate5.c:
19759 remove obsolete tests
19761 * tests/bench-complexity.scm:
19762 * tests/bench-mass_elements.scm:
19763 * tests/complexity.c:
19764 * tests/complexity.gnuplot:
19765 * tests/instantiate/.cvsignore:
19766 * tests/instantiate/Makefile.am:
19767 * tests/instantiate/caps.c:
19768 * tests/mass_elements.c:
19769 * tests/network-clock-utils.scm:
19770 * tests/network-clock.scm:
19772 First pass at cleaning up tests/ dir before moving the rest
19773 Combined with CVS surgery
19775 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19778 queue has moved, update
19780 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19782 * docs/gst/gstreamer-sections.txt:
19783 remove double entries from the docs
19784 * gst/gst_private.h:
19785 * gst/gstinfo.c: (_gst_debug_init):
19786 remove the THREAD debug category
19790 * docs/gst/gstreamer.types:
19791 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19792 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19793 completely move queue and fix up debugging categories
19795 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19797 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19798 make initialization portable, using LL is not
19800 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19802 * win32/common/gstconfig.h:
19805 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19807 * win32/common/libgstreamer.def:
19808 rename symbols; sort base section
19810 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19812 * gst/gstclock.c: (do_linear_regression):
19813 remove crack non-portable handrolled DEBUG macro
19815 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19817 * docs/random/release:
19819 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19820 (gst_object_flags_get_type), (register_gst_bin_flags),
19821 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19822 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19823 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19824 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19825 (gst_caps_flags_get_type), (register_gst_clock_return),
19826 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19827 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19828 (gst_clock_flags_get_type), (register_gst_state),
19829 (gst_state_get_type), (register_gst_state_change_return),
19830 (gst_state_change_return_get_type), (register_gst_state_change),
19831 (gst_state_change_get_type), (register_gst_element_flags),
19832 (gst_element_flags_get_type), (register_gst_core_error),
19833 (gst_core_error_get_type), (register_gst_library_error),
19834 (gst_library_error_get_type), (register_gst_resource_error),
19835 (gst_resource_error_get_type), (register_gst_stream_error),
19836 (gst_stream_error_get_type), (register_gst_event_type_flags),
19837 (gst_event_type_flags_get_type), (register_gst_event_type),
19838 (gst_event_type_get_type), (register_gst_seek_type),
19839 (gst_seek_type_get_type), (register_gst_seek_flags),
19840 (gst_seek_flags_get_type), (register_gst_format),
19841 (gst_format_get_type), (register_gst_index_certainty),
19842 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19843 (gst_index_entry_type_get_type),
19844 (register_gst_index_lookup_method),
19845 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19846 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19847 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19848 (gst_index_flags_get_type), (register_gst_debug_level),
19849 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19850 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19851 (gst_iterator_result_get_type), (register_gst_iterator_item),
19852 (gst_iterator_item_get_type), (register_gst_message_type),
19853 (gst_message_type_get_type), (register_gst_mini_object_flags),
19854 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19855 (gst_pad_link_return_get_type), (register_gst_flow_return),
19856 (gst_flow_return_get_type), (register_gst_activate_mode),
19857 (gst_activate_mode_get_type), (register_gst_pad_direction),
19858 (gst_pad_direction_get_type), (register_gst_pad_flags),
19859 (gst_pad_flags_get_type), (register_gst_pad_presence),
19860 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19861 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19862 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19863 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19864 (gst_plugin_flags_get_type), (register_gst_rank),
19865 (gst_rank_get_type), (register_gst_query_type),
19866 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19867 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19868 (gst_tag_flag_get_type), (register_gst_task_state),
19869 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19870 (gst_alloc_trace_flags_get_type),
19871 (register_gst_type_find_probability),
19872 (gst_type_find_probability_get_type), (register_gst_uri_type),
19873 (gst_uri_type_get_type), (register_gst_parse_error),
19874 (gst_parse_error_get_type):
19875 * win32/common/gstenumtypes.h:
19876 * win32/common/gstversion.h:
19877 update visual studio generated files
19879 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19881 * win32/vs6/libgstbase.dsp:
19882 * win32/vs6/libgstelements.dsp:
19883 update project files for new locations
19885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19890 reinstate and update
19895 * docs/random/LICENSE:
19898 2005-11-30 Edward Hervey <edward@fluendo.com>
19900 * gst/gsttypefind.c: (gst_type_find_register):
19901 * gst/gsttypefind.h:
19902 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19903 (gst_type_find_factory_dispose):
19904 * gst/gsttypefindfactory.h:
19905 Fix memory leak in GstTypeFindFactory.
19907 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19910 * plugins/elements/Makefile.am:
19911 * plugins/elements/gstelements.c:
19912 * plugins/elements/gstqueue.c:
19913 move queue from core to the elements plugin
19915 2005-11-29 Andy Wingo <wingo@pobox.com>
19917 * libs/gst/base/gstbasetransform.h:
19918 * libs/gst/base/gstbasesrc.h:
19919 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19921 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19922 of pointers by which to pad very extensible base classes (like the
19923 ones in libs/gst/base).
19925 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19927 * docs/gst/gstreamer-docs.sgml:
19928 * docs/gst/gstreamer-sections.txt:
19929 * docs/libs/gstreamer-libs-docs.sgml:
19930 * docs/libs/gstreamer-libs-sections.txt:
19931 moving documentation from core to lib
19933 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19935 * check/Makefile.am:
19937 * docs/gst/Makefile.am:
19939 * gst/base/.cvsignore:
19940 * gst/base/Makefile.am:
19942 * gst/base/gstadapter.c:
19943 * gst/base/gstadapter.h:
19944 * gst/base/gstbasesink.c:
19945 * gst/base/gstbasesink.h:
19946 * gst/base/gstbasesrc.c:
19947 * gst/base/gstbasesrc.h:
19948 * gst/base/gstbasetransform.c:
19949 * gst/base/gstbasetransform.h:
19950 * gst/base/gstcollectpads.c:
19951 * gst/base/gstcollectpads.h:
19952 * gst/base/gstpushsrc.c:
19953 * gst/base/gstpushsrc.h:
19954 * gst/base/gsttypefindhelper.c:
19955 * gst/base/gsttypefindhelper.h:
19956 * gst/check/Makefile.am:
19957 * gst/check/gstcheck.c:
19958 * gst/check/gstcheck.h:
19959 * gst/net/Makefile.am:
19960 * gst/net/gstnet.h:
19961 * gst/net/gstnetclientclock.c:
19962 * gst/net/gstnetclientclock.h:
19963 * gst/net/gstnettimepacket.c:
19964 * gst/net/gstnettimepacket.h:
19965 * gst/net/gstnettimeprovider.c:
19966 * gst/net/gstnettimeprovider.h:
19967 * libs/gst/Makefile.am:
19968 * libs/gst/base/Makefile.am:
19969 * libs/gst/base/gstbasetransform.c:
19970 * libs/gst/check/Makefile.am:
19971 * plugins/elements/Makefile.am:
19973 CVS surgery + support to move base, check, and net out of gst
19976 2005-11-29 Andy Wingo <wingo@pobox.com>
19978 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19980 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19983 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19985 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19987 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19989 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19990 padding; reduces object size by about 30%. We don't expect
19991 anything else to go into gstobject.
19993 * gst/gstminiobject.h (struct _GstMiniObject)
19994 (struct _GstMiniObjectClass): Only one pointer of padding; the
19995 payload is only a pointer and two ints anyway. For the class there
19996 are only two methods as well.
19998 * gst/gstelement.h (struct _GstElementClass): Removed
19999 the state_changed signal callback, it is not used.
20001 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20003 * docs/gst/gstreamer.types:
20004 fix includes, though they are a little dinky
20006 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20008 * check/Makefile.am:
20009 look in the right place for elements, a lot more chance of
20012 remove indexers and elements subdirs
20013 * plugins/Makefile.am:
20014 make indexers conditional
20016 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20020 * plugins/elements/Makefile.am:
20021 * plugins/elements/gstcapsfilter.c:
20022 * plugins/elements/gstfilesink.c:
20023 * plugins/elements/gstfilesrc.c:
20024 * plugins/elements/gstidentity.c:
20025 * plugins/indexers/Makefile.am:
20026 do CVS surgery and related build fixery to move elements
20027 and indexers in a new gstreamer/plugins directory, out of the
20030 2005-11-29 Andy Wingo <wingo@pobox.com>
20032 * check/Makefile.am:
20033 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20034 * pkgconfig/gstreamer-net.pc.in:
20035 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20038 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20040 * tools/Makefile.am:
20041 * tools/gst-complete.1.in:
20042 * tools/gst-complete.c:
20043 * tools/gst-compprep.1.in:
20044 * tools/gst-compprep.c:
20045 removing -compprep and -complete
20047 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20049 * gst/gstevent.c: (gst_event_new_new_segment),
20050 (gst_event_parse_new_segment):
20052 fix #320529 - clean up new_segment API and structure.
20053 Let's hope everyone was using the methods, and not the structure.
20055 2005-11-29 Edward Hervey <edward@fluendo.com>
20057 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20058 (gst_base_sink_event), (gst_base_sink_do_sync),
20059 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20060 Properly handle non GST_FORMAT_TIME segment
20061 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20062 Properly handle non GST_FORMAT_TIME segment
20063 * gst/gstsegment.c:
20064 This function is valid if the accumulator is 0 and the format
20065 is different from the requested format.
20067 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20069 * docs/gst/gstreamer-sections.txt:
20070 Add gst_query_new_seeking and gst_query_parse_seeking to the
20073 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20075 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20076 Treat a pad alloc with new caps the same as if we were not
20077 negotiated, in order to allow a changing upstream output
20078 to produce a new format of data.
20080 2005-11-29 Edward Hervey <edward@fluendo.com>
20082 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20083 (gst_base_transform_event), (gst_base_transform_eventfunc):
20084 The event virtual method is now properly implemented, with a default
20086 Sub classes should call the parent_class event method. They should
20087 return FALSE if they had a problem handling the given event, or don't
20088 want GstBaseTransform to send that even downstream
20089 * gst/elements/gstidentity.c: (gst_identity_class_init),
20090 (gst_identity_init), (gst_identity_event),
20091 (gst_identity_transform_ip), (gst_identity_set_property),
20092 (gst_identity_get_property):
20093 * gst/elements/gstidentity.h:
20094 Added the single-segment boolean property.
20095 If set to TRUE, it will output a single segment of data, starting from
20096 0, will eat up all incoming newsegment, and modify the timestamp of the
20097 buffers accordingly
20099 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20101 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20102 Don't ref NULL target pad (#322751). Improve docs.
20104 2005-11-29 Michael Smith <msmith@fluendo.com>
20106 * gst/gstregistryxml.c: (load_plugin):
20107 Don't crash if we failed to load a feature from a plugin.
20109 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20111 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20113 use more check API and less GLib API
20115 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20118 don't run checks if we don't have check
20119 * common/check.mak:
20120 remove the registry when running make torture
20121 * docs/gst/gstreamer-sections.txt:
20122 remove second multiply
20123 * gst/gstqueue.c: (gst_queue_loop):
20124 fix a compile warning when disabling debug
20126 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20129 Hey! Let's print the pad name if the pointer != NULL instead
20130 of when it == NULL :-)
20132 2005-11-28 Wim Taymans <wim@fluendo.com>
20134 * check/gst/gstutils.c: (GST_START_TEST):
20135 Updated check, add some scaling accuracy checking code.
20137 * gst/gstutils.c: (gst_util_div128_64),
20138 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20139 (gst_util_uint64_scale_int):
20140 Fix 6 times faster division code. Optimize for common
20141 1/1 and less common X/1 cases.
20143 2005-11-28 Wim Taymans <wim@fluendo.com>
20145 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20148 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20149 (do_linear_regression), (gst_clock_add_observation):
20151 Release lock when the clock cannot be slaved.
20152 Catch the case where the regression returned an invalid denominator.
20154 * gst/gstutils.c: (gst_util_div128_64_iterate),
20155 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20156 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20157 Add protentially more performant non-iterative 128/64 divide function
20158 that unfortunatly does not work yet.
20159 Shortcut the trivial 0/X = 0 case.
20160 Remove the warnings on overflow.
20162 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20164 * gst/gstplugin.c: (gst_plugin_register_func):
20165 everything causing a plugin not to load should be at least a WARNING
20167 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20169 * docs/random/ensonic/dparams.txt:
20170 some TODOs for the next dev cycle
20171 * libs/gst/controller/gstcontroller.c:
20172 (gst_controlled_property_set_interpolation_mode),
20173 (gst_controlled_property_new):
20174 * libs/gst/controller/gstcontroller.h:
20175 use base type to assign acccessor functions
20177 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20179 * check/Makefile.am:
20180 Oops, that should have been top_srcdir
20182 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20184 * check/Makefile.am:
20185 * check/elements/fdsrc.c: (GST_START_TEST):
20186 Use a cmdline define to specify the location of a file to use for
20187 testing, to avoid breaking distcheck.
20189 2005-11-28 Andy Wingo <wingo@pobox.com>
20191 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20193 2005-11-28 Edward Hervey <edward@fluendo.com>
20195 * tools/gst-launch.c: (main):
20196 Clarify the output strings, makes it easier to translate.
20199 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20202 don't try and build net if we don't even have <sys/socket.h>
20204 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20206 * check/Makefile.am:
20207 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20208 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20209 Add tests for fdsrc seekability
20211 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20212 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20213 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20214 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20215 * gst/elements/gstfdsrc.h:
20216 fdsrc should not be a 'live' source.
20217 Implement seeking on seekable fd's.
20219 * gst/gstquery.c: (gst_query_new_seeking),
20220 (gst_query_parse_seeking):
20222 Implement SEEKING query functions:
20223 *_new_seeking and *_parse_seeking
20225 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20227 * gst/gstelement.c: (gst_element_dispose):
20230 * gst/gstiterator.c:
20231 * gst/gststructure.c:
20234 * libs/gst/controller/gstcontroller.c:
20235 (gst_controlled_property_set_interpolation_mode):
20236 * libs/gst/controller/gstcontroller.h:
20237 * libs/gst/controller/gstinterpolation.c:
20238 (interpolate_none_get_enum_value_array):
20239 support controlling enums
20241 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20244 Improve documentation for gst_value_union().
20247 Change return value for union, intersect and subtract functions
20248 from gint to gboolean.
20250 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20252 * gst/gstvalue.c: (gst_value_serialize_any_list),
20253 (gst_value_transform_any_list_string),
20254 (gst_value_deserialize_list), (gst_value_deserialize_array),
20255 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20256 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20257 (gst_value_set_fraction_range_full),
20258 (gst_value_deserialize_fraction_range),
20259 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20260 (gst_value_deserialize_boolean),
20261 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20262 (gst_value_serialize_float), (gst_value_deserialize_float),
20263 (gst_string_wrap), (gst_value_deserialize_string),
20264 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20265 (gst_value_union_int_range_int_range),
20266 (gst_value_intersect_int_range_int_range),
20267 (gst_value_intersect_double_range_double_range),
20268 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20269 (gst_value_subtract_int_range_int_range),
20270 (gst_value_subtract_double_double_range),
20271 (gst_value_subtract_double_range_double_range),
20272 (gst_value_deserialize_fraction):
20274 Use gint, gdouble and gchar in our API instead of int, double and
20275 char (and make usage in gstvalue.c more consistent).
20277 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20279 * check/Makefile.am:
20280 * libs/gst/controller/Makefile.am:
20281 * libs/gst/dataprotocol/Makefile.am:
20282 fix up Makefile.am and remove GST_ENABLE_NEW
20284 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20288 * gst/base/Makefile.am:
20289 * gst/check/Makefile.am:
20290 * gst/elements/Makefile.am:
20291 * gst/net/Makefile.am:
20292 update LDFLAGS use some more
20294 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20296 * common/m4/gst-doc.m4:
20299 2005-11-26 Edward Hervey <edward@fluendo.com>
20301 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20302 This shouldn't issue a g_warning since it returns NULL if it
20303 couldn't find the plugin, and all functions using this behave
20304 properly on a NULL return. Switching to a GST_WARNING.
20306 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20308 * gst/gstbin.c: (gst_bin_handle_message_func):
20309 Don't leak clock messages.
20311 2005-11-25 Wim Taymans <wim@fluendo.com>
20313 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20314 (gst_util_uint64_scale_int):
20315 Optimisations, remove unneeded vars.
20317 2005-11-25 Wim Taymans <wim@fluendo.com>
20319 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20320 Added more checks for the high precision uint64 cases.
20322 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20323 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20324 Implement high precision (guint64 * guint64) / guint64.
20326 2005-11-24 Wim Taymans <wim@fluendo.com>
20328 * gst/base/gstbasesrc.c: (gst_base_src_query):
20329 Fix wrong percentage query.
20331 * gst/gstutils.c: (gst_util_uint64_scale),
20332 (gst_util_uint64_scale_int):
20333 Add some more common cases that can be handled
20334 efficiently to _scale.
20336 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20338 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20339 (gst_mini_object_suite):
20340 don't use check calls from threads; check probably isn't
20341 threadsafe and using a lock to make it threadsafe would
20342 defeat the purpose of this check
20343 * gst/check/gstcheck.c:
20344 * gst/check/gstcheck.h:
20345 use GST_DEBUG some more
20347 2005-11-24 Wim Taymans <wim@fluendo.com>
20349 * gst/gstutils.c: (gst_util_uint64_scale),
20350 (gst_util_uint64_scale_int):
20351 Chain trivial case to _scale_int.
20353 2005-11-24 Wim Taymans <wim@fluendo.com>
20355 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20356 Added test for scaling.
20361 * gst/gstutils.c: (gst_util_uint64_scale_int):
20362 Implemented high precision scaling code.
20364 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20367 do not crash on pad==NULL
20369 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20371 Patch by: Stefan Kost
20373 * common/gtk-doc.mak:
20374 * docs/gst/Makefile.am:
20375 * docs/libs/Makefile.am:
20376 Fix distcheck issues for the libraries docs build
20379 2005-11-24 Michael Smith <msmith@fluendo.com>
20381 * docs/manual/basics-helloworld.xml:
20382 Fix bug #315027: memory leak in example code in docs.
20384 2005-11-24 Michael Smith <msmith@fluendo.com>
20386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20387 Unlock the PREROLL_LOCK in a failure case.
20389 2005-11-24 Wim Taymans <wim@fluendo.com>
20391 * docs/gst/gstreamer-sections.txt:
20392 * gst/base/gstadapter.h:
20393 * gst/base/gstbasesink.h:
20394 * gst/base/gstbasesrc.h:
20395 * gst/base/gstbasetransform.h:
20396 * gst/base/gstpushsrc.h:
20397 * gst/elements/gstfakesink.h:
20398 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20399 * gst/elements/gstfakesrc.h:
20400 * gst/elements/gstfilesink.h:
20401 * gst/elements/gstfilesrc.h:
20404 * gst/gstbuffer.c: (_gst_buffer_copy):
20407 * gst/gstchildproxy.c:
20409 * gst/gstelement.c:
20410 * gst/gstelementfactory.c:
20411 * gst/gstelementfactory.h:
20413 * gst/gstghostpad.h:
20415 * gst/gstinterface.h:
20416 * gst/gstminiobject.c:
20417 * gst/gstminiobject.h:
20420 * gst/gstpadtemplate.h:
20421 * gst/gstpipeline.h:
20422 * gst/gstpluginfeature.h:
20425 * gst/gsttaglist.c:
20426 * gst/gsttaglist.h:
20427 * gst/gsttagsetter.c:
20428 * gst/gsttagsetter.h:
20431 * gst/gsttypefind.h:
20434 * gst/net/gstnetclientclock.c:
20435 * gst/net/gstnetclientclock.h:
20436 * gst/net/gstnettimepacket.c:
20437 * gst/net/gstnettimeprovider.c:
20438 * gst/net/gstnettimeprovider.h:
20441 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20443 * configure.ac: back to HEAD
20445 === release 0.9.6 ===
20447 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20450 releasing 0.9.6, "Always On Time"
20452 2005-11-23 Wim Taymans <wim@fluendo.com>
20454 * docs/gst/gstreamer-sections.txt:
20455 * gst/glib-compat.c:
20456 * gst/gsttagsetter.c:
20458 * gst/net/gstnetclientclock.c:
20459 * gst/net/gstnettimepacket.h:
20462 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20464 * docs/faq/using.xml:
20465 * docs/libs/tmpl/gstcontrol.sgml:
20466 * docs/manual/advanced-dparams.xml:
20467 * docs/manual/appendix-checklist.xml:
20468 * docs/manual/basics-elements.xml:
20469 * docs/pwg/other-source.xml:
20470 * docs/random/moving-plugins:
20472 * tools/gst-launch.1.in:
20473 remove mentions of sinesrc
20475 2005-11-23 Michael Smith <msmith@fluendo.com>
20477 * docs/gst/gstreamer-sections.txt:
20478 Update for new API and API changes.
20480 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20482 Documentation typo fix.
20483 * gst/net/gstnettimepacket.c:
20484 Documentation fixes for arguments.
20486 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20488 * gst/gststructure.c: (gst_structure_get_fraction),
20489 (gst_structure_parse_value),
20490 (gst_structure_fixate_field_nearest_fraction):
20491 * gst/gststructure.h:
20492 * gst/gstutils.c: (gst_util_uint64_scale_int):
20494 * scripts/update-funcnames:
20496 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20497 Make gst_structure_fixate_field_nearest_fraction take a numerator
20498 and denominator argument instead of a GValue
20499 add gst_structure_get_fraction helper function.
20501 2005-11-23 Wim Taymans <wim@fluendo.com>
20503 * docs/design/part-TODO.txt:
20506 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20507 * gst/net/gstnetclientclock.h:
20508 Use parent fields for timeout and window_size.
20510 2005-11-23 Andy Wingo <wingo@pobox.com>
20512 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20513 rate_num/rate_denom change.
20515 * gst/net/gstnetclientclock.c
20516 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20517 OBJECT_LOCK. Don't call add_observation with the lock.
20519 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20521 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20523 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20524 deal with rate as a fraction whose numerator and denominator are
20525 GstClockTime values.
20526 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20527 master; the other fields are protected by the SLAVE_LOCK.
20528 (do_linear_regression): Note that this must be called with the
20530 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20531 OBJECT_LOCK. Call set_calibration instead of touching the
20532 variables directly.
20533 (gst_clock_set_property, gst_clock_get_property): Protect
20534 master/slave parameters with the SLAVE_LOCK.
20536 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20537 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20538 note that all of the instance variables that add_observation and
20539 the set_master functions use are protected by that lock and not
20541 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20543 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20544 the caller to take the object lock.
20546 2005-11-23 Wim Taymans <wim@fluendo.com>
20548 * gst/gsterror.c: (_gst_core_errors_init):
20550 Add error for clock stuff.
20552 * gst/gstpipeline.c: (gst_pipeline_change_state),
20553 (gst_pipeline_set_clock):
20554 Post clock error when clock cannot be used in a pipeline.
20556 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20558 * docs/gst/gstreamer-sections.txt:
20559 make two symbols from gstinfo private for the docs
20560 * gst/base/gstcollectpads.h:
20562 fix doc typos, update docs
20564 2005-11-22 Wim Taymans <wim@fluendo.com>
20566 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20567 (gst_base_sink_wait), (gst_base_sink_do_sync),
20568 (gst_base_sink_handle_event):
20569 * gst/base/gstbasesink.h:
20570 No need to store the clock, the parent element class already
20573 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20574 Updates for clock_set returning a gboolean
20576 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20577 (gst_clock_id_wait_async), (gst_clock_class_init),
20578 (gst_clock_init), (gst_clock_finalize),
20579 (gst_clock_get_internal_time), (gst_clock_get_time),
20580 (gst_clock_slave_callback), (gst_clock_set_master),
20581 (gst_clock_get_master), (do_linear_regression),
20582 (gst_clock_add_observation), (gst_clock_set_property),
20583 (gst_clock_get_property):
20585 Implement master/slave. When setting a clock as a slave, a
20586 periodic timeout is scheduled to sample master and slave times.
20587 Then the slave clock is recalibrated to match offset and rate
20588 of the master clock.
20589 Update logging a bit.
20590 Add flag so that a clock can state that is cannot be slaved to
20593 * gst/gstelement.c: (gst_element_set_clock):
20594 * gst/gstelement.h:
20595 The set clock returns a gboolean for when an element cannot
20596 deal with the selected clock in the pipeline.
20598 * gst/gstpipeline.c: (gst_pipeline_change_state),
20599 (gst_pipeline_set_clock):
20600 * gst/gstpipeline.h:
20601 Handle the case where the selected clock cannot be set on
20604 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20605 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20606 (gst_net_client_clock_set_property),
20607 (gst_net_client_clock_get_property),
20608 (gst_net_client_clock_observe_times):
20609 * gst/net/gstnetclientclock.h:
20610 Use regression code in GstClock parent, remove duplicated
20613 2005-11-22 Michael Smith <msmith@fluendo.com>
20615 * gst/gstutils.c: (gst_util_clock_time_scale):
20617 * docs/gst/gstreamer-sections.txt:
20618 Rename method to have extra underscore.
20620 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20622 * gst/elements/Makefile.am:
20623 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20624 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20625 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20626 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20627 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20628 * gst/elements/gstfakesrc.h:
20629 * gst/gstqueue.c: (queue_leaky_get_type):
20630 correctly fix GEnumValues so that nick is the short lowercase
20632 * tools/gst-inspect.c: (print_element_properties_info):
20633 also show the nick, since it's useful to use from parse_launch
20637 2005-11-22 Michael Smith <msmith@fluendo.com>
20639 * gst/gstutils.c: (gst_util_clocktime_scale):
20641 * docs/gst/gstreamer-sections.txt:
20642 Add util method for scaling a clocktime by a fraction. Useful
20643 implementation is left as an exercise for the reader.
20645 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20647 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20648 If needed, allocate storage in the destination value during
20651 2005-11-22 Edward Hervey <edward@fluendo.com>
20653 * docs/gst/gstreamer-sections.txt:
20656 * gst/gsturitype.c:
20657 * gst/gsturitype.h:
20658 * gst/gstutils.c: (gst_util_set_object_arg):
20659 * tools/gst-compprep.c: (main):
20660 * tools/gst-inspect.c: (print_element_properties_info):
20661 Removed GstURI, closes bug #321061
20663 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20665 * check/gst/gststructure.c: (GST_START_TEST):
20666 * gst/gststructure.c: (gst_structure_parse_value):
20667 Oops, broke automatic string type parsing.
20668 Add a test to catch it in future.
20670 2005-11-22 Andy Wingo <wingo@pobox.com>
20672 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20673 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20674 Actually rename the function implementations. Grr.
20676 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20678 * check/gst/capslist.h:
20680 * check/gst/gststructure.c: (GST_START_TEST),
20681 (gst_structure_suite):
20682 Test automatic value type detection in gst_structure_from_string.
20683 * gst/gststructure.c: (gst_structure_parse_value):
20684 Add fraction as a type we try and guess automatically in
20685 caps/structure strings.
20687 2005-11-22 Andy Wingo <wingo@pobox.com>
20689 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20691 * gst/gsttagsetter.h:
20692 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20693 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20694 (gst_tag_setter_add_tag_valist)
20695 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20696 _add_values, _add_valist, and _add_valist_values. Since this is an
20697 interface the function suffixes should be more explicit so
20698 language binding don't end up with element.add_valist ->
20699 gst_tag_setter_add_valist, for example. Fixes #322069.
20701 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20703 * check/gst/gstcaps.c: (GST_START_TEST):
20704 Extend caps string tests to check that a caps to string
20705 conversion is reversible and produces the same caps.
20707 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20708 Output "fraction" as the generic type fraction range, so caps
20709 serialisation and deserialisation works.
20710 * check/gst/capslist.h:
20711 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20712 Support 'MIN' and 'MAX' for deserialising fractions.
20714 2005-11-22 Andy Wingo <wingo@pobox.com>
20716 * gst/gstevent.h (gst_event_new_new_segment)
20717 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20718 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20719 Renamed from *_newsegment, *_buffersize, *_notarget.
20721 * scripts/update-funcnames: New script, performs the changes
20724 2005-11-22 Wim Taymans <wim@fluendo.com>
20726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20727 Make sure the GstFlowReturn is returned.
20729 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20730 (gst_bus_add_signal_watch):
20732 add gst_bus_add_signal_watch_full.
20734 * gst/gstplugin.c: (gst_plugin_load_file):
20735 Small style cleanup.
20737 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20739 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20740 Block the fakesrc srcpad when we send an event, to avoid
20741 contention on the stream_lock causing random test failures.
20743 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20745 * check/gst/gstvalue.c: (GST_START_TEST):
20746 * gst/gstvalue.c: (gst_value_fraction_subtract):
20749 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20752 include "gstchildproxy.h"
20753 * gst/gstchildproxy.h:
20754 * libs/gst/controller/gstcontroller.h:
20755 use G_GNUC_NULL_TERMINATED
20757 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20759 * check/gst/capslist.h:
20760 * check/gst/gstcaps.c: (GST_START_TEST):
20761 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20762 * gst/gststructure.c: (gst_structure_parse_range),
20763 (gst_structure_fixate_field_nearest_fraction):
20764 * gst/gststructure.h:
20765 * gst/gstvalue.c: (gst_value_init_fraction_range),
20766 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20767 (gst_value_collect_fraction_range),
20768 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20769 (gst_value_set_fraction_range_full),
20770 (gst_value_get_fraction_range_min),
20771 (gst_value_get_fraction_range_max),
20772 (gst_value_serialize_fraction_range),
20773 (gst_value_transform_fraction_range_string),
20774 (gst_value_compare_fraction_range),
20775 (gst_value_deserialize_fraction_range),
20776 (gst_value_intersect_fraction_fraction_range),
20777 (gst_value_intersect_fraction_range_fraction_range),
20778 (gst_value_subtract_fraction_fraction_range),
20779 (gst_value_subtract_fraction_range_fraction),
20780 (gst_value_subtract_fraction_range_fraction_range),
20781 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20782 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20783 (gst_value_transform_string_fraction), (_gst_value_initialize):
20785 Implement fraction ranges and extend GstFraction to support
20786 arithmetic subtraction, as well as deserialization from integer
20787 strings such as "100"
20788 Add a testsuite as for int and double range set operations
20790 2005-11-21 Andy Wingo <wingo@pobox.com>
20792 * gst/gsttaglist.h:
20794 * gst/gststructure.h: Add glib-compat.h.
20796 2005-11-21 Wim Taymans <wim@fluendo.com>
20798 * gst/gstbin.c: (gst_bin_change_state_func):
20801 2005-11-21 Wim Taymans <wim@fluendo.com>
20803 * gst/gstsegment.h:
20804 And add a nice define too.
20806 2005-11-21 Wim Taymans <wim@fluendo.com>
20808 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20809 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20810 (gst_segment_set_duration), (gst_segment_set_last_stop),
20811 (gst_segment_set_seek), (gst_segment_set_newsegment),
20812 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20813 (gst_segment_clip):
20814 * gst/gstsegment.h:
20815 Make binding friendly.
20817 2005-11-21 Andy Wingo <wingo@pobox.com>
20819 * gst/gsttagsetter.h:
20820 * gst/gsttaglist.h:
20821 * gst/gststructure.h:
20823 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20826 * gst/gsterror.c (_gst_core_errors_init):
20827 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20830 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20831 (noinst_HEADERS): noinst the -private.
20833 2005-11-21 Michael Smith <msmith@fluendo.com>
20836 * gst/gstregistry.h:
20837 Remove unimplemented declarations for which we can see no sensible
20840 2005-11-21 Andy Wingo <wingo@pobox.com>
20842 * gst/gst.h: Include glib-compat.h.
20844 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20846 * gst/glib-compat.c: Include the public and the private header.
20848 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20852 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20854 * check/gst/gstevent.c (create_custom_events): Check that
20855 FLUSH_STOP is serialized.
20857 * check/elements/identity.c (event_func):
20858 * check/elements/fakesrc.c (event_func): No stream lock, the core
20861 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20862 stream lock taking, yay.
20864 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20865 ensure that core takes the stream lock.
20867 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20870 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20871 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20872 it already. For the flush start we do take it though so we get the
20873 right preroll state change messages.
20875 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20876 the stream lock here, the core does it for us.
20878 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20879 GST_STREAM_GET_LOCK.
20880 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20881 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20882 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20883 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20884 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20885 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20887 * gst/gstpad.c: Update for stream lock name change.
20889 * gst/base/gstbasesink.c: Update for preroll lock name change.
20891 2005-11-21 Wim Taymans <wim@fluendo.com>
20893 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20894 (gst_clock_get_master):
20896 * gst/gstsystemclock.c: (gst_system_clock_init):
20897 Convert Clock flags to object flags.
20898 Added methods to manage master/slave clocks.
20900 2005-11-21 Wim Taymans <wim@fluendo.com>
20902 * check/gst/gstsegment.c: (GST_START_TEST):
20903 * docs/design/part-TODO.txt:
20904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20905 (gst_base_sink_event), (gst_base_sink_do_sync),
20906 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20907 (gst_base_sink_query), (gst_base_sink_change_state):
20908 * gst/base/gstbasesink.h:
20909 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20910 (gst_base_src_default_newsegment),
20911 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20912 (gst_base_src_get_range), (gst_base_src_loop),
20913 (gst_base_src_change_state):
20914 * gst/base/gstbasesrc.h:
20915 * gst/base/gstbasetransform.c:
20916 (gst_base_transform_prepare_output_buf),
20917 (gst_base_transform_event), (gst_base_transform_change_state):
20918 * gst/base/gstbasetransform.h:
20919 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20920 (gst_collect_pads_event):
20921 * gst/base/gstcollectpads.h:
20922 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20923 (gst_fake_src_create):
20924 * gst/elements/gstfakesrc.h:
20925 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20926 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20927 (gst_segment_set_last_stop), (gst_segment_set_seek),
20928 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20929 (gst_segment_to_running_time), (gst_segment_clip):
20930 * gst/gstsegment.h:
20931 More segment updates, replace code in plugins with segment
20934 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20936 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20937 Don't ignore sscanf results
20939 2005-11-21 Andy Wingo <wingo@pobox.com>
20941 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20944 * *.c: Ran scripts/update-macros. Oh yes.
20946 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20947 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20950 * scripts/update-macros: New script. Run it on your files to
20951 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20954 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20956 * docs/gst/Makefile.am:
20957 * docs/gst/gstreamer-docs.sgml:
20958 * docs/gst/gstreamer-sections.txt:
20959 * docs/gst/gstreamer.types:
20961 more docs fixes, add new api to the docs
20963 2005-11-21 Andy Wingo <wingo@pobox.com>
20965 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20966 state_broadcast call.
20968 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20970 2005-11-21 Julien MOUTTE <julien@moutte.net>
20972 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20973 function calls for arrays.
20975 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20977 * docs/random/ensonic/media-device-daemon.txt:
20978 wild idea, can this be done?
20979 * docs/gst/gstreamer-sections.txt:
20984 * gst/gstpluginfeature.c:
20988 doc fixes and additions
20990 2005-11-21 Andy Wingo <wingo@pobox.com>
20992 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20993 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20994 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20995 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20996 private to the basesrc implementation.
20998 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20999 behalf of event function if necessary. It should no longer be
21000 necessary to take the stream lock in pad's event functions. Fixes
21003 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21004 * docs/gst/gstreamer-sections.txt:
21005 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21006 (gst_structure_fixate_field_nearest_double),
21007 (gst_structure_fixate_field_boolean):
21008 * gst/gststructure.h:
21009 * win32/common/libgstreamer.def:
21010 * win32/gstreamer.def:
21012 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21015 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21017 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21018 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21019 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21020 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21021 (gst_fdsrc_uri_handler_init):
21022 * gst/elements/gstfdsrc.h:
21023 Port fd:// URI handler from 0.8 to fdsrc
21025 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21027 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21028 (gst_value_serialize_fourcc):
21030 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21031 consistent with our other format defines (#320324).
21033 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21035 * gst/gstvalue.c: (gst_value_is_fixed):
21036 Revert previous commit. Value lists are by definition
21037 not fixed, as they are a list of possible values.
21039 2005-11-21 Andy Wingo <wingo@pobox.com>
21041 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21042 during the stable series if we need it. Fixes #319178.
21044 * gst/gstevent.c (gst_event_new_filler): Removed.
21046 * check/gst/gstevent.c: Update comment about filler events.
21048 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21050 * gst/gstvalue.c: (gst_value_is_fixed):
21051 Should handle both value arrays and value lists.
21053 2005-11-21 Andy Wingo <wingo@pobox.com>
21055 patch by: Alessandro Dessina <alessandro nnva org>
21057 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21058 functions to access arrays. Fixes #321962.
21060 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21062 * docs/gst/gstreamer.types:
21063 gst_collectpads_get_type => gst_collect_pads_get_type.
21065 * gst/base/gstbasetransform.c:
21066 Remove unused SIGNAL_HANDOFF enum.
21068 2005-11-21 Andy Wingo <wingo@pobox.com>
21070 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21071 the event type (upstream, downstream, serialized). Renamed
21072 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21073 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21074 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21076 * gst/gstevent.c: Update for new CUSTOM event names.
21078 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21081 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21084 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21086 * docs/gst/gstreamer-sections.txt:
21087 * win32/common/libgstbase.def:
21088 * win32/libgstbase.def:
21089 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21090 (gst_collect_pads_class_init), (gst_collect_pads_init),
21091 (gst_collect_pads_finalize), (gst_collect_pads_new),
21092 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21093 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21094 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21095 (gst_collect_pads_start), (gst_collect_pads_stop),
21096 (gst_collect_pads_peek), (gst_collect_pads_pop),
21097 (gst_collect_pads_available), (gst_collect_pads_read),
21098 (gst_collect_pads_flush), (gst_collect_pads_event),
21099 (gst_collect_pads_chain):
21100 * gst/base/gstcollectpads.h:
21101 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21102 unimplemented functions as unimplemented. Add padding to
21103 GstCollectData. (#320766, #320423)
21105 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21107 * gst/gstmessage.c:
21108 Improve docs for DURATION message (usage of duration parameter)
21111 2005-11-20 Wim Taymans <wim@fluendo.com>
21113 * check/Makefile.am:
21114 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21118 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21119 (gst_segment_set_seek), (gst_segment_set_newsegment),
21120 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21121 (gst_segment_clip):
21122 * gst/gstsegment.h:
21123 Added segment helper structure and methods. Not fully implemented
21125 Added segment check.
21127 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21129 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21130 Add a deserialisation test for fractions
21131 * examples/metadata/read-metadata.c: (message_loop),
21132 (make_pipeline), (main):
21133 Fix up metadata reading sample.
21134 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21136 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21137 Don't try and fixate empty caps
21138 * gst/gst_private.h:
21139 Wrap in G_BEGIN_DECLS/G_END_DECLS
21140 * gst/gstvalue.c: (gst_value_collect_fraction),
21141 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21142 (gst_value_transform_string_fraction),
21143 (gst_value_compare_fraction):
21144 Add some extra guards to ensure that we don't end up
21145 with an invalid denominator of 0 in a gstfraction and
21146 that fractions always get reduced.
21148 2005-11-20 Wim Taymans <wim@fluendo.com>
21150 * docs/gst/gstreamer-sections.txt:
21152 * gst/gstelement.c:
21161 2005-11-20 Wim Taymans <wim@fluendo.com>
21163 * docs/design/part-TODO.txt:
21165 Make a proper enum of the flag.
21167 2005-11-19 Wim Taymans <wim@fluendo.com>
21169 * docs/design/part-TODO.txt:
21170 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21171 (gst_format_to_quark), (gst_format_register):
21173 * gst/gstquery.c: (_gst_query_initialize),
21174 (gst_query_type_get_name), (gst_query_type_to_quark),
21175 (gst_query_type_register):
21177 Add type to quark and type to string conversions.
21179 2005-11-19 Andy Wingo <wingo@pobox.com>
21181 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21184 2005-11-19 Wim Taymans <wim@fluendo.com>
21186 * docs/design/part-TODO.txt:
21187 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21188 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21189 (gst_bin_handle_message_func):
21191 Make message handling overridable.
21193 2005-11-19 Andy Wingo <wingo@pobox.com>
21195 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21198 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21200 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21201 is a GstClockTime. Fixes #321710.
21203 * gst/gstclock.h (GstClock): Remove offset property. Add
21204 internal_calibration and external_calibration. Fix padding. Pad
21205 also by GstClockTime so we don't run into problems.
21207 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21208 (gst_clock_get_rate_offset): Remove.
21209 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21212 * gst/gstutils.c (g_static_rec_cond_wait)
21213 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21215 * gst/gstbin.c: Remove terrible continue_state prototype.
21217 * gst/gstelement.h (gst_element_continue_state): Make public.
21219 * gst/gstelement.h:
21220 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21221 by continue_state. Fixes #319389.
21223 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21224 Really fixes #168438. However I don't see anywhere where the
21225 filter function is called... stupid GStreamer...
21227 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21228 don't have a dispose function, so it won't get called when the
21229 object is unreffed, but oh well!
21231 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21232 allows a destroy function to be set so user_data can be freed.
21234 (gst_index_set_filter): Call gst_index_set_filter_full.
21236 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21238 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21239 string should produce an error, given the lack of a way to
21240 represent NULL strings. Fixes #165650.
21243 * gst/gstvalue.c (gst_value_array_append_value)
21244 (gst_value_array_prepend_value, gst_value_array_get_size)
21245 (gst_value_array_get_value): New API, copied from
21246 gst_value_list_*, only operates on arrays.
21247 (gst_value_list_append_value, gst_value_list_prepend_value)
21248 (gst_value_list_concat, gst_value_list_get_size)
21249 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21251 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21252 init_list, because it works on both.
21253 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21254 (gst_value_copy_list_or_array): Renamed from copy_list.
21255 (gst_value_free_list_or_array): Renamed from free_list.
21256 (gst_value_collect_list_or_array): Renamed from collect_list.
21257 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21258 (gst_value_list_or_array_peek_pointer): Renamed from
21260 (_gst_value_array_value_table, _gst_value_list_value_table):
21261 Update value table functions.
21262 (gst_value_compare_list_or_array): Renamed from compare_list.
21264 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21267 * gst/gsttaglist.c:
21268 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21269 GstTagList*. Fixes #143472.
21271 * gst/gststructure.h: Clarify what the foreach/map functions can
21272 or can't do to their arguments.
21274 2005-11-18 Wim Taymans <wim@fluendo.com>
21276 * gst/gstclock.c: (gst_clock_set_calibration),
21277 (gst_clock_get_calibration):
21279 Calibration can be set with internal time equal to current
21282 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21288 2005-11-18 Andy Wingo <wingo@pobox.com>
21291 * pkgconfig/gstreamer-net.pc.in:
21292 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21293 * pkgconfig/Makefile.am: Add net pkgconfig files.
21295 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21298 * gst/gstghostpad.c:
21304 2005-11-18 Andy Wingo <wingo@pobox.com>
21306 * gst/net/gstnetclientclock.c: Turn off debugging.
21308 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21309 times connverge somewhat. Can't make a real test.
21311 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21312 integer arithmetic. Return the minimum of the domain, which can be
21313 set as "internal" for gst_clock_set_calibration.
21314 (gst_net_client_clock_observe_times): Call _set_calibration.
21315 (gst_net_client_clock_new): Call _set_calibration instead of
21318 * check/net/gstnetclientclock.c (test_functioning): Use the right
21322 * gst/gstclock.c (gst_clock_get_calibration)
21323 (gst_clock_set_calibration): New functions, obsolete the ones I
21324 added yesterday. Doh. Precision issues mean we have to extrapolate
21325 from a point in the more recent past than 1970.
21326 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21328 (gst_clock_adjust_unlocked): Use the right calibration data.
21330 2005-11-18 Edward Hervey <edward@fluendo.com>
21332 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21333 Also reset the ->current_* values in READY->PAUSED
21335 2005-11-18 Andy Wingo <wingo@pobox.com>
21337 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21338 Whoops, check the right fd. Also add some debugging.
21339 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21340 (do_linear_regression): Add a crapload of debugging. Subtract off
21341 the minimum values from the input series to discard unneeded bits.
21342 Use only int arithmetic. There is still double arithmetic when
21343 calculating the intercept that needs fixing. Return boolean to
21344 indicate success; FALSE would mean the domain or range is too
21345 great. Still needs fixes.
21347 2005-11-18 Wim Taymans <wim@fluendo.com>
21349 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21350 For the current position in stream time, we need to subtract
21353 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21354 Release lock before calling the callback function of async
21357 2005-11-18 Andy Wingo <wingo@pobox.com>
21359 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21360 Port goes all the way to MAXUINT16.
21362 * gst/net/gstnettimeprovider.c: Make the port range the same as
21363 for the kernel: 0 assigns, otherwise ports are less than
21366 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21369 * check/net/gstnetclientclock.c (test_functioning): Add the start
21372 2005-11-18 Wim Taymans <wim@fluendo.com>
21374 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21375 (gst_bin_remove_func), (bin_bus_handler):
21377 Removing a clock provider from a bin, triggers a clock lost message
21378 so that a new clock will be selected.
21379 Adding a clock to a bin triggers a clock provider message.
21380 Make sure we reselect a clock when we received a clock lost message.
21381 Keep a reference to the element that provided the clock.
21383 2005-11-18 Andy Wingo <wingo@pobox.com>
21385 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21386 the clock initially so it produces values around the base time.
21387 (gst_net_client_clock_class_init): Typo fix.
21388 (gst_net_client_clock_thread): Add note on when the socket gets
21391 2005-11-17 Wim Taymans <wim@fluendo.com>
21393 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21394 Free remote and local time arrays.
21396 2005-11-17 Wim Taymans <wim@fluendo.com>
21398 * gst/net/gstnetclientclock.c: (do_linear_regression),
21399 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21400 Fix compilation, uninitialized vars and a forgotten continue.
21402 2005-11-17 Andy Wingo <wingo@pobox.com>
21404 * check/Makefile.am (check_PROGRAMS):
21405 * check/net/gstnetclientclock.c: Add a most minimal test for the
21406 net client clock. More to come later.
21408 * gst/net/gstnet.h:
21409 * gst/net/Makefile.am: Add netclientclock.
21411 * gst/net/gstnetclientclock.h:
21412 * gst/net/gstnetclientclock.c: New files, implement an untested
21413 GstClock that takes its time from a network time provider.
21414 Implements the algorithm in network-clock.scm.
21416 * tests/network-clock.scm (*window-size*): Rename from
21418 * tests/network-clock.scm (network-time):
21419 * tests/network-clock-utils.scm (q-push): Update callers.
21421 2005-11-17 Wim Taymans <wim@fluendo.com>
21423 * gst/gstbin.c: (gst_bin_provide_clock_func),
21424 (gst_bin_sort_iterator_new):
21425 And unref the child too..
21427 2005-11-17 Wim Taymans <wim@fluendo.com>
21429 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21430 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21431 Refactor the sort iterator so it can be used while holding the
21433 Make clock selection select a clock closest to the source.
21435 2005-11-17 Michael Smith <msmith@fluendo.com>
21437 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21438 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21440 Anonymous structs are a gcc (and some other compilers) extension, so
21441 don't use them. Since this is only for ABI-compatibility, and our
21442 API/ABI freeze is over in a few days, this whole thing will only
21443 last a few days, so don't bother trying to think up a meaningful
21444 name for the struct.
21446 2005-11-17 Andy Wingo <wingo@pobox.com>
21448 * gst/gstclock.h (GstClock): Add rate and offset properties,
21449 preserving ABI stability. Add rate/offset accessors. Will file bug
21450 for the freeze break.
21452 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21453 and offset, trying to keep precision and avoiding
21454 underflow/overflow.
21455 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21456 functions. Make gst_clock_set_time_adjust obsolete.
21457 (gst_clock_set_time_adjust): Note that this function is obsolete.
21458 Will file bug soon.
21460 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21461 greppable by using GST_PADDING-1+1.
21463 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21465 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21467 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21468 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21470 * gst/gstpadtemplate.h:
21471 * gst/gstpluginfeature.h:
21472 Don't use c++ style comments in headers (#321638).
21474 2005-11-16 Andy Wingo <wingo@pobox.com>
21476 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21479 * check/net/gstnettimeprovider.c: Check to see that the time
21480 provider actually provides times. Works, yo!
21482 2005-11-16 Wim Taymans <wim@fluendo.com>
21484 * check/Makefile.am:
21487 * check/elements/fakesrc.c: (GST_START_TEST):
21488 Set element to NULL before disposing it.
21490 2005-11-16 Andy Wingo <wingo@pobox.com>
21492 * gst/net/Makefile.am:
21493 * gst/net/gstnet.h:
21494 * gst/net/gstnettimeprovider.c:
21495 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21496 provider, include it from gstnet.h, and add it to the build.
21498 * gst/net/gstnettimepacket.h:
21499 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21500 sending and receiving.
21502 2005-11-16 Wim Taymans <wim@fluendo.com>
21504 * check/Makefile.am:
21505 Enable valgrind check.
21507 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21508 (gst_fake_src_alloc_buffer):
21511 2005-11-16 Wim Taymans <wim@fluendo.com>
21513 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21514 Call parent finalize too.
21516 2005-11-16 Wim Taymans <wim@fluendo.com>
21518 * check/Makefile.am:
21519 Enable valgrind check that should work fine now.
21521 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21522 * gst/gstqueue.c: (gst_queue_init):
21523 Fix memleaks in pad allocation.
21525 2005-11-16 Andy Wingo <wingo@pobox.com>
21527 * gst/net/Makefile.am:
21528 * gst/net/gstnet.h: New part of core to hold network elements and
21529 objects. Put in core because it exposes API that applications want
21530 to use. The library is named libgstnet-tempname right now because
21531 of the existing libgstnet in gst-plugins-base. Solution is
21532 probably to rename the one in plugins-base; will file a bug for
21535 * gst/net/gstnettimeprovider.c:
21536 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21537 get_time call over the network.
21540 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21542 * check/Makefile.am:
21543 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21544 get additions shortly.
21546 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21548 * gst/gstpad.c: (gst_pad_new_from_static_template):
21550 add gst_pad_new_from_static_template functions
21551 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21552 (gst_check_setup_sink_pad):
21553 * gst/elements/gsttee.c: (gst_tee_init):
21556 2005-11-16 Wim Taymans <wim@fluendo.com>
21558 * gst/gstpad.c: (gst_pad_pause_task):
21559 Removed warning, it's not really an error either.
21561 2005-11-16 Wim Taymans <wim@fluendo.com>
21563 * gst/base/gstbasetransform.c:
21564 (gst_base_transform_prepare_output_buf),
21565 (gst_base_transform_event):
21566 Check if the caps are NULL, this can happen if the element
21567 is shutting down and the pad caps are set to NULL.
21569 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21571 * gst/elements/gsttee.c: (gst_tee_init):
21572 fix pad template leak in tee
21574 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21576 * gst/glib-compat.c: (g_value_dup_gst_object):
21577 * gst/glib-compat.h:
21578 * gst/gstpad.c: (gst_pad_set_property):
21579 use gst_object_ref when setting the pad template; this will
21580 trigger the pad template leaks on GLib 2.6 and the slaves
21582 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21584 * gst/glib-compat.c: (gst_flags_get_first_value):
21585 * gst/glib-compat.h:
21586 * gst/gstregistryxml.c:
21587 remove functions copied from GLib 2.6
21589 2005-11-16 Michael Smith <msmith@fluendo.com>
21592 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21593 do, but only breaks with newer valgrind versions. We're not a
21594 valgrind tool, we have no link-time dependencies on libcoregrind.
21596 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21598 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21600 * gst/gstmessage.h:
21603 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21605 * gst/base/gstbasesrc.c: (gst_base_src_init):
21606 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21607 * gst/gstqueue.c: (gst_queue_init):
21608 * gst/gstregistryxml.c: (load_feature):
21609 Revert all these unrefs, they don't even pass make check !
21611 2005-11-15 Johan Dahlin <johan@gnome.org>
21613 * gst/base/gstbasesrc.c: (gst_base_src_init):
21614 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21615 * gst/gstqueue.c: (gst_queue_init):
21616 Free pad templates, fixes a couple of leaks.
21618 2005-11-15 Daniel Fischer <dan at f3c dot com>
21620 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21622 * gst/gstpad.c: (gst_pad_get_property):
21623 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21624 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21627 2005-11-15 Wim Taymans <wim@fluendo.com>
21632 2005-11-15 Andy Wingo <wingo@pobox.com>
21634 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21636 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21637 using GST_CLOCK_TIME_NONE to disable base time management.
21638 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21639 time if it was NONE before.
21640 (gst_pipeline_change_state): Only munge the base time if
21641 stream_time != GST_CLOCK_TIME_NONE.
21643 * check/gst/gstpipeline.c (test_base_time): Punt around the
21644 problem of the probe not being called, because that's not the
21645 issue I'm looking at. Add a check that setting stream_time to NONE
21646 disables base time management.
21648 2005-11-15 Wim Taymans <wim@fluendo.com>
21650 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21651 segment_stop == -1 at startup.
21653 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21654 (gst_base_transform_change_state):
21655 Init segment values at start.
21657 2005-11-15 Wim Taymans <wim@fluendo.com>
21659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21660 0 segment values are 0 in any format.
21662 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21663 * gst/base/gstbasetransform.h:
21664 Parse newsegment correctly in basetransform
21666 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21667 Sync to clock using updated segment values.
21669 2005-11-15 Andy Wingo <wingo@pobox.com>
21671 * check/gst/gstpipeline.c (test_base_time): Add check that the
21672 base time and stream time are reset correctly.
21674 2005-11-15 Wim Taymans <wim@fluendo.com>
21676 * docs/design/part-TODO.txt:
21677 Some more TODO items.
21679 2005-11-15 Andy Wingo <wingo@pobox.com>
21681 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21682 error if the user selected "no clock" as the clocking method.
21684 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21685 timestamps with live capture.
21687 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21688 is 0 but we are a live source, timestamp the buffers using the
21691 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21693 * docs/gst/gstreamer-sections.txt:
21695 * gst/gstghostpad.c:
21700 2005-11-14 Wim Taymans <wim@fluendo.com>
21703 add suppressions from Wim's Debian machine
21705 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21708 add suppressions from Andy's AMD64 Ubuntu machine
21710 2005-11-14 Andy Wingo <wingo@pobox.com>
21712 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21713 STATE_LOCK not necessary. Fixes #311489.
21715 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21718 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21719 this function is not implemented.
21721 2005-11-14 Julien MOUTTE <julien@moutte.net>
21723 * gst/base/gstbasetransform.c:
21724 (gst_base_transform_prepare_output_buf):
21725 Ref the source pad caps while we need them.
21728 2005-11-11 Wim Taymans <wim@fluendo.com>
21730 * docs/gst/gstreamer-sections.txt:
21731 Added some docs for GstCollectData.
21733 * gst/base/gstadapter.c:
21734 Some small code example fix.
21736 * gst/base/gstcollectpads.c:
21737 * gst/base/gstcollectpads.h:
21738 Document some more.
21740 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21742 * configure.ac: back to HEAD
21744 === release 0.9.5 ===
21746 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21749 releasing 0.9.5, "Bike Lunch Day"
21751 2005-11-11 Wim Taymans <wim@fluendo.com>
21753 * gst/gstbuffer.c: (_gst_buffer_copy):
21756 * gst/gstcaps.c: (gst_caps_is_equal):
21758 Make _is_equal fast in the trivial cases.
21760 * gst/gstminiobject.c:
21761 * gst/gstminiobject.h:
21762 More docs. Spifify .h file.
21767 2005-11-11 Wim Taymans <wim@fluendo.com>
21769 * gst/base/gstbasetransform.c:
21770 (gst_base_transform_prepare_output_buf),
21771 (gst_base_transform_handle_buffer):
21773 If we're processing a buffer and need to allocate an output
21774 buffer, we cannot accept a format change. If we did get a
21775 format change, we have to alloc a buffer ourselves of the
21778 2005-11-11 Wim Taymans <wim@fluendo.com>
21780 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21781 While checking the flag for reentrancy in the gstcaps function
21782 is nice to detect recursive invocations, it also makes it
21783 impossible to call getcaps from multiple threads, which must be
21784 possible. So, checking for recursive calls has to go.
21786 2005-11-11 Michael Smith <msmith@fluendo.com>
21788 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21789 Don't sync on buffers that fall partially outside our current
21790 segment. Prevents an assertion failure/abort playing some files.
21792 2005-11-10 Andy Wingo <wingo@pobox.com>
21794 * check/gst/gstbin.c (test_message_state_changed_children): Style
21797 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21798 gst_bus_poll with the signal watch. Ensures that poll and a signal
21799 watch see the same messages.
21801 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21802 a poll and a watch at the same time get the same messages.
21804 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21806 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21807 * gst/gstcaps.c: (gst_caps_intersect):
21808 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21809 and it's not needed.
21811 2005-11-10 Wim Taymans <wim@fluendo.com>
21813 * docs/design/part-TODO.txt:
21816 2005-11-10 Wim Taymans <wim@fluendo.com>
21818 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21819 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21820 (gst_base_src_do_sync), (gst_base_src_get_range):
21821 Implement clock sync in base class.
21823 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21825 patch by: Tim-Philipp Müller <tim at centricular dot net>
21827 * gst/gststructure.c: (gst_structure_parse_field),
21828 (gst_structure_from_string):
21829 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21830 so that gst_parse_launch() can deal with spaces in filtered link
21831 caps (fixes #164479)
21832 * check/gst/capslist.h:
21833 * check/gst/gststructure.c: (GST_START_TEST):
21834 add unit tests for this change
21836 2005-11-10 Wim Taymans <wim@fluendo.com>
21838 * docs/gst/gstreamer-sections.txt:
21839 * gst/gstelement.c:
21840 * gst/gstelement.h:
21841 Fix docs, move some STATE macros to private.
21843 2005-11-10 Wim Taymans <wim@fluendo.com>
21845 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21846 Added check for bug #317341
21850 Some more spiffifying.
21852 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21853 Call peer linkfunction if we are a source pad. Totally fixes
21857 Update docs, source pads should call the peer linkfunction
21858 so they can atomically perform the pad link.
21860 2005-11-09 Wim Taymans <wim@fluendo.com>
21864 Uber-spiffy-spiffify some more.
21866 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21868 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21869 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21870 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21871 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21872 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21873 * gst/gstpad.c: (gst_pad_init):
21874 Use GST_DEBUG_FUNCPTR() more extensively.
21876 2005-11-09 Wim Taymans <wim@fluendo.com>
21878 * gst/gstobject.c: (gst_object_class_init):
21880 Documentation fixes.
21882 2005-11-09 Edward Hervey <edward@fluendo.com>
21884 * gst/gsttypefindfactory.c:
21887 2005-11-09 Edward Hervey <edward@fluendo.com>
21889 * gst/base/gsttypefindhelper.c:
21890 * gst/gsttypefind.c:
21891 * gst/gsttypefind.h:
21894 2005-11-09 Wim Taymans <wim@fluendo.com>
21896 * gst/gstiterator.c:
21903 2005-11-09 Wim Taymans <wim@fluendo.com>
21909 2005-11-09 Wim Taymans <wim@fluendo.com>
21911 * docs/gst/gstreamer-sections.txt:
21912 Moved the message async delivery private lock and cond
21913 to the private section.
21915 * gst/gstmessage.c:
21916 * gst/gstmessage.h:
21919 2005-11-09 Edward Hervey <edward@fluendo.com>
21921 * docs/gst/gstreamer-sections.txt:
21924 Document GstURIHandler
21926 2005-11-09 Wim Taymans <wim@fluendo.com>
21928 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21929 (gst_iterator_find_custom):
21930 * gst/gstiterator.h:
21933 2005-11-09 Wim Taymans <wim@fluendo.com>
21936 Document another field.
21938 * gst/gststructure.c:
21939 * gst/gststructure.h:
21942 2005-11-09 Wim Taymans <wim@fluendo.com>
21945 Documented structs.
21947 2005-11-09 Wim Taymans <wim@fluendo.com>
21949 * docs/gst/gstreamer-sections.txt:
21950 Added some new macros.
21957 2005-11-09 Wim Taymans <wim@fluendo.com>
21959 * docs/design/part-TODO.txt:
21960 Some more items for the TODO
21966 2005-11-09 Andy Wingo <wingo@pobox.com>
21968 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21969 to work on something else now tho...
21971 * gst/base/gstadapter.c: More adapter docs.
21973 * gst/elements/gstfilesink.c (gst_file_sink_start)
21974 (gst_file_sink_stop): New functions, replace the state change
21976 (gst_file_sink_class_init): Hook up the start and stop functions.
21977 (gst_file_sink_base_init): Don't set the state change handler any
21978 more. It was a bit ugly too, being set from here...
21979 (gst_file_sink_get_property, gst_file_sink_set_property):
21981 (gst_file_sink_set_location): More robust check that doesn't call
21982 GST_STATE. Ugggggg.
21984 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21986 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21987 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21989 2005-11-08 Wim Taymans <wim@fluendo.com>
21991 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21992 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21993 (gst_base_sink_chain), (gst_base_sink_change_state):
21994 * gst/base/gstbasesink.h:
21995 * gst/base/gstbasesrc.h:
21996 * gst/gstelement.h:
21998 Avoid excessive typechecking in macros.
22000 * gst/gstminiobject.c: (gst_mini_object_get_type),
22001 (gst_mini_object_init), (gst_mini_object_new),
22002 (gst_mini_object_free):
22003 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22004 (gst_object_finalize):
22005 Remove cruft code, optimize alloc_trace.
22007 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
22009 * docs/faq/gst-uninstalled:
22010 fix up PS1 for systems that try to reset it
22012 2005-11-07 Wim Taymans <wim@fluendo.com>
22014 * gst/base/gstbasesrc.c: (gst_base_src_init),
22015 (gst_base_src_get_range):
22016 Set the segment_end to -1 initially. Fixed typefind.
22018 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
22020 * gst/base/gstadapter.c:
22021 Debug category should be 'adapter', not 'GstAdapter'.
22023 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22024 (gst_collectpads_class_init), (gst_collectpads_init),
22025 (gst_collectpads_peek), (gst_collectpads_pop),
22026 (gst_collectpads_event), (gst_collectpads_chain):
22027 Add debug category and some debugging output. Use boilerplate
22028 macros. Remove some extraneous words from docs.
22030 2005-11-05 Andy Wingo <wingo@pobox.com>
22032 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22035 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22037 * docs/gst/gstreamer-sections.txt:
22040 * gst/gstminiobject.h:
22045 2005-11-04 Wim Taymans <wim@fluendo.com>
22047 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22048 Small update to stop at the configured segment_end
22051 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22053 * gst/gstregistry.c:
22054 * gst/gstregistry.h:
22057 2005-11-04 Edward Hervey <edward@fluendo.com>
22059 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22060 Check if we are doing a segment seek and have arrived at the
22061 end of that segment.
22063 2005-11-04 Wim Taymans <wim@fluendo.com>
22065 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22066 Don't leak a mutex unlock in case of an error.
22071 2005-11-04 Wim Taymans <wim@fluendo.com>
22073 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22075 Get the context to wake up only once.
22077 2005-11-03 Wim Taymans <wim@fluendo.com>
22079 * check/states/sinks.c: (GST_START_TEST):
22080 Uncomment fixed check.
22082 * docs/design/part-TODO.txt:
22085 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22086 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22087 (gst_base_sink_get_position):
22088 If we are going to PLAYING, post the right pending state
22089 when we post the intermediate paused message.
22091 * gst/gstelement.c: (gst_element_continue_state),
22092 (gst_element_set_state_func), (gst_element_change_state):
22093 Don't post state changes that were between the same state
22094 and were not ASYNC.
22096 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22098 * docs/gst/gstreamer-sections.txt:
22101 * gst/gstminiobject.h:
22104 more docs and doc style fixes
22106 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22108 * docs/gst/gstreamer-sections.txt:
22109 * gst/gstelement.c:
22110 * gst/gstminiobject.c:
22113 2005-11-03 Andy Wingo <wingo@pobox.com>
22115 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22116 state-changed messages actually have the right order and the right
22119 2005-11-03 Wim Taymans <wim@fluendo.com>
22121 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22122 Added some more checks. Specifically the case where NO_PREROLL
22123 elements are in the pipeline.
22125 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22126 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22127 (gst_base_sink_get_position):
22128 Post READY->PAUSED state change messages too.
22129 Fix bug where VOID was posted as pending state...
22131 * gst/gstbin.c: (gst_bin_recalc_state):
22132 use _element_continue_state() to continue the state change.
22134 * gst/gstelement.c: (gst_element_continue_state),
22135 (gst_element_commit_state), (gst_element_set_state_func),
22136 (gst_element_change_state), (gst_element_change_state_func):
22137 Lots of state change cleanups, assign the STATE_RETURN in
22138 a new continue_state() function that also propagates the
22139 last return value from a state change to the app.
22140 Update some debug statements with proper category.
22142 2005-11-03 Wim Taymans <wim@fluendo.com>
22144 * docs/design/part-events.txt:
22145 * docs/design/part-gstpipeline.txt:
22146 * docs/design/part-messages.txt:
22147 * docs/design/part-overview.txt:
22148 * docs/design/part-seeking.txt:
22149 * docs/design/part-states.txt:
22150 * docs/design/part-trickmodes.txt:
22151 * docs/manual/advanced-position.xml:
22152 Small docs updates.
22155 People think !! is ugly, this looks better.
22157 * gst/gstpad.c: (gst_pad_set_blocked_async):
22158 Remove !! since it's fixed elsewhere now.
22160 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22162 * gst/gstminiobject.h:
22164 Add !! to _FLAG_IS_SET macros to make the result boolean.
22166 2005-11-03 Edward Hervey <edward@fluendo.com>
22168 * gst/gstpad.c: (gst_pad_set_blocked_async):
22169 comparing a flag and a gboolean rarely returns coherent results...
22170 Added two characters (!!) to make that work correctly.
22172 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22174 * gst/gstbus.c: (gst_bus_class_init):
22177 * gst/gstqueue.c: (gst_queue_loop):
22178 Don't assume a miniobject that isn't a buffer is an
22179 event (it could be that there is a refcounting
22180 problem somewhere and the pointer is stale and
22181 refers to an already destroyed miniobject).
22183 2005-11-03 Julien MOUTTE <julien@moutte.net>
22185 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22187 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22189 * docs/manual/advanced-position.xml:
22190 Update seek example and explanations to current 0.9 API.
22192 * gst/elements/gsttypefindelement.c:
22193 (gst_type_find_element_activate):
22194 Remove FIXME comment now that the found caps
22197 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22199 * gst/gstregistryxml.c: (load_feature):
22200 Add another GST_STR_NULL instance
22202 2005-11-02 Edward Hervey <edward@fluendo.com>
22204 * gst/gstpad.c: (handle_pad_block):
22205 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22207 2005-11-02 Wim Taymans <wim@fluendo.com>
22212 * gst/gstelement.c: (gst_element_commit_state):
22213 Remove unused value.
22215 * gst/gstiterator.c:
22216 Mention that the returned element is reffed in the docs.
22218 2005-11-02 Wim Taymans <wim@fluendo.com>
22220 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22221 (gst_pad_push), (gst_pad_push_event):
22222 Unlock blocked pads when they are flushed.
22224 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22227 * docs/gst/gstreamer-sections.txt:
22230 * gst/gstregistry.c: (gst_registry_scan_path_level):
22231 fix for a nasty little missed situation where an installed plug-in
22232 which was in the cache did not get overridden by an uninstalled one
22233 which was earlier in the plugin path because the newly created plugin
22234 for the uninstalled one (not in the registry) didn't get its
22235 ->registered set to TRUE
22237 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22239 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22240 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22241 (gst_collectpads_is_active), (gst_collectpads_collect),
22242 (gst_collectpads_collect_range), (gst_collectpads_start),
22243 (gst_collectpads_stop), (gst_collectpads_peek),
22244 (gst_collectpads_pop), (gst_collectpads_available),
22245 (gst_collectpads_read), (gst_collectpads_flush):
22246 Guard public API with assertions.
22249 Fix docs for gst_pad_set_link_function().
22251 2005-11-02 Johan Dahlin <johan@gnome.org>
22253 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22254 Unref found_caps after we used it.
22256 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22258 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22259 Don't try to ref NULL.
22261 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22263 * win32/common/config.h.in:
22264 provide a GST_FUNCTION that just gives a string for now
22266 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22268 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22269 (gst_object_flags_get_type), (register_gst_bin_flags),
22270 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22271 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22272 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22273 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22274 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22275 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22276 (gst_clock_flags_get_type), (register_gst_state),
22277 (gst_state_get_type), (register_gst_state_change_return),
22278 (gst_state_change_return_get_type), (register_gst_state_change),
22279 (gst_state_change_get_type), (register_gst_element_flags),
22280 (gst_element_flags_get_type), (register_gst_core_error),
22281 (gst_core_error_get_type), (register_gst_library_error),
22282 (gst_library_error_get_type), (register_gst_resource_error),
22283 (gst_resource_error_get_type), (register_gst_stream_error),
22284 (gst_stream_error_get_type), (register_gst_event_type),
22285 (gst_event_type_get_type), (register_gst_seek_type),
22286 (gst_seek_type_get_type), (register_gst_seek_flags),
22287 (gst_seek_flags_get_type), (register_gst_format),
22288 (gst_format_get_type), (register_gst_index_certainty),
22289 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22290 (gst_index_entry_type_get_type),
22291 (register_gst_index_lookup_method),
22292 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22293 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22294 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22295 (gst_index_flags_get_type), (register_gst_debug_level),
22296 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22297 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22298 (gst_iterator_result_get_type), (register_gst_iterator_item),
22299 (gst_iterator_item_get_type), (register_gst_message_type),
22300 (gst_message_type_get_type), (register_gst_mini_object_flags),
22301 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22302 (gst_pad_link_return_get_type), (register_gst_flow_return),
22303 (gst_flow_return_get_type), (register_gst_activate_mode),
22304 (gst_activate_mode_get_type), (register_gst_pad_direction),
22305 (gst_pad_direction_get_type), (register_gst_pad_flags),
22306 (gst_pad_flags_get_type), (register_gst_pad_presence),
22307 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22308 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22309 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22310 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22311 (gst_plugin_flags_get_type), (register_gst_rank),
22312 (gst_rank_get_type), (register_gst_query_type),
22313 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22314 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22315 (gst_tag_flag_get_type), (register_gst_task_state),
22316 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22317 (gst_alloc_trace_flags_get_type),
22318 (register_gst_type_find_probability),
22319 (gst_type_find_probability_get_type), (register_gst_uri_type),
22320 (gst_uri_type_get_type), (register_gst_parse_error),
22321 (gst_parse_error_get_type):
22322 * win32/common/gstversion.h:
22323 update win32 copies
22325 2005-11-01 Luca Ognibene <luogni@tin.it>
22328 fix docs. popt is dead, long live GOption.
22330 2005-10-31 Wim Taymans <wim@fluendo.com>
22335 2005-10-31 Andy Wingo <wingo@pobox.com>
22339 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22341 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22342 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22343 the possibility of deadlocks here if code calling notify() or
22344 set() has a lock that can be taken in another notify handler (ABBA
22345 with class lock and e.g. python GIL state lock).
22347 2005-10-28 Julien MOUTTE <julien@moutte.net>
22349 * gst/gstbus.c: Doc updates.
22351 2005-10-28 Wim Taymans <wim@fluendo.com>
22353 * docs/design/part-TODO.txt:
22354 * gst/gstiterator.c:
22355 * gst/gstsystemclock.c:
22356 * gst/gstsystemclock.h:
22359 2005-10-28 Edward Hervey <edward@fluendo.com>
22361 * docs/gst/gstreamer-docs.sgml:
22362 * docs/gst/gstreamer-sections.txt:
22363 the GstURIType documentation page is private, it only defines GstURIType
22364 which should be defined in the GstURIHandler page
22366 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22368 * gst/gstbin.c: (gst_bin_class_init):
22371 Documentation updates.
22373 2005-10-28 Wim Taymans <wim@fluendo.com>
22375 * docs/gst/gstreamer-sections.txt:
22378 Documented the clocks.
22380 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22382 * docs/gst/gstreamer-sections.txt:
22383 move some macros to private sections
22384 * gst/gstminiobject.c:
22385 * gst/gstminiobject.h:
22386 add descriptions provided by ds and some more
22388 mark macro as to be removed
22390 2005-10-28 Wim Taymans <wim@fluendo.com>
22392 * docs/design/part-TODO.txt:
22393 Add an item to TODO.
22395 * gst/gstiterator.c: (gst_iterator_fold),
22396 (gst_iterator_find_custom):
22397 * gst/gstiterator.h:
22400 2005-10-28 Wim Taymans <wim@fluendo.com>
22402 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22403 (gst_base_transform_init):
22406 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22407 An EOS event marks the queue as completely filled.
22409 2005-10-27 Wim Taymans <wim@fluendo.com>
22411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22412 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22413 Some more debugging.
22415 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22416 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22417 (gst_base_transform_event), (gst_base_transform_getrange),
22418 (gst_base_transform_chain):
22419 * gst/base/gstbasetransform.h:
22421 Protect transform and concurrent buffer alloc with a new lock.
22422 Try not to break ABI/API.
22424 2005-10-27 Wim Taymans <wim@fluendo.com>
22426 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22427 (gst_base_src_init), (gst_base_src_query),
22428 (gst_base_src_default_newsegment),
22429 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22430 (gst_base_src_send_event), (gst_base_src_event_handler),
22431 (gst_base_src_pad_get_range), (gst_base_src_loop),
22432 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22433 (gst_base_src_start), (gst_base_src_deactivate),
22434 (gst_base_src_activate_push), (gst_base_src_change_state):
22435 Move some stuff around and cleanup things.
22437 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22439 * gst/base/gstbasesrc.c: (gst_base_src_query):
22440 Add missing break statements.
22442 2005-10-27 Wim Taymans <wim@fluendo.com>
22444 * check/gst/gstbin.c: (GST_START_TEST):
22445 An extra refcount is taken in basesrc.
22447 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22448 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22449 (gst_base_src_loop):
22450 Small cleanups, check for flushing after being unlocked from the
22451 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22452 Don't send out EOS when going to READY.
22454 2005-10-27 Wim Taymans <wim@fluendo.com>
22456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22457 (gst_base_sink_get_position):
22460 * gst/gstbin.c: (message_check), (bin_replace_message),
22461 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22462 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22463 (bin_query_duration_init), (bin_query_duration_fold),
22464 (bin_query_duration_done), (bin_query_generic_fold),
22466 * tools/gst-launch.c: (main):
22469 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22471 * examples/controller/audio-example.c: (main):
22472 * examples/queue/queue.c: (event_loop):
22473 * gst/base/gstbasetransform.h:
22474 * gst/gstelement.c: (gst_element_send_event):
22476 * gst/gstpad.c: (gst_pad_send_event):
22479 changing log priority in error situations
22481 2005-10-25 Wim Taymans <wim@fluendo.com>
22483 * gst/gstbin.c: (message_check), (bin_replace_message),
22484 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22485 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22486 (bin_query_duration_init), (bin_query_duration_fold),
22487 (bin_query_duration_done), (bin_query_generic_fold),
22489 Some doc and debug updates.
22490 Cache previously requested query DURATION for speed. invalidate
22491 cached duration if element posts a DURATION message.
22493 2005-10-25 Wim Taymans <wim@fluendo.com>
22495 * docs/design/part-TODO.txt:
22498 * gst/gstbin.c: (message_check), (bin_replace_message),
22499 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22500 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22501 (bin_query_duration_init), (bin_query_duration_fold),
22502 (bin_query_duration_done), (bin_query_generic_fold),
22504 Handle SEGMENT_START/DONE messages correctly.
22505 More evolved query algorithm that handles duration queries
22508 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22509 (gst_element_get_state_func), (gst_element_abort_state),
22510 (gst_element_commit_state), (gst_element_lost_state):
22511 Some more debugging.
22513 * gst/gstmessage.h:
22516 2005-10-25 Wim Taymans <wim@fluendo.com>
22518 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22519 Don't use invalid stream_time.
22521 * gst/gstevent.c: (gst_event_new_newsegment):
22522 stream_time in newsegment cannot be undefined.
22524 2005-10-24 Wim Taymans <wim@fluendo.com>
22529 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22531 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22533 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22535 * docs/libs/tmpl/gstdparam.sgml:
22536 * docs/libs/tmpl/gstdplinint.sgml:
22537 * docs/libs/tmpl/gstdpman.sgml:
22538 * docs/libs/tmpl/gstdpsmooth.sgml:
22539 * docs/libs/tmpl/gstunitconvert.sgml:
22542 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22547 === release 0.9.4 ===
22549 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22552 releasing 0.9.4, "Tyrannosaurus Rex"
22554 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22556 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22557 (gst_file_sink_get_current_offset):
22558 Use fseeko() and ftello() if available. When falling back on
22559 lseek() to get the current offset, fflush() first to make sure
22560 everything is up-to-date and we get the right offset.
22562 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22565 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22566 * gst/gsterror.c: (_gst_stream_errors_init):
22568 * gst/gstqueue.c: (gst_queue_loop):
22570 remove prematurely added error category and clean up the instances
22572 2005-10-21 Wim Taymans <wim@fluendo.com>
22574 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22575 (gst_base_sink_get_position), (gst_base_sink_query),
22576 (gst_base_sink_change_state):
22577 Simply set the right flag when going to playing, that's all
22578 we need to do instead of calling a function inside the object
22579 lock (that could take the lock as well and deadlock)
22581 2005-10-21 Wim Taymans <wim@fluendo.com>
22583 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22584 (gst_base_src_loop):
22585 Don't warn, the peer element knows what to do best when
22586 the seek failed, it might try something else.
22588 2005-10-21 Wim Taymans <wim@fluendo.com>
22590 * gst/base/gstbasesrc.c: (gst_base_src_init),
22591 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22594 2005-10-21 Wim Taymans <wim@fluendo.com>
22596 * docs/design/part-segments.txt:
22599 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22600 Correctly set caps, even on the subbufer.
22602 2005-10-21 Wim Taymans <wim@fluendo.com>
22604 * docs/gst/gstreamer-docs.sgml:
22605 * docs/gst/gstreamer-sections.txt:
22606 * gst/gstelement.h:
22609 * gst/gstmessage.h:
22612 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22616 And 2% more doc coverage.
22618 2005-10-21 Andy Wingo <wingo@pobox.com>
22620 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22621 position reporting.
22623 2005-10-20 Wim Taymans <wim@fluendo.com>
22625 * gst/gsterror.c: (gst_error_get_message):
22628 * gst/gststructure.c:
22633 2005-10-20 Wim Taymans <wim@fluendo.com>
22638 Another 1% more coverage.
22640 2005-10-20 Wim Taymans <wim@fluendo.com>
22642 * docs/gst/gstreamer-sections.txt:
22643 * gst/gstelement.c: (gst_element_get_state_func),
22644 (gst_element_abort_state), (gst_element_commit_state),
22645 (gst_element_lost_state):
22647 * gst/gstquery.c: (gst_query_set_position),
22648 (gst_query_parse_position), (gst_query_set_duration),
22649 (gst_query_parse_duration), (gst_query_new_convert):
22651 Yay! 1% more docs coverage.
22653 2005-10-20 Wim Taymans <wim@fluendo.com>
22656 * gst/gstquery.c: (gst_query_set_position),
22657 (gst_query_parse_position), (gst_query_set_duration),
22658 (gst_query_parse_duration), (gst_query_new_convert):
22660 * gst/gstutils.c: (gst_element_query_convert):
22662 Docs and consistency fixes.
22664 2005-10-20 Wim Taymans <wim@fluendo.com>
22670 2005-10-20 Wim Taymans <wim@fluendo.com>
22672 * gst/gstbin.c: (message_check), (bin_replace_message),
22673 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22674 (update_degree), (gst_bin_sort_iterator_next),
22675 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22676 Reworked the message handling a bit, cache the messages instead of
22677 only the senders. alows us to do more in the future.
22679 2005-10-20 Wim Taymans <wim@fluendo.com>
22681 * docs/design/part-TODO.txt:
22684 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22685 (gst_base_sink_query):
22686 Don't use clock time to report position when in EOS.
22688 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22690 * tools/gst-inspect.c: (print_interfaces),
22691 (print_element_properties_info), (print_element_info):
22692 Fix interface output with gst-inspect -a; don't print
22693 newlines after double/float properties.
22695 2005-10-20 Wim Taymans <wim@fluendo.com>
22697 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22698 (gst_base_sink_query):
22699 Speed up current position calculation.
22701 * gst/base/gstbasesrc.c: (gst_base_src_query),
22702 (gst_base_src_default_newsegment):
22703 Correctly set stream position in newsegment.
22705 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22706 (update_degree), (gst_bin_sort_iterator_next),
22707 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22708 * gst/gstmessage.c: (gst_message_new_custom):
22709 Clean up debugging info
22711 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22712 (gst_queue_loop), (gst_queue_handle_src_query):
22715 2005-10-19 Wim Taymans <wim@fluendo.com>
22717 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22718 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22719 Fix query handling again.
22721 2005-10-19 Wim Taymans <wim@fluendo.com>
22723 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22724 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22725 * gst/base/gstbasesrc.c: (gst_base_src_query):
22726 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22727 * gst/elements/gsttypefindelement.c:
22728 (gst_type_find_handle_src_query), (find_element_get_length),
22729 (gst_type_find_element_activate):
22732 * gst/gstquery.c: (gst_query_new_position),
22733 (gst_query_set_position), (gst_query_parse_position),
22734 (gst_query_new_duration), (gst_query_set_duration),
22735 (gst_query_parse_duration), (gst_query_set_segment),
22736 (gst_query_parse_segment):
22738 Bundling query position/duration is not a good idea since duration
22739 does not change much and we don't want to recalculate it for every
22740 position query, so they are separated again..
22741 Base value in segment query is not needed.
22743 * gst/gstqueue.c: (gst_queue_handle_src_query):
22744 * gst/gstutils.c: (gst_element_query_position),
22745 (gst_element_query_duration), (gst_pad_query_position),
22746 (gst_pad_query_duration):
22748 Updates for query API change.
22749 Added some docs here and there.
22751 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22753 * check/gst/gstbin.c: (GST_START_TEST):
22754 * check/gst/gstghostpad.c: (GST_START_TEST):
22755 * check/pipelines/cleanup.c: (GST_START_TEST):
22756 wait on thread to die so we can check refcount correctly
22758 2005-10-18 Wim Taymans <wim@fluendo.com>
22760 * check/pipelines/stress.c: (GST_START_TEST):
22761 Make check a little more time consuming.
22763 2005-10-18 Wim Taymans <wim@fluendo.com>
22765 * check/Makefile.am:
22766 * check/pipelines/stress.c: (GST_START_TEST),
22767 (simple_launch_lines_suite), (main):
22768 Small state change torture test.
22770 * docs/design/part-states.txt:
22771 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22772 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22773 (gst_base_sink_change_state):
22774 Never take state lock from streaming thread, clean up ugly
22775 hacks. Unfortunatly core does not yet support nice ways to
22776 async commit state.
22778 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22780 Start state recalc if a STATE_DIRTY message is posted, but only
22781 on the toplevel bin.
22783 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22784 (gst_element_get_state_func), (gst_element_abort_state),
22785 (gst_element_commit_state), (gst_element_lost_state),
22786 (gst_element_set_state_func), (gst_element_change_state):
22787 * gst/gstelement.h:
22788 State variables are now protected with the LOCK, the state
22789 lock is only used to serialize _set_state().
22791 2005-10-18 Wim Taymans <wim@fluendo.com>
22793 * check/gst/gstbin.c: (GST_START_TEST):
22794 * check/gst/gstmessage.c: (GST_START_TEST):
22795 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22796 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22798 * gst/gstelement.c: (gst_element_abort_state),
22799 (gst_element_commit_state), (gst_element_lost_state):
22800 * gst/gstmessage.c: (gst_message_new_state_changed),
22801 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22802 (gst_message_new_segment_done), (gst_message_new_duration),
22803 (gst_message_parse_state_changed),
22804 (gst_message_parse_segment_start),
22805 (gst_message_parse_segment_done), (gst_message_parse_duration):
22806 * gst/gstmessage.h:
22807 * tools/gst-launch.c: (event_loop):
22808 Seriously, this is better than a previous commit as we only need
22809 to notify the fact that an element changed state in a streaming
22810 thread, marking the state of the parents dirty, hence the
22811 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22814 2005-10-18 Wim Taymans <wim@fluendo.com>
22816 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22817 (gst_bin_recalc_func):
22818 * gst/gstelement.c: (gst_element_set_clock),
22819 (gst_element_abort_state), (gst_element_lost_state):
22820 Cleanups, prepare for state change fixes.
22822 2005-10-18 Wim Taymans <wim@fluendo.com>
22825 * gst/gstelement.c: (gst_element_class_init),
22826 (gst_element_set_state), (gst_element_set_state_func):
22827 * gst/gstelement.h:
22828 Pending ABI changes.
22829 GThreadPool in GstBinClass to monitor async state changes.
22830 state_cookie in GstElement to detect concurrent gst/set state.
22831 set_state is now virtual too in case a very complicated element
22832 has to be constructed.
22834 2005-10-18 Wim Taymans <wim@fluendo.com>
22836 * check/gst/gstbin.c: (GST_START_TEST):
22837 * check/gst/gstmessage.c: (GST_START_TEST):
22838 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22839 * gst/gstbin.c: (bin_bus_handler):
22840 * gst/gstelement.c: (gst_element_commit_state),
22841 (gst_element_lost_state):
22842 * gst/gstmessage.c: (gst_message_new_state_changed),
22843 (gst_message_new_segment_start), (gst_message_new_segment_done),
22844 (gst_message_new_duration), (gst_message_parse_state_changed),
22845 (gst_message_parse_segment_start),
22846 (gst_message_parse_segment_done), (gst_message_parse_duration):
22847 * gst/gstmessage.h:
22848 * tools/gst-launch.c: (event_loop):
22849 Make messages future proof.
22850 state-change gets a flag if it was a message comming from the
22852 segment-start/stop can also be specified in other formats.
22853 A message to notify an app that a pipeline changed playback
22855 Also fix a GstMessage leak in -launch
22857 2005-10-18 Andy Wingo <wingo@pobox.com>
22859 * gst/gstelement.c (gst_element_dispose): More helpful message.
22861 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22863 reviewed by: <delete if not using a buddy>
22865 * common/gtk-doc.mak:
22867 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22869 * gst/gstregistry.c: (gst_registry_scan_path_level):
22870 unref a plug-in we get that was already initialized
22872 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22874 * docs/gst/gstreamer-sections.txt:
22875 * docs/libs/gstreamer-libs-sections.txt:
22876 * gst/gstelement.h:
22877 add new api entries
22878 hide internal macro
22880 2005-10-17 Andy Wingo <wingo@pobox.com>
22882 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22885 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22887 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22889 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22890 (gst_element_get_state_func): Better debug message.
22891 (gst_element_commit_state): s/INFO/DEBUG/.
22892 (gst_element_lost_state, gst_element_change_state):
22894 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22895 (gst_message_new_custom): s/INFO/LOG/.
22897 2005-10-17 Michael Smith <msmith@fluendo.com>
22899 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22900 Check if end time is valid using end time, not start time.
22902 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22904 * check/gst-libs/controller.c: (GST_START_TEST),
22905 (gst_controller_suite):
22906 * libs/gst/controller/gstcontroller.c:
22907 (gst_controlled_property_set_interpolation_mode):
22908 * libs/gst/controller/gstcontroller.h:
22909 * libs/gst/controller/gstinterpolation.c:
22910 * testsuite/controller/.cvsignore:
22911 * testsuite/controller/Makefile.am:
22912 * testsuite/controller/interpolator.c:
22913 merge controller testsuites
22915 remove mem-chunk from docs
22917 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22919 * gst/gstmemchunk.c:
22920 * gst/gstmemchunk.h:
22921 * gst/gsttrashstack.c:
22922 * gst/gsttrashstack.h:
22923 out. get out. you're fired. to the Attic !
22925 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22927 * gst/gstcaps.c: (gst_caps_intersect):
22928 fix signedness issues in a (hopefully) correct way
22929 * gst/gstelement.c: (gst_element_pads_activate):
22931 * gst/gstobject.c: (gst_object_set_parent):
22934 2005-10-17 Julien MOUTTE <julien@moutte.net>
22936 * gst/gstvalue.h: Fix prototypes.
22938 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22940 * docs/gst/gstreamer-sections.txt:
22941 * gst/gst.c: (gst_version_string):
22943 * gst/gstversion.h.in:
22944 * win32/common/libgstreamer.def:
22945 add gst_version_string ()
22947 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22951 * gst/gst.c: (init_post):
22952 * win32/common/config.h.in:
22954 * gst/gstcaps.c: (gst_caps_intersect):
22955 use gint64, the range could be bigger than a guint
22957 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22960 document potential problem in 2038
22962 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22964 * gst/gstcaps.c: (gst_caps_intersect):
22965 Fix guint j diving under 0
22967 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22970 * win32/common/config.h:
22971 * win32/common/config.h.in:
22972 check for process.h, declares getpid() on Windows
22974 include process.h if we have it
22975 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22976 * gst/gstmemchunk.h:
22977 fix signedness issues
22978 * win32/common/libgstreamer.def:
22981 2005-10-16 Julien MOUTTE <julien@moutte.net>
22983 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22984 fix. Because of unsigned ints, caps intersection was going nuts and
22985 trying to access structures with G_MAXUINT index. That fixes
22986 videotestsrc ! ffmpegcolorspace ! fakesink
22987 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22990 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22993 use the gettext macro
22994 * gst/elements/gstelements.c:
22996 * gst/indexers/gstindexers.c:
22997 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22998 * win32/common/config.h:
23000 * win32/common/config.h.in:
23001 add the template to generate config.h
23002 * win32/common/gstenumtypes.c:
23003 * win32/common/gstversion.h:
23006 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23008 * gst/gst.c: (gst_version):
23009 * gst/gstversion.h.in:
23012 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23015 Oops, add missing closing bracket.
23017 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23020 use common m4's for argument checking
23022 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23024 * docs/gst/gstreamer-sections.txt:
23026 Add GST_EVENT_TYPE_NAME() macro.
23028 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23031 * gst/gstpluginfeature.c:
23033 privatize more symbols
23035 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23038 add srcdir, builddir includes to GST_ALL_CFLAGS, since
23039 everything that uses GStreamer API should have the includes
23041 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23043 * docs/gst/gstreamer-sections.txt:
23044 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23046 give each value a _get_type, removes the DATA exports
23048 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23052 remove _gst_registry_auto_load, not used anymore
23053 * gst/gstbin.c: (gst_bin_get_type):
23055 * gst/gstelement.c: (gst_element_get_type):
23056 * gst/gstelement.h:
23057 * gst/gstobject.c: (gst_object_get_type):
23059 * gst/gstpad.c: (gst_pad_get_type):
23061 make _get_type functions similar, fixes data export from library
23063 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23066 correctly make conditionals
23067 * gst/elements/Makefile.am:
23068 * gst/elements/gstelements.c:
23069 fix typo causing fdsrc not to build
23071 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23073 * testsuite/Makefile.am:
23074 * testsuite/bytestream/.cvsignore:
23075 * testsuite/bytestream/Makefile.am:
23076 * testsuite/bytestream/filepadsink.c:
23077 * testsuite/bytestream/gstbstest.c:
23078 * testsuite/bytestream/test1.c:
23079 * testsuite/bytestream/testfile1:
23080 * testsuite/caps/normalisation.c:
23081 * testsuite/caps/random.c: (main):
23082 * testsuite/cleanup/.cvsignore:
23083 * testsuite/cleanup/Makefile.am:
23084 * testsuite/cleanup/cleanup1.c:
23085 * testsuite/cleanup/cleanup2.c:
23086 * testsuite/cleanup/cleanup3.c:
23087 * testsuite/cleanup/cleanup4.c:
23088 * testsuite/cleanup/cleanup5.c:
23089 * testsuite/controller/interpolator.c:
23090 * testsuite/debug/printf_extension.c: (main):
23091 * testsuite/elements/tee.c:
23092 * testsuite/negotiation/.cvsignore:
23093 * testsuite/negotiation/Makefile.am:
23094 * testsuite/negotiation/pad_link.c:
23095 * testsuite/pad/Makefile.am:
23096 * testsuite/pad/chainnopull.c:
23097 * testsuite/pad/getnopush.c:
23098 * testsuite/pad/link.c:
23099 * testsuite/refcounting/sched.c: (create_pipeline):
23100 * testsuite/registry/Makefile.am:
23101 * testsuite/registry/gst-print-formats.c:
23102 * testsuite/schedulers/.cvsignore:
23103 * testsuite/schedulers/142183-2.c:
23104 * testsuite/schedulers/142183.c:
23105 * testsuite/schedulers/143777-2.c:
23106 * testsuite/schedulers/143777.c:
23107 * testsuite/schedulers/147713.c:
23108 * testsuite/schedulers/147819.c:
23109 * testsuite/schedulers/147894-2.c:
23110 * testsuite/schedulers/147894.c:
23111 * testsuite/schedulers/Makefile.am:
23112 * testsuite/schedulers/group_link.c:
23113 * testsuite/schedulers/queue_link.c:
23114 * testsuite/schedulers/relink.c:
23115 * testsuite/schedulers/unlink.c:
23116 * testsuite/schedulers/unref.c:
23117 * testsuite/schedulers/useless_iteration.c:
23118 * testsuite/states/bin.c:
23119 clean out/remove some stuff from the testsuite directories
23121 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23124 check for some headers
23125 * gst/elements/Makefile.am:
23126 * gst/elements/gstelements.c:
23127 don't compile fdsrc without sys/socket.h
23128 * gst/indexers/Makefile.am:
23129 * gst/indexers/gstindexers.c: (plugin_init):
23130 don't compile fileindex without mmap
23132 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23139 * check/Makefile.am:
23140 * docs/gst/Makefile.am:
23141 * examples/helloworld/Makefile.am:
23143 * gst/base/Makefile.am:
23144 * gst/check/Makefile.am:
23145 * gst/elements/Makefile.am:
23146 * gst/indexers/Makefile.am:
23147 * gst/parse/Makefile.am:
23148 * libs/gst/controller/Makefile.am:
23149 * libs/gst/dataprotocol/Makefile.am:
23150 * examples/helloworld/helloworld.c: (event_loop):
23151 compile fixes, though it's not being compiled currently
23153 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23155 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23156 Add some simple tests for the new taglist date API.
23158 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23160 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23161 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23162 Beautify 'last-message' output: print 'none' for buffer timestamps
23163 and durations if none is set; improve alignment with next messages.
23165 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23167 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23168 * gst/gstpluginfeature.h:
23169 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23170 * gst/gstregistry.h:
23171 * docs/gst/gstreamer-sections.txt:
23172 Add new API to check plugin feature version requirements.
23174 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23175 Some basic tests for the above.
23177 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23179 * gst/gststructure.c: (gst_structure_to_string):
23180 guard against NULL printf - happens when for example
23181 a message structure with GstClock gets serialized
23183 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23185 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23186 Fix presumable copy'n'pasto.
23188 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23190 * gst/elements/gstfakesrc.h:
23191 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23192 * gst/elements/gsttypefindelement.c:
23193 fix some signedness
23194 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23195 I wonder if this could actually write +2GB files before
23197 2005-10-13 Andy Wingo <wingo@pobox.com>
23199 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23200 Fix Timmeke Waymans bug.
23201 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23202 string of the proper length to gst_caps_from_string. There's a
23203 potential for, before this fix, that this could cause someone
23204 connecting over the network to cause a segfault if the payload is
23205 not NUL-terminated.
23207 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23209 * docs/design/draft-push-pull.txt:
23210 * docs/design/part-overview.txt:
23211 * docs/random/TODO-pre-0.9:
23212 * docs/random/old/ChangeLog.gstreamer:
23213 * gst/base/gstpushsrc.c:
23217 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23219 * gst/glib-compat.c: (gst_flags_get_first_value):
23220 * gst/glib-compat.h:
23221 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23222 (gst_value_compare_double), (gst_value_serialize_flags):
23223 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23226 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23229 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23231 * tools/gst-launch.c: (event_loop):
23232 print out clock nicely
23234 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23236 * docs/gst/gstreamer-sections.txt:
23237 * gst/gsttaglist.h:
23238 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23239 (gst_tag_list_get_date_index):
23240 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23241 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23243 2005-10-13 Julien MOUTTE <julien@moutte.net>
23245 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23246 (gst_collectpads_chain):
23247 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23250 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23252 * docs/gst/gstreamer-sections.txt:
23255 * tools/gst-inspect.c: (main):
23256 * tools/gst-launch.c: (main):
23257 * tools/gst-run.c: (main):
23258 * tools/gst-xmlinspect.c: (main):
23259 fix GOption context leaks
23262 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23266 * win32/common/config.h:
23268 * win32/vs6/grammar.dsp:
23269 * win32/vs6/libgstelements.dsp:
23270 * win32/vs6/libgstreamer.dsp:
23273 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23276 * gst/base/gstbasesrc.c: (gst_base_src_query):
23277 fix more guint64<->gdouble conversions
23279 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23282 add win32-update target
23283 * win32/common/gstconfig.h:
23284 * win32/common/gstenumtypes.c:
23285 * win32/common/gstenumtypes.h:
23286 * win32/common/gstversion.h:
23287 add files that visual studio can't generate
23289 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23292 add a win32-update target
23295 2005-10-12 Wim Taymans <wim@fluendo.com>
23297 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23298 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23299 * gst/gstelement.c: (gst_element_commit_state),
23300 (gst_element_set_state):
23301 Protect flags with proper lock.
23302 unref provided cached clock in dispose.
23304 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23307 * gst/gstminiobject.h:
23309 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23310 removed unused flags from miniobject
23313 2005-10-12 Wim Taymans <wim@fluendo.com>
23315 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23316 (gst_file_sink_event), (gst_file_sink_render):
23317 Flush before seeking.
23319 2005-10-12 Andy Wingo <wingo@pobox.com>
23321 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23322 always been the case.
23324 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23326 * check/gst/gstbin.c: (GST_START_TEST):
23327 * docs/gst/gstreamer-sections.txt:
23328 * gst/base/gstbasesink.c: (gst_base_sink_init):
23329 * gst/base/gstbasesrc.c: (gst_base_src_init),
23330 (gst_base_src_get_range), (gst_base_src_check_get_range),
23331 (gst_base_src_start), (gst_base_src_stop):
23332 * gst/base/gstbasesrc.h:
23333 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23334 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23335 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23339 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23341 * gst/gstelement.c: (gst_element_is_locked_state),
23342 (gst_element_set_locked_state), (gst_element_commit_state),
23343 (gst_element_set_state):
23344 * gst/gstelement.h:
23345 * gst/gstindex.c: (gst_index_init):
23347 * gst/gstminiobject.h:
23348 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23349 (gst_object_set_parent):
23351 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23352 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23354 * gst/gstpadtemplate.h:
23355 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23356 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23357 * gst/gstpipeline.h:
23358 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23359 (gst_file_index_commit):
23360 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23361 * testsuite/pad/link.c: (gst_test_src_init),
23362 (gst_test_filter_init), (gst_test_sink_init):
23363 * testsuite/states/locked.c: (main):
23364 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23365 moved bitshift from macro to enum definition
23367 2005-10-12 Wim Taymans <wim@fluendo.com>
23369 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23370 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23371 (gst_file_sink_render):
23372 Some more debugging info.
23374 2005-10-12 Wim Taymans <wim@fluendo.com>
23376 * docs/design/part-states.txt:
23377 * tools/gst-launch.c: (main):
23379 Revert non-intentional change.
23381 2005-10-12 Wim Taymans <wim@fluendo.com>
23383 * check/gst/gstbin.c: (GST_START_TEST):
23384 * check/gst/gstelement.c: (GST_START_TEST):
23385 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23386 * check/gst/gstghostpad.c: (GST_START_TEST):
23387 * check/gst/gstpipeline.c: (GST_START_TEST):
23388 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23389 * check/states/sinks.c: (GST_START_TEST):
23390 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23391 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23392 (gst_bin_remove_func), (gst_bin_get_state_func),
23393 (gst_bin_recalc_state), (gst_bin_change_state_func),
23395 * gst/gstelement.c: (gst_element_get_state_func),
23396 (gst_element_get_state), (gst_element_abort_state),
23397 (gst_element_commit_state), (gst_element_set_state),
23398 (gst_element_change_state), (gst_element_change_state_func):
23399 * gst/gstelement.h:
23400 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23401 (gst_pipeline_provide_clock_func):
23402 * gst/gstutils.c: (gst_element_link_pads_filtered):
23403 * tools/gst-launch.c: (main):
23404 * tools/gst-typefind.c: (main):
23405 Use GstClockTime in _get_state() instead of GTimeVal.
23406 Remove old code in gstutils.c
23408 2005-10-12 Andy Wingo <wingo@pobox.com>
23410 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23413 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23414 there is no task. Shouldn't affect any code, as nothing in our
23415 plugins checks this return value.
23416 (gst_pad_stop_task): Also take the stream lock if the pad has no
23417 task. Docs updated.
23419 2005-10-12 Wim Taymans <wim@fluendo.com>
23421 * gst/gstpad.c: (pre_activate), (post_activate),
23422 (gst_pad_activate_pull), (gst_pad_activate_push):
23423 Cleanup activation code. Reset old state if
23426 2005-10-12 Wim Taymans <wim@fluendo.com>
23428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23429 (gst_base_sink_change_state):
23430 No need to prerol after receiving EOS.
23432 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23433 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23434 * gst/elements/gstidentity.c: (gst_identity_event):
23435 Print events more verbosely.
23437 2005-10-12 Wim Taymans <wim@fluendo.com>
23439 * check/Makefile.am:
23440 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23441 * check/states/sinks2.c:
23442 Moved sinks2 testcode in sinks check.
23444 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23445 (gst_bin_remove_func), (gst_bin_recalc_state),
23446 (gst_bin_change_state_func), (bin_bus_handler):
23447 Fix potential race condition when _get_state() iterated over an
23448 ASYNC element right before it posted a state completion.
23451 Do proper cast here.
23453 * gst/gstevent.c: (gst_event_new_newsegment),
23454 (gst_event_parse_newsegment):
23455 A playback rate of 0.0 is not allowed.
23457 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23459 * win32/common/config.h:
23460 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23461 (_trewinddir), (_ttelldir), (_tseekdir):
23462 * win32/common/dirent.h:
23463 * win32/common/gtchar.h:
23464 * win32/common/libgstbase.def:
23465 * win32/common/libgstreamer.def:
23466 * win32/vs6/grammar.dsp:
23467 * win32/vs6/gst_inspect.dsp:
23468 * win32/vs6/gst_launch.dsp:
23469 * win32/vs6/gstreamer.dsw:
23470 * win32/vs6/libgstbase.dsp:
23471 * win32/vs6/libgstelements.dsp:
23472 * win32/vs6/libgstreamer.dsp:
23473 Visual Studio 6 project files, and a new common directory.
23476 2005-10-11 Wim Taymans <wim@fluendo.com>
23478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23479 (gst_base_sink_do_sync), (gst_base_sink_query),
23480 (gst_base_sink_change_state):
23481 * gst/base/gstbasesink.h:
23482 Correctly parse newsegment info.
23484 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23486 * gst/gst.c: (init_post):
23487 split plugin paths correctly
23489 2005-10-11 Wim Taymans <wim@fluendo.com>
23491 * check/gst/gstevent.c: (GST_START_TEST):
23492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23493 (gst_base_sink_change_state):
23494 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23495 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23496 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23497 * gst/gstevent.c: (gst_event_new_newsegment),
23498 (gst_event_parse_newsegment):
23500 Added extra flag to newsegment for future API freeze.
23501 Updated check and base elements.
23503 2005-10-11 Julien MOUTTE <julien@moutte.net>
23505 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23506 (gst_collectpads_add_pad), (gst_collectpads_pop),
23507 (gst_collectpads_event), (gst_collectpads_chain):
23508 * gst/base/gstcollectpads.h: Handle EOS correctly.
23510 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23512 * tools/gst-launch.c: (main):
23513 more null protecting
23515 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23517 * gst/gst-i18n-lib.h:
23518 check for ENABLE_NLS, not GETTEXT_PACKAGE
23519 * gst/gstregistry.c: (gst_registry_add_plugin),
23520 (gst_registry_scan_path_level),
23521 (_gst_registry_remove_cache_plugins):
23522 protect possibly NULL strings
23523 * gst/parse/types.h:
23524 config.h already included before
23525 * tools/gst-inspect.c: (main):
23526 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23527 check for ENABLE_NLS, not GETTEXT_PACKAGE
23528 * tools/gst-launch.c: (main):
23529 check for ENABLE_NLS, not GETTEXT_PACKAGE
23531 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23534 if we don't have glib, fail before testing 2.8
23535 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23536 fix a leak, should fix plugins-base testsuite
23538 2005-10-11 Andy Wingo <wingo@pobox.com>
23540 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23541 take the mode we're going to as an arg. Go head and set the mode
23542 and flushing flags now, so that if the activate function starts a
23543 thread all the flags will be in the right state.
23544 (post_activate): Renamed also. Just handle making sure streaming
23545 finishes for the deactivation case, and setting the deactivated
23547 (gst_pad_set_active): Complain loudly if deactivation fails.
23548 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23549 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23550 remove the terrible hack.
23552 2005-10-11 Wim Taymans <wim@fluendo.com>
23554 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23555 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23556 (gst_bin_recalc_state), (gst_bin_change_state_func),
23557 (gst_bin_dispose), (bin_bus_handler):
23559 Prepare to make current EOS message queue more generic.
23562 * gst/gstevent.c: (gst_event_new_newsegment),
23563 (gst_event_parse_newsegment):
23565 Rename base to stream_time.
23567 * gst/gstmessage.h:
23570 2005-10-11 Wim Taymans <wim@fluendo.com>
23572 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23573 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23574 (gst_bin_change_state_func), (bin_bus_handler):
23576 Work on proper clock selection.
23578 2005-10-11 Edward Hervey <edward@fluendo.com>
23580 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23581 * libs/gst/controller/gstcontroller.h:
23582 Added GList* version of _remove_properties() in order to be able to wrap
23585 2005-10-11 Wim Taymans <wim@fluendo.com>
23587 * docs/design/part-states.txt:
23590 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23591 (gst_bin_change_state_func), (bin_bus_handler):
23592 Doc updates. Don't distribute the same clock over and over again.
23598 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23599 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23600 (gst_pad_send_event):
23602 Make probe emission threadsafe again.
23603 Register quarks and move _get_name() from utils.
23606 * gst/gstpipeline.c: (gst_pipeline_class_init),
23607 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23608 Only redistribute the clock of it changed.
23610 * gst/gstsystemclock.h:
23615 Moved the _flow_get_name() to GstPad.
23617 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23619 * check/gst-libs/gdp.c: (GST_START_TEST):
23620 * check/gst/gstcaps.c: (GST_START_TEST):
23621 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23622 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23623 (gst_dp_packet_from_caps):
23624 fix more valgrind warnings before turning up the heat
23626 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23628 * gst/parse/grammar.y:
23629 some cleanup before the hacking
23631 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23633 * gst/base/gstbasesrc.c: (gst_base_src_query):
23635 * gst/gstutils.c: (gst_guint64_to_gdouble),
23636 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23638 externalize, basesrc uses it
23639 obviously the implementation needs testing
23641 2005-10-10 Wim Taymans <wim@fluendo.com>
23643 * tests/sched/Makefile.am:
23644 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23645 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23647 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23649 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23650 apparently converting from guint64 to double is not implemented
23653 2005-10-10 Wim Taymans <wim@fluendo.com>
23655 * check/Makefile.am:
23656 * check/generic/states.c: (GST_START_TEST):
23657 * check/gst/gstbin.c: (GST_START_TEST):
23658 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23659 * check/states/sinks.c: (GST_START_TEST):
23660 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23662 Check fixes, use API as stated in design docs, remove hacks.
23664 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23665 (gst_base_sink_change_state):
23666 Catch stopping our task while we're shutting down.
23668 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23669 (gst_bin_remove_func), (gst_bin_get_state_func),
23670 (gst_bin_recalc_state), (gst_bin_change_state_func),
23673 * gst/gstelement.c: (gst_element_init),
23674 (gst_element_get_state_func), (gst_element_abort_state),
23675 (gst_element_commit_state), (gst_element_lost_state),
23676 (gst_element_set_state), (gst_element_change_state),
23677 (gst_element_change_state_func):
23678 * gst/gstelement.h:
23679 New state change algorithm (see #318116)
23681 * gst/gstpipeline.c: (gst_pipeline_class_init),
23682 (gst_pipeline_init), (gst_pipeline_set_property),
23683 (gst_pipeline_get_property), (do_pipeline_seek),
23684 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23685 * gst/gstpipeline.h:
23686 Remove crude state change hacks.
23689 Remove crude hacks.
23691 * tools/gst-launch.c: (main):
23692 Fixes for state change. Needs some more work to fully use the
23695 2005-10-10 Andy Wingo <wingo@pobox.com>
23697 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23699 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23700 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23703 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23705 * gst/gstiterator.c: (gst_iterator_new):
23706 Fix my previous commit: GTypes passed to gst_iterator_new()
23707 can be fundamental types.
23709 2005-10-10 Wim Taymans <wim@fluendo.com>
23711 * gst/gstelement.c: (gst_element_iterate_pad_list),
23712 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23713 (gst_element_iterate_sink_pads):
23714 Use src/sink pads lists for the respective iterators instead
23717 2005-10-10 Andy Wingo <wingo@pobox.com>
23719 Merged in popt removal + GOption addition patch from Ronald, bug
23722 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23723 GstElement macros around, remove popt-related symbols, add goption
23726 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23728 * docs/gst/Makefile.am:
23729 * docs/libs/Makefile.am: No POPT_CFLAGS.
23731 * examples/manual/Makefile.am:
23732 * docs/manual/basics-init.xml: Doc updates with an example.
23734 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23735 (gst_init), (parse_one_option), (parse_goption_arg):
23736 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23737 bit of hand merging and debugging to get the GOption stuff working
23740 * tests/Makefile.am:
23741 * tools/Makefile.am:
23742 * tools/gst-inspect.c: (main):
23743 * tools/gst-launch.c: (main):
23744 * tools/gst-run.c: (main):
23745 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23747 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23749 * gst/gstiterator.c: (gst_iterator_new):
23750 Add assertions to make sure passed GType is likely to really
23751 be a GType (as the compiler won't catch it if the size and
23752 GType arguments get mixed up, see #318447).
23754 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23756 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23758 * gst/gstbin.c: (gst_bin_iterate_sorted):
23759 Pass GType and size arguments to gst_iterator_new() in the right
23760 order (maybe we should make _new() take the GType as first argument
23761 just like _new_list()?) (#318447).
23764 2005-10-10 Wim Taymans <wim@fluendo.com>
23766 * gst/gstelement.c: (gst_element_finalize):
23767 And free the GStaticRecMutex too
23769 2005-10-10 Andy Wingo <wingo@pobox.com>
23771 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23772 Allocate and free the mutex properly.
23774 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23776 (GstElement): The state_lock is now recursive. Rebuild your
23777 plugins, suckers. Old macros adapted.
23779 * docs/gst/gstreamer-sections.txt: Doc updates.
23782 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23783 (g_static_rec_cond_wait): Ported from state changes patch, while
23784 we wait on bug #317802 to be solved in a well-distributed GLib.
23786 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23787 gst_element_change_state, variable name changes.
23788 (gst_element_change_state): Split out of gst_element_set_state in
23789 preparation for the state change merge. Doesn't pay attention to
23790 the 'transition' argument.
23791 (gst_element_set_state): Updates, hopefully purely cosmetic.
23792 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23793 state change patch.
23794 (gst_element_get_state_func): Renamed from get_state, cosmetic
23797 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23799 * gst/elements/gstelements.c:
23800 * win32/GStreamer.vcproj:
23802 * win32/dirent.c: (_tseekdir):
23803 * win32/gst-inspect.vcproj:
23804 * win32/gst-launch.vcproj:
23805 * win32/gstconfig.h:
23806 * win32/gstelements.vcproj:
23807 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23808 * win32/gstreamer.def:
23809 * win32/msvc71.sln:
23810 updates for the win32 build (patch from Sebastien Moutte)
23812 2005-10-10 Andy Wingo <wingo@pobox.com>
23814 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23815 gst_bin_get_state, cleaned up (but no logic changes).
23816 (bin_element_is_sink): Comment updates.
23817 (sink_iterator_filter): Remove needless cast.
23818 (gst_bin_iterate_sinks): Doc update.
23819 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23820 cleaned up (but no logic changes).
23822 * check/states/sinks.c (test_src_sink): Cleanups from the state
23824 (test_livesrc_sink): Sync on the state.
23826 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23827 the state change patch.
23829 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23832 * check/gst/gstbin.c: Merge in some style fixes and additional
23833 checks from Wim's state change patch.
23835 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23837 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23838 (gst_type_find_helper):
23839 Check whether we have the requested data already in our list of
23840 cached buffers before pulling a new buffer; also make the buffer
23841 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23843 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23848 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23849 don't use long long, it's not portable. Replacing with
23850 gint64 seems to work; let's hope no skeletons fall out of the closet.
23852 2005-10-10 Andy Wingo <wingo@pobox.com>
23854 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23856 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23858 * docs/gst/gstreamer-sections.txt:
23863 * gst/gstmessage.c: (gst_message_parse_state_changed):
23866 more docs, fix compilation
23868 2005-10-09 Philippe Khalaf <burger@speedy.org>
23869 * gst/gstmessage.c:
23870 Fixed a few forgotten variables on previous commit
23872 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23874 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23875 Fix evil typefind crasher: getrange() might return a short
23876 buffer at the end of a file, but gst_type_find_peek() must
23877 either return the full data as requested or NULL, but
23878 never a short buffer.
23880 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23882 * gst/gstmessage.c: (gst_message_new_state_changed),
23883 (gst_message_parse_state_changed):
23884 * gst/gstmessage.h:
23885 don't use "new", it's a C++ keyword
23887 2005-10-08 Wim Taymans <wim@fluendo.com>
23889 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23890 * gst/gstelement.c: (gst_element_post_message):
23891 * gst/gstpipeline.c: (gst_pipeline_change_state):
23892 Small docs and debug updates.
23894 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23896 * docs/gst/gstreamer-sections.txt:
23897 * gst/gstelementfactory.c:
23899 * gst/gsttaglist.c:
23902 2005-10-08 Wim Taymans <wim@fluendo.com>
23904 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23905 (gst_bin_dispose), (bin_bus_handler):
23906 Fix typos, add comments.
23907 Clear EOS list when going to PAUSED from any direction and do it
23908 in a threadsafe way.
23909 Get base time in a threadsafe way too.
23910 Fix confusing debug in the change_state function.
23911 Various other small cleanups.
23913 * gst/gstelement.c: (gst_element_post_message):
23914 Fix very verbose bus posting code.
23916 * gst/gstpipeline.c: (gst_pipeline_class_init),
23917 (gst_pipeline_set_property), (gst_pipeline_get_property),
23918 (gst_pipeline_change_state):
23919 Small ARG_ -> PROP_ cleanup
23921 2005-10-08 Wim Taymans <wim@fluendo.com>
23923 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23924 Do a less CPU demanding EOS check because we can.
23926 2005-10-08 Wim Taymans <wim@fluendo.com>
23928 * libs/gst/dataprotocol/dataprotocol.c:
23929 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23930 (gst_dp_packet_from_event):
23931 * libs/gst/dataprotocol/dataprotocol.h:
23932 * libs/gst/dataprotocol/dp-private.h:
23933 It's about time we bump the version number.
23934 Since event types don't fit in the guint8 anymore describing
23935 the payload type, make payload type 16 bits wide.
23937 2005-10-08 Wim Taymans <wim@fluendo.com>
23939 * docs/design/part-TODO.txt:
23940 * docs/design/part-clocks.txt:
23941 * docs/design/part-events.txt:
23942 * docs/design/part-gstbin.txt:
23943 * docs/design/part-gstelement.txt:
23944 * docs/design/part-gstpipeline.txt:
23945 * docs/design/part-live-source.txt:
23946 * docs/design/part-messages.txt:
23947 * docs/design/part-overview.txt:
23948 * docs/design/part-states.txt:
23951 2005-10-08 Wim Taymans <wim@fluendo.com>
23955 Fix event quark registration.
23956 Add some space between events so we can insert them in the
23959 2005-10-08 Wim Taymans <wim@fluendo.com>
23961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23962 (gst_base_sink_handle_buffer):
23963 Better log message.
23966 * gst/gstelement.h:
23969 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23970 (gst_queue_set_property), (gst_queue_get_property):
23972 Remove old unused properties.
23974 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23975 * docs/gst/gstreamer-sections.txt:
23976 * gst/gstmessage.c:
23977 * gst/gstmessage.h:
23978 * gst/gstminiobject.c:
23979 * gst/gstminiobject.h:
23983 lots of new docs and doc fixes
23985 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23987 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23989 * gst/gstregistry.c: (gst_registry_lookup_locked),
23990 (gst_registry_scan_path_level):
23991 * gst/gstregistryxml.c: (load_plugin):
23992 Only ever load one plugin for a given plugin basename.
23993 This ensures correct overriding of GST_PLUGIN_PATH over
23994 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23995 system installed plugins.
23997 2005-10-08 Wim Taymans <wim@fluendo.com>
23999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24000 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24001 Prepare for doing QOS.
24003 2005-10-08 Wim Taymans <wim@fluendo.com>
24005 * check/gst/gstbin.c: (GST_START_TEST):
24006 * check/pipelines/cleanup.c: (GST_START_TEST):
24007 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24008 Allow new clock message too.
24010 2005-10-08 Wim Taymans <wim@fluendo.com>
24012 * gst/gstmessage.c: (gst_message_new_error),
24013 (gst_message_new_warning), (gst_message_new_tag),
24014 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24015 (gst_message_new_clock_lost), (gst_message_new_new_clock),
24016 (gst_message_new_segment_start), (gst_message_new_segment_done),
24017 (gst_message_parse_state_changed),
24018 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24019 (gst_message_parse_new_clock):
24020 * gst/gstmessage.h:
24021 Also carry the clock in question.
24023 2005-10-08 Wim Taymans <wim@fluendo.com>
24025 * gst/gstmessage.c: (gst_message_new_custom),
24026 (gst_message_new_eos), (gst_message_new_error),
24027 (gst_message_new_warning), (gst_message_new_tag),
24028 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24029 (gst_message_new_new_clock), (gst_message_new_segment_start),
24030 (gst_message_new_segment_done), (gst_message_parse_state_changed),
24031 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24032 * gst/gstmessage.h:
24034 Added clock related messages.
24036 * gst/gstpipeline.c: (gst_pipeline_change_state):
24037 Post message when the clock changed.
24039 * tools/gst-launch.c: (event_loop):
24042 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
24044 * tools/gst-inspect.c: (print_element_properties_info):
24045 Can't pass NULL strings to g_print() on windows.
24047 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24049 * docs/Makefile.am:
24050 * docs/gst/Makefile.am:
24051 * docs/gst/gstreamer-docs.sgml:
24052 * docs/gst/running.xml:
24053 * docs/version.entities.in:
24054 add a chapter on running GStreamer.
24055 document GST_DEBUG and GST_PLUGIN* env vars
24057 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24062 remove PLUGINS_BUILDDIR stuff
24063 * gst/gst.c: (init_post):
24064 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24066 remove, it was condescending and not needed
24068 2005-10-08 Wim Taymans <wim@fluendo.com>
24070 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24071 (gst_base_sink_handle_object), (gst_base_sink_event),
24072 (gst_base_sink_wait), (gst_base_sink_handle_event),
24073 (gst_base_sink_change_state):
24074 * gst/base/gstbasesink.h:
24075 Repost EOS message while going to PLAYING if still EOS.
24076 Make sure that when receiving a FLUSH_START we don't attempt
24077 to sync on the clock anymore.
24079 2005-10-08 Wim Taymans <wim@fluendo.com>
24081 * tools/gst-launch.c: (event_loop):
24082 Better message printout.
24084 2005-10-08 Wim Taymans <wim@fluendo.com>
24086 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24087 (gst_bin_child_proxy_get_children_count):
24088 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24089 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24090 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24091 (gst_child_proxy_set_valist):
24092 * gst/parse/grammar.y:
24093 Make ChildProxy threadsafe and fix mem leaks.
24095 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24097 * gst/gst.c: (init_post):
24098 debug the GST_PLUGIN_ env vars
24100 2005-10-08 Wim Taymans <wim@fluendo.com>
24102 * check/gst/gstbin.c: (GST_START_TEST):
24103 * check/gst/gstmessage.c: (GST_START_TEST):
24104 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24105 * gst/gstelement.c: (gst_element_commit_state),
24106 (gst_element_lost_state):
24107 * gst/gstmessage.c: (gst_message_new_state_changed),
24108 (gst_message_parse_state_changed):
24109 * gst/gstmessage.h:
24110 * tools/gst-launch.c: (event_loop):
24111 Added extra field to STATE_CHANGE message with the pending
24112 state, which will be different from the new state soon.
24114 2005-10-08 Wim Taymans <wim@fluendo.com>
24116 * gst/gstbus.c: (gst_bus_pop):
24118 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24119 Small cleanups and doc updates.
24121 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24123 * gst/gst.c: (init_pre):
24124 * gst/gstbin.c: (gst_bin_add_func):
24125 log distributing clocks and base time
24126 * gst/gstregistry.c: (gst_registry_add_plugin),
24127 (gst_registry_scan_path_level), (gst_registry_scan_path):
24128 clean up the debugging output a little
24129 * gst/gstutils.c: (gst_element_state_get_name):
24130 warn about a memleak (I've actually seen this be used, though
24131 it was probably a bug)
24133 2005-10-07 Wim Taymans <wim@fluendo.com>
24135 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24136 (gst_base_src_init), (gst_base_src_default_newsegment),
24137 (gst_base_src_newsegment), (gst_base_src_do_seek),
24138 (gst_base_src_loop), (gst_base_src_start):
24139 * gst/base/gstbasesrc.h:
24140 Make the newsegment event customizable by subclasses.
24142 2005-10-07 Wim Taymans <wim@fluendo.com>
24144 * gst/gstevent.c: (gst_event_new_buffersize),
24145 (gst_event_parse_buffersize):
24147 New event for future idea.
24149 2005-10-07 Andy Wingo <wingo@pobox.com>
24151 * gst/gstelement.c (gst_element_post_message): Doc update.
24153 * docs/gst/gstreamer-sections.txt: Update.
24155 * gst/gstmessage.c (gst_message_new_application): Made into a
24156 function like honest API calls.
24157 (gst_message_new_element): New message type.
24159 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24161 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24162 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24165 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24166 NO_PREROLL from gst_element_change_state to fall through.
24168 2005-10-07 Wim Taymans <wim@fluendo.com>
24170 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24171 (gst_ghost_pad_do_activate_push):
24172 Activating a ghostpad with no internal pad in push mode
24175 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24178 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24179 Fixes compilation on Windows.
24181 2005-10-07 Michael Smith <msmith@fluendo.com>
24183 * tools/gst-inspect.c:
24184 Print out feature and plugin count at the end when printing out
24187 2005-10-04 Michael Smith <msmith@fluendo.com>
24189 * gst/gsterror.c: (_gst_stream_errors_init):
24190 Add another error string used in a few existing plugins.
24193 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24194 * tools/gst-inspect.c: (print_element_info):
24195 When a feature disappears from a plugin (and the feature exists in
24196 the cached registry file), things went horribly wrong. This isn't a
24197 complete fix, we should actually be removing the 'missing' features
24198 from the features list when we load the actual plugin. That's not
24201 2005-10-04 Johan Dahlin <johan@gnome.org>
24203 * check/gst/gstiterator.c: (GST_START_TEST):
24204 * gst/gstbin.c: (gst_bin_iterate_elements),
24205 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24206 * gst/gstelement.c: (gst_element_iterate_pads):
24207 * gst/gstformat.c: (gst_format_iterate_definitions):
24208 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24209 (gst_iterator_new_list), (gst_iterator_filter):
24210 * gst/gstiterator.h:
24211 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24212 Add a GType to GstIterator, update callsites and tests.
24214 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24216 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24217 give events a chance to be handled by event probes when the pad
24220 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24222 * gst/gstevent.c: (gst_event_type_get_name),
24223 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24225 add string representations for event types
24227 2005-10-06 Wim Taymans <wim@fluendo.com>
24229 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24230 Don't use NULL pointers.
24232 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24234 * gst/gst_private.h:
24236 * gst/gstelement.c:
24238 * gst/gstpluginfeature.c:
24239 widen the debug category in output to fit the biggest one we have
24240 add a bus category and use it
24241 play with the colors
24242 fix up some categories
24244 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24246 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24247 add push activation of sink ghost pads.
24248 Andye, please verify
24250 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24252 * gst/gstutils.c: (gst_element_link_pads):
24253 fix a bug in the case where neither element has a pad
24254 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24255 add a test for that case
24257 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24259 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24260 emit have-data before checking for peers. This allows
24261 for probe handlers to connect elements. This helps autopluggers.
24262 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24264 add six checks, linked/unlinked with no/true/false probe
24266 2005-10-04 Wim Taymans <wim@fluendo.com>
24268 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24269 (gst_fake_sink_event), (gst_fake_sink_preroll),
24270 (gst_fake_sink_render), (gst_fake_sink_change_state):
24271 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24272 (gst_fake_src_get_property), (gst_fake_src_create),
24273 (gst_fake_src_stop):
24274 * gst/elements/gstidentity.c: (gst_identity_stop):
24275 Protect last_message with lock.
24277 2005-10-04 Edward Hervey <edward@fluendo.com>
24280 Added precision in the comments for GST_FORMAT_DEFAULT
24282 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24284 * tools/gst-launch.c: (main):
24285 Don't try to run erroneous pipelines.
24287 2005-10-04 Julien MOUTTE <julien@moutte.net>
24289 * gst/gstbus.c: We don't need this header.
24291 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24294 back to development
24296 === release 0.9.3 ===
24298 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24302 Releasing 0.9.3, "Unregistered"
24304 2005-10-03 Andy Wingo <wingo@pobox.com>
24306 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24307 whereby calling a pad's activatepush() function can start a thread
24308 that starts to push or pull before the pad gets the FLUSHING flag
24309 unset. Hack around it by holding the stream lock until the flag is
24310 set. Need to replace this with a proper solution. Together with
24311 the ghost pad fixes, this fixes mp3 playing/tagreading.
24313 * docs/design/part-gstghostpad.txt: Add a note about activation of
24314 proxy pads outside of ghost pads.
24316 * gst/gstghostpad.c: Implement the ghost pad activation design.
24318 2005-10-02 Andy Wingo <wingo@pobox.com>
24320 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24321 It is volatile, after all.
24323 * docs/design/part-gstghostpad.txt: Flesh out activation with
24326 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24329 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24332 Fix (unused) AM_CONDITIONAL tests.
24334 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24336 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24338 * gst/gstutils.c: (gst_pad_query_convert):
24339 Add assertion that makes sure src_val is >=0, just like
24340 gst_query_new_convert() has. (#315895)
24342 2005-09-30 Edward Hervey <edward@fluendo.com>
24344 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24345 Let's not iterate pads we're not interested in, it avoids getting
24346 sky-high refcounts on sinkpad.
24348 2005-09-30 Wim Taymans <wim@fluendo.com>
24350 * gst/gstelement.c: (gst_element_set_state),
24351 (gst_element_change_state):
24352 Small tweak, element in ASYNC remains ASYNC.
24354 2005-09-30 Wim Taymans <wim@fluendo.com>
24356 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24357 Only error is an error.
24359 * gst/gstbin.c: (gst_bin_change_state):
24362 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24363 Also call pad_block in pad alloc.
24365 * gst/gstutils.c: (gst_flow_get_name):
24368 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24370 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24371 (gst_base_src_get_range):
24372 Fix documentation typos. Add some more debug info.
24374 2005-09-29 David Schleef <ds@schleef.org>
24376 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24377 more end-user friendly.
24378 * tools/gst-inspect.c: (main): Check if command-line argument is
24379 a file and attempt to load that file as a plugin.
24381 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24383 * check/gst/gstbin.c:
24384 * check/states/sinks.c:
24385 fix tests for the new warning
24386 * check/gst/gstpipeline.c:
24387 add a test for pipeline and bus interaction
24388 * gst/gstelement.c:
24389 elements should be NULL if they get disposed; add a warning if not
24391 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24394 for 2.6 refcounting, make debug log more correct by printing
24395 the actual refcounts at the time of swap (Wim)
24397 2005-09-29 Andy Wingo <wingo@pobox.com>
24399 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24400 removes signal watches previously added via
24401 gst_bus_add_signal_watch.
24402 (gst_bus_add_signal_watch): Don't return the source id, just store
24403 it on the bus if there wasn't an id already.
24405 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24406 add_signal_watch and remove_signal_watch.
24408 2005-09-29 Edward Hervey <edward@fluendo.com>
24410 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24411 Better if we actually iterate the list :)
24413 2005-09-29 Wim Taymans <wim@fluendo.com>
24415 * check/gst/gstbin.c: (GST_START_TEST):
24416 Change for new bus API.
24418 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24419 (send_messages), (GST_START_TEST), (gstbus_suite):
24420 Change for new bus signal API.
24422 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24423 (gst_bus_source_prepare), (gst_bus_source_check),
24424 (gst_bus_create_watch), (gst_bus_add_watch_full),
24425 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24426 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24428 Remove support for multiple GSources operating on different
24429 message types as it is too complex and unneeded when using
24431 Added support for receiving signals from the bus.
24433 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24435 * docs/libs/tmpl/gstdataprotocol.sgml:
24436 * docs/manual/advanced-dataaccess.xml:
24437 * gst/elements/gstcapsfilter.c:
24439 rename filter-caps to caps property
24441 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24443 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24444 More robust fraction string parsing.
24446 * docs/pwg/appendix-porting.xml:
24447 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24449 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24451 * gst/gstcaps.c: (gst_caps_do_simplify):
24452 Thou shalt not free a structure and then continue using it
24453 in the next loop iteration.
24455 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24457 Add test case for caps simplification.
24459 2005-09-29 Wim Taymans <wim@fluendo.com>
24461 * check/gst/gstbin.c: (GST_START_TEST):
24464 2005-09-29 Wim Taymans <wim@fluendo.com>
24466 * check/gst/gstbin.c: (GST_START_TEST):
24469 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24470 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24471 (find_element), (gst_bin_sort_iterator_next),
24472 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24473 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24474 (gst_bin_change_state), (gst_bin_dispose):
24475 A bin does not have a bus, it gets the bus from the parent.
24477 * gst/gstelement.c: (gst_element_requires_clock),
24478 (gst_element_provides_clock), (gst_element_is_indexable),
24479 (gst_element_is_locked_state), (gst_element_change_state),
24480 (gst_element_set_bus_func):
24483 * gst/gstpipeline.c: (gst_pipeline_class_init),
24484 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24485 The pipeline provides a bus.
24487 2005-09-28 Johan Dahlin <johan@gnome.org>
24489 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24490 gst_structure_get_enum instead of gst_structure_get_int
24492 * gst/gststructure.c (gst_structure_get_enum): Impl.
24494 * gst/gststructure.h (gst_structure_get_enum): Add
24496 * docs/gst/gstreamer-sections.txt: Ditto
24498 * gst/gstmessage.c (gst_message_new_state_changed): Use
24499 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24500 which does introspection.
24501 Reviewed by Christian Schaller
24503 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24505 * gst/gstinfo.c: (gst_debug_log_default):
24506 don't do dummy g_strdup()s
24507 * libs/gst/controller/gstcontroller.c:
24508 (on_object_controlled_property_changed),
24509 (gst_controlled_property_new), (gst_controller_new_valist),
24510 (gst_controller_new_list),
24511 (gst_controller_remove_properties_valist), (gst_controller_set),
24512 (gst_controller_get), (gst_controller_sync_values),
24513 (gst_controller_get_value_array), (_gst_controller_class_init),
24514 (gst_controller_get_type):
24515 * libs/gst/controller/gstcontroller.h:
24516 * libs/gst/controller/gstinterpolation.c:
24517 (gst_controlled_property_find_timed_value_node):
24518 convert // to /**/ comments
24520 2005-09-28 Wim Taymans <wim@fluendo.com>
24522 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24523 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24524 (gst_bus_sync_signal_handler):
24526 Added async-message and sync-message signals to the bus.
24527 Added helper BusFunc to emit signals for all posted messages.
24529 * gst/gstmessage.c: (gst_message_type_get_name),
24530 (gst_message_type_to_quark), (gst_message_get_type):
24531 * gst/gstmessage.h:
24532 Register quarks for message names.
24534 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24536 * docs/libs/gstreamer-libs-sections.txt:
24537 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24538 (gst_controller_new_list):
24539 * libs/gst/controller/gstcontroller.h:
24540 added another constructor for language bindings
24542 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24544 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24548 * gst/gstinfo.c: (_gst_debug_init):
24549 slightly more readable color for refcount debugging
24551 2005-09-28 Wim Taymans <wim@fluendo.com>
24553 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24554 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24555 (find_element), (gst_bin_sort_iterator_next),
24556 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24557 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24558 (gst_bin_change_state), (gst_bin_dispose):
24559 Small doc fixes. get_clock -> provide_clock.
24561 * gst/gstelement.c: (gst_element_class_init),
24562 (gst_element_provides_clock), (gst_element_provide_clock),
24563 (gst_element_get_clock), (gst_element_commit_state),
24564 (gst_element_lost_state):
24565 * gst/gstelement.h:
24566 Make get/set_clock() symetric. Add provide_clock vmethod since
24567 that is actually what this function does.
24569 * gst/gstpipeline.c: (gst_pipeline_class_init),
24570 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24571 (gst_pipeline_get_clock):
24572 get_clock -> provide_clock.
24574 2005-09-28 Andy Wingo <wingo@pobox.com>
24576 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24577 lieu of real docs...
24579 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24581 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24583 * gst/elements/gstcapsfilter.c:
24584 * gst/elements/gstfakesink.c:
24585 * gst/elements/gstfakesrc.c:
24586 * gst/elements/gstfdsink.c:
24587 * gst/elements/gstfdsrc.c:
24588 * gst/elements/gstfilesink.c:
24589 * gst/elements/gstfilesrc.c:
24590 * gst/elements/gstidentity.c:
24591 * gst/elements/gsttee.c:
24592 * gst/elements/gsttypefindelement.c:
24593 Make element details static.
24595 2005-09-28 Wim Taymans <wim@fluendo.com>
24597 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24598 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24599 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24600 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24601 (gst_bin_change_state), (gst_bin_dispose):
24602 Some documentation updates.
24603 Clean up dispose handlers.
24605 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24606 * gst/gstpad.c: (gst_pad_dispose):
24607 Clean up dispose handler.
24609 * gst/gstpipeline.c: (gst_pipeline_change_state):
24610 Removed spurious UNLOCK.
24612 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24614 * docs/gst/gstreamer-sections.txt:
24615 * gst/base/gstbasesrc.h:
24616 * gst/gstelement.h:
24620 * gst/gstpipeline.c:
24621 * gst/gstpipeline.h:
24624 added two new functions to the docs
24625 documents all undocumented GstXXXFlags
24626 completed some incomplete docs
24628 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24630 * gst/gstbin.c: (gst_bin_dispose):
24631 * gst/gstelement.c: (gst_element_dispose):
24632 remove now useless and leaky resurrection code in dispose
24633 * gst/base/gstbasesrc.c: (gst_base_src_init):
24634 * gst/gstelementfactory.c: (gst_element_factory_create):
24635 * gst/gstobject.c: (gst_object_set_parent):
24638 2005-09-27 Wim Taymans <wim@fluendo.com>
24640 * docs/design/part-TODO.txt:
24643 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24644 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24645 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24646 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24647 (gst_bin_change_state):
24648 * gst/gstelement.h:
24649 Remove element variable, we keep element info in the iterator now.
24651 2005-09-27 Andy Wingo <wingo@pobox.com>
24653 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24656 2005-09-27 Wim Taymans <wim@fluendo.com>
24658 * check/gst/gstbin.c: (GST_START_TEST):
24659 Enable check that works now.
24661 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24662 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24663 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24664 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24665 (gst_bin_change_state):
24667 Redid the state change algorithm using a topological sort algo.
24668 Handles all cases correctly.
24669 Exposed iterator for state change order.
24671 * gst/gstelement.h:
24672 Temp storage for state changes. Need to get rid of this soon.
24674 2005-09-27 Wim Taymans <wim@fluendo.com>
24676 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24677 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24678 (link_fold_func), (gst_pad_proxy_setcaps):
24679 Leak fixes, the fold functions need to unref the passed object and
24680 _get_parent_*() returns ref to parent.
24682 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24684 * check/gst/gstbuffer.c: (test_make_writable):
24685 Plug leak in test case and fix 'make check-valgrind'
24687 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24689 * gst/gstbuffer.c: (gst_subbuffer_init):
24690 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24691 works correctly in all circumstances (we could have just copied
24692 the parent buffer's readonly flag, but conceptually it seems
24693 cleaner to mark all subbuffers as read-only). (based on patch
24694 by Alessandro Decina, #314710).
24696 * check/gst/gstbuffer.c: (create_read_only_buffer),
24697 (test_make_writable), (test_subbuffer_make_writable),
24699 Add some tests for gst_buffer_make_writable().
24701 2005-09-27 Wim Taymans <wim@fluendo.com>
24703 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24704 use gst_object_has_ancestor().
24706 * gst/gstobject.c: (gst_object_has_ancestor):
24708 gst_object_has_ancestor() copied from gstbin.c as it is a
24711 * tests/instantiate/create.c: (create_all_elements):
24712 * tests/lat.c: (handoff_src), (handoff_sink):
24713 * tests/sched/runxml.c: (main):
24714 * tests/seeking/seeking1.c: (main):
24715 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24717 Fix compilation of some tests.
24719 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24722 Remove comment. GST_TYPE_G_ERROR is here to stay,
24723 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24724 (#316961, #300610).
24726 2005-09-26 Wim Taymans <wim@fluendo.com>
24728 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24729 Added check that shows error in state change order.
24731 2005-09-26 Wim Taymans <wim@fluendo.com>
24733 * gst/gstbin.c: (gst_bin_change_state):
24734 Make state change function use 3 queues again, we were
24735 adding elements in the wrong order.
24737 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24740 * gst/gstpad.c: (gst_pad_dispose):
24741 Added some debug info first.
24743 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24745 * docs/design/draft-push-pull.txt:
24746 * docs/design/part-events.txt:
24747 * docs/design/part-overview.txt:
24748 * docs/design/part-scheduling.txt:
24749 Replace all _pull_region() with _pull_range()
24751 2005-09-26 Andy Wingo <wingo@pobox.com>
24753 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24755 * check/gst-libs/controller.c: Update for controller api change.
24758 * tests/Makefile.am:
24759 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24760 over by GLib bug 118439.
24762 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24763 routines to a function.
24765 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24767 * libs/gst/controller/gsthelper.c:
24768 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24769 (gst_object_sync_values): Renamed from sink_values. Ugh.
24771 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24773 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24774 Renamed from controller_key, as it is exported.
24776 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24778 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24783 * gst/gstpadtemplate.h:
24786 * gst/gstqueryutils.c:
24787 * gst/gstqueryutils.h:
24788 remove queryutils headers after moving the two used functions
24789 to gstquery. also fixes build problem for gstsiddec
24791 2005-09-26 Michael Smith <msmith@fluendo.com>
24793 * tools/gst-launch.1.in:
24794 Correct documentation in manpage of debug syntax
24796 2005-09-26 Wim Taymans <wim@fluendo.com>
24798 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24799 (gst_base_src_is_seekable), (gst_base_src_change_state):
24800 Some more debugging info.
24802 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24804 * docs/gst/gstreamer-sections.txt:
24805 * gst/base/gstbasetransform.h:
24809 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24811 * docs/gst/.cvsignore:
24812 * docs/gst/tmpl/.cvsignore:
24813 * docs/gst/tmpl/gstpipeline.sgml:
24814 * docs/gst/tmpl/gstplugin.sgml:
24815 * gst/gstpipeline.c:
24818 inlined the last two docs files
24819 removed the tmpl directory from cvs (no more conflicts here!)
24821 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24823 * docs/gst/gstreamer-sections.txt:
24824 * docs/gst/tmpl/.cvsignore:
24825 * docs/gst/tmpl/gstpad.sgml:
24826 * docs/gst/tmpl/gstpadtemplate.sgml:
24828 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24829 (gst_pad_finalize), (gst_pad_set_pad_template):
24831 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24832 (gst_pad_template_class_init), (gst_pad_template_init),
24833 (gst_pad_template_dispose), (name_is_valid),
24834 (gst_static_pad_template_get), (gst_pad_template_new),
24835 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24836 (gst_pad_template_pad_created):
24837 * gst/gstpadtemplate.h:
24838 inlined two more docs
24839 factored gstpadtemplate out of gstpad
24841 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24843 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24844 (test_children_state_change_order_semi_sink):
24845 Fix test case: we can't rely on a fixed state change order when
24846 going from READY => PAUSED because the sink might commit its
24847 new state first when the first buffer created by the source
24848 reaches the sink before the source has finished its change state.
24849 (Test case still fails at times, see #316856, comment 5 onwards)
24851 2005-09-24 Wim Taymans <wim@fluendo.com>
24853 * docs/design/part-events.txt:
24854 * docs/design/part-gstbus.txt:
24855 * docs/design/part-gstpipeline.txt:
24856 * docs/design/part-messages.txt:
24857 * docs/design/part-overview.txt:
24858 * docs/design/part-segments.txt:
24862 * gst/gstelement.c:
24865 * gst/gstiterator.c:
24866 Various documentation updates.
24868 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24871 Well, that's embarassing. Luckily we weren't using
24872 GST_CLOCK_DIFF anywhere.
24874 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24876 * common/gtk-doc.mak:
24877 don't fail on building XML, FC4 slave shows a bunch of doc
24878 missing bits that I don't get
24880 * gst/gstpipeline.c:
24881 * gst/gststructure.c:
24884 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24886 * docs/design/part-gstbin.txt:
24887 * docs/design/part-gstbus.txt:
24889 Add blurb about how the bus goes into flushing mode and
24890 drops all messages when its bin goes from READY into NULL
24893 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24895 * docs/gst/gstreamer-sections.txt:
24896 * gst/gststructure.c: (gst_structure_get_clock_time):
24897 * gst/gststructure.h:
24898 add a method to get a GstClockTime out of a structure
24900 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24902 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24903 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24904 Added test to check state change order in bins (can still be made
24905 to fail here under heavy disk load; bails out with 'Push on pad
24906 fakesink:sink0, but it was not activated in push mode').
24908 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24909 Fix state change order when there is only a semi sink (#316856)
24911 * gst/gstbus.c: (gst_bus_class_init):
24912 Use _class_peek_parent(), not _class_ref(); fix docs to say
24913 'default main context' instead of 'mainloop' where that is
24916 * gst/gstelement.c: (gst_element_commit_state),
24917 (gst_element_set_state):
24918 Fix typos in debug messages
24920 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24923 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24924 * gst/gstpluginfeature.c:
24926 various doc updates
24927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24928 change an assert into an error until it gets fixed properly
24930 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24932 * docs/gst/gstreamer-sections.txt:
24933 * docs/gst/tmpl/.cvsignore:
24934 * docs/gst/tmpl/gstelement.sgml:
24935 * docs/gst/tmpl/gstinfo.sgml:
24936 * docs/gst/tmpl/gstobject.sgml:
24937 * gst/gstelement.c:
24938 * gst/gstelement.h:
24941 * gst/gstobject.c: (gst_object_class_init):
24943 inlined 3 more biiiig doc files and added some missing docs on the fly
24945 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24947 * check/gst/.cvsignore:
24948 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24949 * gst/gstregistryxml.c: (load_plugin),
24950 (gst_registry_xml_save_plugin):
24951 put back source in registry. add checks for find_plugin.
24952 * testsuite/states/bin.c: (assert_state), (empty_bin),
24953 (test_adding_one_element), (main):
24954 * testsuite/states/locked.c: (main):
24955 some compile/run fixes
24957 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24959 * check/gst/gstvalue.c: (GST_START_TEST):
24960 fix leaks in the test itself
24962 2005-09-22 Wim Taymans <wim@fluendo.com>
24964 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24965 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24966 (gst_base_sink_query):
24967 Prepare for more accurate position reporting and query
24970 * gst/gstelement.c: (gst_element_send_event),
24971 (gst_element_set_state):
24974 2005-09-22 Wim Taymans <wim@fluendo.com>
24976 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24977 (gst_query_parse_segment):
24979 More documentation.
24980 Add segment query for future use.
24982 2005-09-22 Wim Taymans <wim@fluendo.com>
24984 * gst/gstbin.c: (gst_bin_add_func):
24985 Some more debug info.
24987 * gst/gstelement.c: (gst_element_send_event):
24988 Simplify send_event
24990 * gst/gstelement.h:
24991 Don't know how flags got broken.
24996 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24998 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24999 Add simplistic test suite for GST_TYPE_DATE serialisation and
25002 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25004 * docs/gst/gstreamer-sections.txt:
25005 * gst/gststructure.c: (gst_structure_set_valist),
25006 (gst_structure_get_date):
25007 * gst/gststructure.h:
25008 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25009 (gst_date_copy), (gst_value_compare_date),
25010 (gst_value_serialize_date), (gst_value_deserialize_date),
25011 (gst_value_transform_date_string),
25012 (gst_value_transform_string_date), (_gst_value_initialize):
25014 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25015 bunch of utility functions along with a hack that checks that
25016 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25017 is required. Part of the grand scheme in #170777.
25019 2005-09-22 Andy Wingo <wingo@pobox.com>
25021 * gst/gstconfig.h.in: Psych out gtk-doc.
25023 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25025 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25027 * tools/gst-inspect.c (print_element_list): Plug some
25028 inconsequential leaks.
25030 * gst/gstregistry.c (gst_registry_get_default): Doc.
25032 * check/gst/gstplugin.c:
25033 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25034 * gst/gstelementfactory.c (gst_element_factory_create):
25035 * gst/gstindexfactory.c (gst_index_factory_create): Update for
25038 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25039 (gst_plugin_feature_load): Doc, don't eat refs.
25041 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25042 (gst_plugin_list_free): Doc.
25043 (gst_plugin_load_file): Doc updates.
25045 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25046 accessors returning refcounted objects, return a ref.
25048 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25049 accessor for caps. IDEMPOTENCE. Oh yes.
25051 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25053 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25055 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25056 (_gst_debug_register_funcptr):
25057 Add mutex to serialise access to the hash table with
25058 the function pointer => function name string mapping;
25059 make that hash table static scope (#316809).
25061 * gst/registries/.cvsignore:
25062 Remove left-over file.
25064 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25066 * docs/pwg/appendix-porting.xml:
25067 And something about newsegment events and caps-on-buffers to
25068 the porting guide (feel free to improve).
25070 2005-09-21 Andy Wingo <wingo@pobox.com>
25072 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25073 data and event probes on the same pad.
25074 (test_buffer_probe_once): Test that removing probes from within
25075 the probe functions works.
25077 2005-09-21 Andy Wingo <wingo@pobox.com>
25079 * check/gst/gstutils.c: New file.
25080 (test_buffer_probe_n_times): A simple buffer probe test. More to
25083 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25084 have-data::buffer, not have-data.
25085 (gst_pad_add_event_probe): Likewise for have-data::event.
25086 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25087 peer' isn't quite right yet though.
25088 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25089 (gst_pad_remove_data_probe): Change to take the guint handler_id
25090 as their arg, not the function+data, which is more glib-like.
25092 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25093 the signal emission to indicate if the data is a buffer or an
25095 (gst_pad_get_type): Initialize buffer and event quarks.
25096 (gst_pad_class_init): have-data is now a detailed signal, yes it
25099 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25101 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25102 * gst/gstutils.c: (gst_util_set_value_from_string),
25103 (gst_util_set_object_arg):
25104 Don't put functional code in g_return_if_fail() or
25105 g_return_val_if_fail() statements, otherwise things will
25106 break when G_DISABLE_CHECKS is defined during compilation.
25108 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25110 * docs/gst/tmpl/.cvsignore:
25111 * docs/gst/tmpl/gstvalue.sgml:
25114 inlied another one and added some obvious docs
25116 2005-09-21 Wim Taymans <wim@fluendo.com>
25118 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25119 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25120 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25121 (gst_fdsrc_get_property), (gst_fdsrc_create):
25122 * gst/elements/gstfdsrc.h:
25123 Properly implement fdsrc. Removed signal and timeout,
25124 better implemented somewhere else.
25126 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25128 * docs/gst/tmpl/.cvsignore:
25129 * docs/gst/tmpl/gstimplementsinterface.sgml:
25130 * gst/gstinterface.c:
25133 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25135 * docs/gst/gstreamer-sections.txt:
25136 * docs/gst/tmpl/.cvsignore:
25137 * docs/gst/tmpl/gstenumtypes.sgml:
25138 remove obsolete doc file
25140 2005-09-21 David Schleef <ds@schleef.org>
25142 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25143 little beer, fix a little leak.
25145 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25147 * docs/gst/gstreamer-docs.sgml:
25148 * docs/gst/gstreamer-sections.txt:
25149 * docs/gst/tmpl/.cvsignore:
25153 * gst/gstelement.h:
25154 * gst/gstindex.c: (gst_index_class_init):
25156 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25157 (gst_index_factory_class_init), (gst_index_factory_init),
25158 (gst_index_factory_finalize), (gst_index_factory_new),
25159 (gst_index_factory_destroy), (gst_index_factory_find),
25160 (gst_index_factory_create), (gst_index_factory_make):
25161 * gst/gstindexfactory.h:
25162 * gst/gstpluginfeature.c:
25163 * gst/gstpluginfeature.h:
25164 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25165 more docs inlined, splitted gstindex.{c,h}
25167 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25169 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25172 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25174 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25175 Set sync to FALSE by default.
25177 2005-09-20 Wim Taymans <wim@fluendo.com>
25179 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25180 (gst_base_sink_init):
25181 Make sync property settable from subclass.
25183 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25184 (gst_fake_sink_change_state):
25185 Set sync to FALSE by default.
25187 2005-09-20 Wim Taymans <wim@fluendo.com>
25189 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25190 * tools/gst-launch.c: (main):
25191 The timeout handler should have lower priority than the source
25192 so we don't timeout before popping a message with 0 timeout.
25193 Dump error messages after failed state change.
25195 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25197 * tools/gst-inspect.c: (print_element_properties_info):
25200 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25202 * check/gst/gstevent.c:
25203 * gst/elements/gstfakesink.c:
25204 * gst/elements/gstfakesink.h:
25205 remove the sync property from fakesink.
25206 has the side effect of setting sync TRUE
25207 for fakesink, which is a change. Anyone who knows how
25208 to fix this nicely in a GObject-y way, feel free.
25210 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25212 * docs/gst/gstreamer-docs.sgml:
25213 remove probe refsection
25215 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25217 * check/Makefile.am:
25218 disable valgrinding the controller test again
25219 * docs/gst/gstreamer-sections.txt:
25220 update for api-changes
25222 2005-09-20 Wim Taymans <wim@fluendo.com>
25224 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25225 (gst_base_sink_set_property), (gst_base_sink_get_property),
25226 (gst_base_sink_do_sync):
25227 * gst/base/gstbasesink.h:
25228 Added sync property to basesink to disable clock sync.
25230 2005-09-20 Andy Wingo <wingo@pobox.com>
25232 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25233 eating the caller's refcount.
25235 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25236 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25239 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25240 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25241 of GLib 2.8 public, so we can know which refcount to check in
25244 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25245 (gst_object_init): Only set the gst refcount if we're going ahead
25246 with the refcount hack.
25248 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25250 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25251 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25252 more leaks plumbed, added more debug-logging
25256 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25258 * gst/gstmessage.c:
25259 remove include of gstmemchunk.h
25261 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25263 * gst/gstclock.c: (_gst_clock_id_free):
25264 Commit from the Political Party For More Atomic CVS Commits,
25265 so that people don't waste too much of their day fishing
25266 out obvious leaks out of massive commits.
25267 Oh, and fix a pretty damn obvious leak in the memchunk
25270 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25272 * check/Makefile.am:
25273 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25274 plug mem-leak, re-add to valgrindable tests
25276 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25279 unbreak the build for those who have chronic arthritis
25280 and typing "make check" is just too taxing on the hands
25282 2005-09-20 Andy Wingo <wingo@pobox.com>
25284 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25285 really want it out, you should fix plugins at the same time.
25287 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25290 * docs/gst/gstreamer-sections.txt:
25292 added missing symbols to api docs
25293 disable ref-count hack if we have glib >= 2.8
25295 2005-09-19 David Schleef <ds@schleef.org>
25297 * docs/gst/Makefile.am: Ignore a few more internal headers
25298 * docs/gst/gstreamer-docs.sgml: Remove old sections
25299 * docs/gst/gstreamer-sections.txt: Remove old sections
25300 * docs/gst/tmpl/gstobject.sgml: update
25301 * docs/gst/tmpl/gstplugin.sgml: update
25302 * docs/gst/tmpl/gstpluginfeature.sgml: update
25303 * docs/random/ds/0.9-suggested-changes: update.
25304 * gst/Makefile.am: remove memchunk and trashstack, since they're
25306 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25307 * gst/gst.h: don't include some headers
25308 * gst/gstchildproxy.c: add gstmarshal.h
25309 * gst/gstclock.c: Don't use memchunks
25310 * gst/gstminiobject.c: Add some docs
25311 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25312 * gst/gstobject.h: same
25313 * gst/gstplugin.c: include gstmacros.h
25314 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25315 * gst/gstquery.c: don't use memchunks
25316 * gst/gstregistry.c: rename gst_registry_deinit()
25317 * gst/gstregistry.h: same
25319 2005-09-19 David Schleef <ds@schleef.org>
25321 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25322 * docs/libs/gstreamer-libs-sections.txt:
25323 * docs/libs/tmpl/gstgetbits.sgml:
25324 * docs/libs/tmpl/gstputbits.sgml:
25326 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25328 * win32/gstenumtypes.c:
25329 * win32/gstenumtypes.h:
25332 2005-09-19 Wim Taymans <wim@fluendo.com>
25334 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25335 Automatically PAUSE and RESUME a pipeline when a flushing seek
25338 2005-09-19 Andy Wingo <wingo@pobox.com>
25340 * gst/gstregistry.h: Spacing fixen.
25342 2005-09-19 Wim Taymans <wim@fluendo.com>
25344 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25345 Handle state change failure more correctly.
25347 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25349 * check/Makefile.am:
25350 * check/pipelines/cleanup.c: (run_pipeline):
25351 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25353 enable cleanup again after fixing the leak
25355 some more info on docs
25357 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25359 * check/Makefile.am:
25360 re-enable tests now that leaks are plugged
25362 * check/gst/gstbin.c:
25363 * check/gst/gstpipeline.c:
25364 add some more tests while fixing leaks
25365 * common/check.mak:
25366 make sure binaries are uptodate when valgrinding/gdbing
25368 * gst/gstelementfactory.c:
25369 remove a ref too many, and add a FIXME for when we get
25370 round to disposing of classes
25372 fix the refcounting when loading a plugin from a file and
25373 the code pretends that the pointer is the same even though
25374 of course it can change
25375 * gst/gstpluginfeature.c:
25376 unref plugins marked cached (a bit confusing as a name)
25377 as the docs state should be done
25378 various doc additions to explain refcounting
25379 * gst/gstregistry.c:
25380 * gst/gstregistryxml.c:
25383 2005-09-19 Wim Taymans <wim@fluendo.com>
25385 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25386 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25387 (send_messages), (GST_START_TEST), (gstbus_suite):
25388 * check/gst/gstpipeline.c: (GST_START_TEST):
25389 * check/pipelines/cleanup.c: (run_pipeline):
25390 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25392 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25393 (gst_bus_source_check), (gst_bus_source_dispatch),
25394 (gst_bus_create_watch), (gst_bus_add_watch_full),
25395 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25397 * tools/gst-launch.c: (event_loop):
25398 * tools/gst-md5sum.c: (event_loop):
25399 GstBusHandler -> GstBusFunc, return value has the same meaning as
25400 any other GSource (FALSE == remove source).
25401 _add_watch() and _add_watch_full() now take a MessageType mask to
25402 only handle specific types of messages.
25403 _poll() returns the GstMessage instead of the message type to avoid
25405 _have_pending() takes a MessageType mask now too.
25406 Added testsuite for multiple bus watches.
25407 Fix testsuites and applications for new bus API.
25409 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25411 * check/Makefile.am:
25412 mark a bunch of the tests as to fix until we fix them
25414 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25416 * common/check.mak:
25417 use GST_PLUGIN settings for valgrind tests as well, so we're
25418 valgrinding the correct thing
25419 * gst/gst.c: (init_post):
25422 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25424 * gst/gst.c: (init_post), (gst_deinit):
25425 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25426 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25427 * gst/gstindex.c: (gst_index_factory_class_init),
25428 (gst_index_factory_finalize):
25429 * gst/gstobject.c: (gst_object_dispose):
25430 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25431 (gst_plugin_load_file), (gst_plugin_desc_free):
25432 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25433 (gst_plugin_feature_finalize):
25434 * gst/gstregistry.c: (gst_registry_class_init),
25435 (gst_registry_init), (gst_registry_finalize),
25436 (gst_registry_get_default), (gst_registry_deinit):
25437 * gst/gstregistry.h:
25438 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25439 various cleanups and memleak plugging. make valgrind is happy now.
25441 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25443 * common/check.mak:
25444 add a check-valgrind target
25446 2005-09-18 David Schleef <ds@schleef.org>
25448 * tools/gst-inspect.c: Revert the GOption code.
25450 2005-09-17 David Schleef <ds@schleef.org>
25452 * check/Makefile.am: Fix environment variables.
25453 * check/gst/gstplugin.c: Fix for API changes.
25454 * tools/gst-inspect.c: Fix for API changes.
25455 * tools/gst-xmlinspect.c: Fix for API changes.
25456 * gst/gstelementfactory.c:
25459 * gst/gstpluginfeature.c:
25460 * gst/gstpluginfeature.h:
25461 * gst/gstregistry.c:
25462 * gst/gstregistry.h:
25463 * gst/gstregistryxml.c:
25464 * gst/gsttypefind.c:
25465 * gst/gsttypefindfactory.c:
25466 * gst/indexers/gstfileindex.c:
25467 * gst/indexers/gstmemindex.c:
25468 * gst/schedulers/Makefile.am:
25469 Change registry to keep track of both plugins and features,
25470 removing the feature tracking from plugins themselves.
25472 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25474 * check/Makefile.am:
25475 * tools/gst-register.1.in:
25476 remove gst-register
25478 2005-09-15 David Schleef <ds@schleef.org>
25480 * check/gst/gstplugin.c:
25481 * gst/gstelementfactory.c:
25483 * gst/gstpluginfeature.c:
25484 * gst/gstregistry.c:
25485 Getting tired of debugging. Disabled all the unreffing of
25486 plugins and features, which fixes the segfaults, but of
25487 course leaks like crazy. At least playbin works.
25489 2005-09-15 David Schleef <ds@schleef.org>
25491 * check/gst/gstplugin.c: (register_check_elements),
25492 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25494 * gst/elements/gsttypefindelement.c: Fix refcounting.
25495 * gst/gsttypefind.c:
25496 * gst/gsttypefindfactory.c:
25497 * gst/gsttypefindfactory.h:
25499 2005-09-15 David Schleef <ds@schleef.org>
25501 * gst/gstindex.c: get refcounting correct.
25502 * gst/gstregistry.c: Handle the case where a feature/plugin is
25505 2005-09-15 David Schleef <ds@schleef.org>
25507 * check/Makefile.am:
25508 * check/gst/gstplugin.c: Add test
25509 * gst/gstplugin.c: Fix problems noticed by testsuite
25511 * gst/gstregistry.c:
25512 * gst/gstregistry.h:
25514 2005-09-15 David Schleef <ds@schleef.org>
25516 * gst/gstplugin.c: Implement semi-decent recounting and locking
25517 in plugins and plugin features.
25519 * gst/gstpluginfeature.c:
25520 * gst/gstpluginfeature.h:
25521 * gst/gstregistry.c:
25523 2005-09-15 Michael Smith <msmith@fluendo.com>
25525 * gst/gstregistry.c: (gst_registry_get_feature_list):
25526 Implement this. Makes oggdemux work; decodebin still broken.
25528 2005-09-14 David Schleef <ds@schleef.org>
25530 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25532 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25533 * gst/check/Makefile.am:
25534 * libs/gst/controller/Makefile.am:
25535 * libs/gst/dataprotocol/Makefile.am:
25537 2005-09-14 David Schleef <ds@schleef.org>
25539 * configure.ac: Remove getbits library. Nothing uses it, and
25540 it should be in something like liboil if someone did want
25542 * libs/gst/Makefile.am:
25543 * libs/gst/getbits/Makefile.am:
25544 * libs/gst/getbits/gbtest.c:
25545 * libs/gst/getbits/getbits.c:
25546 * libs/gst/getbits/getbits.h:
25547 * libs/gst/getbits/gstgetbits_generic.c:
25548 * libs/gst/getbits/gstgetbits_i386.s:
25549 * libs/gst/getbits/gstgetbits_inl.h:
25551 2005-09-14 David Schleef <ds@schleef.org>
25553 * gst/Makefile.am: Dist glib-compat.h
25555 2005-09-14 David Schleef <ds@schleef.org>
25557 * configure.ac: Remove gst/registries, since it's no longer used.
25558 * gst/registries/Makefile.am:
25559 * gst/registries/gstlibxmlregistry.c:
25560 * gst/registries/gstlibxmlregistry.h:
25561 * gst/registries/gstxmlregistry.c:
25562 * gst/registries/gstxmlregistry.h:
25563 * gst/registries/registrytest.c:
25565 2005-09-14 David Schleef <ds@schleef.org>
25567 * gst/glib-compat.h:
25568 * gst/gstregistryxml.c:
25569 Convergence is near. Seriously.
25571 2005-09-14 David Schleef <ds@schleef.org>
25573 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25574 * gst/glib-compat.h:
25575 Attempt #4 to appease the buildbots.
25577 2005-09-14 David Schleef <ds@schleef.org>
25579 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25582 2005-09-14 David Schleef <ds@schleef.org>
25584 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25587 2005-09-14 David Schleef <ds@schleef.org>
25589 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25592 2005-09-14 David Schleef <ds@schleef.org>
25594 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25595 * gst/glib-compat.h: Add some functions that are in newer versions
25596 of glib than we care to require.
25597 * gst/gstregistryxml.c: Use them.
25599 2005-09-14 David Schleef <ds@schleef.org>
25601 * po/POTFILES.in: remove gst-register.c
25603 2005-09-14 David Schleef <ds@schleef.org>
25605 * docs/gst/gstreamer-docs.sgml:
25606 * docs/gst/gstreamer-sections.txt:
25607 * docs/gst/gstreamer.types:
25608 * docs/gst/tmpl/gstelement.sgml:
25609 * docs/gst/tmpl/gstplugin.sgml:
25610 * docs/gst/tmpl/gstpluginfeature.sgml:
25611 Documentation updates for registry changes.
25613 2005-09-14 David Schleef <ds@schleef.org>
25615 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25616 because we don't require glib-2.8.
25618 2005-09-14 David Schleef <ds@schleef.org>
25620 * gst/gstregistryxml.c: Added. Essentially moved out of the
25621 registries directory.
25623 2005-09-14 David Schleef <ds@schleef.org>
25625 * check/Makefile.am:
25626 * check/generic/states.c:
25630 * gst/gst_private.h:
25631 * gst/gstelementfactory.c:
25636 * gst/gstpluginfeature.c:
25637 * gst/gstpluginfeature.h:
25638 * gst/gstregistry.c:
25639 * gst/gstregistry.h:
25640 * gst/gstregistrypool.c: remove
25641 * gst/gstregistrypool.h: remove
25642 * gst/gsttypefind.c:
25643 * gst/gsttypefindfactory.c:
25645 * tools/Makefile.am:
25646 * tools/gst-compprep.c:
25647 * tools/gst-inspect.c:
25648 * tools/gst-register.c: remove
25649 * tools/gst-xmlinspect.c:
25650 Registry rewrite. Changes registry from being a file created
25651 by a tool into a simple cache file created automatically by
25652 libgstreamer. Removed gst-register (because it's no longer
25653 needed). Remove registry pools, because we only have one
25654 registry implementation (XML). Fix up other subsystems as
25657 2005-09-13 Michael Smith <msmith@fluendo.com>
25659 * gst/gstconfig.h.in:
25660 Don't Use windows linking attributes for MinGW. Fixes #316157
25662 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25664 * gst/gstutils.c: (set_state_async_thread_func),
25665 (gst_element_set_state_async):
25666 Apparently people think it's better if this function doesn't
25667 try to set the state to whatever state was asked for on the first
25668 call to this function for any object. Seriously.
25670 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25672 * check/gst/gstpipeline.c: (GST_START_TEST):
25673 * docs/gst/gstreamer-sections.txt:
25674 * gst/gstutils.c: (set_state_async_thread_func),
25675 (gst_element_set_state_async):
25677 add a "gst_element_set_state_async" method that
25678 sets the state and starts a thread to make sure the state
25679 change completes as best as it can
25681 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25683 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25684 codify design+behaviour in testsuite after discussion
25686 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25688 * docs/gst/tmpl/gstelement.sgml:
25689 * docs/manual/appendix-quotes.xml:
25691 * gst/gstelement.c: (gst_element_set_state):
25694 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25696 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25697 (gst_base_transform_prepare_output_buf),
25698 (gst_base_transform_handle_buffer):
25699 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25700 (gst_capsfilter_prepare_buf):
25701 Remove the requirement for sub-classes to call the parent
25702 implementation of prepare_output_buffer with a wrapper function.
25704 * gst/gsttaglist.h:
25705 * gst/gsttagsetter.h:
25706 Fix #define wrapper
25708 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25710 * docs/gst/gstreamer-sections.txt:
25713 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25715 * docs/gst/gstreamer-sections.txt:
25716 * docs/gst/tmpl/gstelement.sgml:
25717 * docs/gst/tmpl/gstplugin.sgml:
25718 * gst/gstminiobject.c:
25720 docs now stop throwing warnings
25722 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25724 * docs/gst/gstreamer-sections.txt:
25725 * docs/gst/gstreamer.types:
25726 * docs/gst/tmpl/gstpad.sgml:
25727 * docs/gst/tmpl/gsttypes.sgml:
25728 * gst/base/gstadapter.h:
25729 * gst/base/gstbasesink.h:
25730 * gst/base/gstbasesrc.h:
25736 * gst/gstelement.h:
25738 * gst/gstmessage.h:
25740 * gst/gststructure.c:
25741 * gst/registries/gstlibxmlregistry.h:
25742 various documentation fixes
25744 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25746 * docs/gst/gstreamer-sections.txt:
25747 * docs/gst/tmpl/gstvalue.sgml:
25748 rearrange gstvalue section
25749 * gst/gstutils.c: (gst_element_state_get_name):
25751 * gst/gstvalue.c: (_gst_value_initialize):
25755 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25757 * check/gst-libs/controller.c:
25758 Header include fix.
25759 * gst/base/gstbasetransform.c:
25760 (gst_base_transform_default_prepare_buf),
25761 (gst_base_transform_handle_buffer):
25762 * gst/base/gstbasetransform.h:
25763 Some more basetransform changes and fixes to enable sub-classes
25764 that modify buffer metadata only.
25765 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25766 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25767 (gst_capsfilter_prepare_buf):
25768 If the output pad has fixed allowed caps and input buffers
25769 don't have any, set the fixed caps on outgoing buffers.
25771 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25772 * check/elements/identity.c: (GST_START_TEST):
25773 Make the error a little clearer when the test fails because
25774 identity made a copy of the buffer.
25775 * docs/gst/gstreamer-sections.txt:
25776 New symbols in gstbasetransform.h
25777 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25778 (gst_base_transform_init), (gst_base_transform_transform_size),
25779 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25780 (gst_base_transform_default_prepare_buf),
25781 (gst_base_transform_get_unit_size),
25782 (gst_base_transform_buffer_alloc),
25783 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25784 (gst_base_transform_change_state),
25785 (gst_base_transform_set_passthrough),
25786 (gst_base_transform_set_in_place),
25787 (gst_base_transform_is_in_place):
25788 * gst/base/gstbasetransform.h:
25789 Change BaseTransform to separate in_place operate from same_caps
25790 output. in_place implies that the element can perform the transform
25791 on incoming buffers in-place, even if the caps on the output are
25793 Sub-class elements can now implement special buffer allocation
25794 methods for outgoing buffers if they wish to.
25795 Big documentation addition.
25796 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25797 * gst/elements/gstelements.c:
25798 Changes for basetransform modifications.
25799 * gst/elements/Makefile.am:
25800 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25801 Compile fix. Extra debug output.
25803 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25805 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25807 add tests for valid pad naming
25808 * gst/check/gstcheck.c: (gst_check_log_message_func),
25809 (gst_check_log_critical_func):
25811 remove printing of code, it is fragile when the code contains
25812 % and the line number is enough info
25813 * gst/check/gstcheck.h:
25814 * gst/gstpad.c: (gst_pad_template_new):
25817 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25820 say what CHECK flags we use
25821 * docs/libs/gstreamer-libs.types:
25822 * libs/gst/controller/Makefile.am:
25823 * libs/gst/controller/gst-controller.c:
25824 * libs/gst/controller/gst-controller.h:
25825 * libs/gst/controller/gst-helper.c:
25826 * libs/gst/controller/gst-interpolation.c:
25827 * libs/gst/controller/gstcontroller.c:
25828 * libs/gst/controller/gsthelper.c:
25829 * libs/gst/controller/gstinterpolation.c:
25830 * tools/gst-inspect.c: (print_plugin_info):
25831 we don't use dashes in header names
25833 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25835 * check/Makefile.am:
25836 * check/gst/.cvsignore:
25837 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25838 (gst_pipeline_suite), (main):
25839 adding a test for pipelines and state changes
25840 * gst/gstutils.c: (get_state_func):
25842 * gstreamer.spec.in:
25845 2005-09-08 Michael Smith <msmith@fluendo.com>
25847 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25848 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25849 (gst_file_src_is_seekable), (gst_file_src_get_size),
25850 (gst_file_src_start):
25851 * gst/elements/gstfilesrc.h:
25852 Various fixes for unseekable, unmmapable, and non-normal files, so
25853 that fallback to read() rather than mmap() works.
25854 * gst/gstevent.c: (gst_event_new_newsegment):
25855 Allow newsegment events with segment_start == segment_end, as will
25856 correctly happen if you use filesrc on a zero-size file, for
25859 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25861 * gst/gstplugin.c: (gst_plugin_load_file):
25862 Call g_module_close when we don't load the module
25864 * gst/registries/gstlibxmlregistry.c:
25865 (gst_xml_registry_get_property):
25866 Port leak fix from 0.8
25868 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25870 * docs/gst/gstreamer-docs.sgml:
25871 * docs/gst/tmpl/.cvsignore:
25872 * docs/gst/tmpl/gsttrace.sgml:
25873 * docs/gst/tmpl/gsttrashstack.sgml:
25876 * gst/gstelement.h:
25878 * gst/gstmessage.c:
25879 * gst/gstmessage.h:
25882 * gst/gsttaginterface.c:
25883 * gst/gsttaginterface.h:
25884 * gst/gsttaglist.c:
25885 * gst/gsttaglist.h:
25886 * gst/gsttagsetter.c:
25887 * gst/gsttagsetter.h:
25890 * gst/gsttrashstack.c:
25891 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25892 inlined docs for gsttrace, gsttrashstack
25894 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25897 * gst/elements/gstbufferstore.h:
25898 * gst/elements/gsttypefindelement.c:
25899 * gst/elements/gsttypefindelement.h:
25901 * gst/gsttypefind.c:
25902 * gst/gsttypefind.h:
25903 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25904 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25905 (gst_type_find_factory_dispose),
25906 (gst_type_find_factory_unload_thyself),
25907 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25908 (gst_type_find_factory_get_caps),
25909 (gst_type_find_factory_get_extensions),
25910 (gst_type_find_factory_call_function):
25911 * gst/gsttypefindfactory.h:
25912 * gst/registries/gstlibxmlregistry.c:
25913 * gst/registries/gstxmlregistry.c:
25914 splitted gsttypefind into gsttypefind, gsttypefindfactory
25916 2005-09-07 Andy Wingo <wingo@pobox.com>
25918 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25919 condition whereby the pad's task function is entered before the
25920 pad_mode variable was set.
25922 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25924 * gst/gstpad.c: (gst_pad_alloc_buffer):
25925 Catch misbehaving pad_alloc functions that don't
25926 set up caps and do it for them.
25928 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25930 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25931 test for pipe!=NULL
25932 * docs/gst/tmpl/.cvsignore:
25933 * docs/gst/tmpl/gstmemchunk.sgml:
25934 * docs/gst/tmpl/gstparse.sgml:
25935 * docs/gst/tmpl/gsttaglist.sgml:
25936 * docs/gst/tmpl/gsttagsetter.sgml:
25937 * docs/gst/tmpl/gsttypefind.sgml:
25938 * docs/gst/tmpl/gsttypefindfactory.sgml:
25939 * gst/gstmemchunk.c:
25942 * gst/gsttaginterface.c:
25943 * gst/gsttypefind.c:
25944 * gst/gsttypefind.h:
25947 === release 0.9.2 ===
25949 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25954 releasing 0.9.2, "South"
25956 2005-09-05 Andy Wingo <wingo@pobox.com>
25958 * gst/registries/gstxmlregistry.h:
25959 * gst/registries/gstxmlregistry.c: Um... resurrect...
25961 * gst/registries/gstxmlregistry.h:
25962 * gst/registries/gstxmlregistry.c: and update to newer API.
25963 Incidentally they should be a bit faster now that they don't have
25966 2005-09-05 Andy Wingo <wingo@pobox.com>
25968 * gst/registries/gstxmlregistry.h:
25969 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25970 replaced by the libxml registry a while back
25972 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25974 * docs/gst/tmpl/gstplugin.sgml:
25975 * gst/elements/gstelements.c:
25977 * gst/gstplugin.c: (gst_plugin_register_func),
25978 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25979 (gst_plugin_get_source):
25981 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25982 (gst_xml_registry_save_plugin):
25983 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25984 (gst_xml_registry_save_plugin):
25985 * tools/gst-inspect.c: (print_plugin_info):
25986 add a "source" plugin description field, to represent the source
25987 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25988 will set it to PACKAGE, which is automake's idea of the name of
25989 the source project.
25991 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25996 * docs/Makefile.am:
25997 * docs/faq/Makefile.am:
25998 * docs/gst/tmpl/gstelement.sgml:
25999 * docs/gst/tmpl/gsttypes.sgml:
26000 * docs/htmlinstall.mak:
26001 * docs/manual/Makefile.am:
26002 * docs/pwg/Makefile.am:
26003 reorganize doc build a little
26004 split out docbook and gtk-doc stuff
26005 have two separate --enable's and enable them through autogen
26006 but disable by default in configure (to be similar to other
26008 * gstreamer.spec.in:
26009 clean up docs install
26027 translation updates
26029 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
26031 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26034 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26035 (gst_fake_sink_change_state):
26036 Make state change function thread-safe.
26038 * gst/gstpad.c: (gst_pad_alloc_buffer):
26039 Set offset on generic buffer allocated by fallback.
26041 2005-09-03 Stefan Kost <ensonic@users.sf.net>
26043 * docs/gst/gstreamer-sections.txt:
26044 * docs/gst/tmpl/gstelement.sgml:
26046 * libs/gst/controller/gst-controller.c:
26047 (gst_controlled_property_set_interpolation_mode),
26048 (gst_controlled_property_new),
26049 (gst_controller_find_controlled_property):
26050 run the wingo-magic script against the docs
26052 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26054 * docs/gst/gstreamer-docs.sgml:
26055 * docs/gst/gstreamer-sections.txt:
26056 * docs/gst/tmpl/.cvsignore:
26057 * docs/gst/tmpl/gstelementdetails.sgml:
26058 * docs/gst/tmpl/gstelementfactory.sgml:
26061 * gst/gstelementfactory.c:
26062 * gst/gstelementfactory.h:
26063 merged elementdetails docs into elementfactory docs
26066 2005-09-02 Andy Wingo <wingo@pobox.com>
26068 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26069 consider this enum an enum and not a flags.
26071 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26073 * docs/gst/gstreamer-docs.sgml:
26074 * docs/gst/tmpl/.cvsignore:
26075 * docs/gst/tmpl/gstghostpad.sgml:
26076 * docs/gst/tmpl/gstiterator.sgml:
26077 * docs/gst/tmpl/gstmacros.sgml:
26078 * docs/gst/tmpl/gstrealpad.sgml:
26079 * docs/gst/tmpl/gstregistry.sgml:
26080 * docs/gst/tmpl/gstregistrypool.sgml:
26081 * docs/gst/tmpl/gststructure.sgml:
26082 * docs/gst/tmpl/gstsystemclock.sgml:
26083 * docs/gst/tmpl/gsttrace.sgml:
26084 * gst/gstghostpad.c:
26086 * gst/gstmemchunk.c:
26087 * gst/gstmemchunk.h:
26089 * gst/gstregistry.c:
26090 * gst/gstregistrypool.c:
26091 * gst/gststructure.c:
26092 * gst/gstsystemclock.c:
26095 2005-09-02 Andy Wingo <wingo@pobox.com>
26097 * gst/gstelement.h (GstState): Renamed from GstElementState,
26098 changed to be a normal enum instead of flags.
26099 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26100 munged to be GST_STATE_CHANGE_*.
26101 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26102 work with the new state representation.
26103 (GstStateChange): New enumeration of possible state transitions.
26104 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26105 (GstElementClass::change_state): Pass the GstStateChange along as
26106 an argument. Helps language bindings, so they don't have to use
26107 tricky lock-needing macros like GST_STATE_CHANGE ().
26109 * scripts/update-states (file): New script. Run it on a file to
26110 update it for state naming and API changes. Updates files in
26113 * All files updated for the new API.
26115 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26117 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26118 * gst/gstutils.c: (gst_util_set_value_from_string),
26119 (gst_util_set_object_arg):
26120 fix a bunch of unchecked return values
26121 * tools/gst-complete.c: (main):
26122 * gstreamer.spec.in:
26125 2005-09-01 Wim Taymans <wim@fluendo.com>
26127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26128 (gst_base_sink_event), (gst_base_sink_do_sync),
26129 (gst_base_sink_handle_event):
26130 * gst/base/gstbasesink.h:
26131 Handle newsegments more correctly.
26136 * gst/gstevent.c: (gst_event_new_newsegment):
26137 A newsegment cannot have a start_time of -1
26139 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26141 * win32/gstenumtypes.c:
26142 * win32/gstenumtypes.h:
26145 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26147 * libs/gst/controller/gst-controller.c:
26148 (gst_controlled_property_set_interpolation_mode),
26149 (gst_controlled_property_new):
26150 fixed boolean again
26152 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26154 * docs/faq/gst-uninstalled:
26159 * gst/gstutils.c: (gst_element_link_filtered):
26161 add gst_element_link_filtered
26163 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26165 * docs/gst/gstreamer-docs.sgml:
26166 * docs/gst/gstreamer-sections.txt:
26167 * docs/gst/tmpl/.cvsignore:
26168 * docs/gst/tmpl/gsterror.sgml:
26169 * docs/gst/tmpl/gstfilter.sgml:
26170 * docs/gst/tmpl/gsturihandler.sgml:
26171 * docs/gst/tmpl/gsturitype.sgml:
26172 * docs/gst/tmpl/gstutils.sgml:
26173 * docs/gst/tmpl/gstxml.sgml:
26178 * gst/gsturitype.c:
26181 inlined more docs, fixed double id-ref
26183 2005-08-31 Wim Taymans <wim@fluendo.com>
26185 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26186 (gst_base_transform_handle_buffer):
26187 Passthrough elements don't need the caps as they don't care.
26189 2005-08-31 Wim Taymans <wim@fluendo.com>
26191 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26192 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26193 Don't leak refcounts on buffers.
26195 2005-08-31 Wim Taymans <wim@fluendo.com>
26197 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26198 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26199 (gst_base_transform_chain), (gst_base_transform_change_state):
26200 * gst/base/gstbasetransform.h:
26201 Handle the case where we are not negotiated more gracefully.
26203 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26205 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26206 (gst_file_src_map_region):
26207 Set READONLY flag on mmap'ed buffers, otherwise
26208 gst_buffer_make_writable() won't work properly (#314708).
26210 2005-08-31 Wim Taymans <wim@fluendo.com>
26212 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26213 passthrough elements can even do inplace on non writable
26214 buffers (as they don't touch them).
26216 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26218 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26219 (gst_test_mono_source_set_property),
26220 (gst_test_mono_source_class_init), (GST_START_TEST),
26221 (gst_controller_suite):
26222 more tests (hehe I have the most)
26224 describe popping messages whenusing mulltiple sources
26225 * libs/gst/controller/gst-controller.c:
26226 (gst_controlled_property_set_interpolation_mode),
26227 (gst_controlled_property_new):
26228 * libs/gst/controller/gst-controller.h:
26229 * libs/gst/controller/gst-interpolation.c:
26230 implement boolean properties
26232 2005-08-31 Wim Taymans <wim@fluendo.com>
26234 * gst/gstminiobject.c: (gst_mini_object_ref):
26235 Cannot assert that the refcount has to be positive
26236 since a disposed object can be resurrected.
26238 2005-08-31 Wim Taymans <wim@fluendo.com>
26240 * gst/gstpad.c: (gst_pad_init):
26241 Revert change, need to first fix badly behaving
26244 2005-08-30 Wim Taymans <wim@fluendo.com>
26246 * check/elements/fakesrc.c: (setup_fakesrc):
26247 * check/elements/identity.c: (setup_identity):
26248 Activate pads before using them.
26250 2005-08-30 Wim Taymans <wim@fluendo.com>
26252 * gst/base/gstadapter.c: (gst_adapter_flush):
26253 Flushing out 0 bytes is ok for this function.
26255 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26256 no newsegment gives a warning and sets the start/stop to
26259 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26260 (gst_base_transform_set_passthrough):
26263 * gst/gstminiobject.c: (gst_mini_object_ref):
26264 Check refcount here too.
26266 * gst/gstpad.c: (gst_pad_init):
26267 Pads are initially flushing and refusing data.
26269 * gst/gstutils.c: (gst_element_link_pads_filtered):
26270 When adding a capsfilter element make sure it has the
26271 same state as the parent bin.
26273 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26275 * docs/gst/tmpl/.cvsignore:
26276 * docs/gst/tmpl/gstformat.sgml:
26277 * docs/gst/tmpl/gstversion.sgml:
26281 * gst/gstversion.h.in:
26282 more docs and two more inlined
26284 2005-08-30 Wim Taymans <wim@fluendo.com>
26286 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26287 Don't sync to clock.
26289 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26291 * docs/gst/gstreamer-sections.txt:
26292 ultral33t func10ns deserve to appear in the docs actually
26293 * docs/gst/tmpl/.cvsignore:
26294 * docs/gst/tmpl/gstcompat.sgml:
26295 * docs/gst/tmpl/gstconfig.sgml:
26296 * gst/check/gstcheck.c:
26298 * gst/gstconfig.h.in:
26301 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26303 * docs/gst/tmpl/.cvsignore:
26304 * docs/gst/tmpl/gstquery.sgml:
26305 * docs/gst/tmpl/gstutils.sgml:
26308 inlined and extended docs
26310 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26312 * check/gst-libs/controller.c: (GST_START_TEST),
26313 (gst_controller_suite):
26315 * docs/gst/tmpl/gstutils.sgml:
26316 * docs/libs/gstreamer-libs-sections.txt:
26317 * docs/libs/tmpl/gstdataprotocol.sgml:
26319 * examples/controller/audio-example.c: (main):
26320 controller example works now
26323 * tools/gst-inspect.c: (print_element_properties_info):
26324 show param spec flags
26326 2005-08-29 Andy Wingo <wingo@pobox.com>
26328 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26330 2005-08-28 Andy Wingo <wingo@pobox.com>
26332 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26333 as having two arguments instead of just one. Allows superclasses
26334 to access information on subclasses -- see the terrible for() loop
26335 in gtype.c:g_type_create_instance for the reason why. All callers
26338 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26340 * docs/design/part-messages.txt:
26342 * docs/gst/tmpl/.cvsignore:
26343 * docs/gst/tmpl/gstcaps.sgml:
26344 * docs/gst/tmpl/gstclock.sgml:
26350 * gst/gstmessage.c:
26351 added descriptions for bus and message
26352 inline caps and clock docs
26354 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26356 * gst/gstmessage.c:
26357 * gst/gstmessage.h:
26360 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26362 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26365 2005-08-26 Andy Wingo <wingo@pobox.com>
26367 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26368 element_set_state's return val.
26369 (test_2_elements): Add test that's been disabled for months.
26371 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26372 can-activate-pull properties.
26374 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26375 can-activate-pull properties. Implement is_seekable so fakesrc can
26376 operate in pull mode.
26378 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26380 (gst_base_sink_activate, gst_base_sink_activate_pull)
26381 (gst_base_sink_activate_push): Make activation mode choosing work.
26383 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26384 is right. Make pull mode work. Post an eos before pausing in pull
26386 (gst_base_sink_change_state): Pay attention to the core's
26387 change_state() return val.
26389 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26390 has-getrange properties. Cleanups.
26392 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26393 has_getrange and replace with can_activate_pull and
26396 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26397 locking comments. Remove has_loop, has_chain and replace with
26398 can_activate_pull and can_activate_push.
26400 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26403 * examples/Makefile.am:
26404 * examples/metadata/Makefile.am:
26405 * examples/metadata/read-metadata.c: (message_loop),
26406 (have_pad_handler), (make_pipeline), (print_tag), (main):
26407 Add metadata reading example that loops over a list of filenames,
26408 dumping any tags found.
26410 * gst/gstbus.c: (gst_bus_dispose):
26411 * gst/gstelement.c: (gst_element_dispose):
26412 Release a few potentially-held references in dispose.
26414 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26416 * docs/gst/tmpl/gstminiobject.sgml:
26417 do *not* add tmpl/*.sgml files to CVS!
26419 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26421 * libs/gst/bytestream/.cvsignore:
26422 * libs/gst/bytestream/Makefile.am:
26423 * libs/gst/bytestream/adapter.c:
26424 * libs/gst/bytestream/adapter.h:
26425 * libs/gst/bytestream/bytestream.c:
26426 * libs/gst/bytestream/bytestream.h:
26427 * libs/gst/bytestream/filepad.c:
26428 * libs/gst/bytestream/filepad.h:
26429 removing obsolete files
26431 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26433 * docs/gst/gstreamer-docs.sgml:
26434 * docs/libs/gstreamer-libs-docs.sgml:
26435 disabed additional index entries again, as this makes docs-gen just
26436 slow and they aren't useful yet
26437 * docs/libs/gstreamer-libs-sections.txt:
26438 little -section.txt cleanup for libs
26440 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26443 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26444 fix up some debugging
26445 (gst_base_transform_get_unit_size),
26446 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26447 (gst_base_transform_handle_buffer):
26448 * gst/base/gstbasetransform.h:
26449 handle and store timed NEWSEGMENT events so that subclasses that
26450 calculate time by counting samples have a segment_start time they
26451 need to add to their timestamps - see audioresample
26453 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26456 removed ';' from the end of macro defs
26457 * docs/gst/gstreamer-docs.sgml:
26458 * docs/gst/gstreamer-sections.txt:
26459 * docs/gst/tmpl/.cvsignore:
26461 * gst/gstelement.c: (gst_element_class_init),
26462 (gst_element_set_state), (activate_pads),
26463 (gst_element_save_thyself):
26464 * gst/gstevent.c: (gst_event_new_newsegment):
26466 * gst/gstiterator.c:
26467 * gst/gstiterator.h:
26470 * gst/gstutils.c: (gst_pad_query_convert):
26472 fixed parameter name mismatches between source, header and docs
26473 added some more docs, resolved the last batch of unused elements in
26474 docs (now someone needs to doc them)
26476 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26478 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26479 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26480 don't walk through the plugins backwards. Where is all this
26481 reversed logic coming from ?
26483 2005-08-25 Wim Taymans <wim@fluendo.com>
26485 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26486 (gst_base_transform_transform_size),
26487 (gst_base_transform_configure_caps),
26488 (gst_base_transform_get_unit_size),
26489 (gst_base_transform_buffer_alloc),
26490 (gst_base_transform_change_state):
26491 * gst/base/gstbasetransform.h:
26492 Cache caps unit_size.
26493 Make sure we cannot negotiate up and downstream at the
26496 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26498 * gst/gst.c: (init_pre), (init_post):
26499 register the installed plugin path after the env var
26500 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26501 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26502 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26503 directories, so the tests can prefer uninstalled over installed
26505 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26507 * gst/base/gstbasetransform.h:
26512 2005-08-25 Wim Taymans <wim@fluendo.com>
26514 * gst/gstbin.c: (bin_bus_handler):
26515 Be a bit more conservative about the posted message.
26517 * gst/gstbus.c: (gst_bus_post):
26518 Some cleanups, warn wrong return values.
26520 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26522 * check/gst/gstbin.c: (GST_START_TEST):
26523 * gst/gstbin.c: (bin_bus_handler):
26524 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26525 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26526 (gst_message_new_warning), (gst_message_new_tag),
26527 (gst_message_new_state_changed), (gst_message_new_segment_start),
26528 (gst_message_new_segment_done), (gst_message_new_custom):
26529 * gst/gstmessage.h:
26530 * tools/gst-launch.c: (event_loop):
26531 * tools/gst-md5sum.c: (event_loop):
26532 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26534 2005-08-25 Wim Taymans <wim@fluendo.com>
26536 * check/generic/states.c: (GST_START_TEST):
26537 Cleanup can be done at the end.
26539 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26540 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26541 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26542 Oh boy.. Thanks for finding this, Thomas.
26544 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26546 * docs/gst/gstreamer.types:
26547 added missing types
26549 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26551 * docs/gst/gstreamer-docs.sgml:
26552 * docs/gst/gstreamer-sections.txt:
26553 * docs/gst/tmpl/.cvsignore:
26555 * gst/gstiterator.c:
26557 * gst/registries/gstxmlregistry.h:
26558 added missing classes and symbols (123 more to go)
26559 removed removed symbols from section file
26560 fixed many doc-comments
26562 2005-08-24 Wim Taymans <wim@fluendo.com>
26564 * check/generic/states.c: (GST_START_TEST):
26565 Make sure all tasks are stopped.
26567 * check/gst/gstbin.c: (GST_START_TEST):
26568 Unref after usage for proper valgrinding.
26570 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26571 Really wait for the task to stop before destroying the
26574 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26575 (gst_queue_src_activate_push):
26576 Small cleanups. Don't stop the task when we did not start
26579 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26580 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26581 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26584 Protect the stream lock with the object lock.
26585 Disallow setting the stream lock when running.
26586 Add cleanup_all to wait for the threadpool to finish.
26587 Remove code to autoallocate a mutex if none was provided.
26588 Add _join() to wait for a task to stop.
26589 Protect the thread pool with a global lock.
26591 2005-08-24 Wim Taymans <wim@fluendo.com>
26593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26594 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26595 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26596 * gst/base/gstbasesink.h:
26597 Handle newsegment events correctly.
26598 Drop buffers out of the segment range.
26600 2005-08-22 Andy Wingo <wingo@pobox.com>
26602 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26603 macro, implements an interface and gstimplementsinterface for a
26606 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26608 * check/Makefile.am:
26609 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26610 add a test that does a bunch of state changes on elements
26611 needs some fixing for valgrind
26612 * check/states/sinks.c: (gst_object_suite):
26615 add prototype for gst_caps_is_equal_fixed
26617 * gst/gstregistrypool.c:
26620 2005-08-24 Andy Wingo <wingo@pobox.com>
26622 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26623 convert a negative value. Doesn't make much sense. Mostly this is
26624 here to force callers to ensure -1 maps to -1.
26626 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26628 * docs/pwg/advanced-types.xml:
26629 Well done to Michael for catching my deliberate introduction
26630 of this spelling mistake.
26631 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26632 * gst/gstelement.h:
26633 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26634 unlink pads before removing the element from the bin.
26636 2005-08-24 Andy Wingo <wingo@pobox.com>
26638 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26639 the same thing as GST_DEBUG=*:4.
26640 (parse_debug_level, parse_debug_category): New helper parsers.
26642 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26644 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26645 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26646 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26647 (gst_base_transform_buffer_alloc),
26648 (gst_base_transform_handle_buffer):
26649 use gboolean return values and pointers to size so we can use the
26650 full GST_BUFFER_SIZE range (guint) for buffer sizes
26651 use GstPadDirection for transform_caps
26652 * gst/base/gstbasetransform.h:
26653 rename get_size to get_unit_size since that's what it is
26654 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26655 use GstPadDirection for transform_caps
26656 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26658 cleanup and debugging
26660 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26662 * gst/gstelement.c: (gst_element_class_init),
26663 (gst_element_set_state), (activate_pads),
26664 (gst_element_save_thyself):
26665 * tools/gst-compprep.c: (main):
26666 * tools/gst-inspect.c: (print_element_properties_info):
26667 * tools/gst-xmlinspect.c: (print_element_properties):
26668 Fixed long standing mem-leak
26670 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26672 * check/gst/gstbin.c: (GST_START_TEST):
26673 * gst/gstbin.c: (bin_bus_handler):
26674 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26675 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26676 (gst_message_new_warning), (gst_message_new_tag),
26677 (gst_message_new_state_changed), (gst_message_new_segment_start),
26678 (gst_message_new_segment_done), (gst_message_new_custom):
26679 * gst/gstmessage.h:
26680 * tools/gst-launch.c: (event_loop):
26681 * tools/gst-md5sum.c: (event_loop):
26682 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26683 that applications can sensibly post custom messages with references
26684 to their own objects.
26686 2005-08-24 Andy Wingo <wingo@pobox.com>
26688 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26691 2005-08-24 Wim Taymans <wim@fluendo.com>
26693 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26694 (gst_base_transform_transform_caps),
26695 (gst_base_transform_transform_size),
26696 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26697 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26698 (gst_base_transform_handle_buffer):
26699 * gst/base/gstbasetransform.h:
26700 Many fixes and new features added by Thomas. Can now also do
26701 transforms with variable sizes and a custom fixate_caps function.
26703 2005-08-24 Wim Taymans <wim@fluendo.com>
26705 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26709 Cast to ClockTime before formatting to time.
26714 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26716 * check/gst-libs/controller.c: (GST_START_TEST),
26717 (gst_controller_suite):
26718 * docs/gst/tmpl/gstcaps.sgml:
26719 * docs/gst/tmpl/gstghostpad.sgml:
26720 * docs/gst/tmpl/gstquery.sgml:
26721 * docs/gst/tmpl/gstutils.sgml:
26722 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26723 (gst_object_sink_values), (gst_object_get_value_arrays),
26724 (gst_object_get_value_array):
26725 gracefully handle helper method calls to objects that are not beeing
26726 controlled, added test case for that
26728 2005-08-23 Wim Taymans <wim@fluendo.com>
26730 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26731 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26732 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26733 (gst_event_parse_qos), (gst_event_new_seek),
26734 (gst_event_parse_seek):
26736 Some more debugging output and doc cleanups.
26738 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26739 Fix possible deadlock.
26741 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26743 * docs/gst/gstreamer-docs.sgml:
26744 * docs/gst/gstreamer-sections.txt:
26745 * docs/gst/gstreamer.types:
26746 * docs/gst/tmpl/.cvsignore:
26749 * gst/gstelement.c:
26751 added 100 symbols from gstreamer-unused.txt to the right sections
26752 fixed more broken comments
26753 added GstBus to docs
26755 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26757 * docs/gst/gstreamer-sections.txt:
26758 * docs/gst/tmpl/.cvsignore:
26759 * docs/gst/tmpl/gstbin.sgml:
26760 * docs/gst/tmpl/gstbuffer.sgml:
26761 * gst/base/gstbasesrc.c:
26762 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26765 * tools/gst-launch.1.in:
26766 inlined more doc comments, added missing comments and fixed comments
26769 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26771 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26775 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26777 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26778 * gst/gststructure.h:
26779 add a fixate function for booleans; add a FIXME that these func
26780 names should probably be gst_structure_fixate_*
26782 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26784 * docs/gst/gstreamer-docs.sgml:
26785 * docs/gst/gstreamer-sections.txt:
26787 * gst/gstbin.c: (gst_bin_get_type),
26788 (gst_bin_child_proxy_get_child_by_index),
26789 (gst_bin_child_proxy_get_children_count),
26790 (gst_bin_child_proxy_init):
26791 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26792 (gst_child_proxy_get_child_by_index),
26793 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26794 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26795 (gst_child_proxy_get), (gst_child_proxy_set_property),
26796 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26797 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26798 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26799 * gst/gstchildproxy.h:
26800 * gst/parse/grammar.y:
26801 * tools/gst-inspect.c: (print_interfaces),
26802 (print_element_properties_info), (print_element_info):
26803 ported gstchildproxy over from 0.8
26804 ported gst-inspect fixes and enhancements over from 0.8
26806 2005-08-22 Wim Taymans <wim@fluendo.com>
26808 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26809 (gst_base_transform_handle_buffer):
26810 Also call the transform function if we have ANY caps.
26812 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26815 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26817 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26818 Don't pretend to handle seek events if the source is not seekable
26820 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26823 Remove extra parameter to debug output
26825 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26826 (gst_base_src_do_seek), (gst_base_src_activate_push):
26827 Fix seek event handling.
26829 * gst/gstpipeline.c: (gst_pipeline_change_state):
26830 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26831 (gst_queue_src_activate_push):
26832 Don't start the src pad task on FLUSH_STOP if the pad
26836 2005-08-22 Wim Taymans <wim@fluendo.com>
26838 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26839 Added check for gst_static_caps_get() refcounting.
26841 2005-08-22 Wim Taymans <wim@fluendo.com>
26843 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26844 Make _static_caps_get() refcounting sane.
26846 * gst/gstelement.c: (gst_element_set_state):
26847 Add g_return_val_if_fail() to protect against segfaults.
26849 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26851 * docs/gst/tmpl/gstevent.sgml:
26854 inlined remaining docs, added missing doc comments
26856 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26858 * check/gst/gstbin.c: (GST_START_TEST):
26859 since we don't know when preroll is done, use refcount range
26861 * gst/check/gstcheck.h:
26862 add macro for checking refcount range
26864 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26866 * check/Makefile.am:
26867 clean up environment for when registry gets built versus
26868 when actual tests are run; valgrind seems to not report
26869 leaks if GST_PLUGIN_PATH is set to some specific values
26870 * check/gst/gstbin.c: (GST_START_TEST):
26871 add more refcounting checks; maybe this exposes a
26873 * common/check.mak:
26874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26875 * gst/check/gstcheck.h:
26876 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26877 (gst_bin_change_state):
26878 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26879 add/fix debugging/whitespace
26881 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26883 * check/gst/gstevent.c: (event_probe), (test_event),
26885 Er, don't call gst_bin_watch_for_state_change you idiot.
26887 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26889 * check/Makefile.am:
26890 Use CHECK_CFLAGS and CHECK_LIBS
26891 * check/gst/gstevent.c: (event_probe), (test_event),
26894 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26895 (gst_base_src_start), (gst_base_src_stop),
26896 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26897 (gst_base_src_change_state):
26898 Sprinkle gst_base_src_stop liberally around error paths to fix
26899 problems reusing a source after failed state changes.
26900 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26901 (helper_find_suggest), (gst_type_find_helper):
26902 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26904 * docs/gst/tmpl/gstevent.sgml:
26905 Migrate part of the docs from the SGML file. Wait for ensonic to
26906 tell me how I did it wrong ;)
26907 * tools/gst-typefind.c: (main):
26908 Extra robustness to state changes between files.
26910 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26912 * check/Makefile.am:
26913 don't valgrind the controller test - it's leaking - Stefan, HELP
26914 * gst/check/gstcheck.c: (gst_check_message_error),
26915 (gst_check_chain_func), (gst_check_setup_element),
26916 (gst_check_teardown_element), (gst_check_setup_src_pad),
26917 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26918 (gst_check_teardown_sink_pad):
26919 * gst/check/gstcheck.h:
26920 add a bunch of methods to set up elements, and src and sink pads
26921 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26922 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26925 * gst/gstmessage.c:
26927 whitespace/doc fixes
26929 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26931 * gst/gstelement.h:
26932 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26933 be handled by the application and not always printed as well
26935 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26937 * check/Makefile.am:
26939 * gst/check/gstcheck.c: (gst_check_message_error):
26940 * gst/check/gstcheck.h:
26941 add a fail_unless_equals_int
26942 add fail_unless for error messages
26944 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26946 * check/Makefile.am:
26948 * common/Makefile.am:
26949 * common/check.mak:
26951 factor out some of the common stuff so we can use it
26953 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26955 * check/Makefile.am:
26956 * check/gst/gstiterator.c: (GST_START_TEST):
26957 * check/gst/gstsystemclock.c: (GST_START_TEST),
26958 (gst_systemclock_suite):
26959 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26961 valgrind more tests
26963 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26965 * check/elements/.cvsignore:
26966 * check/elements/gstfakesrc.c:
26967 rename to name of element
26968 * check/elements/identity.c: (chain_func), (event_func),
26969 (setup_identity), (cleanup_identity), (GST_START_TEST),
26970 (identity_suite), (main):
26971 add a test for identity
26972 * check/Makefile.am:
26973 * pkgconfig/Makefile.am:
26974 * pkgconfig/gstreamer-check.pc.in:
26975 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26979 move the check stuff to a library that gets installed
26980 * check/gst-libs/controller.c: (GST_START_TEST):
26981 * check/gst-libs/gdp.c:
26982 * check/gst/gst.c: (GST_START_TEST):
26983 * check/gst/gstbin.c:
26984 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26985 * check/gst/gstbus.c:
26986 * check/gst/gstcaps.c: (GST_START_TEST):
26987 * check/gst/gstelement.c:
26988 * check/gst/gstghostpad.c:
26989 * check/gst/gstiterator.c:
26990 * check/gst/gstmessage.c:
26991 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26992 * check/gst/gstobject.c:
26993 * check/gst/gstpad.c: (GST_START_TEST):
26994 * check/gst/gststructure.c: (GST_START_TEST):
26995 * check/gst/gstsystemclock.c: (GST_START_TEST),
26996 (gst_systemclock_suite):
26997 * check/gst/gsttag.c: (gst_tag_suite):
26998 * check/gst/gstvalue.c:
26999 * check/pipelines/cleanup.c:
27000 * check/pipelines/simple_launch_lines.c:
27001 * check/states/sinks.c:
27002 change include statement
27004 * docs/gst/gstreamer-sections.txt:
27005 * docs/gst/tmpl/gstpad.sgml:
27006 document more pad stuff
27007 * gst/gstminiobject.c: (gst_mini_object_ref),
27008 (gst_mini_object_unref):
27011 2005-08-19 Stefan Kost <ensonic@users.sf.net>
27013 * docs/gst/tmpl/gst.sgml:
27015 eliminate another tmpl file, fix spelling in the long-description
27017 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27019 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27020 (test_event), (timediff), (gstevents_suite):
27021 Should fix build on 64-bit arch's
27023 2005-08-18 Andy Wingo <wingo@pobox.com>
27025 Make sure that when a pipeline goes to PLAYING, that data has
27026 actually hit the sink.
27028 * check/states/sinks.c (test_sink): A sink that doesn't get any
27029 data shouldn't return SUCCESS for going to either PLAYING or
27030 PAUSED. Test also the return values on the way back down.
27032 * gst/gstelement.c (gst_element_set_state): When changing the
27033 state of an element currently changing state asynchronously, go to
27034 lost-state after commiting the pending state. Makes future calls
27035 to get_state continue to return ASYNC.
27037 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27038 ASYNC when going to PLAYING if we still don't have preroll, as can
27039 happen with live sources.
27041 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27043 * docs/pwg/advanced-types.xml:
27044 Hack long paragraph into 2 chunks as a workaround for buggy
27045 jadetex version in sid and breezy that loops infinitely and
27048 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27050 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27051 (test_event), (timediff), (gstevents_suite):
27052 Provide more error margin in clock measurements to allow for
27053 g_get_current_time inaccuracies.
27055 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27057 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27058 (test_event), (timediff), (gstevents_suite):
27059 Fix error message output so I might be able to tell why the
27060 test works here but fails on the build farm.
27062 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27064 * check/Makefile.am:
27065 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27066 (test_event), (timediff), (gstevents_suite), (main):
27069 * docs/design/part-seeking.txt:
27070 Spelling correction
27072 * docs/gst/tmpl/gstevent.sgml:
27073 * docs/gst/tmpl/gstfakesrc.sgml:
27076 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27077 Treat a buffer-without-newsegment the same as a receiving
27078 a newsegment not in time format, and disable syncing to the clock
27081 * gst/gstbus.c: (gst_bus_set_sync_handler):
27082 Assert if anyone tries to replace the existing sync_handler for bus,
27083 as only the owner should be setting it.
27086 Have a fixed set of custom event enums with events identified by
27087 their structure name (as in 0.8), rather than a free-for-all
27088 allowing collisions between enum values from different plugins.
27090 * gst/gstpad.c: (gst_pad_class_init):
27093 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27094 Handle out-of-band downstream events from the sending thread.
27096 2005-08-17 Andy Wingo <wingo@pobox.com>
27098 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27099 play-timeout==0 to mean no timeout at all. In that case, don't
27100 bother with a get_state or a warning, just return directly, even
27103 * gst/base/gstbasetransform.c: Debug changes.
27106 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27107 ensure bins post state change messages. A bit of a hack but I can't
27108 think of a way to avoid it.
27110 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27112 2005-08-16 Andy Wingo <wingo@pobox.com>
27114 * gst/base/gstadapter.h:
27115 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27116 peek() but you own the data. Not terribly efficient atm.
27118 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27120 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27121 (gst_element_found_tags):
27123 Add two utility functions for tag handling.
27125 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27127 * docs/manual/advanced-dataaccess.xml:
27128 * docs/manual/basics-helloworld.xml:
27129 Fix docs to use _bin_add() before _link(), which fixes the examples
27130 with recent core versions (reported by Madhan Raj M
27131 <raj_madan@rediffmail.com>, #313199).
27133 2005-08-16 Wim Taymans <wim@fluendo.com>
27135 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27136 Added subtract checks.
27138 * docs/design/part-events.txt:
27139 Some more docs about newsegment
27141 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27144 * gst/gstcaps.c: (gst_caps_to_string):
27145 Add comments, cleanups.
27147 * gst/gstelement.c: (gst_element_save_thyself):
27150 * gst/gstvalue.c: (gst_value_collect_int_range),
27151 (gst_string_unwrap), (gst_value_union_int_int_range),
27152 (gst_value_union_int_range_int_range),
27153 (gst_value_intersect_int_int_range),
27154 (gst_value_intersect_int_range_int_range),
27155 (gst_value_intersect_double_double_range),
27156 (gst_value_intersect_double_range_double_range),
27157 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27158 (gst_value_subtract_int_range_int),
27159 (gst_value_subtract_double_range_double),
27160 (gst_value_subtract_double_range_double_range),
27161 (gst_value_subtract_from_list), (gst_value_subtract_list),
27162 (gst_value_can_compare), (gst_value_compare_fraction):
27163 Cleanups, add comments, remove unneeded asserts.
27165 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27167 * tools/gst-launch.c: (event_loop):
27168 don't convert NULL structures to strings
27170 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27172 * docs/gst/gstreamer-sections.txt:
27173 made some defines private
27174 * docs/gst/tmpl/gstconfig.sgml:
27175 * docs/gst/tmpl/gstqueue.sgml:
27176 * docs/gst/tmpl/gsttaglist.sgml:
27177 * docs/gst/tmpl/gsttypes.sgml:
27178 * docs/gst/tmpl/gstutils.sgml:
27179 * docs/pwg/appendix-porting.xml:
27180 * gst/base/gstbasesink.h:
27181 * gst/base/gstbasesrc.c:
27182 * gst/base/gstbasesrc.h:
27183 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27184 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27185 * gst/gstelement.c: (gst_element_class_init):
27186 * gst/gstpad.c: (gst_pad_class_init):
27187 * gst/gstqueue.c: (gst_queue_class_init):
27188 * gst/gstxml.c: (gst_xml_class_init):
27189 documented all undocumented signal inline
27190 * libs/gst/controller/gst-controller.h:
27193 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27195 * docs/pwg/appendix-porting.xml:
27196 Document _set_link_function -> _set_setcaps_function.
27198 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27200 * check/Makefile.am:
27201 add a .check target for running the check
27202 * check/gst-libs/controller.c: (GST_START_TEST):
27204 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27205 complete checks for gstbuffer; would be nice if I could get the
27206 gcov stuff to work so I can see if I actually completed gstbuffer.c
27207 * check/gstcheck.h:
27208 add ASSERT_BUFFER_REFCOUNT
27210 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27212 * docs/gst/gstreamer-sections.txt:
27213 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27215 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27216 spew out a warning if a tag that is already registered
27217 is re-registered, unless it is re-registered with a
27218 different type (#308438).
27220 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27222 * docs/pwg/appendix-porting.xml:
27223 * docs/pwg/building-state.xml:
27224 Add some paragraphs about state changes in 0.9 to the PWG
27225 and the porting guide, in particular about the new meaning
27226 of GST_STATE_PAUSED and how to write state change functions
27227 with concurrent access by multiple threads in mind.
27229 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27231 * docs/gst/gstreamer-docs.sgml:
27232 * docs/libs/gstreamer-libs-docs.sgml:
27233 added deprecation and since indexes
27234 * libs/gst/controller/gst-controller.c:
27235 * libs/gst/controller/gst-helper.c:
27239 2005-08-11 Wim Taymans <wim@fluendo.com>
27241 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27242 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27243 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27244 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27245 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27246 (gst_ghost_pad_set_target):
27247 Actually implement (re)setting the target on a ghostpad
27248 as described in the docs.
27250 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27252 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27253 Check whether GST_DEBUG_NO_COLOR environment variable is
27254 set and disable coloured debug output if that is the case.
27256 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27258 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27259 (gst_type_find_helper):
27260 The memory returned by gst_type_find_peek() needs to
27261 stay valid until the end of a typefind function, and
27262 typefind functions may keep results from different
27263 offsets around, so we can't just unref the buffer from
27264 the previous _peek(), but have to save all buffers
27265 returned by _peek() until typefinding is done and only
27268 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27270 * docs/gst/gstreamer-sections.txt:
27272 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27274 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27276 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27277 Fix a pretty good memleak.
27279 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27281 * gst/gstiterator.h:
27282 Fix wrong include and 'make distcheck'.
27284 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27286 * gst/gstbin.c: (bin_bus_handler):
27287 Use gst_element_post_message() instead.
27289 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27291 * gst/base/gstadapter.h:
27292 * gst/base/gstbasesink.h:
27293 * gst/base/gstbasesrc.h:
27294 * gst/base/gstbasetransform.h:
27295 * gst/base/gstcollectpads.h:
27296 * gst/base/gstpushsrc.h:
27297 * gst/gstiterator.h:
27298 Add padding to our base elements' class and instance structs and
27299 to GstIterator (you will need to rebuild all plugins and apps!)
27301 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27303 * gst/gstbin.c: (bin_bus_handler):
27304 Make default message forwarding from child->bus to bin->bus
27305 threadsafe and make it not emit warnings if the parent has no bus.
27307 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27309 * gst/gstelement.c: (activate_pads):
27310 On paused->ready, set pad->caps to NULL, as is the documented
27311 behaviour in this state change. Fixes playback of series of
27312 media files when visualization is enabled in Totem.
27314 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27316 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27317 Allow NULL as filter-caps (which means "any").
27319 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27321 * docs/libs/gstreamer-libs-sections.txt:
27322 * libs/gst/controller/gst-controller.c:
27323 * libs/gst/controller/gst-controller.h:
27324 * libs/gst/controller/gst-helper.c:
27325 adding more entries to the docs and fix small doc-bugs
27327 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27329 * docs/gst/gstreamer-docs.sgml:
27330 * docs/gst/gstreamer-sections.txt:
27331 * docs/gst/gstreamer.types:
27332 * docs/gst/tmpl/gstbasesink.sgml:
27333 * docs/gst/tmpl/gstbasesrc.sgml:
27334 * docs/gst/tmpl/gstbasetransform.sgml:
27335 * docs/gst/tmpl/gstfakesrc.sgml:
27336 * gst/base/gstcollectpads.c:
27337 * gst/base/gstcollectpads.h:
27338 * libs/gst/controller/gst-controller.c:
27339 * libs/gst/controller/gst-controller.h:
27340 * libs/gst/controller/gst-helper.c:
27341 * libs/gst/controller/gst-interpolation.c:
27342 * libs/gst/controller/lib.c:
27343 added long/short desc for controller docs
27344 added collectpads base class docs
27345 added correct includes to base-class docs
27347 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27349 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27350 (gst_test_mono_source_set_property),
27351 (gst_test_mono_source_class_init), (GST_START_TEST),
27352 (gst_controller_suite):
27353 * docs/gst/gstreamer-docs.sgml:
27354 * docs/gst/gstreamer-sections.txt:
27355 * docs/gst/gstreamer.types:
27356 * docs/libs/gstreamer-libs-docs.sgml:
27357 * docs/libs/gstreamer-libs-sections.txt:
27358 * gst/base/gstadapter.c:
27359 * libs/gst/controller/gst-controller.c:
27360 (gst_controlled_property_new), (gst_controlled_property_free),
27361 (gst_controller_new_valist),
27362 (gst_controller_remove_properties_valist),
27363 (gst_controller_sink_values), (_gst_controller_finalize):
27364 * libs/gst/controller/gst-controller.h:
27365 * libs/gst/controller/gst-helper.c:
27366 (gst_object_control_properties), (gst_object_uncontrol_properties),
27367 (gst_object_get_controller), (gst_object_set_controller),
27368 (gst_object_sink_values), (gst_object_get_value_arrays),
27369 (gst_object_get_value_array):
27370 more tests (and fixes) for the controller
27371 more docs for the controller
27372 integrated companies docs for the adapter
27374 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27376 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27377 (GST_START_TEST), (fakesrc_suite):
27378 add tests for sizetype
27380 2005-08-04 Andy Wingo <wingo@pobox.com>
27382 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27383 fixes buffer_alloc proxying among other things.
27385 * gst/base/gstbasetransform.c:
27386 * gst/base/gstbasetransform.h:
27387 Revert patch to gstbasetransform from 7-28 removing
27390 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27391 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27392 Semantics changed, should return not the size of the output buffer
27393 but the byte size of a buffer with a given caps.
27395 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27397 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27398 out) are not the pad caps until setcaps finishes.
27399 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27400 not-in-place case as well. Deal with changing from in-place to
27401 not-in-place within calling pad_alloc_buffer. Still a bit
27402 concerned about the overhead here...
27404 2005-08-03 Andy Wingo <wingo@pobox.com>
27406 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27407 fixating is an error.
27409 2005-08-04 Edward Hervey <edward@fluendo.com>
27411 * gst/base/gstadapter.h:
27412 Added gst_adapter_get_type() to the header
27414 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27416 * check/Makefile.am:
27417 * check/gst-libs/controller.c:
27418 * libs/gst/controller/gst-controller.c:
27419 (gst_controller_new_valist):
27420 added check test suite for the controller
27421 * gst/base/gstpushsrc.c:
27424 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27426 * docs/gst/Makefile.am:
27427 * docs/gst/gstreamer-docs.sgml:
27428 * docs/gst/gstreamer-sections.txt:
27429 * docs/gst/gstreamer.types:
27430 * docs/gst/tmpl/gstfakesrc.sgml:
27432 * gst/base/gstbasesink.c:
27433 * gst/base/gstbasesink.h:
27434 * gst/base/gstbasesrc.c:
27435 * gst/base/gstbasesrc.h:
27436 * gst/base/gstbasetransform.c:
27437 * gst/base/gstpushsrc.c:
27438 * gst/base/gstpushsrc.h:
27439 add short/long description docs to base classes
27440 add pushsrc to the docs
27441 remove consolidated doc fragments
27443 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27446 * docs/libs/Makefile.am:
27447 * docs/libs/gstreamer-libs-docs.sgml:
27448 * docs/libs/gstreamer-libs-sections.txt:
27449 * docs/libs/gstreamer-libs.types:
27450 * examples/Makefile.am:
27451 * examples/controller/.cvsignore:
27452 * examples/controller/Makefile.am:
27453 * examples/controller/audio-example.c: (main):
27454 * libs/gst/Makefile.am:
27455 * libs/gst/controller/.cvsignore:
27456 * libs/gst/controller/Makefile.am:
27457 * libs/gst/controller/gst-controller.c:
27458 (on_object_controlled_property_changed), (gst_timed_value_compare),
27459 (gst_timed_value_find),
27460 (gst_controlled_property_set_interpolation_mode),
27461 (gst_controlled_property_new), (gst_controlled_property_free),
27462 (gst_controller_find_controlled_property),
27463 (gst_controller_new_valist), (gst_controller_new),
27464 (gst_controller_remove_properties_valist),
27465 (gst_controller_remove_properties), (gst_controller_set),
27466 (gst_controller_set_from_list), (gst_controller_unset),
27467 (gst_controller_get), (gst_controller_get_all),
27468 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27469 (gst_controller_get_value_array),
27470 (gst_controller_set_interpolation_mode),
27471 (_gst_controller_finalize), (_gst_controller_init),
27472 (_gst_controller_class_init), (gst_controller_get_type):
27473 * libs/gst/controller/gst-controller.h:
27474 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27475 (g_object_uncontrol_properties), (g_object_get_controller),
27476 (g_object_set_controller), (g_object_sink_values),
27477 (g_object_get_value_arrays), (g_object_get_value_array):
27478 * libs/gst/controller/gst-interpolation.c:
27479 (gst_controlled_property_find_timed_value_node),
27480 (interpolate_none_get), (interpolate_trigger_get),
27481 (interpolate_trigger_get_value_array):
27482 * libs/gst/controller/lib.c: (gst_controller_init):
27483 * pkgconfig/Makefile.am:
27484 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27485 * pkgconfig/gstreamer-control.pc.in:
27486 * testsuite/Makefile.am:
27487 * testsuite/controller/.cvsignore:
27488 * testsuite/controller/Makefile.am:
27489 * testsuite/controller/interpolator.c: (main):
27490 added controller code
27491 removed dparam pc files
27493 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27494 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27495 (gst_collectpads_stop):
27496 Broadcast the condition when shutting down, to make sure we wake all
27497 threads up. Shut down pads on finalize, for safety.
27499 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27500 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27501 (gst_base_transform_handle_buffer),
27502 (gst_base_transform_change_state):
27503 Handle PAUSED->READY->PAUSED transition after negotiation
27505 * gst/gstmessage.c: (gst_message_init):
27506 Extra piece of debug for new messages.
27508 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27511 * docs/gst/tmpl/gstbasesrc.sgml:
27512 * docs/gst/tmpl/gstelement.sgml:
27513 * docs/gst/tmpl/gstevent.sgml:
27514 * docs/gst/tmpl/gstfakesrc.sgml:
27515 * docs/gst/tmpl/gstformat.sgml:
27516 * docs/gst/tmpl/gstghostpad.sgml:
27517 * docs/gst/tmpl/gstpad.sgml:
27518 * docs/gst/tmpl/gstquery.sgml:
27519 * docs/gst/tmpl/gststructure.sgml:
27520 * docs/gst/tmpl/gsttaglist.sgml:
27521 * docs/gst/tmpl/gstvalue.sgml:
27522 * docs/libs/gstreamer-libs-docs.sgml:
27523 * docs/libs/gstreamer-libs-sections.txt:
27524 * docs/libs/gstreamer-libs.types:
27525 * libs/gst/Makefile.am:
27526 * libs/gst/control/.cvsignore:
27527 * libs/gst/control/Makefile.am:
27528 * libs/gst/control/control.c:
27529 * libs/gst/control/control.h:
27530 * libs/gst/control/dparam.c:
27531 * libs/gst/control/dparam.h:
27532 * libs/gst/control/dparam_smooth.c:
27533 * libs/gst/control/dparam_smooth.h:
27534 * libs/gst/control/dparamcommon.h:
27535 * libs/gst/control/dparammanager.c:
27536 * libs/gst/control/dparammanager.h:
27537 * libs/gst/control/dplinearinterp.c:
27538 * libs/gst/control/dplinearinterp.h:
27539 * libs/gst/control/unitconvert.c:
27540 * libs/gst/control/unitconvert.h:
27541 * testsuite/Makefile.am:
27542 * testsuite/dynparams/.cvsignore:
27543 * testsuite/dynparams/Makefile.am:
27544 * testsuite/dynparams/dparamstest.c:
27545 * tools/Makefile.am:
27546 * tools/gst-inspect.c: (print_element_info), (main):
27547 * tools/gst-xmlinspect.c: (print_element_info), (main):
27548 deactivate and remove dparams (libgstcontrol)
27550 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27552 * gst/elements/gsttypefindelement.c:
27553 (gst_type_find_element_have_type), (gst_type_find_element_init),
27554 (stop_typefinding), (gst_type_find_element_handle_event),
27555 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27556 * gst/elements/gsttypefindelement.h:
27557 Set caps on all outgoing buffers, not just the first one.
27559 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27561 * gst/elements/gsttypefindelement.c:
27562 (gst_type_find_element_have_type),
27563 (gst_type_find_element_check_set_buffer_caps),
27564 (gst_type_find_element_init), (stop_typefinding),
27565 (gst_type_find_element_handle_event),
27566 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27567 * gst/elements/gsttypefindelement.h:
27568 Set caps on first outgoing buffer when we've found the type.
27570 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27572 * docs/gst/gstreamer-docs.sgml:
27573 * docs/gst/gstreamer-sections.txt:
27574 * docs/gst/tmpl/gstscheduler.sgml:
27575 * docs/gst/tmpl/gstschedulerfactory.sgml:
27576 Remove some old cruft from docs.
27578 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27581 Fix inline docs for GstPadLinkReturn.
27583 * gst/gststructure.c: (gst_structure_has_name):
27584 * gst/gststructure.h:
27585 * docs/gst/gstreamer-sections.txt:
27586 New API: gst_structure_has_name().
27588 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27591 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27592 and _LARGEFILE_SOURCE in config.h as required. Do not
27593 export those flags in our .pc files any longer (#142209).
27595 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27597 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27598 (gst_file_sink_do_seek), (gst_file_sink_event),
27599 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27600 Redo seek/tell calls with large file support in mind; add some
27601 debugging messages; add log message that tells us when large
27602 file support is unavailable or not enabled for some reason.
27604 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27605 Add log message that tells us when large file support
27606 is unavailable or not enabled for some reason.
27608 2005-07-29 Wim Taymans <wim@fluendo.com>
27610 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27611 Added test for removing an element with ghostpad from a bin.
27612 Fixed test as current implementation does the right thing.
27614 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27615 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27616 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27617 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27618 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27619 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27620 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27621 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27622 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27623 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27624 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27625 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27626 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27627 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27628 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27629 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27630 * gst/gstghostpad.h:
27631 Clean up ghostpads, remove properties for internal stuff.
27634 Prepare for switching targets, not all use cases work yet.
27636 2005-07-29 Wim Taymans <wim@fluendo.com>
27638 * docs/design/part-gstghostpad.txt:
27641 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27642 (gst_bin_remove_func):
27643 Unlinking pads while holding the bin LOCK is not a good
27646 * gst/gstpad.c: (gst_pad_class_init),
27647 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27648 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27649 No prob setting template after creating the pad.
27651 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27653 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27654 (gst_bus_peek), (gst_bus_source_dispatch),
27655 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27656 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27657 gst_bus_poll may be called from other threads. Handle
27658 this nicely by not making poll_data disappear off the
27659 stack once gst_bus_poll returns.
27660 gst_bus_peek now increments the refcount on the returned
27663 2005-07-29 Wim Taymans <wim@fluendo.com>
27665 * docs/design/part-gstghostpad.txt:
27666 Overview of current GhostPad datastructures and use
27667 cases for changing the target.
27669 2005-07-28 Wim Taymans <wim@fluendo.com>
27671 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27672 Added checks for hierarchy consistency whan adding linked
27675 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27676 Added check to test element scheduling without bin/pipeline.
27678 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27679 First add elements to bin, then link.
27681 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27682 (gst_bin_remove_func):
27683 Unlink pads from elements added/removed from bin to maintain
27684 hierarchy consistency.
27686 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27688 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27689 (gst_base_transform_handle_buffer):
27690 * gst/base/gstbasetransform.h:
27691 Remove broken delay_configure (fixes renegotiation of software
27692 scaling pipelines); remove some leftover printf()s.
27694 2005-07-28 Wim Taymans <wim@fluendo.com>
27696 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27697 Added some more tests for wrong hierarchy
27699 * docs/design/part-overview.txt:
27702 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27705 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27706 (gst_element_dispose):
27707 Some more cleanups.
27709 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27710 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27711 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27712 (gst_pad_set_caps), (gst_pad_send_event):
27713 Check for correct hierarchy when linking pads. Moving to
27714 strict requirement for ghostpads when linking elements in
27718 Clean ups. Added WRONG_HIERARCHY return value.
27720 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27722 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27723 Better debug if no transform is possible.
27725 2005-07-27 Wim Taymans <wim@fluendo.com>
27727 * docs/random/wtay/network-transp:
27728 Some old doc I had.
27730 2005-07-27 Wim Taymans <wim@fluendo.com>
27732 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27733 (gst_dp_event_from_packet):
27734 Fix serialization of seek events.
27736 2005-07-27 Wim Taymans <wim@fluendo.com>
27738 * check/gst-libs/gdp.c: (GST_START_TEST):
27739 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27740 Fix compilation and fix event serialization.
27742 2005-07-27 Wim Taymans <wim@fluendo.com>
27745 * docs/design/part-TODO.txt:
27746 * docs/design/part-events.txt:
27749 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27750 (gst_base_sink_event), (gst_base_sink_do_sync),
27751 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27752 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27753 (gst_base_src_do_seek), (gst_base_src_event_handler),
27754 (gst_base_src_loop):
27755 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27756 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27757 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27758 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27759 (gst_base_transform_set_passthrough),
27760 (gst_base_transform_is_passthrough):
27761 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27762 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27768 * gst/gstelement.c: (gst_element_seek):
27769 * gst/gstelement.h:
27770 Update gst_element_seek.
27772 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27773 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27774 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27775 (gst_event_new_eos), (gst_event_new_newsegment),
27776 (gst_event_parse_newsegment), (gst_event_new_tag),
27777 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27778 (gst_event_parse_qos), (gst_event_new_seek),
27779 (gst_event_parse_seek), (gst_event_new_navigation):
27781 Make GstEvent use GstStructure. Add parsing code, make sure the
27782 API is sufficiently generic.
27783 Mark possible directions of events and serialization.
27785 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27786 (_gst_message_copy), (gst_message_new_segment_start),
27787 (gst_message_new_segment_done), (gst_message_new_custom),
27788 (gst_message_parse_segment_start),
27789 (gst_message_parse_segment_done):
27792 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27793 (gst_pad_set_caps), (gst_pad_send_event):
27794 Update for new events.
27795 Catch events sent in wrong directions.
27797 * gst/gstqueue.c: (gst_queue_link_src),
27798 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27799 (gst_queue_handle_src_query):
27804 Remove event code from this file.
27806 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27807 (gst_dp_event_from_packet):
27810 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27812 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27813 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27814 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27815 Make debugging actually useful.
27817 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27819 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27820 (gst_pad_fixate_caps):
27821 Implement default fixation once again, so that gst_pad_fixate()
27822 actually does anything at all. This probably needs to be some
27823 sort of a last resort, and use profile-based fixation first, but
27824 since that doesn't exist yet, this is the best we have. Fixes
27825 visualization in Totem.
27827 2005-07-22 Wim Taymans <wim@fluendo.com>
27829 * docs/design/part-events.txt:
27832 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27833 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27834 (gst_base_sink_activate_pull):
27835 Some more comments.
27837 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27838 (gst_fake_src_create):
27839 Fix handoff marshall.
27841 * gst/elements/gstidentity.c: (gst_identity_class_init),
27842 (gst_identity_transform_ip):
27843 We're a real inplace element.
27845 * gst/gstbus.c: (gst_bus_post):
27846 Added some comments.
27848 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27849 * tests/muxing/case1.c: (main):
27850 * tests/sched/dynamic-pipeline.c: (main):
27851 * tests/sched/interrupt1.c: (main):
27852 * tests/sched/interrupt2.c: (main):
27853 * tests/sched/interrupt3.c: (main):
27854 * tests/sched/runxml.c: (main):
27855 * tests/sched/sched-stress.c: (main):
27856 * tests/seeking/seeking1.c: (event_received), (main):
27857 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27859 * tests/threadstate/threadstate3.c: (main):
27860 * tests/threadstate/threadstate4.c: (main):
27861 * tests/threadstate/threadstate5.c: (main):
27864 2005-07-21 Wim Taymans <wim@fluendo.com>
27866 * docs/design/part-seeking.txt:
27867 Some small additions.
27869 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27870 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27871 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27872 * gst/base/gstbasesink.h:
27873 discont values are gint64, handle the math correctly.
27875 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27876 Make the basesrc report error if the source pad is not linked.
27878 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27879 (gst_queue_loop), (gst_queue_handle_src_query),
27880 (gst_queue_src_activate_push):
27881 Make queue collect data even if the srcpad is not linked.
27882 Start pushing out data as soon as it is linked.
27884 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27886 Added gst_flow_get_name() to ease error reporting.
27888 2005-07-20 Wim Taymans <wim@fluendo.com>
27890 * gst/gstmessage.c: (gst_message_new_segment_start),
27891 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27892 (gst_message_parse_segment_done):
27893 * gst/gstmessage.h:
27894 Added a bunch of messages for advanced seeking.
27896 * gst/parse/grammar.y:
27897 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27898 (gst_dpman_state_changed):
27899 Fix some new-pad -> pad-added signals
27901 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27903 * docs/manual/appendix-porting.xml:
27904 * docs/pwg/appendix-porting.xml:
27905 Document new-pad/state-change signal renames and the FixedList
27908 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27910 * docs/manual/advanced-autoplugging.xml:
27911 * docs/manual/basics-helloworld.xml:
27912 * docs/manual/basics-pads.xml:
27913 * docs/random/ds/0.9-suggested-changes:
27914 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27915 * gst/gstelement.h:
27919 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27920 (gst_structure_parse_array), (gst_structure_parse_value):
27921 * gst/gstvalue.c: (gst_type_is_fixed),
27922 (gst_value_list_prepend_value), (gst_value_list_append_value),
27923 (gst_value_list_get_size), (gst_value_list_get_value),
27924 (gst_value_transform_array_string), (gst_value_serialize_array),
27925 (gst_value_deserialize_array), (gst_value_intersect_array),
27926 (gst_value_is_fixed), (_gst_value_initialize):
27928 GstElement::new-pad -> pad-added, GstElement::state-change ->
27929 state-changed, GstValueFixedList -> GstValueArray, add format and
27930 flags as their own arguments in gst_element_seek() (should improve
27931 "bindeability"), remove function generators since they don't work
27932 under a whole bunch of compilers (they were deprecated already
27935 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27937 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27938 (_gst_debug_register_funcptr):
27940 Fix illegal cast on some platforms (#309253).
27942 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27944 * gst/gstmessage.c: (gst_message_new_custom):
27945 * gst/gstmessage.h:
27946 Add _new_custom, make _new_application a macro to _new_custom.
27948 2005-07-20 Wim Taymans <wim@fluendo.com>
27950 * gst/base/gstbasesrc.c: (gst_base_src_init),
27951 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27952 * gst/base/gstbasesrc.h:
27953 Add a gboolean to decide when to push out a discont.
27955 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27956 (gst_queue_loop), (gst_queue_handle_src_query),
27957 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27958 (gst_queue_set_property), (gst_queue_get_property):
27961 * tests/threadstate/threadstate1.c: (main):
27962 Make a thread test compile and run... very silly..
27965 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27967 * docs/manual/appendix-porting.xml:
27968 Mention removal of libgstgconf-0.9.la and existence of gconf
27971 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27973 * docs/pwg/advanced-clock.xml:
27974 * docs/pwg/appendix-porting.xml:
27975 * docs/pwg/intro-preface.xml:
27976 * docs/pwg/other-base.xml:
27977 * docs/pwg/other-manager.xml:
27978 * docs/pwg/other-nton.xml:
27979 * docs/pwg/other-ntoone.xml:
27980 * docs/pwg/other-oneton.xml:
27981 * docs/pwg/pwg.xml:
27982 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27983 demuxer), remove n-to-n (was never written), fix some code examples
27984 and links and update the porting section to include all this.
27986 2005-07-19 Wim Taymans <wim@fluendo.com>
27988 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27989 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27990 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27991 (gst_queue_src_activate_push), (gst_queue_change_state),
27992 (gst_queue_get_property):
27994 Propagate GstFlowReturn more intelligently upstream and output
27995 an ERROR/EOS when streaming stopped due to fatal error.
27997 2005-07-19 Wim Taymans <wim@fluendo.com>
27999 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28000 Don't block forever for the state change to complete, the
28001 pipeline already did with a sensible timeout.
28003 2005-07-19 Wim Taymans <wim@fluendo.com>
28005 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28006 Make sure we never call the create function is we
28009 2005-07-19 Andy Wingo <wingo@pobox.com>
28011 * gst/parse/parse.l: Attempt to solve bug #172815.
28013 2005-07-19 Wim Taymans <wim@fluendo.com>
28015 * docs/design/part-clocks.txt:
28016 * docs/design/part-events.txt:
28017 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28018 Small docs updates.
28019 Only update the seeking values when we are not
28022 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28024 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28025 Oops, ignore the result of gst_pad_push_event here.
28027 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28029 * gst/base/gstbasesrc.c: (gst_base_src_loop),
28030 (gst_base_src_activate_push):
28031 Send discont event from the loop function, as pads
28032 aren't activated yet in the activate_push handler.
28034 * gst/gstbin.c: (bin_bus_handler):
28035 Don't leak element name.
28037 2005-07-18 Andy Wingo <wingo@pobox.com>
28039 * configure.ac: Use AS_LIBTOOL_TAGS.
28041 2005-07-18 Wim Taymans <wim@fluendo.com>
28043 * docs/gst/gstreamer.types:
28044 Remove deleted types.
28046 2005-07-18 Wim Taymans <wim@fluendo.com>
28048 * check/elements/gstfakesrc.c: (GST_START_TEST):
28051 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28052 (init_popt_callback):
28054 * gst/gst_private.h:
28055 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28056 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28059 * gst/gstconfig.h.in:
28060 * gst/gstelement.c: (gst_element_class_init),
28061 (gst_element_set_base_time), (gst_element_get_base_time),
28062 (iterator_fold_with_resync), (gst_element_change_state),
28063 (gst_element_dispose), (gst_element_get_bus):
28064 * gst/gstelement.h:
28065 * gst/gstelementfactory.h:
28066 * gst/gsterror.c: (_gst_core_errors_init):
28069 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28071 * gst/gstinfo.c: (_gst_debug_init):
28072 * gst/gstmessage.c: (_gst_message_copy):
28073 * gst/gstmessage.h:
28074 * gst/gstminiobject.h:
28077 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28078 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28081 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28082 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28083 (gst_pipeline_get_last_stream_time):
28084 * gst/gstpipeline.h:
28085 * gst/gstpluginfeature.h:
28087 * gst/gstscheduler.c:
28088 * gst/gstscheduler.h:
28089 * gst/gststructure.h:
28090 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28091 (gst_task_finalize), (gst_task_func), (gst_task_create),
28092 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28093 (gst_task_stop), (gst_task_pause):
28095 * gst/gsttypefind.h:
28097 * gst/registries/gstlibxmlregistry.c: (load_feature),
28098 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28099 * gst/registries/gstxmlregistry.c:
28100 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28101 * gst/schedulers/threadscheduler.c:
28102 * libs/gst/control/dparammanager.h:
28103 * tools/gst-inspect.c: (print_element_list),
28104 (print_plugin_features), (print_element_features):
28105 * tools/gst-xmlinspect.c: (print_element_list),
28106 (print_plugin_info), (main):
28107 Removed plugable schedulers.
28108 Removed Scheduler/Manager from elements.
28109 Removed gsttypes.h, rearranged includes.
28110 Removed dependency pad<->element, element<>pipeline, and
28111 various others, fix includes.
28112 implement gst_pad_get_parent() with gst_object_get_parent()
28113 Make GstTask sefcontained.
28114 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28116 Fix endless loop in iterator_fold_with_resync.
28119 2005-07-18 Wim Taymans <wim@fluendo.com>
28125 2005-07-18 Wim Taymans <wim@fluendo.com>
28128 No more cothreads.h
28130 2005-07-18 Wim Taymans <wim@fluendo.com>
28134 Let's remove these.
28136 2005-07-18 Wim Taymans <wim@fluendo.com>
28138 * docs/design/part-dynamic.txt:
28139 * docs/design/part-events.txt:
28140 * docs/design/part-seeking.txt:
28141 Some more docs in the works.
28143 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28144 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28145 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28146 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28147 (gst_base_transform_handle_buffer),
28148 (gst_base_transform_sink_activate_push),
28149 (gst_base_transform_src_activate_pull),
28150 (gst_base_transform_set_passthrough),
28151 (gst_base_transform_is_passthrough):
28154 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28157 * gst/gstevent.c: (gst_event_finalize):
28160 * gst/gstutils.c: (gst_element_unlink),
28161 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28162 (gst_pad_proxy_setcaps):
28164 Add _get_parent_element() to get a pads parent as an element.
28166 2005-07-18 Wim Taymans <wim@fluendo.com>
28168 * check/gst/gstbin.c: (GST_START_TEST):
28171 2005-07-18 Wim Taymans <wim@fluendo.com>
28173 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28174 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28175 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28176 (gst_base_sink_event), (gst_base_sink_do_sync),
28177 (gst_base_sink_chain), (gst_base_sink_loop),
28178 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28179 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28181 Fix logic for returning ASYNC when not prerolled.
28183 2005-07-18 Wim Taymans <wim@fluendo.com>
28185 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28186 Fix nasty refcount bug.
28188 2005-07-16 Philippe Khalaf <burger@speedy.org>
28190 * gst/elements/gstfdsrc.c:
28191 * gst/elements/gstfdsrc.h:
28192 * gst/elements/gstelements.c:
28193 * gst/elements/Makefile.am:
28194 Ported fdsrc to 0.9.
28196 2005-07-16 Wim Taymans <wim@fluendo.com>
28198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28199 (gst_base_sink_do_sync):
28202 2005-07-16 Wim Taymans <wim@fluendo.com>
28204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28205 (gst_base_sink_event), (gst_base_sink_get_times),
28206 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28207 * gst/base/gstbasesink.h:
28208 Store and use discont values when syncing buffers as described
28211 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28212 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28213 (gst_base_src_activate_push):
28214 Push discont event when starting.
28216 * gst/elements/gstidentity.c: (gst_identity_transform):
28219 * gst/gstbin.c: (gst_bin_change_state):
28220 Small cleanups in base_time distribution.
28222 * gst/gstelement.c: (gst_element_set_base_time),
28223 (gst_element_get_base_time), (gst_element_change_state):
28224 * gst/gstelement.h:
28225 Added methods for the base_time of the element.
28228 * gst/gstpipeline.c: (gst_pipeline_send_event),
28229 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28230 (gst_pipeline_get_last_stream_time):
28231 * gst/gstpipeline.h:
28233 Handle seeking as described in design doc, remove stream_time
28235 Cleanups clock and stream_time selection code. Added accessors
28236 for the stream_time.
28239 2005-07-16 Andy Wingo <wingo@pobox.com>
28241 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28244 2005-07-16 Wim Taymans <wim@fluendo.com>
28246 * check/gst/gstbin.c: (GST_START_TEST):
28247 Make elements silent as the deep_notify refs the
28248 parent, which might make the test fail.
28250 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28251 Don't hold the lock for too long.
28253 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28255 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28256 Don't unref the caps we passed to gst_caps_make_writable() after
28257 passing them. gst_caps_make_writable() will do that for us.
28259 2005-07-15 Andy Wingo <wingo@pobox.com>
28261 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28264 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28265 own marshalling function for the handoff signal. Properly type the
28266 buffer as a buffer. Fixes some warnings. Should do a more general
28268 (gst_identity_class_init): Plug into the right marshaller.
28270 2005-07-15 Wim Taymans <wim@fluendo.com>
28272 * docs/design/part-TODO.txt:
28273 * docs/design/part-clocks.txt:
28274 * docs/design/part-element-sink.txt:
28275 * docs/design/part-events.txt:
28276 * docs/design/part-gstpipeline.txt:
28277 Updated docs, mostly DISCONT related.
28279 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28281 * docs/pwg/building-pads.xml:
28282 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28284 2005-07-15 Andy Wingo <wingo@pobox.com>
28286 * tools/gst-typefind.c: Update, add copyright block.
28288 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28289 Normalize and truncate caps before fixation.
28292 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28293 discards all but the first structure from its argument.
28295 2005-07-15 Wim Taymans <wim@fluendo.com>
28297 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28298 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28299 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28300 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28301 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28302 (gst_base_transform_chain), (gst_base_transform_change_state),
28303 (gst_base_transform_set_passthrough),
28304 (gst_base_transform_is_passthrough):
28305 * gst/base/gstbasetransform.h:
28306 Make passthrough work using the bufferpools.
28307 Changed API a bit, subclasses have to write into a buffer
28308 provided by the base class.
28309 More debug info in nego functions.
28311 * gst/elements/gstidentity.c: (gst_identity_init),
28312 (gst_identity_transform):
28313 Port to new base class.
28315 2005-07-15 Wim Taymans <wim@fluendo.com>
28317 * gst/gstmessage.c: (gst_message_new_state_changed):
28318 * tools/gst-launch.c: (event_loop), (main):
28319 Totally dump messages in -launch with the -m option.
28320 Fix message name for State messages,
28322 2005-07-14 Wim Taymans <wim@fluendo.com>
28324 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28325 Post error messages on errors.
28327 2005-07-14 Wim Taymans <wim@fluendo.com>
28329 * gst/gstcaps.c: (gst_caps_do_simplify):
28333 Define error for stream stopped.
28335 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28336 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28337 Do proper return values.
28339 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28340 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28341 (gst_pad_get_range):
28342 Better return values.
28345 Reorganise return values, add macro to check for fatal errors.
28347 * gst/gstqueue.c: (gst_queue_chain):
28348 Return proper GstFlowReturn values,
28350 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28352 * docs/gst/gstreamer-sections.txt:
28353 * docs/gst/gstreamer.types:
28354 * docs/gst/tmpl/gst.sgml:
28355 * docs/gst/tmpl/gstbasesink.sgml:
28356 * docs/gst/tmpl/gstbasesrc.sgml:
28357 * docs/gst/tmpl/gstbasetransform.sgml:
28358 * docs/gst/tmpl/gstbin.sgml:
28359 * docs/gst/tmpl/gstbuffer.sgml:
28360 * docs/gst/tmpl/gstcaps.sgml:
28361 * docs/gst/tmpl/gstclock.sgml:
28362 * docs/gst/tmpl/gstcompat.sgml:
28363 * docs/gst/tmpl/gstconfig.sgml:
28364 * docs/gst/tmpl/gstelement.sgml:
28365 * docs/gst/tmpl/gstelementdetails.sgml:
28366 * docs/gst/tmpl/gstelementfactory.sgml:
28367 * docs/gst/tmpl/gstenumtypes.sgml:
28368 * docs/gst/tmpl/gsterror.sgml:
28369 * docs/gst/tmpl/gstevent.sgml:
28370 * docs/gst/tmpl/gstfakesink.sgml:
28371 * docs/gst/tmpl/gstfakesrc.sgml:
28372 * docs/gst/tmpl/gstfilesink.sgml:
28373 * docs/gst/tmpl/gstfilesrc.sgml:
28374 * docs/gst/tmpl/gstfilter.sgml:
28375 * docs/gst/tmpl/gstformat.sgml:
28376 * docs/gst/tmpl/gstghostpad.sgml:
28377 * docs/gst/tmpl/gstimplementsinterface.sgml:
28378 * docs/gst/tmpl/gstindex.sgml:
28379 * docs/gst/tmpl/gstindexfactory.sgml:
28380 * docs/gst/tmpl/gstinfo.sgml:
28381 * docs/gst/tmpl/gstiterator.sgml:
28382 * docs/gst/tmpl/gstmacros.sgml:
28383 * docs/gst/tmpl/gstmemchunk.sgml:
28384 * docs/gst/tmpl/gstminiobject.sgml:
28385 * docs/gst/tmpl/gstobject.sgml:
28386 * docs/gst/tmpl/gstpad.sgml:
28387 * docs/gst/tmpl/gstpadtemplate.sgml:
28388 * docs/gst/tmpl/gstparse.sgml:
28389 * docs/gst/tmpl/gstpipeline.sgml:
28390 * docs/gst/tmpl/gstplugin.sgml:
28391 * docs/gst/tmpl/gstpluginfeature.sgml:
28392 * docs/gst/tmpl/gstquery.sgml:
28393 * docs/gst/tmpl/gstqueue.sgml:
28394 * docs/gst/tmpl/gstregistry.sgml:
28395 * docs/gst/tmpl/gstregistrypool.sgml:
28396 * docs/gst/tmpl/gstscheduler.sgml:
28397 * docs/gst/tmpl/gstschedulerfactory.sgml:
28398 * docs/gst/tmpl/gststructure.sgml:
28399 * docs/gst/tmpl/gstsystemclock.sgml:
28400 * docs/gst/tmpl/gsttaglist.sgml:
28401 * docs/gst/tmpl/gsttagsetter.sgml:
28402 * docs/gst/tmpl/gsttrace.sgml:
28403 * docs/gst/tmpl/gsttrashstack.sgml:
28404 * docs/gst/tmpl/gsttypefind.sgml:
28405 * docs/gst/tmpl/gsttypefindfactory.sgml:
28406 * docs/gst/tmpl/gsttypes.sgml:
28407 * docs/gst/tmpl/gsturihandler.sgml:
28408 * docs/gst/tmpl/gsturitype.sgml:
28409 * docs/gst/tmpl/gstutils.sgml:
28410 * docs/gst/tmpl/gstvalue.sgml:
28411 * docs/gst/tmpl/gstversion.sgml:
28412 * docs/gst/tmpl/gstxml.sgml:
28413 * docs/libs/tmpl/gstcontrol.sgml:
28414 * docs/libs/tmpl/gstdataprotocol.sgml:
28415 * docs/libs/tmpl/gstdparam.sgml:
28416 * docs/libs/tmpl/gstdplinint.sgml:
28417 * docs/libs/tmpl/gstdpman.sgml:
28418 * docs/libs/tmpl/gstdpsmooth.sgml:
28419 * docs/libs/tmpl/gstgetbits.sgml:
28420 * docs/libs/tmpl/gstunitconvert.sgml:
28421 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28422 (gst_push_src_base_init), (gst_push_src_class_init),
28423 (gst_push_src_init), (gst_push_src_create):
28424 * gst/base/gstpushsrc.h:
28425 * gst/elements/gstelements.c:
28426 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28427 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28428 (gst_fake_sink_init), (gst_fake_sink_set_property),
28429 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28430 (gst_fake_sink_event), (gst_fake_sink_preroll),
28431 (gst_fake_sink_render), (gst_fake_sink_change_state):
28432 * gst/elements/gstfakesink.h:
28433 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28434 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28435 (gst_fake_src_base_init), (gst_fake_src_class_init),
28436 (gst_fake_src_init), (gst_fake_src_event_handler),
28437 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28438 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28439 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28440 (gst_fake_src_create_buffer), (gst_fake_src_create),
28441 (gst_fake_src_start), (gst_fake_src_stop):
28442 * gst/elements/gstfakesrc.h:
28443 * gst/elements/gstfilesink.c: (_do_init),
28444 (gst_file_sink_base_init), (gst_file_sink_class_init),
28445 (gst_file_sink_init), (gst_file_sink_dispose),
28446 (gst_file_sink_set_location), (gst_file_sink_set_property),
28447 (gst_file_sink_get_property), (gst_file_sink_open_file),
28448 (gst_file_sink_close_file), (gst_file_sink_query),
28449 (gst_file_sink_event), (gst_file_sink_render),
28450 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28451 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28452 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28453 * gst/elements/gstfilesink.h:
28454 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28455 (gst_file_src_class_init), (gst_file_src_init),
28456 (gst_file_src_finalize), (gst_file_src_set_location),
28457 (gst_file_src_set_property), (gst_file_src_get_property),
28458 (gst_file_src_map_region), (gst_file_src_map_small_region),
28459 (gst_file_src_create_mmap), (gst_file_src_create_read),
28460 (gst_file_src_create), (gst_file_src_is_seekable),
28461 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28462 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28463 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28464 (gst_file_src_uri_handler_init):
28465 * gst/elements/gstfilesrc.h:
28466 more autistic cleanliness in functions/names/defines
28468 2005-07-13 Andy Wingo <wingo@pobox.com>
28470 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28471 source couldn't negotiate.
28473 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28477 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28478 function. I am channeling Hades. Put your boots on suckers!!!
28480 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28482 * testsuite/caps/Makefile.am:
28483 * testsuite/caps/value_compare.c:
28484 * testsuite/caps/value_intersect.c:
28485 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28486 move two testsuite apps over to the check dir
28488 2005-07-12 Wim Taymans <wim@fluendo.com>
28490 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28491 Added more debug info in the negotiate process.
28493 * gst/gstmessage.h:
28494 Prepare for segment playback.
28496 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28502 * tools/gst-launch.c: (main):
28503 NULL pipeline on errors.
28505 2005-07-12 Andy Wingo <wingo@pobox.com>
28507 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28508 not it comes from a malloc region. Make sure our copy gets freed.
28510 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28512 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28513 * check/gst/gstmessage.c: (GST_START_TEST):
28514 * check/gst/gststructure.c: (GST_START_TEST),
28515 (gst_structure_suite), (main):
28517 * gst/gstelement.c: (gst_element_message_full):
28518 clean up GError and debug string now that they get copied
28519 * gst/gstmessage.c: (gst_message_new_error),
28520 (gst_message_new_warning), (gst_message_parse_error),
28521 (gst_message_parse_warning):
28522 use GST_TYPE_G_ERROR for structure_new, and take copies of
28523 arguments, so that we don't mess up refcounting
28525 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28527 * check/Makefile.am:
28528 add per-test valgrind targets
28529 * check/gst-libs/gdp.c: (GST_START_TEST),
28530 (gst_data_protocol_suite), (main):
28533 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28535 * check/Makefile.am:
28536 instate more valgrindable tests
28537 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28538 (GST_START_TEST), (fakesrc_suite):
28539 * check/gst/gstpad.c: (GST_START_TEST):
28540 * check/gst/gststructure.c: (GST_START_TEST):
28542 * docs/gst/tmpl/gstminiobject.sgml:
28543 * gst/gstpad.c: (gst_pad_finalize):
28544 fix the static mutex leak
28546 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28548 * check/Makefile.am:
28549 add two more tests for valgrinding
28550 * check/gst/gstvalue.c: (GST_START_TEST):
28551 test refcount of deserialized buffer, found a leak
28552 * docs/gst/gstreamer-docs.sgml:
28553 * docs/gst/gstreamer-sections.txt:
28554 * docs/gst/gstreamer.types:
28555 * docs/gst/tmpl/gstminiobject.sgml:
28556 add miniobject to docs
28557 * gst/gstminiobject.c:
28559 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28560 (gst_string_unwrap):
28561 fix a hard-to-find invalid write for one of the tests
28562 fix a leak for deserialized buffers
28564 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28566 * docs/pwg/advanced-events.xml:
28567 * docs/pwg/advanced-request.xml:
28568 * docs/pwg/advanced-scheduling.xml:
28569 * docs/pwg/appendix-porting.xml:
28570 * docs/pwg/building-boiler.xml:
28571 * docs/pwg/intro-preface.xml:
28572 * docs/pwg/other-ntoone.xml:
28573 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28574 of example code and explanation for pad activation, loop() and
28575 getrange() functions and a bit more. Remove old comments pointing
28577 * examples/pwg/Makefile.am:
28578 Add loop/getrange examples.
28580 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28583 check for valgrind binary + some fixes
28585 valgrind suppressions for the tests
28586 * check/Makefile.am:
28587 add a valgrind: target that valgrinds the unit tests
28588 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28589 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28590 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28591 * check/gst/gstghostpad.c:
28593 * check/gst/gstdata.c:
28595 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28596 (thread_unref), (gst_mini_object_suite), (main):
28598 * gst/gst.c: (gst_deinit):
28600 add a method to clean up.
28601 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28602 (gst_system_clock_obtain):
28603 allow for disposing the system clock.
28604 * tools/gst-launch.c: (main):
28607 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28609 * docs/gst/tmpl/gstbasesrc.sgml:
28610 * docs/gst/tmpl/gstfakesrc.sgml:
28611 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28612 (gst_base_src_init), (gst_base_src_set_property),
28613 (gst_base_src_get_property), (gst_base_src_get_range),
28614 (gst_base_src_start):
28615 * gst/base/gstbasesrc.h:
28616 add num-buffers property
28617 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28618 (gst_fakesrc_init), (gst_fakesrc_set_property),
28619 (gst_fakesrc_get_property), (gst_fakesrc_create),
28620 (gst_fakesrc_start):
28621 remove num-buffers property
28623 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28625 * docs/gst/gstreamer-sections.txt:
28626 * docs/gst/tmpl/gstbasesink.sgml:
28627 * docs/gst/tmpl/gstbasesrc.sgml:
28628 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28629 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28630 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28631 (gst_base_sink_set_property), (gst_base_sink_get_property),
28632 (gst_base_sink_handle_object), (gst_base_sink_event),
28633 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28634 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28635 (gst_base_sink_loop), (gst_base_sink_deactivate),
28636 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28637 (gst_base_sink_change_state):
28638 * gst/base/gstbasesink.h:
28639 * gst/base/gstbasesrc.h:
28640 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28641 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28642 (gst_filesink_init):
28643 more macro splitting
28645 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28647 * gst/gstelement.c: (gst_element_get_bus):
28649 * tools/gst-launch.c: (check_intr), (event_loop):
28652 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28654 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28657 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28659 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28660 (gst_base_src_finalize):
28661 add finalize method and clean up properly
28662 * gst/gstpipeline.c: (gst_pipeline_dispose):
28665 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28667 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28669 add more things to check
28670 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28671 * gst/gstelement.c:
28674 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28676 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28677 (GST_START_TEST), (fakesrc_suite):
28678 * check/gst-libs/gdp.c: (GST_START_TEST):
28679 * check/gst/gst.c: (GST_START_TEST):
28680 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28681 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28682 * check/gst/gstbus.c: (GST_START_TEST):
28683 * check/gst/gstcaps.c: (GST_START_TEST):
28684 * check/gst/gstdata.c: (GST_START_TEST):
28685 * check/gst/gstelement.c: (GST_START_TEST):
28686 * check/gst/gstghostpad.c: (GST_START_TEST):
28687 * check/gst/gstiterator.c: (GST_START_TEST):
28688 * check/gst/gstmessage.c: (GST_START_TEST):
28689 * check/gst/gstobject.c: (GST_START_TEST):
28690 * check/gst/gstpad.c: (GST_START_TEST):
28691 * check/gst/gststructure.c: (GST_START_TEST):
28692 * check/gst/gstsystemclock.c: (GST_START_TEST),
28693 (gst_systemclock_suite):
28694 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28695 * check/gst/gstvalue.c: (GST_START_TEST):
28696 * check/pipelines/cleanup.c: (GST_START_TEST):
28697 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28698 * check/states/sinks.c: (GST_START_TEST):
28699 * check/gstcheck.c: (gst_check_init):
28700 * check/gstcheck.h:
28701 add debugging category
28702 use GST_START_TEST now, so we add a debug line
28704 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28706 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28707 add test for state change message on a bin
28708 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28710 * gst/gstbin.c: (gst_bin_init):
28711 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28712 * gst/gstelement.c: (gst_element_post_message),
28713 (gst_element_set_state):
28714 * gst/gstelementfactory.c: (gst_element_factory_create):
28715 * gst/gstmessage.c: (gst_message_new):
28716 * gst/gstscheduler.c:
28717 various debugging additions and cleanups
28719 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28721 * check/Makefile.am:
28722 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28724 adding tests for elements
28725 * gst/gstelement.c: (gst_element_dispose):
28727 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28729 * gst/registries/gstlibxmlregistry.c: (load_feature):
28730 plug more leaks. A simple gst_init() now is leakfree, yay.
28732 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28734 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28735 (gst_xml_registry_load):
28736 plug another memleak
28738 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28741 use GST_SET_ERROR_CFLAGS
28742 * docs/faq/cvs.xml:
28743 change to ERROR_CFLAGS
28745 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28748 make GST_ERROR_CFLAGS overridable and re-enable Werror
28749 * docs/faq/cvs.xml:
28750 add a note about error CFLAGS
28751 * docs/gst/tmpl/gstfakesrc.sgml:
28752 * gst/elements/gstfakesrc.c:
28753 comment out some unused code
28754 * gst/gst.c: (split_and_iterate):
28755 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28759 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28761 * common/Makefile.am:
28762 * common/gtk-doc.mak:
28763 * docs/gst/Makefile.am:
28764 factor out gtk-doc.mak
28766 2005-07-07 Wim Taymans <wim@fluendo.com>
28768 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28769 (gst_thread_scheduler_dispose):
28770 Unlock the STREAM_LOCK completely.
28772 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28774 * check/Makefile.am:
28775 * check/elements/.cvsignore:
28776 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28777 (START_TEST), (fakesrc_suite), (main):
28778 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28779 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28780 (gst_fakesrc_create), (gst_fakesrc_start):
28781 * gst/elements/gstfakesrc.h:
28782 adding a first element test
28784 2005-07-07 Andy Wingo <wingo@pobox.com>
28786 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28789 2005-07-07 Wim Taymans <wim@fluendo.com>
28795 2005-07-07 Wim Taymans <wim@fluendo.com>
28797 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28798 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28799 Allow subclasses to implement their own negotiation.
28801 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28803 * docs/design/part-gstbin.txt:
28804 * docs/design/part-gstpipeline.txt:
28805 Update design notes to reflect the movement of
28806 responsibility for bus handling from GstPipeline to
28809 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28812 Remove unnecessary queue2/3/4 examples.
28814 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28816 * examples/Makefile.am:
28817 * examples/helloworld/helloworld.c: (event_loop), (main):
28818 * examples/queue/queue.c: (event_loop), (main):
28819 * examples/queue2/queue2.c: (main):
28820 Update a couple of the examples to work again.
28822 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28823 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28824 Spelling corrections and extra debug.
28826 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28827 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28828 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28830 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28831 (gst_pipeline_change_state):
28832 * gst/gstpipeline.h:
28833 Move the bus handler for children to the GstBin, and create a
28834 separate bus for receiving messages from children to the one the
28835 bus sends 'upwards' on.
28837 2005-07-06 Wim Taymans <wim@fluendo.com>
28840 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28841 (gst_base_sink_handle_object), (gst_base_sink_loop),
28842 (gst_base_sink_change_state):
28843 * gst/base/gstbasesink.h:
28844 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28845 (gst_base_src_init), (gst_base_src_setcaps),
28846 (gst_base_src_getcaps), (gst_base_src_loop),
28847 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28848 (gst_base_src_start), (gst_base_src_change_state):
28849 * gst/base/gstbasesrc.h:
28850 Make basesrc negotiate.
28851 Handle the case where preroll fails in basesink.
28854 2005-07-06 Wim Taymans <wim@fluendo.com>
28856 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28857 Implement the fixate function.
28858 Clean up acceptcaps.
28860 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28862 * docs/pwg/building-filterfactory.xml:
28863 * docs/pwg/pwg.xml:
28864 Remove never-written filter-factory chapter; I'll add the various
28865 base classes to part 4 ("other element types") later on.
28867 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28869 * docs/pwg/advanced-negotiation.xml:
28870 * docs/pwg/building-boiler.xml:
28871 * docs/pwg/building-pads.xml:
28872 * docs/pwg/pwg.xml:
28873 * examples/pwg/Makefile.am:
28874 Add a chapter on caps negotiation, simplify the original code
28875 samples a bit w.r.t. caps negotiation, add link to the advanced
28876 section. Add a bunch of examples showing different use cases of
28877 different types of caps negotiation. Upstream renegotiation isn't
28878 fully documented yet since nobody knows how that works.
28880 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28882 * check/gst/gstpad.c:
28883 * check/gstcheck.c:
28884 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28885 if pad has no parent, return NULL as list of internal links
28887 2005-07-05 Andy Wingo <wingo@pobox.com>
28889 * gst/elements/gstfilesrc.c:
28890 * gst/elements/gstfakesrc.c:
28891 * gst/base/gstpushsrc.c:
28892 * gst/base/gstbasesrc.h:
28893 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28895 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28898 better report generation target (lcov needs a patch)
28900 2005-07-05 Andy Wingo <wingo@pobox.com>
28902 * gst/elements, testsuite: Null if we got it...
28904 2005-07-05 Wim Taymans <wim@fluendo.com>
28907 * libs/gst/dataprotocol/Makefile.am:
28908 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28909 * libs/gst/dataprotocol/dataprotocol.h:
28910 * pkgconfig/Makefile.am:
28911 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28912 * pkgconfig/gstreamer-dataprotocol.pc.in:
28913 Ported dataprotol to 0.9.
28914 Added pkgconfig files.
28916 2005-07-05 Andy Wingo <wingo@pobox.com>
28918 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28919 Default to returning TRUE for the case when tranform_caps returns
28920 a fixed caps, like for identity or volume.
28922 * check/gst/gstbus.c (pound_bus_with_messages):
28923 * check/gst/gstmessage.c (START_TEST):
28924 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28925 message API change.
28927 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28928 logic weaks here: always run transform_caps, trying passthrough
28929 operation only if the original caps intersects with the transform.
28931 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28932 source and sink caps.
28934 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28935 Intersect the peer caps with the pad template before going into
28937 (gst_base_transform_transform_caps): More debugging.
28939 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28942 2005-07-04 Edward Hervey <edward@fluendo.com>
28946 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28949 2005-07-04 Andy Wingo <wingo@pobox.com>
28951 * check/gst/gstpad.c: Only set explicit caps on pads.
28953 2005-07-01 Andy Wingo <wingo@pobox.com>
28955 * tests/network-clock.scm: Commentary update.
28957 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28958 Didn't really make sense, not implementable with basetransform,
28960 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28961 attempt at implementing the sync property, needs an unlock method.
28963 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28964 New func, by default returns the same caps (the identity
28966 (gst_base_transform_getcaps): Uses transform_caps to return
28967 something sensible.
28968 (gst_base_transform_setcaps): Complicated logic to get caps on
28969 both pads, even if they are different, and to call set_caps once
28970 for every time both pads get their caps set.
28971 (gst_base_transform_handle_buffer): Give the ref to the transform
28972 function. Allows in-place modification of the buffer.
28974 * gst/base/gstbasetransform.h (transform_caps): New class method.
28975 Given caps on one side, what can I do on the other.
28976 (set_caps): Take two caps, one for each side of the element.
28979 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28980 caps in place. This is safe because we can check the mutability of
28981 the caps, and a good idea because fixate functions are just called
28982 as a matter of last resort. (Not actually implemented.)
28983 (gst_pad_set_caps): If the caps we're setting is actually the same
28984 as the existing pad caps, just update the pointer without calling
28985 setcaps. Assert that caps is either NULL or fixed, as per the
28988 * gst/gstghostpad.c: Update for fixate changes.
28990 2005-07-02 Andy Wingo <wingo@pobox.com>
28993 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28994 two refcounts makes it immutable, which is enough. Doc more.
28996 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28998 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28999 Put the mini_object into GValue as a mini_object,
29000 not a gpointer, since that's how we declared
29003 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29005 * examples/pwg/Makefile.am:
29006 Fix buildbot again.
29008 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29010 * docs/pwg/building-testapp.xml:
29012 * examples/pwg/Makefile.am:
29015 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29018 * examples/Makefile.am:
29019 * examples/pwg/Makefile.am:
29020 * examples/pwg/extract.pl:
29021 Enable building the PWG examples.
29022 * docs/pwg/advanced-interfaces.xml:
29023 Add URI interface stub.
29024 * docs/pwg/advanced-types.xml:
29025 * docs/pwg/other-autoplugger.xml:
29026 * docs/pwg/appendix-porting.xml:
29027 * docs/pwg/pwg.xml:
29028 Add porting guide (mostly stubs), remove autoplugging (see ADM).
29029 * docs/pwg/building-boiler.xml:
29030 * docs/pwg/building-chainfn.xml:
29031 * docs/pwg/building-pads.xml:
29032 * docs/pwg/building-props.xml:
29033 * docs/pwg/building-state.xml:
29034 * docs/pwg/building-testapp.xml:
29035 Update the building-*.xml parts for 0.9 changes. All examples
29036 code blocks compile in examples/pwg/*.
29038 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29040 * docs/manual/advanced-autoplugging.xml:
29041 * docs/manual/appendix-checklist.xml:
29042 * docs/manual/appendix-integration.xml:
29043 * docs/manual/highlevel-components.xml:
29044 Fix playbin/decodebin examples, update docs a bit, mention bus
29045 instead of signals in various places, mention kmplayer and
29046 kaffeine since they have a working GStreamer backend in the KDE
29049 2005-06-30 Wim Taymans <wim@fluendo.com>
29052 * docs/design/draft-ghostpads.txt:
29053 * docs/design/draft-push-pull.txt:
29054 * docs/design/draft-query.txt:
29055 * docs/design/part-TODO.txt:
29056 * docs/design/part-query.txt:
29057 Added CHANGES-0.9 doc, updated status of other docs.
29062 2005-06-30 Wim Taymans <wim@fluendo.com>
29064 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29065 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29066 (gst_base_sink_change_state):
29067 * gst/base/gstbasesink.h:
29068 Some tweaks, only EOS and a buffer complete a preroll.
29070 2005-06-30 Andy Wingo <wingo@pobox.com>
29072 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29073 activate_push down to the internal pad as well.
29075 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29077 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29079 * gst/gsttaginterface.c:
29080 Some documentation fixes (#307394 and #307397).
29082 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29084 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29086 * gst/gstvalue.c: (gst_value_intersect_list):
29087 Fix memleak (#309125).
29089 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29091 * docs/manual/advanced-dataaccess.xml:
29092 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29093 * docs/manual/basics-pads.xml:
29094 Add reference for filtered caps to above chapter.
29096 2005-06-30 Wim Taymans <wim@fluendo.com>
29098 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29099 (gst_bin_change_state):
29101 Lame attempt at making the state change function a bit
29104 2005-06-30 Wim Taymans <wim@fluendo.com>
29106 * docs/design/part-clocks.txt:
29107 * docs/design/part-element-sink.txt:
29108 * docs/design/part-events.txt:
29109 * docs/design/part-preroll.txt:
29110 * docs/design/part-states.txt:
29111 Some more tweeks and additions to the docs.
29113 2005-06-30 Wim Taymans <wim@fluendo.com>
29115 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29116 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29117 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29118 (gst_pad_check_pull_range), (gst_pad_get_range),
29119 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29121 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29122 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29123 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29124 (gst_pad_remove_buffer_probe):
29125 Removed atomic operations, use existing LOCK.
29126 Move exception handling out of main code path.
29128 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29130 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29131 (silly_return_true_function), (gst_pad_class_init),
29132 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29133 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29134 (gst_pad_send_event):
29135 Fix accumulator, add default value by using _emitv() instead
29136 of _emit() for signal emission.
29138 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29140 * docs/manual/advanced-dataaccess.xml:
29141 * examples/manual/Makefile.am:
29143 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29146 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29148 * gst/elements/gstfilesink.c: (gst_filesink_render):
29149 Simplify code so that we don't have to handle short
29150 writes and return GST_FLOW_ERROR if an error occured.
29152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29154 * docs/gst/gstreamer-docs.sgml:
29155 Remove probes more.
29157 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29159 * docs/gst/gstreamer-sections.txt:
29160 * docs/gst/tmpl/gstpad.sgml:
29161 * docs/gst/tmpl/gstprobe.sgml:
29163 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29164 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29165 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29166 (gst_pad_push_event), (gst_pad_send_event):
29168 * gst/gstutils.c: (gst_pad_add_data_probe),
29169 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29170 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29171 (gst_pad_remove_buffer_probe):
29173 Remove old probes, add new g-signal-based probes and some utility
29176 2005-06-29 Edward Hervey <edward@fluendo.com>
29178 * gst/gstelementfactory.c:
29181 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29182 the definition to the header file.
29184 2005-06-29 Andy Wingo <wingo@pobox.com>
29186 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29187 plugins from the source directory.
29189 2005-06-29 Wim Taymans <wim@fluendo.com>
29191 * docs/gst/tmpl/gstbuffer.sgml:
29192 * docs/gst/tmpl/gstclock.sgml:
29193 Some fixings for blantently wrong text.
29195 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29197 * check/Makefile.am:
29198 * gst/gst.c: (add_path_func), (init_pre):
29199 * gst/gstregistry.c: (gst_registry_add_path):
29200 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29201 only scan the GST_PLUGIN_PATH locations, and not add
29204 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29206 * docs/gst/gstreamer-sections.txt:
29207 * docs/gst/tmpl/gstbasesrc.sgml:
29208 * gst/gstelement.c:
29209 * gst/gstelement.h:
29214 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29216 * docs/manual/advanced-autoplugging.xml:
29217 Fix autoplugging example.
29219 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29221 * docs/manual/advanced-autoplugging.xml:
29222 * docs/manual/mime-world.fig:
29223 Try to get autoplugging working, fix type detection. Fix text
29224 in hello-world image.
29226 2005-06-29 Wim Taymans <wim@fluendo.com>
29228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29229 (gst_base_sink_change_state):
29233 map SIGNAL and BROADCAST to the right function.
29236 Remove redundant braces.
29238 * gst/gstpad.c: (gst_pad_set_caps):
29239 Don't call setcaps function when reseting caps to NULL.
29241 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29242 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29243 (gst_system_clock_id_unschedule):
29244 Use BROADCAST as this is what we do.
29246 2005-06-29 Wim Taymans <wim@fluendo.com>
29248 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29249 We are actually prerolling before commiting the state
29252 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29254 * docs/manual/advanced-clocks.xml:
29255 * docs/manual/advanced-interfaces.xml:
29256 * docs/manual/advanced-metadata.xml:
29257 * docs/manual/advanced-position.xml:
29258 * docs/manual/advanced-schedulers.xml:
29259 * docs/manual/advanced-threads.xml:
29260 * docs/manual/appendix-porting.xml:
29261 * docs/manual/basics-bins.xml:
29262 * docs/manual/basics-bus.xml:
29263 * docs/manual/basics-elements.xml:
29264 * docs/manual/basics-helloworld.xml:
29265 * docs/manual/basics-pads.xml:
29266 * docs/manual/highlevel-components.xml:
29267 * docs/manual/manual.xml:
29268 * docs/manual/thread.fig:
29269 Update (until threads/scheduling) Application Development Manual;
29270 remove GstThread, add GstBus, add simple porting checklist, add
29271 documentation for tag writing, clocks, make all examples until this
29272 part compile and run.
29273 * examples/manual/Makefile.am:
29274 Update from changes to Application Development Manual; add bus
29275 example, remove thread example.
29277 2005-06-28 Wim Taymans <wim@fluendo.com>
29279 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29280 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29281 (gst_bus_source_dispatch):
29282 Add debugging messages.
29283 Make internal methods static.
29284 Handle the case where the bus is flushed in the handler.
29286 * gst/gstelement.c: (gst_element_get_bus):
29287 Fix refcount in _get_bus();
29289 * gst/gstpipeline.c: (gst_pipeline_change_state),
29290 (gst_pipeline_get_clock_func):
29291 Clock refcounting fixes.
29292 Handle the case where preroll timed out more gracefully.
29294 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29295 Clean up the internal thread in dispose. This is needed
29296 for subclasses that actually get disposed.
29298 * gst/schedulers/threadscheduler.c:
29299 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29300 (gst_thread_scheduler_dispose):
29301 Free thread pool in dispose.
29303 2005-06-28 Andy Wingo <wingo@pobox.com>
29305 * tests/network-clock-utils.scm (debug, print-event): New utils.
29307 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29308 (*packet-loss*): Unified loss probability.
29309 (network-time): Report out-of-band events.
29311 * tests/plot-data: Add support for out-of-band events. Hack it
29312 into this script instead of passing it down the pipe; should fix
29315 2005-06-28 Wim Taymans <wim@fluendo.com>
29317 * docs/gst/gstreamer.types:
29318 * docs/gst/tmpl/gstbasesrc.sgml:
29319 * docs/gst/tmpl/gstpad.sgml:
29322 2005-06-28 Wim Taymans <wim@fluendo.com>
29324 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29325 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29326 (gst_proxy_pad_do_fixatecaps):
29327 Correctly proxy the check_pull_range function.
29329 2005-06-28 Andy Wingo <wingo@pobox.com>
29331 * tests/network-clock.scm: Removed need for slib.
29333 2005-06-28 Wim Taymans <wim@fluendo.com>
29335 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29336 (gst_basesink_preroll_queue_flush):
29337 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29338 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29339 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29340 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29341 (gst_proxy_pad_set_property):
29344 * gst/gstqueue.c: (gst_queue_init):
29345 The deprecated pad loop function is removed now.
29347 2005-06-28 Andy Wingo <wingo@pobox.com>
29349 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29350 New parameters, simulate network packet loss.
29352 * tests/network-clock-utils.scm: Initialize the RNG.
29354 2005-06-28 Wim Taymans <wim@fluendo.com>
29356 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29357 (gst_basesink_event), (gst_basesink_deactivate):
29358 Flushing the preroll queue always needs to unlock the waiters.
29360 2005-06-28 Edward Hervey <edward@fluendo.com>
29362 * gst/gstpipeline.c: (gst_pipeline_send_event):
29363 Wheen a seek was successful on a pipeline, set the stream_time to the
29364 seek offset in order to have a synchronized stream_time.
29366 2005-06-28 Wim Taymans <wim@fluendo.com>
29368 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29369 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29370 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29371 (gst_proxy_pad_do_fixatecaps):
29372 Call wrapper function instead of just calling the function
29373 pointers. This takes care of any locking and whatmore.
29375 2005-06-28 Wim Taymans <wim@fluendo.com>
29377 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29378 (gst_pad_pull_range):
29380 CONNECTED -> LINKED.
29382 2005-06-28 Andy Wingo <wingo@pobox.com>
29384 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29385 source-munging commit!!!
29387 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29388 (gst_object_sink): Take gpointer arguments, not GstObject --
29389 avoids casts. Like GLib.
29391 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29394 2005-06-27 Andy Wingo <wingo@pobox.com>
29396 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29399 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29400 returns a sorted copy of the trace list.
29401 (gst_alloc_trace_print_live): New API, only prints traces with
29402 live objects. Sort the list.
29403 (gst_alloc_trace_print_all): Sort the list.
29404 (gst_alloc_trace_print): Align columns.
29406 * gst/elements/gstttypefindelement.c:
29407 * gst/elements/gsttee.c:
29408 * gst/base/gstbasesrc.c:
29409 * gst/base/gstbasesink.c:
29410 * gst/base/gstbasetransform.c:
29411 * gst/gstqueue.c: Adapt for pad activation changes.
29413 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29415 (gst_pipeline_dispose): Drop ref on sched.
29417 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29418 (gst_pad_activate_default): Push mode by default.
29419 (pre_activate_switch, post_activate_switch): New stubs, things to
29420 do before and after switching activation modes on pads.
29421 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29422 the pad's activate function to choose which mode to activate.
29423 Shortcut on deactivation and call the right function directly.
29424 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29426 (gst_pad_activate_push): New API, same for push mode.
29427 (gst_pad_set_activate_function)
29428 (gst_pad_set_activatepull_function)
29429 (gst_pad_set_activatepush_function): Setters for new API.
29431 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29432 Trace all miniobjects.
29433 (gst_mini_object_make_writable): Unref the arg if we copy, like
29434 gst_caps_make_writable.
29436 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29438 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29439 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29440 Adapt for new pad API.
29442 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29444 * gst/gstelement.h:
29445 * gst/gstelement.c (gst_element_iterate_src_pads)
29446 (gst_element_iterate_sink_pads): New API functions.
29448 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29449 should fold into gstiterator.c in some form.
29450 (gst_element_pads_activate): Simplified via use of fold and
29451 delegation of decisions to gstpad->activate.
29453 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29456 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29457 class once in init, like gstmessage. Didn't run into this issue
29458 but it seems correct. Don't initialize a trace, gstminiobject does
29461 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29462 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29464 (assert_live_count): New util function, uses alloc traces to check
29467 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29468 To be modified when unlink drops the internal pad.
29470 2005-06-27 Wim Taymans <wim@fluendo.com>
29472 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29473 (gst_bin_change_state):
29474 Cleanup the get_state() function a little, make sure it
29475 iterates the same set of elements.
29476 Added stub iterate_state_order().
29478 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29480 * docs/gst/gstreamer-docs.sgml:
29481 * docs/gst/gstreamer-sections.txt:
29482 * docs/gst/gstreamer.types:
29483 * docs/gst/tmpl/gstbasesink.sgml:
29484 * docs/gst/tmpl/gstbasesrc.sgml:
29485 * docs/gst/tmpl/gstbasetransform.sgml:
29486 * docs/gst/tmpl/gstelement.sgml:
29487 * docs/gst/tmpl/gstiterator.sgml:
29488 * gst/base/gstbasesrc.c:
29489 * gst/base/gstbasesrc.h:
29490 * gst/base/gstbasetransform.h:
29491 * gst/gstelement.c:
29492 * gst/gstiterator.h:
29493 adding basetransform and iterator docs
29495 2005-06-27 Andy Wingo <wingo@pobox.com>
29497 * docs/design/part-activation.txt: Notes on how activation should
29498 work -- not quite implemented yet.
29500 2005-06-25 Wim Taymans <wim@fluendo.com>
29502 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29503 At least get the chain function correct, needs more
29506 2005-06-25 Wim Taymans <wim@fluendo.com>
29508 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29509 (gst_basesink_handle_object), (gst_basesink_event),
29510 (gst_basesink_do_sync), (gst_basesink_handle_event),
29511 (gst_basesink_change_state):
29513 Right, two problems here: ghostpads don't take locks and
29514 glib _rec_mutex_lock_full() with depth==0 still locks.
29515 Catch illegal locking and g_warn them.
29517 2005-06-25 Wim Taymans <wim@fluendo.com>
29519 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29520 Have to check for completion now...
29522 2005-06-25 Wim Taymans <wim@fluendo.com>
29524 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29525 (gst_basesink_handle_object), (gst_basesink_event),
29526 (gst_basesink_do_sync), (gst_basesink_handle_event),
29527 (gst_basesink_change_state):
29529 Unlock STREAM_LOCK whatever the recursion was.
29531 2005-06-25 Wim Taymans <wim@fluendo.com>
29533 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29534 (gst_basesink_preroll_queue_empty),
29535 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29536 (gst_basesink_event), (gst_basesink_do_sync),
29537 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29538 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29539 (gst_basesink_change_state):
29540 Reworked the base sink, handle event and buffer serialisation
29541 correctly and removed possible deadlock.
29542 Handle EOS correctly.
29544 2005-06-25 Wim Taymans <wim@fluendo.com>
29546 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29547 (gst_pipeline_change_state):
29548 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29549 Allow elements to post EOS in the state change function.
29550 Fix up -launch, make it exit the poll loop when the
29551 pipeline actually changed state.
29552 Fix up warning parsing in -launch.
29554 2005-06-25 Wim Taymans <wim@fluendo.com>
29556 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29557 (gst_tee_sink_activate):
29558 Core takes STREAM_LOCK for us now.
29560 2005-06-25 Wim Taymans <wim@fluendo.com>
29562 * gst/gstelement.c: (gst_element_get_state_func),
29563 (gst_element_set_state):
29564 * gst/gstelement.h:
29565 * gst/gstmessage.c: (gst_message_parse_error),
29566 (gst_message_parse_warning):
29567 Keep track of current target state while performing a state
29568 change so that subclasses can do something interesting.
29569 Fix parsing of warning/error messages when GError is NULL.
29571 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29573 * docs/gst/Makefile.am:
29574 * docs/gst/gstreamer-docs.sgml:
29575 * docs/gst/gstreamer-sections.txt:
29576 * docs/gst/gstreamer.types:
29577 * docs/gst/tmpl/gstbasesink.sgml:
29578 * docs/gst/tmpl/gstbasesrc.sgml:
29579 * docs/gst/tmpl/gstbin.sgml:
29580 * docs/gst/tmpl/gstcompat.sgml:
29581 * docs/gst/tmpl/gstfakesink.sgml:
29582 * docs/gst/tmpl/gstfakesrc.sgml:
29583 * docs/gst/tmpl/gstfilesink.sgml:
29584 * docs/gst/tmpl/gstfilesrc.sgml:
29585 * docs/gst/tmpl/gstindex.sgml:
29586 * docs/manual/appendix-quotes.xml:
29587 * gst/base/gstbasesrc.h:
29588 * gst/elements/gstfakesrc.h:
29589 * gst/gstmessage.h:
29590 start pulling in base classes and elements in our docs
29592 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29594 * docs/gst/Makefile.am:
29595 * docs/libs/Makefile.am:
29596 fixed make distcheck with gtk-doc 1.3
29598 2005-06-23 Wim Taymans <wim@fluendo.com>
29600 * gst/gstelement.c: (gst_element_get_state_func),
29601 (gst_element_set_state), (gst_element_change_state):
29602 When the state did not change, also report NO_PREROLL
29605 2005-06-23 Wim Taymans <wim@fluendo.com>
29607 * gst/gstpad.c: (gst_pad_event_default):
29608 * gst/gstqueue.c: (gst_queue_loop):
29609 No unsafe task pausing please.
29611 2005-06-23 Wim Taymans <wim@fluendo.com>
29613 * gst/schedulers/threadscheduler.c:
29614 (gst_thread_scheduler_task_start),
29615 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29616 Ref the task before pushing it on the threadpool. This
29617 makes sure that we have a ref when the threadfunction is
29620 2005-06-23 Andy Wingo <wingo@pobox.com>
29622 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29623 offset is greater than the file's size.
29625 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29626 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29627 * gst/gstobject.c (gst_object_class_init): Make the class lock
29628 recursive. Wim won't let me drop deep_notify. Decodebin works
29629 again, whoopdy doo.
29631 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29632 internal pad, and hacks accordingly. Doesn't do it on the target
29633 pad because we change its caps. Probably catches all cases of
29635 (gst_ghost_pad_set_property): Connect to notify::caps as
29638 * tests/network-clock.scm (plot-simulation): Pipe data to the
29639 elite python skript.
29641 * tests/network-clock-utils.scm (define-parameter): New macro,
29642 defines a parameter that can be set via the command line.
29643 (set-parameter!, parse-parameter-arguments): Command line args
29646 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29649 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29651 * gst/elements/gsttypefindelement.c:
29652 (gst_type_find_element_handle_event):
29653 Don't restart typefinding on a discont.
29654 * gst/gstelement.c: (gst_element_set_state):
29655 Debug spelling fix.
29656 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29657 Allow changing mode of an active pad.
29658 Debug output fixes.
29659 * gst/registries/gstlibxmlregistry.c: (load_feature):
29660 Don't cast a static pad template to a normal pad template.
29662 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29664 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29665 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29666 remove gst_strtoll completely, since it didn't actually do
29667 anything more than what g_ascii_strtoull already does.
29668 check for range errors when deserializing
29669 do a cast for the unsigned cases; but further fixing needs
29670 a decision on what the interpretation of "(int)" and
29671 deserialization should be for values that fall outside the
29672 type's boundaries (ie, refuse, or interpret as casting)
29674 2005-06-23 Wim Taymans <wim@fluendo.com>
29676 * check/Makefile.am:
29677 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29678 * docs/design/part-live-source.txt:
29679 * docs/design/part-states.txt:
29680 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29681 (gst_basesrc_set_live), (gst_basesrc_is_live),
29682 (gst_basesrc_get_range), (gst_basesrc_activate),
29683 (gst_basesrc_change_state):
29684 * gst/base/gstbasesrc.h:
29685 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29686 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29687 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29688 * gst/gstelement.c: (gst_element_get_state_func),
29689 (gst_element_set_state):
29690 * gst/gstelement.h:
29692 * tools/gst-launch.c: (event_loop), (main):
29693 Added support for live sources and other elements that
29695 Updated design docs, added live-source design doc.
29696 Implemented live source functionality in basesrc
29697 Fix error condition in _bin_get_state()
29698 Implement live source handling in -launch.
29699 Added check for live sources.
29700 Fixed case in GstBin where elements were changed state
29704 2005-06-23 Andy Wingo <wingo@pobox.com>
29706 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29707 borken refcounting.
29709 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29710 gst_caps_replace takes care of this for us.
29712 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29713 gst_pad_set_caps on the target, not just its setcaps() function.
29715 * tests/network-clock.scm:
29716 * tests/network-clock-utils.scm: A network clock simulator.
29717 Something of an algorithmic testbed before doing something in C.
29719 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29721 * check/Makefile.am:
29722 * check/gst/capslist.h:
29723 copy over from 0.8, and add two with bitmasks specified with
29725 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29726 add test to parse everything from capslist.h
29727 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29729 add test for structure deserialization
29730 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29731 add tests for deserialization of strings to int types
29732 * gst/gststructure.c: (gst_structure_nth_field_name):
29733 * gst/gststructure.h:
29734 add a way to get the name of a field referenced by index
29735 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29736 instead of checking if the resulting long long lies between
29737 min and max, we check if the long long would fit into
29738 a number of bytes for the final type.
29739 This fixes cases where a string represents 2^32 - 1, which
29740 when cast to int would be the (valid) -1, but is bigger than
29743 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29745 * gst/parse/grammar.y:
29746 add a log line for type deserialization
29748 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29750 * check/gst/gstvalue.c: (START_TEST):
29751 * gst/gstvalue.c: (gst_value_deserialize):
29752 return long long, not int, so gint64 deserialization actually
29753 works. Is there any flag that makes the compiler check this ?
29756 2005-06-22 Wim Taymans <wim@fluendo.com>
29759 Added convenience macros for setting buffers in GValue.
29761 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29763 * check/gst/.cvsignore:
29764 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29765 add a test deserializing int64, and comment part out because
29768 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29770 * check/Makefile.am:
29771 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29772 * testsuite/Makefile.am:
29773 * testsuite/caps/Makefile.am:
29774 * testsuite/caps/value_serialize.c:
29775 * testsuite/test_gst_init.c:
29776 move a value_serialize test over
29778 2005-06-20 Wim Taymans <wim@fluendo.com>
29783 * gst/gstvalue.c: (gst_value_compare_buffer),
29784 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29785 (gst_value_compare_flags), (gst_value_serialize_flags),
29786 (gst_value_deserialize_flags), (_gst_value_initialize):
29787 Fix serialisation of buffers, they are not boxed types anymore
29789 2005-06-20 Wim Taymans <wim@fluendo.com>
29791 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29792 Testcase to show error in buffer-on-caps serialisation.
29794 2005-06-20 Andy Wingo <wingo@pobox.com>
29796 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29797 will be adding to later.
29799 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29800 if its socks fill with rocks.
29801 (gst_system_clock_obtain): Set the name on object construction.
29802 Avoid double-checked locking.
29804 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29806 * gst/gsturi.c: (gst_element_make_from_uri):
29807 Fix potential endless loop.
29809 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29811 * check/Makefile.am:
29813 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29815 move over from testsuite dir and clean up
29818 * testsuite/Makefile.am:
29819 * testsuite/tags/.cvsignore:
29820 * testsuite/tags/Makefile.am:
29821 * testsuite/tags/merge.c:
29822 remove testsuite/tags
29824 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29826 * docs/gst/gstreamer-sections.txt:
29827 * docs/gst/tmpl/gstenumtypes.sgml:
29828 * win32/gstenumtypes.c:
29829 clean up documentation build a little
29831 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29833 * check/gstcheck.h:
29834 add macros for checking refcounts on objects and caps
29835 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29836 add some more unit tests
29837 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29838 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29839 fix leaked refcounts (I hope :)) so unittest works
29843 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29845 * configure.ac: back to HEAD
29847 === release 0.9.1 ===
29849 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29855 2005-06-17 Andy Wingo <wingo@pobox.com>
29857 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29858 assert; it's always possible that the pad gets deactivated in
29859 between the checks in gstpad.c and the implementation. Rely on
29860 finish_preroll() to return a FLUSHING or similar instead of on the
29863 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29864 clock and post an EOS message if we come out of finish_preroll in
29867 2005-06-16 David Schleef <ds@schleef.org>
29869 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29870 (gst_capsfilter_set_property): Allow NULL as possible value
29871 for filter_caps property, indicating GST_CAPS_ANY.
29873 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29875 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29877 * gst/schedulers/Makefile.am:
29879 * gstreamer.spec.in:
29882 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29884 * gstreamer.spec.in:
29887 2005-06-08 Andy Wingo <wingo@pobox.com>
29889 * gst/gstutils.c: RPAD fixes all around.
29890 (gst_element_link_pads): Refcounting fixes.
29892 * tools/gst-inspect.c:
29893 * tools/gst-xmlinspect.c:
29895 * gst/base/gsttypefindhelper.c:
29896 * gst/base/gstbasesink.c:
29897 * gst/gstqueue.c: RPAD fixes.
29899 * gst/gstghostpad.h:
29900 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29901 pads. The tricky thing is they provide both source and sink
29902 interfaces, since they proxy the internal pad for the external
29903 pad, and vice versa. Implement with lower-level ProxyPad objects,
29904 with the interior proxy pad as a child of the exterior ghost pad.
29905 Should write a doc on this.
29907 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29908 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29911 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29912 pads are real pads. No ghost pads in this file. Not documenting
29913 the myriad s/RPAD/PAD/ and REALIZE fixes.
29914 (gst_pad_class_init): Add properties for "direction" and
29915 "template". Both are construct-only, so they can't change during
29916 the life of the pad. Fixes properly deriving from GstPad.
29917 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29918 derived objects, just set properties when creating the objects via
29920 (gst_pad_get_parent): Implement as a function, return NULL if the
29921 parent is not an element.
29922 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29923 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29925 * gst/gstobject.c (gst_object_class_init): Make name a construct
29926 property. Don't set it in the object init.
29928 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29929 with UNKNOWN direction.
29930 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29931 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29932 (gst_element_remove_pad): Remove ghost-pad special cases.
29933 (gst_element_pads_activate): Remove rpad cruft.
29935 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29936 catch the pad's-parent-not-an-element case.
29938 * gst/gst.h: Include gstghostpad.h.
29940 * gst/gst.c (init_post): No more real, ghost pads.
29942 * gst/Makefile.am: Add gstghostpad.[ch].
29944 * check/Makefile.am:
29945 * check/gst/gstbin.c:
29946 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29947 into a bin creates ghost pads, and that the refcounts are right.
29948 Partly moved from gstbin.c.
29950 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29952 * check/gst-libs/.cvsignore:
29953 * check/gst/.cvsignore:
29954 * check/pipelines/.cvsignore:
29956 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29957 (START_TEST), (cleanup_suite), (main):
29958 add some tests related to cleanup after running pipelines
29960 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29962 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29963 add a testsuite for GstBuffer
29965 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29967 * gst/gstminiobject.h:
29968 add defines for accessing the refcount
29970 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29972 * Makefile.am: added support for html unit test coverage reports
29974 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29976 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29977 Free existing caps if the capsfilter changes. Add a FIXME about
29978 setting those caps on the pads.
29980 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29981 Before adding a ghost pad to a parent bin, check that there isn't
29982 already one for the element on the bin. Prevents infinite recursion
29983 when using decodebin in parse pipelines. Andy says he'll rewrite the
29984 way this works anyway, so ignore the hack.
29986 2005-06-02 Andy Wingo <wingo@pobox.com>
29988 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29989 file size, pass it on to the type find helper.
29991 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29992 segment_start and segment_end properly according to the seek
29993 method. Segment_end is still a bit flaky because offset can be
29994 negative for CUR and END cases, but it takes -1 as an "unset"
29997 2005-06-02 Wim Taymans <wim@fluendo.com>
29999 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30000 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30001 (gst_basesink_activate):
30002 * gst/base/gstbasesink.h:
30003 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30004 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30005 (gst_pad_query), (gst_pad_start_task):
30007 * gst/gstqueue.c: (gst_queue_bufferalloc),
30008 (gst_queue_handle_sink_event), (gst_queue_chain):
30009 Bufferalloc: return GstFlowReturn to more accuratly report
30010 why allocation failed.
30012 2005-06-02 Wim Taymans <wim@fluendo.com>
30014 * gst/gstpipeline.c: (gst_pipeline_send_event):
30015 Take snapshot of state without blocking.
30017 2005-06-02 Wim Taymans <wim@fluendo.com>
30019 * docs/design/part-TODO.txt:
30020 * docs/design/part-caps.txt:
30021 * docs/design/part-clocks.txt:
30022 * docs/design/part-negotiation.txt:
30023 * docs/design/part-preroll.txt:
30026 2005-05-30 Wim Taymans <wim@fluendo.com>
30028 * gst/elements/gstidentity.c: (gst_identity_event),
30029 (gst_identity_transform), (gst_identity_get_property):
30030 Protect last_message property as it is accessed from
30033 2005-05-30 Wim Taymans <wim@fluendo.com>
30035 * gst/gstelement.c: (gst_element_init),
30036 (gst_element_pads_activate), (gst_element_change_state):
30037 Slicker pad activation code.
30039 2005-05-30 Wim Taymans <wim@fluendo.com>
30042 * gst/gstelement.h:
30043 * gst/gstelementfactory.h:
30045 Move elementfactory methods to separate .h file.
30047 2005-05-30 Wim Taymans <wim@fluendo.com>
30049 * docs/design/part-overview.txt:
30050 * gst/gstsystemclock.h:
30051 Small typo fixes, doc updates.
30053 2005-05-30 Wim Taymans <wim@fluendo.com>
30055 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30056 (init_popt_callback):
30057 Remove cpu-opt flag.
30059 2005-05-30 Wim Taymans <wim@fluendo.com>
30061 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30062 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30064 Avoid typechecking in places where not needed.
30065 Added accessor for malloc_data.
30067 2005-05-30 Wim Taymans <wim@fluendo.com>
30069 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30070 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30071 (gst_pad_configure_sink), (gst_pad_configure_src),
30072 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30073 (gst_pad_start_task):
30074 Propagate errors from _set_caps() in configure_src/sink
30075 functions instead of returning TRUE.
30076 FLUSH events can travel up and downstream
30079 2005-05-30 Wim Taymans <wim@fluendo.com>
30081 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30082 (gst_basesink_activate):
30083 Handle EOS in preroll.
30085 2005-05-30 Wim Taymans <wim@fluendo.com>
30087 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30088 (gst_queue_loop), (gst_queue_handle_src_event):
30089 Remove old pieces of code
30090 Flushing the queue in an upstream event is a very bad idea.
30092 2005-05-26 Andy Wingo <wingo@pobox.com>
30094 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30095 gst_value_set_mini_object so as to add a ref on the object (which
30096 will be removed when the value is unset).
30098 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30099 arg type in ::handoff.
30101 * gst/gstelement.c (gst_element_change_state): Also deactivate
30102 pads in READY->NULL, just in case the element didn't make it to
30103 PAUSED. Wingo tested, Wim approved.
30105 2005-05-26 Wim Taymans <wim@fluendo.com>
30107 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30108 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30109 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30110 A flushing pad cannot be used to alloc_buffer from.
30112 2005-05-26 Wim Taymans <wim@fluendo.com>
30114 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30115 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30116 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30117 (gst_bus_create_watch), (gst_bus_add_watch_full):
30119 Implement a real GSource and use g_main_context_wakeup() to
30120 signal new messages instead of the socketpair.
30122 2005-05-25 Wim Taymans <wim@fluendo.com>
30124 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30125 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30127 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30128 (gst_pad_send_event), (gst_pad_start_task):
30129 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30130 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30131 (gst_queue_sink_activate), (gst_queue_src_activate),
30132 (gst_queue_change_state):
30134 Fix state changes for non sinks. We now change sinks, then elements
30135 with unconnected srcpads, then the rest.
30136 More efficient queue unlocking in flush and state changes.
30137 Set the pad activate mode even if it does not have an activate
30140 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30142 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30143 Don't go in pull mode for non-seekable sources.
30144 * gst/elements/gsttypefindelement.h:
30145 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30146 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30147 (free_entry), (stop_typefinding),
30148 (gst_type_find_element_handle_event), (find_peek),
30149 (gst_type_find_element_chain), (do_pull_typefind),
30150 (gst_type_find_element_change_state):
30151 Allow typefinding (w/o seeking) in push-mode, simplified version
30152 of what was in 0.8.
30153 * gst/gstutils.c: (gst_buffer_join):
30155 gst_buffer_join() from 0.8.
30157 2005-05-25 Wim Taymans <wim@fluendo.com>
30159 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30160 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30161 (gst_pad_send_event), (gst_pad_start_task):
30162 Disable attempt at mode switching until it is figured out.
30164 2005-05-25 Wim Taymans <wim@fluendo.com>
30166 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30167 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30168 (gst_basesink_finish_preroll), (gst_basesink_chain),
30169 (gst_basesink_loop), (gst_basesink_activate),
30170 (gst_basesink_change_state):
30171 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30172 (gst_basesrc_get_range), (gst_basesrc_loop),
30173 (gst_basesrc_activate):
30174 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30175 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30176 (gst_real_pad_init), (gst_real_pad_set_property),
30177 (gst_real_pad_get_property), (gst_pad_set_active),
30178 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30179 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30180 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30181 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30182 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30183 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30184 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30185 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30186 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30187 (gst_pad_stop_task):
30189 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30190 (gst_queue_loop), (gst_queue_src_activate):
30191 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30192 (gst_task_get_state):
30194 * gst/schedulers/threadscheduler.c:
30195 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30196 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30198 Remove ACTIVE pad flag, use FLUSHING everywhere
30199 Added _pad_chain(), _pad_get_range() to call chain/getrange
30201 Add locks around IS_FLUSHING when reading.
30202 Take STREAM lock in chain(), get_range() functions so plugins
30203 don't need to take it anymore.
30207 2005-05-25 Wim Taymans <wim@fluendo.com>
30209 * tools/gst-launch.c: (event_loop):
30210 Unref message after using its contents instead of
30213 2005-05-24 Wim Taymans <wim@fluendo.com>
30215 * docs/design/draft-ghostpads.txt:
30216 * docs/design/draft-push-pull.txt:
30217 * docs/design/draft-query.txt:
30218 * docs/design/part-overview.txt:
30219 Docs updates, added general overview doc.
30221 2005-05-21 David Schleef <ds@schleef.org>
30223 * docs/gst/tmpl/old/GstBin.sgml:
30224 * docs/gst/tmpl/old/GstBuffer.sgml:
30225 * docs/gst/tmpl/old/GstCaps.sgml:
30226 * docs/gst/tmpl/old/GstClock.sgml:
30227 * docs/gst/tmpl/old/GstCompat.sgml:
30228 * docs/gst/tmpl/old/GstData.sgml:
30229 * docs/gst/tmpl/old/GstElement.sgml:
30230 * docs/gst/tmpl/old/GstEvent.sgml:
30231 * docs/gst/tmpl/old/GstIndex.sgml:
30232 * docs/gst/tmpl/old/GstStructure.sgml:
30233 * docs/gst/tmpl/old/GstTag.sgml:
30234 * docs/gst/tmpl/old/cothreads.sgml:
30235 * docs/gst/tmpl/old/cothreads_compat.sgml:
30236 * docs/gst/tmpl/old/gettext.sgml:
30237 * docs/gst/tmpl/old/gobject2gtk.sgml:
30238 * docs/gst/tmpl/old/grammar.tab.sgml:
30239 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30240 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30241 * docs/gst/tmpl/old/gst_private.sgml:
30242 * docs/gst/tmpl/old/gstaggregator.sgml:
30243 * docs/gst/tmpl/old/gstarch.sgml:
30244 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30245 * docs/gst/tmpl/old/gstbufferstore.sgml:
30246 * docs/gst/tmpl/old/gstdata_private.sgml:
30247 * docs/gst/tmpl/old/gstdisksink.sgml:
30248 * docs/gst/tmpl/old/gstdisksrc.sgml:
30249 * docs/gst/tmpl/old/gstelementfactory.sgml:
30250 * docs/gst/tmpl/old/gstextratypes.sgml:
30251 * docs/gst/tmpl/old/gstfakesink.sgml:
30252 * docs/gst/tmpl/old/gstfakesrc.sgml:
30253 * docs/gst/tmpl/old/gstfdsink.sgml:
30254 * docs/gst/tmpl/old/gstfdsrc.sgml:
30255 * docs/gst/tmpl/old/gstfilesink.sgml:
30256 * docs/gst/tmpl/old/gstfilesrc.sgml:
30257 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30258 * docs/gst/tmpl/old/gstidentity.sgml:
30259 * docs/gst/tmpl/old/gstindexfactory.sgml:
30260 * docs/gst/tmpl/old/gstmarshal.sgml:
30261 * docs/gst/tmpl/old/gstmd5sink.sgml:
30262 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30263 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30264 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30265 * docs/gst/tmpl/old/gstpipefilter.sgml:
30266 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30267 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30268 * docs/gst/tmpl/old/gstshaper.sgml:
30269 * docs/gst/tmpl/old/gstspider.sgml:
30270 * docs/gst/tmpl/old/gstspideridentity.sgml:
30271 * docs/gst/tmpl/old/gststatistics.sgml:
30272 * docs/gst/tmpl/old/gsttee.sgml:
30273 * docs/gst/tmpl/old/gsttimecache.sgml:
30274 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30275 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30276 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30277 * docs/gst/tmpl/old/types.sgml:
30278 I didn't intend to add these or check them in.
30280 2005-05-19 David Schleef <ds@schleef.org>
30282 * configure.ac: Use -no-common everywhere. In a sane world, it
30283 would be the default in libtool, because without it, you can't
30284 build DLLs on Windows.
30285 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30286 * docs/gst/gstreamer-sections.txt:
30287 * docs/gst/tmpl/gstcpu.sgml:
30288 * docs/gst/tmpl/gstdata.sgml:
30289 * docs/gst/tmpl/gstthread.sgml:
30291 2005-05-19 David Schleef <ds@schleef.org>
30293 * gst/gstminiobject.c: (gst_value_set_mini_object),
30294 (gst_value_take_mini_object), (gst_value_get_mini_object):
30295 * gst/gstminiobject.h: Add GValue set/get functions.
30297 2005-05-19 Wim Taymans <wim@fluendo.com>
30299 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30300 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30301 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30303 * gst/gstbus.c: (gst_bus_post):
30304 * gst/gstelement.c: (gst_element_get_random_pad):
30305 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30306 Make subbufer unref the parent in finalize.
30307 some more debugging info.
30310 2005-05-19 Wim Taymans <wim@fluendo.com>
30312 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30313 (gst_basesink_init), (gst_basesink_finalize),
30314 (gst_basesink_activate), (gst_basesink_change_state):
30315 Don't free preroll queue too early.
30317 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30321 Hi, I'm outdated. Please shoot me.
30323 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30325 * gst/gstpipeline.c: (gst_pipeline_send_event):
30326 Do not access variables after they have been deleted.
30328 2005-05-19 Wim Taymans <wim@fluendo.com>
30330 * tools/gst-inspect.c: (print_plugin_features):
30331 A plugin feature does unfortunatly not use the
30334 2005-05-18 Wim Taymans <wim@fluendo.com>
30336 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30337 Port _span() functions to new subbuffers.
30339 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30341 * gst/gstbin.c: (gst_bin_add_func):
30342 Fix clock settery in bins when adding kids after the clock has
30345 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30347 * gst/elements/gstidentity.c: (gst_identity_class_init):
30348 Workaround until signals support GstMiniObject.
30350 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30353 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30355 2005-05-18 Wim Taymans <wim@fluendo.com>
30357 * gst/base/Makefile.am:
30358 * gst/base/gstadapter.c: (gst_adapter_base_init),
30359 (gst_adapter_class_init), (gst_adapter_init),
30360 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30361 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30362 (gst_adapter_flush), (gst_adapter_available),
30363 (gst_adapter_available_fast):
30364 * gst/base/gstadapter.h:
30365 Ported and added adapter to the base classes.
30367 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30370 * gst/gstmessage.c:
30371 Make sure the class is reffed/unreffed once before threads can be
30372 used. Fixes #304551.
30374 2005-05-17 Wim Taymans <wim@fluendo.com>
30376 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30377 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30378 * gst/gstminiobject.c: (gst_mini_object_get_type),
30379 (gst_mini_object_free):
30380 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30381 (gst_pad_push), (gst_pad_push_event):
30382 * gst/gstqueue.c: (gst_queue_change_state):
30383 Don't queue buffers in basesink when we are flushing.
30384 Unref buffer when flushing in basesink.
30385 Flush queue when going to READY
30386 Unref buffer when _push() returns an error.
30387 Don't free MiniObject instance when refcount is incremented
30388 in _finalize() so that we can recover objects.
30390 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30392 * docs/manual/advanced-schedulers.xml:
30393 * docs/manual/appendix-checklist.xml:
30394 * docs/pwg/advanced-clock.xml:
30395 * docs/pwg/advanced-interfaces.xml:
30396 * docs/pwg/advanced-request.xml:
30397 * docs/pwg/advanced-types.xml:
30398 * docs/pwg/intro-preface.xml:
30399 * examples/plugins/example.c: (gst_example_get_type),
30400 (gst_example_class_init), (gst_example_chain),
30401 (gst_example_set_property), (gst_example_get_property),
30402 (gst_example_change_state), (plugin_init):
30403 * examples/plugins/example.h:
30406 2005-05-17 Wim Taymans <wim@fluendo.com>
30408 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30409 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30410 * gst/gstqueue.c: (gst_queue_change_state):
30411 Clear queue when going to READY.
30412 Remove IN_SETCAPS flag too.
30414 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30416 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30417 Remove implicit cast from gboolean to GstElementStateReturn;
30418 make sure we still return failure in paused => ready case if
30419 the parent class fails to change state and our own stop
30422 2005-05-17 Wim Taymans <wim@fluendo.com>
30424 * tools/gst-launch.c: (event_loop):
30425 Message was unreffed too soon.
30427 2005-05-16 Andy Wingo <wingo@pobox.com>
30429 * gst/gstbin.c (sink_iterator_filter): Err... um...
30431 * check/gst/gstbin.c (test_ghost_pads): New test for the
30432 ghosting-if-elements-not-in-same-bin behavior.
30434 2005-05-16 David Schleef <ds@schleef.org>
30436 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30437 accessing refcount directly.
30439 2005-05-15 David Schleef <ds@schleef.org>
30441 * check/Makefile.am: remove GstData checks
30442 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30443 * gst/Makefile.am: add miniobject, remove data
30444 * gst/gst.h: add miniobject, remove data
30445 * gst/gstdata.c: remove
30446 * gst/gstdata.h: remove
30447 * gst/gstdata_private.h: remove
30448 * gst/gsttypes.h: remove GstEvent and GstMessage
30449 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30450 * gst/gstmarshal.list: change BOXED -> OBJECT
30452 Implement GstMiniObject.
30453 * gst/gstminiobject.c:
30454 * gst/gstminiobject.h:
30456 Modify to be subclasses of GstMiniObject.
30457 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30458 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30459 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30460 (gst_subbuffer_get_type), (gst_subbuffer_init),
30461 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30464 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30465 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30466 (_gst_event_copy), (gst_event_new):
30468 * gst/gstmessage.c: (_gst_message_initialize),
30469 (gst_message_get_type), (gst_message_class_init),
30470 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30471 (gst_message_new), (gst_message_new_error),
30472 (gst_message_new_warning), (gst_message_new_tag),
30473 (gst_message_new_state_changed), (gst_message_new_application):
30474 * gst/gstmessage.h:
30475 * gst/gstprobe.c: (gst_probe_perform),
30476 (gst_probe_dispatcher_dispatch):
30478 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30479 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30480 (_gst_query_copy), (gst_query_new):
30482 Update elements for GstData -> GstMiniObject changes
30484 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30485 (gst_queue_chain), (gst_queue_loop):
30486 * gst/elements/gstbufferstore.c:
30487 (gst_buffer_store_add_buffer_func),
30488 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30489 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30490 (gst_fakesink_render):
30491 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30492 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30493 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30494 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30495 (gst_filesrc_create_read):
30496 * gst/elements/gstidentity.c: (gst_identity_class_init):
30497 * gst/elements/gsttypefindelement.c:
30498 (gst_type_find_element_src_event), (free_entry_buffers),
30499 (gst_type_find_element_handle_event):
30500 * libs/gst/dataprotocol/dataprotocol.c:
30501 (gst_dp_header_from_buffer):
30502 * libs/gst/dataprotocol/dataprotocol.h:
30503 * libs/gst/dataprotocol/dp-private.h:
30505 2005-05-15 David Schleef <ds@schleef.org>
30507 * gst/elements/gstelements.c: Don't include headers that were
30510 2005-05-15 David Schleef <ds@schleef.org>
30512 * gst/elements/Makefile.am: Remove some elements that don't
30513 need to be in the core (or even exist at all).
30514 * gst/elements/gstaggregator.c:
30515 * gst/elements/gstaggregator.h:
30516 * gst/elements/gstmd5sink.c:
30517 * gst/elements/gstmd5sink.h:
30518 * gst/elements/gstmultifilesrc.c:
30519 * gst/elements/gstmultifilesrc.h:
30520 * gst/elements/gstpipefilter.c:
30521 * gst/elements/gstpipefilter.h:
30522 * gst/elements/gstshaper.c:
30523 * gst/elements/gstshaper.h:
30524 * gst/elements/gststatistics.c:
30525 * gst/elements/gststatistics.h:
30526 * po/POTFILES.in: Remove above files.
30528 2005-05-14 Andy Wingo <wingo@pobox.com>
30530 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30531 so as to get the refs right.
30532 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30533 unreffing objects that don't pass the filter.
30535 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30536 gst_element_set_bus.
30537 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30538 normal cases, this will destroy the bus.
30540 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30543 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30546 2005-05-13 Andy Wingo <wingo@pobox.com>
30548 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30549 gst_pad_link, call pad_link_maybe_ghosting,
30550 (pad_link_maybe_ghosting): Links pads, making sure that the
30551 elements being linked are in the same bin.
30552 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30553 Helpers for pad_link_maybe_ghosting.
30555 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30558 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30560 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30562 * docs/design/part-element-source.txt:
30565 2005-05-12 Wim Taymans <wim@fluendo.com>
30567 * gst/base/gstbasesink.c: (gst_basesink_init),
30568 (gst_basesink_activate):
30569 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30570 (gst_basesrc_is_seekable):
30571 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30572 (bin_element_is_sink), (gst_bin_change_state):
30573 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30574 * gst/gstelement.h:
30575 Identify sinks by their flag to avoid overly complicated
30577 Do state changes even for elements not reachable from the
30579 BaseSink is a sink now :)
30580 Some more debugging info in the basesrc.
30583 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30585 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30586 Implement _query on a bin, similar to _send_event.
30588 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30590 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30591 Discont event offset format should be GST_FORMAT_BYTES,
30592 not GST_FORMAT_TIME.
30594 2005-05-12 Wim Taymans <wim@fluendo.com>
30596 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30597 Same fix as Ronald's but without the signal.
30599 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30601 * gst/gstutils.c: (gst_element_query_position):
30602 No, an element is not a pad.
30604 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30606 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30607 (gst_bin_get_state):
30608 If a child is removed from a bin while we remove the child from
30609 the bin and while we're retrieving its state, signal this to the
30610 get_state function so we abort the wait (instead of waiting for
30611 a timeout) and can immediately re-iterate over all other elements.
30613 2005-05-12 Wim Taymans <wim@fluendo.com>
30615 * gst/base/Makefile.am:
30616 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30617 (gst_basesrc_start):
30618 * gst/base/gstbasesrc.h:
30619 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30620 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30621 (gst_pushsrc_init), (gst_pushsrc_create):
30622 * gst/base/gstpushsrc.h:
30623 Added is_seekable to BaseSrc
30624 Added simple PushSrc.
30626 2005-05-11 Wim Taymans <wim@fluendo.com>
30628 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30629 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30630 (gst_element_link_pads), (gst_element_query_position),
30631 (gst_element_query_convert), (intersect_caps_func),
30632 (gst_pad_query_position), (gst_pad_query_convert):
30633 Fix refcounting in utils function.
30634 No point in trying to activate a pad when it's added, it could
30635 be added from the state change function and then we deadlock, the
30636 element has to decide what to do.
30638 2005-05-10 Andy Wingo <wingo@pobox.com>
30640 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30641 *all* the arguments.
30643 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30644 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30645 lock (according to the docs -- if this is wrong change the docs).
30647 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30648 flush messages in the NULL state.
30650 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30651 message immediately and return.
30652 (gst_bus_set_flushing): New function. If a bus is flushing, it
30653 flushes out any queued messages and immediately unrefs new
30654 messages. This is so when an element goes to NULL, all of the
30655 unhandled messages coming from it can be freed, and their
30656 references to the element dropped. In other words: message source
30657 ref considered harmful :P
30659 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30660 we're finished with it.
30662 * gst/gstmessage.c (gst_message_new_state_changed):
30664 2005-05-10 Wim Taymans <wim@fluendo.com>
30666 * gst/gstvalue.c: (gst_value_compare_flags),
30667 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30668 (_gst_value_initialize):
30669 Added flags serialize/deserialize/compare code.
30671 2005-05-09 Andy Wingo <wingo@pobox.com>
30673 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30674 Intersect the peer's caps with our caps.
30676 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30678 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30679 * gst/elements/gsttypefindelement.c: (find_peek):
30680 Handle negative offsets better. Fixes decodebin.
30682 2005-05-09 Wim Taymans <wim@fluendo.com>
30684 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30685 (gst_base_transform_event):
30686 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30687 Implement accept_caps.
30688 Fix silly lock/unlock mismatch in base class.
30690 2005-05-09 Wim Taymans <wim@fluendo.com>
30692 * docs/design/draft-push-pull.txt:
30693 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30694 * gst/elements/gstfilesink.c: (gst_filesink_init),
30695 (gst_filesink_query):
30696 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30697 (gst_type_find_handle_src_query), (find_element_get_length):
30698 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30699 * gst/gstelement.h:
30700 * gst/gstmessage.c:
30701 * gst/gstmessage.h:
30702 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30703 (gst_real_pad_get_caps_unlocked),
30704 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30705 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30706 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30707 (gst_real_pad_dispose), (gst_real_pad_finalize),
30708 (gst_pad_load_and_link), (gst_pad_save_thyself),
30709 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30710 (gst_pad_check_pull_range), (gst_pad_pull_range),
30711 (gst_pad_template_get_type), (gst_pad_template_class_init),
30712 (gst_pad_template_init), (gst_pad_template_dispose),
30713 (name_is_valid), (gst_static_pad_template_get),
30714 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30715 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30716 (gst_pad_get_element_private), (gst_pad_start_task),
30717 (gst_pad_pause_task), (gst_pad_stop_task),
30718 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30719 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30720 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30721 (gst_ghost_pad_new):
30723 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30724 (gst_query_new_position), (gst_query_set_position),
30725 (gst_query_parse_position), (gst_query_new_convert),
30726 (gst_query_set_convert), (gst_query_parse_convert):
30728 * gst/gstqueryutils.c:
30729 * gst/gstqueryutils.h:
30730 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30731 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30732 (gst_queue_handle_src_query):
30733 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30734 (gst_element_query_position), (gst_element_query_convert),
30735 (intersect_caps_func), (gst_pad_query_position),
30736 (gst_pad_query_convert):
30738 * tools/gst-inspect.c: (print_pad_info):
30739 * tools/gst-xmlinspect.c: (print_element_info):
30740 Remove old query functions. Ported old code.
30741 Added position/convert helper functions to gstutils.
30742 Reordered gstpad.c code, grouping relevant things.
30743 Remove gst_message_new(), always need to speficy a specific
30747 2005-05-09 Andy Wingo <wingo@pobox.com>
30749 * gst/gstiterator.h: Add some includes.
30751 * gst/gstqueryutils.h: Include more headers.
30754 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30755 some uses of gst_pad_query.
30757 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30758 NULL out parameters.
30759 (gst_query_new_position): New proc, allocates a new position
30762 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30763 gstqueryutils.c to the build.
30765 * gst/gststructure.c (gst_structure_set_valist): Implement with
30766 the generic G_VALUE_COLLECT.
30768 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30770 * gst/Makefile.am: (gst_headers):
30771 Added gstqueryutils.h to the list of headers to install, that was
30772 a 'nachty' move wingo :)
30774 2005-05-06 Andy Wingo <wingo@pobox.com>
30777 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30778 GstData, init a memchunk.
30779 (standard_definitions): Add a few query types, deprecate a few.
30780 (gst_query_get_type): New proc.
30781 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30783 (gst_query_new_application, gst_query_get_structure): New public
30786 * docs/design/draft-query.txt: Removed LINKS from the query types,
30787 because all the rest can be dispatched to other pads -- seemed
30788 ugly to have a query that couldn't be dispatched. internal_links
30789 is fine as a pad method.
30791 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30792 in gstpad.c, but maintain binary compatibility for the moment.
30793 Will fix before 0.9 is out.
30795 * gst/gstqueryutils.c:
30796 * gst/gstqueryutils.h: New files, implement 3 methods for each
30797 query type: parse_query, parse_response, and set. Probably need an
30800 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30802 * gst/elements/gstfilesink.c (gst_filesink_query2):
30803 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30804 query_types, and formats methods.
30806 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30807 (gst_pad_set_query2_function): New functions.
30808 (gst_real_pad_init): Set query2_default as the default query2
30809 function. Basically just dispatches to internally linked pads.
30813 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30814 without using the atomic operations. Only one thread can possibly
30815 be accessing the data at this point. Changed so as to avoid
30816 gst_atomic operations.
30818 2005-05-06 Wim Taymans <wim@fluendo.com>
30820 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30821 Also set caps if we use the fallback buffer alloc.
30823 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30825 * docs/gst/Makefile.am:
30826 * docs/gst/gstreamer-docs.sgml:
30827 * docs/gst/gstreamer-sections.txt:
30828 * docs/gst/tmpl/gstatomic.sgml:
30829 * docs/gst/tmpl/gstmemchunk.sgml:
30830 * testsuite/elements/struct_i386.h:
30831 * win32/GStreamer.vcproj:
30833 Purge GstAtomic stuff from docs and win32 makefiles as well
30835 2005-05-06 Wim Taymans <wim@fluendo.com>
30837 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30838 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30839 * gst/gstpad.c: (gst_pad_peer_get_caps):
30840 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30841 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30842 (gst_queue_src_activate), (gst_queue_change_state):
30844 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30845 (intersect_caps_func):
30846 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30847 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30848 Some fixes for the peer_get_caps() change.
30850 2005-05-06 Wim Taymans <wim@fluendo.com>
30852 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30853 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30854 (gst_basesink_activate):
30855 Actually do something with error codes returned from the push
30858 2005-05-06 Wim Taymans <wim@fluendo.com>
30860 * docs/design/part-element-sink.txt:
30861 * docs/design/part-element-source.txt:
30862 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30863 (gst_basesink_event), (gst_basesink_activate):
30864 * gst/base/gstbasesink.h:
30865 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30866 (gst_basesrc_activate):
30867 * gst/base/gstbasesrc.h:
30868 * gst/gstelement.c: (gst_element_pads_activate):
30869 Some more documentation.
30870 Fixed scheduling decision in _pads_activate().
30872 2005-05-05 Andy Wingo <wingo@pobox.com>
30874 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30877 2005-05-05 Wim Taymans <wim@fluendo.com>
30879 * gst/base/Makefile.am:
30880 * gst/base/gstbasesink.h:
30881 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30882 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30883 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30884 (gst_collectpads_class_init), (gst_collectpads_init),
30885 (gst_collectpads_finalize), (gst_collectpads_new),
30886 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30887 (find_pad), (gst_collectpads_remove_pad),
30888 (gst_collectpads_is_active), (gst_collectpads_collect),
30889 (gst_collectpads_collect_range), (gst_collectpads_start),
30890 (gst_collectpads_stop), (gst_collectpads_peek),
30891 (gst_collectpads_pop), (gst_collectpads_available),
30892 (gst_collectpads_read), (gst_collectpads_flush),
30893 (gst_collectpads_chain):
30894 * gst/base/gstcollectpads.h:
30895 * gst/elements/Makefile.am:
30896 * gst/elements/gstelements.c:
30897 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30898 (gst_fakesink_get_times), (gst_fakesink_event),
30899 (gst_fakesink_preroll), (gst_fakesink_render):
30900 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30901 (gst_filesink_init), (gst_filesink_set_location),
30902 (gst_filesink_open_file), (gst_filesink_close_file),
30903 (gst_filesink_pad_query), (gst_filesink_event),
30904 (gst_filesink_render), (gst_filesink_change_state):
30905 * gst/elements/gstfilesink.h:
30906 Added object to help in making collect pad based elements.
30908 Make event function in sink baseclass return gboolean.
30910 2005-05-05 Wim Taymans <wim@fluendo.com>
30912 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30913 (gst_bin_get_by_name):
30915 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30916 (gst_clock_finalize):
30917 * gst/gstdata.c: (gst_data_replace):
30919 * gst/gstelement.c: (gst_element_request_pad),
30920 (gst_element_pads_activate):
30921 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30922 (gst_object_unref):
30923 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30924 (gst_pad_set_checkgetrange_function),
30925 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30926 (gst_pad_check_pull_range), (gst_pad_pull_range),
30927 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30928 (gst_pad_pause_task), (gst_pad_stop_task):
30929 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30930 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30931 Fix name lookup in GstBin.
30932 Added _data_replace() function and _buffer_replace()
30933 Use finalize method to clean up clock.
30934 Fix refcounting on request pads.
30935 Fix pad schedule mode error.
30936 Some more object refcounting debug info,
30939 2005-05-04 Andy Wingo <wingo@pobox.com>
30941 * check/Makefile.am:
30942 * docs/gst/tmpl/gstatomic.sgml:
30943 * docs/gst/tmpl/gstplugin.sgml:
30944 * gst/base/gstbasesink.c: (gst_basesink_activate):
30945 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30946 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30947 (gst_basesrc_query), (gst_basesrc_set_property),
30948 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30949 (gst_basesrc_activate):
30950 * gst/base/gstbasesrc.h:
30951 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30952 (gst_base_transform_src_activate):
30953 * gst/elements/gstelements.c:
30954 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30955 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30956 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30957 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30958 (gst_type_find_element_checkgetrange),
30959 (gst_type_find_element_activate):
30960 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30961 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30962 (gst_caps_load_thyself):
30963 * gst/gstelement.c: (gst_element_pads_activate),
30964 (gst_element_save_thyself), (gst_element_restore_thyself):
30965 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30966 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30968 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30969 (gst_xml_parse_file), (gst_xml_parse_memory),
30970 (gst_xml_get_element), (gst_xml_make_element):
30971 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30972 (_file_index_id_save_xml), (gst_file_index_commit):
30973 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30974 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30976 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30977 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30978 * tools/gst-complete.c: (main):
30979 * tools/gst-compprep.c: (main):
30980 * tools/gst-inspect.c: (print_element_properties_info):
30981 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30982 * tools/gst-xmlinspect.c: (print_element_properties):
30985 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30987 * gst/gstplugin.c: (gst_plugin_check_module),
30988 (gst_plugin_check_file), (gst_plugin_load_file):
30989 apply patch from #172526 to make register work on MacOSX
30991 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30993 * docs/gst/tmpl/gstconfig.sgml:
30994 * gst/gstconfig.h.in:
30995 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30996 * testsuite/debug/printf_extension.c: (main):
30997 Do not use GST_PTR_FORMAT on pointers to types with
30998 sizeof < sizeof(gpointer). Fixes test on 64-bit
30999 * testsuite/elements/property.h:
31000 use correct printf format
31002 2005-05-02 Wim Taymans <wim@fluendo.com>
31004 * docs/design/draft-push-pull.txt:
31005 * docs/design/draft-query.txt:
31006 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31007 (gst_basesrc_start):
31008 Added draft for new query API.
31009 Added draft for better selecting scheduling methods.
31010 Make basesrc ignore length if the subclass does not support
31013 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31016 possible fixes for automake-1.5 - _LIBADD is reserved
31018 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31020 * docs/faq/Makefile.am:
31021 * docs/manual/Makefile.am:
31022 * docs/manuals.mak:
31023 * docs/pwg/Makefile.am:
31025 possible fixes for automake-1.5
31027 2005-04-28 Wim Taymans <wim@fluendo.com>
31029 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31030 (gst_basesink_pad_getcaps), (gst_basesink_init),
31031 (gst_basesink_do_sync):
31032 * gst/gstclock.c: (gst_clock_entry_new):
31033 * gst/gstevent.c: (gst_event_discont_get_value):
31034 * gst/gstpipeline.c: (pipeline_bus_handler),
31035 (gst_pipeline_change_state):
31036 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31037 Better debugging of clocking info.
31038 Allow NULL values when getting discont values.
31040 2005-04-27 Wim Taymans <wim@fluendo.com>
31042 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31043 * check/gst/gstpad.c: (gst_pad_suite):
31044 Increase timeout for checks.
31046 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31048 * check/Makefile.am:
31049 fix the broken rule for cleanup. Apparently this rule is
31050 only needed on FC2, so maybe this warrants further autotool
31053 2005-04-26 Wim Taymans <wim@fluendo.com>
31055 * gst/gsttrashstack.h:
31056 Ooohh. a nasty one! After having a failed pop() from the stack,
31057 it's possible that the stack is empty. In that case, don't
31058 follow the NULL pointer.
31060 2005-04-25 Wim Taymans <wim@fluendo.com>
31062 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31063 (gst_pad_set_checkgetrange_function),
31064 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31065 (gst_pad_check_pull_range), (gst_pad_pull_range),
31066 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31067 (gst_pad_pause_task), (gst_pad_stop_task):
31068 * gst/gstplugin.c: (gst_plugin_load):
31070 Remove gst_library_load as it does more harm than good with
31071 the new g_module flags.
31072 Revert bogus caps template check in pad linking, pad caps
31073 are important when linking not the template, which is more
31074 general than the current caps.
31076 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31078 * gst/autoplug/.cvsignore:
31079 * gst/autoplug/Makefile.am:
31080 * gst/autoplug/gstsearchfuncs.c:
31081 * gst/autoplug/gstsearchfuncs.h:
31082 * gst/autoplug/gstspider.c:
31083 * gst/autoplug/gstspider.h:
31084 * gst/autoplug/gstspideridentity.c:
31085 * gst/autoplug/gstspideridentity.h:
31086 * gst/autoplug/spidertest.c:
31089 2005-04-25 Wim Taymans <wim@fluendo.com>
31091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31092 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31093 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31094 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31096 Added stubs for unimplemented functions.
31098 2005-04-24 David Schleef <ds@schleef.org>
31100 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31103 2005-04-24 David Schleef <ds@schleef.org>
31105 Convert everything from GstAtomicInt to g_atomic_int_*, and
31110 * gst/gstatomic_impl.h:
31118 * gst/gstdata_private.h:
31122 * gst/gstmessage.c:
31125 * gst/gststructure.c:
31126 * gst/gststructure.h:
31127 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31130 2005-04-24 David Schleef <ds@schleef.org>
31132 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31133 make the regressions tests work. Remove some code that is no
31135 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31136 Disable warning for pads without templates.
31138 2005-04-24 David Schleef <ds@schleef.org>
31140 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31141 functions that handle filtered links.
31142 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31144 * gst/gstutils.c: Fix/remove utility functions that handle
31147 * gst/gstvalue.c: Add serialization/deserialization of caps
31148 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31149 requires fixing so that the filter caps notation creates
31150 a capsfilter element and sets the filter_caps property. I
31151 think everyone probably wants to keep the shorthand notation.
31152 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31153 * docs/gst/tmpl/gstpad.sgml:
31155 * gst/elements/gstelements.c: Register capsfilter element.
31156 * gst/Makefile.am: fix spacing
31157 * docs/random/ds/0.9-suggested-changes: random
31159 2005-04-23 David Schleef <ds@schleef.org>
31161 * gst/elements/Makefile.am:
31162 * gst/elements/gstcapsfilter.c: New element that acts like an
31163 identity, but filters caps. Will eventually replace filtered
31164 caps in pad linking.
31165 * gst/gstutils.c: (gst_element_create_all_pads): New function
31166 to create all the ALWAYS pads that are registered with an
31167 element class. This functionality should eventually be
31168 merged in with GstElement initialization.
31170 * testsuite/trigger/README: part of trigger test code that should
31171 have been checked in a long time ago.
31173 2005-04-23 David Schleef <ds@schleef.org>
31175 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31176 needed with new versions of libtool (nobody will confirm this),
31177 and hard to carry around.
31178 * gst/autoplug/Makefile.am:
31179 * gst/base/Makefile.am:
31180 * gst/elements/Makefile.am:
31181 * gst/indexers/Makefile.am:
31182 * gst/schedulers/Makefile.am:
31183 * libs/gst/bytestream/Makefile.am:
31184 * libs/gst/control/Makefile.am:
31185 * libs/gst/dataprotocol/Makefile.am:
31186 * libs/gst/getbits/Makefile.am:
31188 2005-04-21 Wim Taymans <wim@fluendo.com>
31190 * docs/design/draft-push-pull.txt:
31191 * docs/design/part-MT-refcounting.txt:
31192 * docs/design/part-TODO.txt:
31193 * docs/design/part-caps.txt:
31194 * docs/design/part-events.txt:
31195 * docs/design/part-gstbus.txt:
31196 * docs/design/part-gstpipeline.txt:
31197 * docs/design/part-messages.txt:
31198 * docs/design/part-push-pull.txt:
31199 * docs/design/part-query.txt:
31202 2005-04-21 Wim Taymans <wim@fluendo.com>
31204 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31205 (gst_message_new), (gst_message_new_error),
31206 (gst_message_new_warning), (gst_message_new_tag),
31207 (gst_message_new_state_changed), (gst_message_new_application),
31208 (gst_message_get_structure):
31209 * gst/gstmessage.h:
31210 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31211 (gst_structure_copy_conditional):
31212 Use parent refcount in GstMessage to ensure GstStructure
31214 Cleaned up headers a bit.
31217 2005-04-20 Wim Taymans <wim@fluendo.com>
31219 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31220 (gst_basesink_pad_getcaps), (gst_basesink_init),
31221 (gst_basesink_chain_unlocked):
31222 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31223 (gst_type_find_helper):
31224 * gst/elements/gsttypefindelement.c:
31225 (gst_type_find_element_have_type), (gst_type_find_element_init),
31226 (stop_typefinding), (gst_type_find_element_handle_event),
31227 (find_suggest), (gst_type_find_element_chain),
31228 (gst_type_find_element_checkgetrange),
31229 (gst_type_find_element_getrange), (do_typefind),
31230 (gst_type_find_element_activate):
31231 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31232 (gst_buffer_default_free), (gst_buffer_default_copy),
31233 (gst_buffer_set_caps):
31234 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31235 (gst_caps_replace):
31236 * gst/gstmessage.c: (gst_message_new),
31237 (gst_message_new_state_changed):
31238 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31239 (gst_pad_set_checkgetrange_function),
31240 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31241 (gst_pad_set_caps), (gst_pad_check_pull_range),
31242 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31244 * gst/gsttypefind.c: (gst_type_find_register):
31245 Make gst_caps_replace() work like other _replace() functions.
31246 Use _caps_replace() where possible.
31247 Make sure _message_new() initialises its field.
31248 Add gst_static_pad_template_get_caps()
31251 2005-04-18 Andy Wingo <wingo@pobox.com>
31253 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31254 on the peer, not the pad. I think that was a typo. Pass an extra
31255 arg to see if random access is possible. Activate the pads as
31256 PULL_RANGE if possible.
31258 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31260 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31261 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31264 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31266 * docs/faq/using.xml:
31267 Add note on gstreamer-properties (#154996).
31269 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31271 * docs/random/bbb/optional-properties:
31272 Some analysis on optional properties.
31274 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31276 * docs/gst/tmpl/gstelementfactory.sgml:
31277 * gst/gstelement.h:
31278 * gst/gstelementfactory.c: (gst_element_factory_init),
31279 (gst_element_factory_cleanup), (gst_element_register),
31280 (__gst_element_factory_add_static_pad_template),
31281 (gst_element_factory_get_static_pad_templates),
31282 (gst_element_factory_can_src_caps),
31283 (gst_element_factory_can_sink_caps):
31284 * gst/registries/Makefile.am:
31285 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31286 (gst_xml_registry_class_init), (gst_xml_registry_init),
31287 (gst_xml_registry_new), (gst_xml_registry_set_property),
31288 (gst_xml_registry_get_property), (get_time), (make_dir),
31289 (gst_xml_registry_get_perms_func),
31290 (plugin_times_older_than_recurse), (plugin_times_older_than),
31291 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31292 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31293 (add_to_char_array), (read_string), (read_uint), (read_enum),
31294 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31295 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31296 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31297 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31298 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31299 (gst_xml_registry_rebuild):
31300 * gst/registries/gstlibxmlregistry.h:
31301 * tools/gst-compprep.c: (main):
31302 * tools/gst-inspect.c: (print_pad_templates_info):
31303 * tools/gst-xmlinspect.c: (print_element_info):
31304 Use libxml2 for registry parsing, use staticpadtemplates in
31305 elementfactories. Makes gst_init() +/- 10x faster.
31307 2005-04-12 Wim Taymans <wim@fluendo.com>
31309 * gst/base/Makefile.am:
31310 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31311 (gst_basesink_pad_getcaps), (gst_basesink_init),
31312 (gst_basesink_event), (gst_basesink_change_state):
31313 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31314 (gst_basesrc_init), (gst_basesrc_query),
31315 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31316 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31317 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31318 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31319 (gst_basesrc_stop), (gst_basesrc_activate),
31320 (gst_basesrc_change_state):
31321 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31322 (helper_find_suggest), (gst_type_find_helper):
31323 * gst/base/gsttypefindhelper.h:
31324 * gst/elements/Makefile.am:
31325 * gst/elements/gstelements.c:
31326 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31327 (gst_fakesink_get_times), (gst_fakesink_event),
31328 (gst_fakesink_preroll), (gst_fakesink_render):
31329 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31330 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31331 (gst_fakesrc_get_property), (gst_fakesrc_create),
31332 (gst_fakesrc_start), (gst_fakesrc_stop):
31333 * gst/elements/gstfakesrc.h:
31334 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31335 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31336 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31337 (gst_filesrc_create_read), (gst_filesrc_create),
31338 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31339 (gst_filesrc_start):
31340 * gst/elements/gsttypefindelement.c:
31341 (gst_type_find_element_have_type), (gst_type_find_element_init),
31342 (start_typefinding), (stop_typefinding), (push_buffer_store),
31343 (gst_type_find_element_handle_event),
31344 (gst_type_find_element_chain),
31345 (gst_type_find_element_checkgetrange),
31346 (gst_type_find_element_getrange), (do_typefind),
31347 (gst_type_find_element_activate),
31348 (gst_type_find_element_change_state):
31349 * gst/elements/gsttypefindelement.h:
31350 * gst/gstpipeline.c: (pipeline_bus_handler):
31351 Added typefind helper.
31352 Small preroll fix in the base sink.
31353 Disable typefind code in basesrc.
31354 Crude port of typefindelement.
31358 2005-04-11 Wim Taymans <wim@fluendo.com>
31360 * check/gst/gstbus.c: (gstbus_suite):
31361 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31362 * check/gstcheck.h:
31363 Fix up the timeout so that the test does not fail.
31365 2005-04-06 Wim Taymans <wim@fluendo.com>
31368 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31369 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31370 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31371 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31372 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31373 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31374 (gst_basesrc_stop), (gst_basesrc_activate),
31375 (gst_basesrc_change_state), (basesrc_find_peek),
31376 (basesrc_find_suggest), (gst_basesrc_type_find):
31377 * gst/base/gstbasesrc.h:
31378 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31379 (gst_filesrc_class_init), (gst_filesrc_init),
31380 (gst_filesrc_finalize), (gst_filesrc_set_location),
31381 (gst_filesrc_set_property), (gst_filesrc_get_property),
31382 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31383 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31384 (gst_filesrc_create_read), (gst_filesrc_create),
31385 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31386 * gst/elements/gstfilesrc.h:
31387 * gst/gstelement.c: (gst_element_get_state_func),
31388 (gst_element_lost_state), (gst_element_pads_activate):
31389 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31390 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31391 (gst_pad_pull_range):
31393 More work on the generic source base class, implement seeking,
31395 Make filesrc extend the base source class.
31396 Added gst_pad_set_checkgetrange_function to GstPad.
31398 2005-04-06 Andy Wingo <wingo@pobox.com>
31400 * pkgconfig/gstreamer-base.pc.in:
31401 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31403 * pkgconfig/Makefile.am:
31404 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31406 2005-04-04 Wim Taymans <wim@fluendo.com>
31408 * gst/base/Makefile.am:
31410 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31411 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31412 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31413 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31414 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31415 (gst_basesrc_base_init), (gst_basesrc_class_init),
31416 (gst_basesrc_init), (gst_basesrc_get_formats),
31417 (gst_basesrc_get_query_types), (gst_basesrc_query),
31418 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31419 (gst_basesrc_set_property), (gst_basesrc_get_property),
31420 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31421 (gst_basesrc_loop), (gst_basesrc_activate),
31422 (gst_basesrc_change_state):
31423 * gst/base/gstbasesrc.h:
31424 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31425 (gst_fakesrc_class_init), (gst_fakesrc_init),
31426 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31427 (gst_fakesrc_get_property), (gst_fakesrc_create):
31428 * gst/elements/gstfakesrc.h:
31429 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31430 (gst_filesrc_open_file), (gst_filesrc_loop),
31431 (gst_filesrc_activate), (filesrc_find_peek),
31432 (gst_filesrc_type_find):
31433 Made base source class, make fakesrc extend it.
31434 Add comments to basesink class.
31435 Some filesrc cleanup.
31437 2005-03-31 David Schleef <ds@schleef.org>
31439 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31440 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31441 expected to link against libgstreamer.
31442 * gst/base/Makefile.am: link against libgstreamer
31443 * gst/elements/Makefile.am: same
31445 2005-03-31 Andy Wingo <wingo@pobox.com>
31447 * tests/instantiate/Makefile.am:
31448 * tests/instantiate/caps.c: Add test to test speed of caps copy
31451 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31452 GMemChunk to be fair.
31454 * gst/gsttrashstack.h: Remove warning about using the fallback
31455 trash stack implementation, it's still faster than malloc.
31457 2005-03-30 Andy Wingo <wingo@pobox.com>
31459 * tests/complexity.c: Add a copyright.
31461 2005-03-31 Wim Taymans <wim@fluendo.com>
31463 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31464 (gst_base_transform_class_init), (gst_base_transform_init),
31465 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31466 (gst_base_transform_get_property),
31467 (gst_base_transform_sink_activate),
31468 (gst_base_transform_src_activate),
31469 (gst_base_transform_change_state):
31470 * gst/base/gstbasetransform.h:
31471 * gst/elements/gstidentity.c: (gst_identity_class_init),
31472 (gst_identity_event), (gst_identity_check_perfect),
31473 (gst_identity_transform), (gst_identity_start),
31474 (gst_identity_stop):
31475 Added start/stop methods to transform base class so subclasses
31476 don't need to deal with state changes even.
31478 2005-03-31 Wim Taymans <wim@fluendo.com>
31480 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31481 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31483 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31484 (gst_pad_pull_range):
31485 Added rate to the discont event to prepare for variable speed
31486 and reverse playback.
31488 2005-03-29 David Schleef <ds@schleef.org>
31491 * testsuite/trigger/Makefile.am:
31492 * testsuite/trigger/trigger.c: A little example program to show
31493 how trigger-based elements can work.
31495 2005-03-29 Wim Taymans <wim@fluendo.com>
31497 * gst/base/Makefile.am:
31499 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31500 (gst_basesink_base_init), (gst_basesink_class_init),
31501 (gst_basesink_pad_getcaps), (gst_basesink_init),
31502 (gst_basesink_activate), (gst_basesink_change_state):
31503 * gst/base/gstbasesink.h:
31504 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31505 (gst_base_transform_base_init), (gst_base_transform_finalize),
31506 (gst_base_transform_class_init), (gst_base_transform_init),
31507 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31508 (gst_base_transform_event), (gst_base_transform_getrange),
31509 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31510 (gst_base_transform_set_property),
31511 (gst_base_transform_get_property),
31512 (gst_base_transform_sink_activate),
31513 (gst_base_transform_src_activate),
31514 (gst_base_transform_change_state):
31515 * gst/base/gstbasetransform.h:
31516 * gst/elements/gstidentity.c: (gst_identity_finalize),
31517 (gst_identity_class_init), (gst_identity_init),
31518 (gst_identity_event), (gst_identity_check_perfect),
31519 (gst_identity_transform), (gst_identity_set_property),
31520 (gst_identity_get_property), (gst_identity_change_state):
31521 * gst/elements/gstidentity.h:
31522 * gst/gstelement.c: (gst_element_get_state_func),
31523 (gst_element_lost_state), (gst_element_pads_activate):
31524 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31525 (gst_pad_check_pull_range), (gst_pad_pull_range):
31527 Simplify pad activation.
31528 Added function to check if pull_range can be performed.
31529 Error out when pulling inactive or flushing pads.
31530 Removed const from refcounted types as it does not make sense.
31531 Simplify pad templates in basesink
31532 Added base class for simple 1-to-1 transforms.
31533 Make identity subclass the base transform.
31535 2005-03-29 Andy Wingo <wingo@pobox.com>
31537 * docs/libs/gstreamer-libs-overrides.txt:
31538 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31539 really don't understand what's going on, but like whatever. I want
31542 * docs/gst/Makefile.am:
31543 * docs/libs/Makefile.am: Dist the overrides files.
31545 * check/Makefile.am (clean-local): Remove .libs directories.
31547 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31548 elements to EXTRA_DIST, so po/ files are happy.
31550 * po/POTFILES.in: Er, remove it here.
31552 * po/POTFILES: Remove gstspider.c.
31554 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31556 * docs/libs/gstreamer-libs-docs.sgml:
31557 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31560 * tests/complexity.c (main): Set the length of the preroll queue
31561 on the sinks to prevent a lockup.
31563 * libs/gst/dataprotocol/Makefile.am:
31564 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31565 the same as the one in check/gst-libs/gdp.c.
31567 * po/, docs/gst/: Commit automatic changes to docs and po files.
31569 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31570 the versioned libgstbase.
31572 * check/Makefile.am: Depend on an unversioned gst-register, seems
31573 to make autoconf happier.
31575 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31577 2005-03-28 Wim Taymans <wim@fluendo.com>
31580 * docs/design/part-gstelement.txt:
31581 * docs/design/part-negotiation.txt:
31582 * docs/design/part-preroll.txt:
31583 * docs/design/part-scheduling.txt:
31584 * docs/design/part-states.txt:
31586 * gst/base/Makefile.am:
31588 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31589 (gst_basesink_base_init), (gst_basesink_class_init),
31590 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31591 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31592 (gst_basesink_set_pad_functions),
31593 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31594 (gst_basesink_set_property), (gst_basesink_get_property),
31595 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31596 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31597 (gst_basesink_preroll_queue_push),
31598 (gst_basesink_preroll_queue_empty),
31599 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31600 (gst_basesink_event), (gst_basesink_get_times),
31601 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31602 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31603 (gst_basesink_loop), (gst_basesink_activate),
31604 (gst_basesink_change_state):
31605 * gst/base/gstbasesink.h:
31606 * gst/elements/Makefile.am:
31607 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31608 (gst_fakesink_class_init), (gst_fakesink_init),
31609 (gst_fakesink_set_property), (gst_fakesink_get_property),
31610 (gst_fakesink_get_times), (gst_fakesink_event),
31611 (gst_fakesink_preroll), (gst_fakesink_render),
31612 (gst_fakesink_change_state):
31613 * gst/elements/gstfakesink.h:
31614 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31615 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31616 * gst/gstelement.c: (gst_element_add_pad),
31617 (gst_element_get_state_func), (gst_element_abort_state),
31618 (gst_element_commit_state), (gst_element_lost_state),
31619 (gst_element_set_state), (gst_element_pads_activate):
31620 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31621 * gst/gstpipeline.c: (gst_pipeline_send_event),
31622 (gst_pipeline_change_state):
31623 Added state change code.
31624 Added/updated docs.
31625 Added sink base class, make fakesink extend the base class.
31626 Small cleanups in GstPipeline.
31628 2005-03-26 David Schleef <ds@schleef.org>
31630 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31631 is broken and should be implemented in a different library.
31632 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31633 * gst/gst.h: remove gstcpu.h
31634 * gst/gstcpu.c: remove
31635 * gst/gstcpu.h: remove
31636 * gst/Makefile.am.future: Remove this file. It's ancient.
31638 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31640 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31641 (gst_bin_send_event):
31642 Add default event/set_manager handlers. The set_manager handler
31643 takes care that the manager is distributed over kids that were
31644 already in the bin before the manager was set. The event handler
31645 is a utility virtual function that sends the event over all sinks,
31646 so that gst_element_send_event (bin, event); has the expected
31648 * gst/gstpad.c: (gst_pad_event_default):
31649 Re-install default event handling for discontinuities, so that
31650 seeking works without requiring hacks in applications or extra
31652 * gst/gstpipeline.c: (gst_pipeline_class_init),
31653 (gst_pipeline_send_event):
31654 Half hack, half utility: set a pipeline to PAUSED for seek events,
31655 since that is the only way we can guarantee a/v sync. Means that
31656 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31657 and it "just works".
31659 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31661 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31662 Lock/unlock mismatch.
31664 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31666 * docs/faq/gst-uninstalled:
31667 add gst-plugins-base
31668 * docs/gst/Makefile.am:
31669 don't error out until docs are fixed
31670 * docs/gst/gstreamer.types:
31673 2005-03-22 Wim Taymans <wim@fluendo.com>
31675 * check/Makefile.am:
31676 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31677 * gst/gststructure.c: (gst_structure_set_valist),
31678 (gst_structure_copy_conditional):
31679 Activated more tests.
31680 Added message test.
31681 Added G_TYPE_POINTER to GstStructure.
31684 2005-03-22 Wim Taymans <wim@fluendo.com>
31686 * docs/design/part-TODO.txt:
31687 * docs/design/part-events.txt:
31688 * docs/design/part-gstbin.txt:
31689 * docs/design/part-gstbus.txt:
31690 * docs/design/part-gstpipeline.txt:
31691 * docs/design/part-messages.txt:
31693 * gst/gstmessage.c:
31696 2005-03-21 Wim Taymans <wim@fluendo.com>
31698 * gst/gstbus.c: (gst_bus_post):
31699 Fix copy-and-paste error.
31701 2005-03-21 Wim Taymans <wim@fluendo.com>
31703 * check/Makefile.am:
31705 * gst/elements/Makefile.am:
31706 * gst/elements/gstelements.c:
31707 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31708 (gst_fakesink_event), (gst_fakesink_chain):
31709 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31710 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31711 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31712 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31713 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31714 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31715 (gst_fakesrc_loop), (gst_fakesrc_activate),
31716 (gst_fakesrc_change_state):
31717 * gst/elements/gstfakesrc.h:
31718 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31719 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31720 (gst_filesrc_open_file), (gst_filesrc_loop),
31721 (gst_filesrc_activate), (gst_filesrc_change_state),
31722 (filesrc_find_peek), (filesrc_find_suggest),
31723 (gst_filesrc_type_find):
31724 * gst/elements/gstidentity.c: (gst_identity_finalize),
31725 (gst_identity_class_init), (gst_identity_init),
31726 (gst_identity_proxy_getcaps), (identity_queue_push),
31727 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31728 (gst_identity_getrange), (gst_identity_chain),
31729 (gst_identity_sink_loop), (gst_identity_src_loop),
31730 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31731 (gst_identity_set_property), (gst_identity_get_property),
31732 (gst_identity_change_state):
31733 * gst/elements/gstidentity.h:
31734 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31735 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31736 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31737 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31738 (gst_tee_sink_activate):
31739 * gst/elements/gsttee.h:
31740 * gst/gst.c: (gst_register_core_elements), (init_post):
31742 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31743 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31744 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31745 (gst_bin_change_state):
31747 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31748 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31749 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31750 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31751 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31752 (bus_watch_callback), (bus_watch_destroy),
31753 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31754 (poll_timeout), (gst_bus_poll):
31758 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31759 (gst_element_post_message), (gst_element_message_full),
31760 (gst_element_get_state_func), (gst_element_get_state),
31761 (gst_element_abort_state), (gst_element_commit_state),
31762 (gst_element_lost_state), (gst_element_set_state),
31763 (gst_element_pads_activate), (gst_element_change_state),
31764 (gst_element_dispose), (gst_element_set_manager_func),
31765 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31766 (gst_element_set_manager), (gst_element_get_manager),
31767 (gst_element_set_bus), (gst_element_get_bus),
31768 (gst_element_set_scheduler), (gst_element_get_scheduler):
31769 * gst/gstelement.h:
31770 * gst/gstevent.c: (gst_event_new_segment_seek),
31771 (gst_event_new_flush):
31773 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31774 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31775 (gst_message_new_eos), (gst_message_new_error),
31776 (gst_message_new_warning), (gst_message_new_tag),
31777 (gst_message_new_state_changed), (gst_message_new_application),
31778 (gst_message_get_structure), (gst_message_parse_tag),
31779 (gst_message_parse_state_changed), (gst_message_parse_error),
31780 (gst_message_parse_warning):
31781 * gst/gstmessage.h:
31782 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31783 (gst_real_pad_set_property), (gst_pad_set_active),
31784 (gst_pad_is_active), (gst_pad_set_blocked_async),
31785 (gst_pad_set_blocked), (gst_pad_is_blocked),
31786 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31787 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31788 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31789 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31790 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31791 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31792 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31793 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31794 (gst_pad_set_caps), (gst_pad_configure_sink),
31795 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31796 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31797 (gst_real_pad_dispose), (gst_real_pad_finalize),
31798 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31799 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31800 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31802 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31803 (pipeline_bus_handler), (gst_pipeline_change_state),
31804 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31805 * gst/gstpipeline.h:
31807 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31808 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31809 (gst_queue_link_src), (gst_queue_bufferalloc),
31810 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31811 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31812 (gst_queue_loop), (gst_queue_handle_src_event),
31813 (gst_queue_handle_src_query), (gst_queue_src_activate),
31814 (gst_queue_change_state):
31816 * gst/gstscheduler.c: (gst_scheduler_init),
31817 (gst_scheduler_dispose), (gst_scheduler_create_task),
31818 (gst_scheduler_factory_create):
31819 * gst/gstscheduler.h:
31820 * gst/gststructure.c: (gst_structure_get_type),
31821 (gst_structure_copy_conditional):
31822 * gst/gststructure.h:
31823 * gst/gsttaginterface.h:
31824 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31825 (gst_task_init), (gst_task_dispose), (gst_task_create),
31826 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31832 * gst/schedulers/Makefile.am:
31833 * gst/schedulers/cothreads_compat.h:
31834 * gst/schedulers/entryscheduler.c:
31835 * gst/schedulers/faircothreads.c:
31836 * gst/schedulers/faircothreads.h:
31837 * gst/schedulers/fairscheduler.c:
31838 * gst/schedulers/gstbasicscheduler.c:
31839 * gst/schedulers/gstoptimalscheduler.c:
31840 * gst/schedulers/gthread-cothreads.h:
31841 * gst/schedulers/threadscheduler.c:
31842 (gst_thread_scheduler_task_get_type),
31843 (gst_thread_scheduler_task_class_init),
31844 (gst_thread_scheduler_task_init),
31845 (gst_thread_scheduler_task_start),
31846 (gst_thread_scheduler_task_stop),
31847 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31848 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31849 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31850 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31852 * libs/gst/Makefile.am:
31853 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31854 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31855 (gst_file_pad_parent_set):
31856 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31857 (gst_dp_event_from_packet):
31858 * tests/complexity.c: (main):
31859 * tests/mass_elements.c: (main):
31860 * testsuite/states/locked.c: (message_received), (main):
31861 * testsuite/states/parent.c: (main):
31862 * tools/gst-inspect.c: (print_element_flag_info),
31863 (print_implementation_info), (print_pad_info):
31864 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31866 * tools/gst-md5sum.c: (event_loop), (main):
31867 * tools/gst-typefind.c: (main):
31868 * tools/gst-xmlinspect.c: (print_element_info):
31870 Added GstBus for mainloop integration.
31871 Added GstMessage for sending notifications on the bus.
31872 Added GstTask as an abstraction for pipeline entry points.
31874 Removed Schedulers.
31875 Simplified GstQueue for multithreaded core.
31876 Made _link threadsafe, removed old capsnego.
31877 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31878 Added pad blocking functions.
31879 Reworked scheduling functions in GstPad to prepare for
31880 scheduling updates soon.
31881 Moved events out of data stream.
31882 Simplified GstEvent types.
31883 Added return values to push/pull.
31884 Removed clocking from GstElement.
31885 Added prototypes for state change function for next merge.
31886 Removed iterate from bins and state change management.
31887 Fixed some elements, disabled others for now.
31888 Fixed -inspect and -launch.
31889 Added check for GstBus.
31891 2005-03-10 Wim Taymans <wim@fluendo.com>
31893 * docs/design/part-MT-refcounting.txt:
31894 * docs/design/part-clocks.txt:
31895 * docs/design/part-gstelement.txt:
31896 * docs/design/part-gstobject.txt:
31897 * docs/design/part-standards.txt:
31898 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31899 (gst_bin_remove_func), (gst_bin_remove):
31903 * testsuite/clock/clock1.c: (main):
31904 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31906 * testsuite/dlopen/loadgst.c: (do_test):
31907 * testsuite/refcounting/bin.c: (add_remove_test1),
31908 (add_remove_test2), (main):
31909 * testsuite/refcounting/element.c: (main):
31910 * testsuite/refcounting/element_pad.c: (main):
31911 * testsuite/refcounting/pad.c: (main):
31912 * tools/gst-launch.c: (sigint_handler_sighandler):
31913 * tools/gst-typefind.c: (main):
31915 Added doc about clock.
31916 removed gst_bin_iterate_recurse_up(), marked methods
31918 Fix more testsuites.
31920 2005-03-09 Wim Taymans <wim@fluendo.com>
31922 * gst/gstpad.c: (gst_pad_get_direction),
31923 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31924 (gst_pad_collect_valist):
31925 * testsuite/bins/interface.c: (main):
31926 * testsuite/caps/audioscale.c: (test_caps):
31927 * testsuite/caps/caps.c: (test1), (test2), (test3):
31928 * testsuite/caps/deserialize.c: (main):
31929 * testsuite/caps/enumcaps.c: (main):
31930 * testsuite/caps/filtercaps.c: (main):
31931 * testsuite/caps/intersect2.c: (main):
31932 * testsuite/caps/random.c: (main):
31933 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31934 * testsuite/caps/sets.c: (check_caps):
31935 * testsuite/caps/simplify.c: (check_caps), (main):
31936 * testsuite/caps/subtract.c: (check_caps):
31937 Fix _pad_get_direction wrt ghostpads.
31938 Fix caps testsuite.
31940 2005-03-09 Wim Taymans <wim@fluendo.com>
31942 * check/Makefile.am:
31943 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31944 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31945 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31946 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31947 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31948 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31949 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31950 (bin_element_is_sink), (gst_bin_iterate_sinks),
31951 (gst_bin_iterate_all_by_interface):
31953 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31954 (gst_element_change_state), (gst_element_dispose),
31955 (gst_element_finalize), (gst_element_set_loop_function):
31956 * gst/gstelement.h:
31957 * gst/gstiterator.c: (find_custom_fold_func):
31958 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31959 (gst_pad_collectv), (gst_pad_collect_valist),
31960 (gst_pad_template_new):
31961 * gst/gstpipeline.c: (gst_pipeline_class_init),
31962 (gst_pipeline_dispose), (gst_pipeline_set_property),
31963 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31964 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31965 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31967 * gst/schedulers/entryscheduler.c:
31968 * gst/schedulers/gstbasicscheduler.c:
31969 (gst_basic_scheduler_cothreaded_chain),
31970 (gst_basic_scheduler_chain_add_element):
31971 * testsuite/bins/interface.c: (main):
31973 Added GstSystemClock test.
31974 Implemented clock distribution code in GstBin.
31975 Implemented iterate sinks method for future use.
31976 Rearranged gstelement.h
31977 Fix GstIterator comparison bug.
31978 Moved some code to GstPipeline, mostly clocking related.
31980 2005-03-09 Wim Taymans <wim@fluendo.com>
31983 * gst/gst_private.h:
31984 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31985 (gst_bin_remove_func), (gst_bin_remove),
31986 (gst_bin_get_by_name_recurse_up):
31987 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31988 (gst_clock_id_compare_func), (gst_clock_id_wait),
31989 (gst_clock_id_wait_async), (gst_clock_init),
31990 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31991 * gst/gstelement.h:
31992 * gst/gstinfo.c: (_gst_debug_init):
31994 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31995 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31997 Bump version number, we're now 0.9.0
31998 Add future debugging category.
31999 Fix NULL _unref() in _get_by_name_recurse_up
32000 Rearrange gstpad.h.
32003 2005-03-08 Wim Taymans <wim@fluendo.com>
32005 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32006 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32007 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32008 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32009 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32010 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32011 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32012 * gst/elements/gstidentity.c: (gst_identity_class_init):
32013 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32014 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32015 * gst/elements/gstshaper.c: (gst_shaper_class_init):
32016 * gst/elements/gststatistics.c: (gst_statistics_class_init):
32017 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32019 * gst/gstelement.c: (gst_element_class_init),
32020 (gst_element_base_class_init), (gst_element_init),
32021 (gst_element_get_random_pad), (gst_element_wait_state_change),
32022 (gst_element_change_state), (gst_element_dispose),
32023 (gst_element_finalize), (gst_element_set_loop_function):
32024 * gst/gstelement.h:
32025 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32026 * gst/gstthread.c: (gst_thread_class_init),
32027 (gst_thread_release_children_locks), (gst_thread_change_state):
32028 * gst/schedulers/gstbasicscheduler.c:
32029 (gst_basic_scheduler_loopfunc_wrapper),
32030 (gst_basic_scheduler_chain_wrapper),
32031 (gst_basic_scheduler_src_wrapper),
32032 (gst_basic_scheduler_remove_element):
32033 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32034 Remove threadsafe properties. Fix elements because GObject
32035 complains when installing a property before declaring a
32036 set/get_property handler.
32037 Rearrange gstelement.h file, use STATE macros for state locks.
32038 Free mutexes in the finalize method instead of dispose.
32040 2005-03-08 Wim Taymans <wim@fluendo.com>
32042 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32043 * gst/gstthread.c: (gst_thread_release_children_locks):
32044 Added parentage check.
32045 Fix build og GstThread again.
32047 2005-03-08 Wim Taymans <wim@fluendo.com>
32049 * docs/design/part-MT-refcounting.txt:
32050 * docs/design/part-conventions.txt:
32051 * docs/design/part-gstobject.txt:
32052 * docs/design/part-relations.txt:
32053 * docs/design/part-standards.txt:
32054 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32055 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32056 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32057 (gst_bin_iterate_all_by_interface):
32060 * gst/gstelement.c: (gst_element_class_init),
32061 (gst_element_change_state), (gst_element_set_loop_function):
32062 * gst/gstelement.h:
32063 * gst/gstiterator.c:
32064 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32065 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32066 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32067 (gst_object_set_parent), (gst_object_unparent),
32068 (gst_object_check_uniqueness):
32070 Docs updates, clean up some headers.
32072 2005-03-07 Wim Taymans <wim@fluendo.com>
32074 * check/.cvsignore:
32075 * check/Makefile.am:
32076 * check/gst-libs/.cvsignore:
32077 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32078 * check/gst/.cvsignore:
32079 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32080 (START_TEST), (gstbus_suite), (main):
32081 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32082 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32083 (gst_data_suite), (main):
32084 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32085 (add_fold_func), (gstiterator_suite), (main):
32086 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32087 (thread_name_object), (thread_name_object_default),
32088 (gst_object_name_compare), (gst_object_suite), (main):
32089 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32090 (gst_pad_suite), (main):
32091 * check/gstcheck.c: (gst_check_log_message_func),
32092 (gst_check_log_critical_func), (gst_check_init):
32093 * check/gstcheck.h:
32094 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32095 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32098 2005-03-07 Wim Taymans <wim@fluendo.com>
32100 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32101 (gst_list_iterator_next), (gst_list_iterator_resync),
32102 (gst_list_iterator_free), (gst_iterator_new_list),
32103 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32104 (gst_iterator_free), (gst_iterator_push), (filter_next),
32105 (filter_resync), (filter_uninit), (filter_free),
32106 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32107 (gst_iterator_foreach), (find_custom_fold_func),
32108 (gst_iterator_find_custom):
32109 * gst/gstiterator.h:
32110 Added missing files.
32112 2005-03-07 Wim Taymans <wim@fluendo.com>
32116 * docs/design/part-MT-refcounting.txt:
32117 * docs/design/part-conventions.txt:
32118 * docs/design/part-gstobject.txt:
32119 * docs/design/part-relations.txt:
32120 * examples/mixer/mixer.c: (main):
32121 * examples/thread/thread.c: (eos), (main):
32123 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32124 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32125 (gst_spider_plug_from_srcpad):
32126 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32127 (gst_spider_identity_change_state),
32128 (gst_spider_identity_sink_loop_type_finding):
32129 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32130 * gst/elements/gstidentity.c: (gst_identity_init):
32131 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32132 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32133 * gst/elements/gsttypefindelement.c: (free_entry):
32136 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32137 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32138 (gst_bin_set_index), (gst_bin_set_element_sched),
32139 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32140 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32141 (gst_bin_iterate_elements), (iterate_child_recurse),
32142 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32143 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32144 (compare_interface), (gst_bin_get_by_interface),
32145 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32147 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32148 (gst_buffer_default_free), (gst_buffer_default_copy),
32149 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32150 (gst_buffer_create_sub):
32152 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32153 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32154 (gst_caps_unref), (gst_static_caps_get),
32155 (gst_caps_remove_and_get_structure), (gst_caps_append),
32156 (gst_caps_append_structure), (gst_caps_remove_structure),
32157 (gst_caps_copy_nth), (gst_caps_set_simple),
32158 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32159 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32160 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32161 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32162 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32163 (gst_caps_structure_figure_out_union),
32164 (gst_caps_switch_structures), (gst_caps_do_simplify),
32165 (gst_caps_replace), (gst_caps_from_string),
32166 (gst_caps_copy_conditional):
32168 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32169 (_gst_clock_id_free), (gst_clock_id_unref),
32170 (gst_clock_id_compare_func), (gst_clock_id_wait),
32171 (gst_clock_id_wait_async), (gst_clock_class_init),
32172 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32173 (gst_clock_get_time), (gst_clock_set_time_adjust),
32174 (gst_clock_set_property), (gst_clock_get_property):
32177 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32178 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32180 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32181 (gst_element_requires_clock), (gst_element_provides_clock),
32182 (gst_element_set_clock), (gst_element_clock_wait),
32183 (gst_element_wait), (gst_element_set_time_delay),
32184 (gst_element_is_indexable), (gst_element_add_pad),
32185 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32186 (pad_compare_name), (gst_element_get_static_pad),
32187 (gst_element_request_pad), (gst_element_get_request_pad),
32188 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32189 (gst_element_class_get_pad_template_list),
32190 (gst_element_class_get_pad_template), (gst_element_error_func),
32191 (gst_element_get_random_pad), (gst_element_get_event_masks),
32192 (gst_element_send_event), (gst_element_seek),
32193 (gst_element_get_query_types), (gst_element_query),
32194 (gst_element_get_formats), (gst_element_convert),
32195 (gst_element_is_locked_state), (gst_element_set_locked_state),
32196 (gst_element_sync_state_with_parent), (gst_element_change_state),
32197 (gst_element_finalize), (gst_element_yield),
32198 (gst_element_interrupt), (gst_element_set_scheduler),
32199 (gst_element_get_scheduler), (gst_element_set_loop_function):
32200 * gst/gstelement.h:
32202 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32203 (gst_format_get_by_nick), (gst_format_get_details),
32204 (gst_format_iterate_definitions):
32206 * gst/gstindex.c: (gst_index_gtype_resolver):
32209 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32210 (gst_mem_chunk_free):
32211 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32212 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32213 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32214 (gst_object_dispatch_properties_changed),
32215 (gst_object_set_name_default), (gst_object_set_name),
32216 (gst_object_get_name), (gst_object_set_name_prefix),
32217 (gst_object_get_name_prefix), (gst_object_set_parent),
32218 (gst_object_get_parent), (gst_object_unparent),
32219 (gst_object_check_uniqueness), (gst_object_save_thyself),
32220 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32221 (gst_object_set_property), (gst_object_get_property),
32222 (gst_object_get_path_string):
32224 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32225 (gst_real_pad_init), (gst_real_pad_get_property),
32226 (gst_pad_custom_new), (gst_pad_get_direction),
32227 (gst_pad_set_active), (gst_pad_is_active),
32228 (gst_pad_set_event_function), (gst_pad_is_linked),
32229 (gst_pad_link_free), (gst_pad_link_intersect),
32230 (gst_pad_link_fixate), (gst_pad_set_caps),
32231 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32232 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32233 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32234 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32235 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32236 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32237 (gst_pad_realize), (gst_pad_get_allowed_caps),
32238 (gst_real_pad_dispose), (gst_real_pad_finalize),
32239 (gst_pad_collectv), (gst_pad_collect_valist),
32240 (gst_pad_template_dispose), (gst_pad_template_new),
32241 (gst_pad_get_internal_links):
32243 * gst/gstpipeline.c: (gst_pipeline_dispose),
32244 (gst_pipeline_change_state):
32245 * gst/gstpipeline.h:
32247 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32248 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32249 * gst/gstpluginfeature.h:
32250 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32251 * gst/gstquery.c: (_gst_query_type_initialize),
32252 (gst_query_type_register), (gst_query_type_get_by_nick),
32253 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32255 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32256 * gst/gstscheduler.c: (gst_scheduler_add_element),
32257 (gst_scheduler_factory_create):
32258 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32259 (gst_structure_free), (gst_structure_set_name),
32260 (gst_structure_id_set_value), (gst_structure_set_value),
32261 (gst_structure_set_valist), (gst_structure_remove_field),
32262 (gst_structure_remove_fields),
32263 (gst_structure_remove_fields_valist),
32264 (gst_structure_remove_all_fields), (gst_structure_foreach),
32265 (gst_structure_map_in_place),
32266 (gst_caps_structure_fixate_field_nearest_int),
32267 (gst_caps_structure_fixate_field_nearest_double):
32268 * gst/gststructure.h:
32269 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32270 (gst_system_clock_init), (gst_system_clock_dispose),
32271 (gst_system_clock_async_thread),
32272 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32273 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32274 * gst/gstsystemclock.h:
32275 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32276 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32277 * gst/gsttaginterface.c:
32278 * gst/gstthread.c: (gst_thread_dispose),
32279 (gst_thread_release_children_locks), (gst_thread_change_state),
32280 (gst_thread_main_loop):
32281 * gst/gsttrashstack.h:
32282 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32284 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32285 (gst_element_request_pad), (gst_element_get_pad_from_template),
32286 (gst_element_request_compatible_pad),
32287 (gst_element_get_compatible_pad_filtered),
32288 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32289 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32290 (gst_element_link_many), (gst_element_link),
32291 (gst_element_link_pads), (gst_element_unlink_pads),
32292 (gst_element_unlink_many), (gst_element_unlink),
32293 (gst_pad_can_link_filtered), (gst_pad_can_link),
32294 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32295 (gst_object_default_error), (gst_bin_add_many),
32296 (gst_bin_remove_many), (gst_element_populate_std_props),
32297 (gst_element_class_install_std_props), (gst_buffer_merge),
32298 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32299 (link_fold_func), (gst_pad_proxy_setcaps):
32301 * gst/gstvalue.c: (gst_value_deserialize_string):
32302 * gst/parse/grammar.y:
32303 * gst/schedulers/gstbasicscheduler.c:
32304 (gst_basic_scheduler_cothreaded_chain),
32305 (gst_basic_scheduler_chain_recursive_add),
32306 (gst_basic_scheduler_pad_link):
32307 * gst/schedulers/gstoptimalscheduler.c:
32308 (get_group_schedule_function),
32309 (gst_opt_scheduler_state_transition),
32310 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32311 * libs/gst/bytestream/bytestream.c:
32312 * libs/gst/dataprotocol/dataprotocol.c:
32313 (gst_dp_header_from_buffer):
32316 * tests/threadstate/threadstate2.c: (eos):
32317 * tools/gst-compprep.c: (main):
32318 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32319 (print_pad_info), (print_children_info):
32320 * tools/gst-launch.c: (idle_func), (main):
32321 * tools/gst-md5sum.c: (idle_func), (main):
32322 * tools/gst-xmlinspect.c: (print_element_info):
32323 First THREADED backport attempt, focusing on adding locks and
32324 making sure the API is threadsafe. Needs more work. More docs
32327 2005-02-24 Andy Wingo <wingo@pobox.com>
32329 * tests/bench-complexity.scm:
32330 * tests/complexity.gnuplot: New files, good for running complexity
32333 * tests/Makefile.am:
32334 * tests/complexity.c: New test, sets up N elements, at each level
32335 teeing into M streams per element. Eeeenteresting.
32337 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32338 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32339 running bench-mass_elements.scm.
32341 * tests/bench-mass_elements.scm: New script, runs mass_elements
32342 for various numbers of identities, outputting the results to a
32343 file. Requires guile 1.6. Just for testing.
32345 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32347 * gst/schedulers/fairscheduler.c:
32348 compile with debug disabled
32350 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32353 hunting season on 0.9 is now OPEN