1 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * gst/gst.c: (init_post):
4 Ref new enum type in gst_init.
6 * win32/common/libgstreamer.def:
7 Add recently-added API.
9 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
11 * docs/gst/gstreamer-sections.txt::
12 * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
13 * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
14 (gst_plugin_class_init), (gst_plugin_list_free),
15 (gst_plugin_ext_dep_get_env_vars_hash),
16 (_priv_plugin_deps_env_vars_changed),
17 (gst_plugin_ext_dep_extract_env_vars_paths),
18 (gst_plugin_ext_dep_get_hash_from_stat_entry),
19 (gst_plugin_ext_dep_direntry_matches),
20 (gst_plugin_ext_dep_scan_dir_and_match_names),
21 (gst_plugin_ext_dep_scan_path_with_filenames),
22 (gst_plugin_ext_dep_get_stat_hash),
23 (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
24 (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
25 (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
26 * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
27 (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
28 (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
29 (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
30 (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
31 (GstPluginDependencyFlags), (GstPluginFilter):
32 * gst/gstregistry.c: (gst_registry_scan_path_level):
33 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
34 (gst_registry_binary_save_plugin_dep),
35 (gst_registry_binary_save_plugin),
36 (gst_registry_binary_load_feature),
37 (gst_registry_binary_load_plugin_dep_strv),
38 (gst_registry_binary_load_plugin_dep),
39 (gst_registry_binary_load_plugin):
40 * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
41 (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
42 * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
43 Add API for making a GStreamer plugin 'dependent' on external files,
44 directories or environment variables, so that GStreamer knows when
45 it needs to re-load GStreamer plugins that wrap other plugin systems.
47 API: add gst_plugin_add_dependency()
48 API: add gst_plugin_add_dependency_simple()
50 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
52 * docs/faq/gst-uninstalled:
53 Add libgstapp-0.10 from -base to search path and remove the old
54 lib from -bad from the search path.
56 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
58 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
59 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
60 Release the object lock before calling the query convert pad functions
63 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
65 * gst/gstbus.c: (gst_bus_wakeup_main_context):
66 The lock order should be maincontext > OBJECT_LOCK so we need to release
67 the object lock when waking up the mainloop to avoid deadlocks.
69 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
71 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
72 (gst_bin_change_state_func):
73 Use an iterator to set the clock and the index so that we can release
74 the object lock appropriately. Fixes #566393.
76 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
78 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
79 Use the name of the pads instead of a pointer, helps in debugging.
81 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
83 * gst/gstindex.c: (gst_index_get_type):
84 Add a debugging category for GstIndex, first little step in making
87 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
89 * gst/gstelement.c: (gst_element_message_full),
90 (gst_element_pads_activate):
91 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
92 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
93 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
94 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
95 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
96 Assign debug statements to relevant categories instead of the 'default'
97 category so they don't get lost in debugging.
99 2009-01-01 Stefan Kost <ensonic@users.sf.net>
101 * gst/gstdebugutils.c:
102 Add some ideas, how to make the graph smaller.
105 Add a comment from a debug session.
107 * libs/gst/base/gstbasetransform.c:
110 * libs/gst/controller/gstinterpolationcontrolsource.c:
113 * plugins/elements/gstcapsfilter.c:
116 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
118 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
119 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
120 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
121 (gst_bus_create_watch):
122 Make GstBusSource work with non-default main contexts (#562170).
124 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
125 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
126 Add test case for GstBusSource with a non-default main context.
128 * tests/check/libs/.cvsignore:
131 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
133 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
135 Wrap multi-line macros in G_STMT_{START|END}.
137 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
139 * docs/gst/gstreamer-sections.txt:
142 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
143 (gst_query_parse_uri):
145 API: Add URI query type. This is useful to query the URI
146 of a sink/source element and can be used by demuxers that
147 need to get data from other files.
148 This query should go upstream by default.
150 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
151 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
153 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
154 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
155 (gst_file_src_query):
158 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
161 * tests/check/gst/gstghostpad.c:
162 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
163 That would cause the ghostpad to emit notify::caps two times (fist
164 from gst_pad_set_caps() and after from on_src_target_notify()).
166 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
168 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
170 Add some more unit-tests for the ghostpad notify signal, one of which
173 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
175 * win32/common/libgstreamer.def:
176 Add gst_tag_setter_reset_tags to the list of exported symbols.
178 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
181 * tests/check/gst/gstghostpad.c:
182 In a source ghostpad, when caps are changed in the target pad, the
183 change needs to be reflected in the ghostpad.
186 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
188 * gst/gstutils.c: (gst_element_found_tags_for_pad):
189 Add FIXME for 0.11 to set the pad as message source and not
190 the element. Otherwise it's impossible to detect for which
191 pad the tags were found without adding an event probe
192 or something similar to the pad.
194 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
196 * docs/faq/general.xml:
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 Rename api added in previous commit and add since tag to docs.
205 API: gst_tag_setter_reset_tags()
207 2008-12-16 Stefan Kost <ensonic@users.sf.net>
209 * docs/gst/gstreamer-sections.txt:
210 * gst/gsttagsetter.c:
211 * gst/gsttagsetter.h:
212 Add function to reset tagsetter for element reuse.
214 2008-12-16 Stefan Kost <ensonic@users.sf.net>
217 Avoid copy of empty taglist.
219 2008-12-16 Stefan Kost <ensonic@users.sf.net>
222 * tests/check/gst/gsttag.c:
223 More complete unit tests. Fix handling of empty taglists (they were
226 2008-12-15 Stefan Kost <ensonic@users.sf.net>
229 * gst/gsttagsetter.c:
230 Update GstTagSetter and GstTagMergeMode documentation. Mention
231 that tags can come from events and from application. Fix example.
233 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
235 * docs/design/part-TODO.txt:
236 Remove the seqnum entry that we implemented in 0.10 already.
237 Add entry about removing the format return value for queries.
239 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
241 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
242 (gst_base_sink_init), (gst_base_sink_set_property),
243 (gst_base_sink_get_property):
244 Expose the render-delay as a property so things like appsink can use it
245 to tweak the synchronisation.
247 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
249 * libs/gst/check/gstcheck.h: Allow check tests to use
250 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
251 CK_FORK=no to be used with multiple check test that use threads.
253 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
255 * gst/gstutils.c: (gst_element_get_compatible_pad):
256 Fix a caps memory leak introduced by the last change.
258 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
260 * gst/gstutils.c: (gst_element_get_compatible_pad):
261 Check if the caps of the pads are compatible before returning
262 a pad and claiming it is compatible. This, among other things,
263 fixes a bug with gst-launch where an incompatible pad is chosen
264 and linking fails. Fixes bug #544003.
266 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
268 * libs/gst/check/gstcheck.c: (gst_check_init):
269 Revert accidentially commited patch for bug #404631 which
270 tries to print a backtrace if a testcase is terminated by
271 a signal. This code was never activated as the corresponding
272 configure.ac change wasn't committed.
274 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
276 * tests/check/libs/controller.c: (GST_START_TEST):
277 This test should return TRUE now as syncing an uncontrolled
278 object will succeed now (there's nothing to sync).
280 2008-12-09 Stefan Kost <ensonic@users.sf.net>
282 * libs/gst/controller/gstcontroller.c:
283 Aggregate return value for gst_controller_sync_values(). More info in
284 logging. Always set values on first sync-call.
286 * libs/gst/controller/gstcontrolsource.c:
289 * libs/gst/controller/gsthelper.c:
290 Fix return code and comment.
292 2008-12-09 Stefan Kost <ensonic@users.sf.net>
294 * tools/gst-launch.1.in:
295 Fix description of how to specify a type in caps. Fixes #553873.
296 Also ranges and list contain values and not property-assignments.
298 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
300 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
301 Check for changed pads-list before checking the last returned
302 GstFlowReturn because the pad could have been removed and we
303 need to ignore the value in that case.
305 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
307 * libs/gst/base/gstbasetransform.c:
308 (gst_base_transform_prepare_output_buffer),
309 (gst_base_transform_getrange), (gst_base_transform_chain):
310 * libs/gst/base/gstbasetransform.h:
311 Add vmethod that is called before we start the transform and which can
312 be used to configure the transform, such as dynamic properties.
314 2008-12-05 David Schleef <ds@schleef.org>
317 Search for plugins on win32 based on the location of the
318 gstreamer DLL. Fixes #548786
320 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
323 Apparently AC_CONFIG_MACRO_DIR breaks when using more
324 than one macro directory, reverting last change.
326 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
329 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
332 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
334 Patch by: Cygwin Ports maintainer
335 <yselkowitz at users dot sourceforge dot net>
339 Require gettext 0.17 because older versions don't mix with libtool
340 2.2. At build time an older gettext version will still work.
343 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
345 Patch by: 이문형 <iwings at gmail dot com>
347 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
348 Adds support for FD_CONNECT event (win32). See #562258.
350 2008-11-24 Stefan Kost <ensonic@users.sf.net>
352 * libs/gst/base/gstbasesink.c:
353 Turn comment into gtk-doc comment.
355 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
357 * libs/gst/base/gstbasetransform.c:
358 (gst_base_transform_acceptcaps):
359 Revert quick accepcaps attempt, it's not fully equivalent to the old
360 behaviour and thus causes regressions.
362 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
364 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
367 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
369 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
371 * gst/gstregistry.c: (gst_registry_scan_path_level):
372 Reduce the number of stat() calls for every file from three times
373 to one time. Fixes bug #560360.
375 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
377 * libs/gst/base/gstbasetransform.c:
378 (gst_base_transform_acceptcaps):
379 Rename a variable to make the code clearer.
381 2008-11-21 Stefan Kost <ensonic@users.sf.net>
383 * plugins/elements/gstidentity.c:
384 Don't warning on offset==-1. Taken from _check_imperfect_offset().
386 2008-11-21 Michael Smith <msmith@songbirdnest.com>
388 * plugins/elements/gstfilesrc.c:
389 Check for localhost in URI was backwards, fix it. Fixes unit test.
391 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
393 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
394 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
395 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
396 Add beginnings of a more optimized acceptcaps function than the default
399 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
401 * gst/gstpad.c: (gst_pad_accept_caps):
402 Avoid getting the acceptcaps function too early.
404 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
406 * tools/gst-launch.c: (event_loop):
407 Make gst-launch handle LATENCY messages and make it recalculate the
410 2008-11-20 Michael Smith <msmith@songbirdnest.com>
412 * plugins/elements/gstfilesrc.c:
413 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
414 out own slightly incorrect version. Fixes use of some paths on
417 2008-11-20 Michael Smith <msmith@songbirdnest.com>
419 * gst/gstregistrybinary.c:
420 In win32 codepath, if we fail to write the registry, create the
421 directory for it and try again, matching the behaviour in non-win32
424 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
426 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
427 Changing the render delay changes the latency and so we must post a
430 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
434 Add GstQueryType for custom queries instead of having to use the
435 not-so-very-convenient registration infrastructure to register new
438 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
440 Patch by: Andrew Feren <acferen at yahoo dot com>
442 * gst/gstobject.c: (gst_object_default_deep_notify):
443 Unref the GEnumClass after usage again. Fixes bug #561501.
445 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
447 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
448 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
449 (gst_bin_change_state_func):
451 Add do-latency signal with the old default fallback implementation. This
452 allows for custom latency calculations for when the default is not
454 API: GstBin::do-latency signal.
456 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
458 * win32/common/libgstreamer.def:
459 Add new symbols to .def file.
461 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
463 * docs/gst/gstreamer-sections.txt:
464 * gst/gstbin.c: (gst_bin_recalculate_latency),
465 (gst_bin_change_state_func):
467 Add method to recalculate and redistribute the latency on a bin.
468 API: gst_bin_recalculate_latency().
470 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
473 Document the free_func.
475 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
477 * libs/gst/controller/gstinterpolation.c:
478 * libs/gst/controller/gstlfocontrolsource.c:
479 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
480 as it is mapped to a cast on non-win32 platforms.
482 2008-11-17 Stefan Kost <ensonic@users.sf.net>
484 * libs/gst/controller/gstcontroller.c:
485 * libs/gst/controller/gstcontrollerprivate.h:
486 Keep last-value and only call set_property if value has changed. This
487 supresses all the g_object_notifies we would trigger otherwise. It
488 also allows the user to chage the value while there is no controller
491 2008-11-17 Stefan Kost <ensonic@users.sf.net>
494 Don't crash if either of the string GValues is empty.
496 2008-11-17 Andy Wingo <wingo@pobox.com>
498 * tools/gst-inspect.c (print_all_uri_handlers): New function,
499 prints a summary of what URI schemes are supported by what
501 (main): Plumb in support for --uri-handlers or -u, and fix the
502 argc check for -a and -u.
504 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
507 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
508 conversion functions.
510 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
512 * gst/gstbuffer.c: (gst_buffer_finalize):
513 Avoid costly typechecking for trivially correct pointers.
515 * gst/gstpoll.c: (gst_poll_wait):
516 Add some G_LIKELY here and there.
518 * libs/gst/base/gstadapter.c: (gst_adapter_push):
521 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
523 * docs/random/wtay/poll-timeout:
526 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
528 * tests/old/testsuite/caps/intersection.c: (main):
529 * tests/old/testsuite/plugin/loading.c: (main):
530 Remove references to deprecated API g_mem_chunk*.
533 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
535 * tools/gst-inspect.c: (main):
536 Add --plugin option. Fixes #560301.
538 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
540 * docs/random/wtay/poll-timeout:
541 Quick braindump for a possible (not totally verified) atomic case.
543 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
545 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
546 (gst_registry_binary_initialize_magic),
547 (gst_registry_binary_write_cache),
548 (gst_registry_binary_check_magic):
549 * gst/gstregistrybinary.h:
550 Don't write and check a CRC for the binary registry file. It's
551 guaranteed that the registry is completely written (it's first written
552 to a temporary file and then moved) and if the registry was corrupted
553 by some hardware failure we would have bigger problems.
555 Bump binary registry version to 0.10.21.1 for this as it's an
556 incompatible change and to ensure that the registry gets rebuild
559 This saves some milliseconds for reading/writing the registry.
562 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
564 * docs/random/wtay/poll-timeout:
565 Some pseudo code for how we could implement clock timeouts with GstPoll.
567 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
569 * plugins/elements/gstfilesink.c:
570 Update Author string to match others.
572 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
574 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
575 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
576 being fixed and inline the trivial check.
578 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
580 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
581 (gst_caps_merge_structure), (gst_caps_get_structure),
582 (gst_caps_copy_nth), (gst_caps_set_simple),
583 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
584 (gst_caps_is_equal_fixed), (gst_caps_intersect),
585 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
586 (gst_caps_to_string):
587 Callgrind micro optimisations.
588 Avoid array bounds checks and force inline of trivial function.
590 * gst/gstobject.c: (gst_object_set_name_default):
591 -1 is equivalent to letting glib to the strlen but then there is more
592 room for optimisations and it's not our fault.
594 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
595 no need to clear the array, we're cool.
597 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
598 The most common _is_fixed() check is done on fundamental glib base
599 types so we check this first instead of doing a huge amount of
600 useless GST_TYPE_ARRAY calls.
602 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
605 Add a SKIP seek flag for use with advanced trickmodes.
606 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
608 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
610 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
611 No need to memset, we can clear the value ourselves.
613 * gst/gstvalue.c: (gst_type_is_fixed),
614 (gst_value_get_compare_func):
615 Some optimisations from a few callgrind sessions:
616 When checking if a type is fixed, check for trivial fundamental types
617 first before checking types for which we need to get the type followed
618 by the heavy duty type checks, this reduces the amount of
619 g_type_fundamental() calls a lot.
620 When getting the compare function, first check for our registered types.
621 If that fails, do the heavy duty g_type_is_a() checks, reduces the
622 amount of g_type_is_a() considerably.
624 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
626 * docs/design/part-TODO.txt:
627 Mumble something about removing GstXML.
629 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
631 * gst/gstbin.c: (gst_bin_handle_message_func):
632 Get the seqnum before we dispose the message.
634 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
636 * docs/design/part-TODO.txt:
637 Refer to the framestepping document.
639 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
641 * gst/gstbin.c: (bin_handle_async_start),
642 (gst_bin_handle_message_func), (gst_bin_query):
643 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
644 (gst_base_sink_event), (gst_base_sink_change_state):
645 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
646 (gst_base_src_loop), (gst_base_src_change_state):
647 Copy seqnums from events to messages so that they can all be related
650 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
652 * tools/gst-launch.c: (event_loop):
653 Print the message seqnums.
655 2008-11-04 Andy Wingo <wingo@pobox.com>
657 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
659 2008-11-04 Andy Wingo <wingo@pobox.com>
661 Add sequence numbers to events and messages. See #559250.
663 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
667 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
668 events with a new sequence number, and copy it when copying.
669 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
670 an event's sequence number.
673 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
674 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
677 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
679 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
681 * docs/manual/advanced-position.xml:
682 * docs/manual/basics-bins.xml:
683 * docs/manual/basics-bus.xml:
684 * docs/manual/basics-pads.xml:
685 * docs/manual/intro-gstreamer.xml:
686 * docs/manual/intro-preface.xml:
687 Some Application Development Manual fixes thanks to
688 Andrew Feren. Fixes #558459.
690 2008-11-03 Stefan Kost <ensonic@users.sf.net>
692 * gst/gstregistrybinary.c:
693 Don't bother with the GTimer if we don't output the results.
695 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
697 Patch by: David Schleef <ds@schleef.org>
699 * libs/gst/net/Makefile.am:
700 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
702 2008-10-31 Stefan Kost <ensonic@users.sf.net>
704 * gst/gstregistrybinary.c:
705 Oh my, studip, stupid me. Remove double stat() call.
707 2008-10-31 Stefan Kost <ensonic@users.sf.net>
710 Use g_unlink instead of unlink.
712 * gst/gststructure.c:
721 Formatting & whitespaces.
723 2008-10-31 Stefan Kost <ensonic@users.sf.net>
725 * plugins/elements/gstidentity.c:
726 Doc typo. Use return value of parent_class->event.
728 * plugins/elements/gsttypefindelement.c:
729 Chain up at the end for consistency.
731 2008-10-30 Stefan Kost <ensonic@users.sf.net>
734 * docs/gst/gstreamer-docs.sgml:
735 * docs/gst/gstreamer-sections.txt:
736 * docs/gst/running.xml:
737 * docs/libs/gstreamer-libs-docs.sgml:
738 Change to xinclude based build - its faster and easier to maintain.
740 2008-10-30 Stefan Kost <ensonic@users.sf.net>
742 * gst/gstregistrybinary.c:
743 * gst/gstregistryxml.c:
744 Use g_unlink() as none of these are directories.
746 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
748 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
751 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
753 * libs/gst/base/gstbasetransform.c:
754 (gst_base_transform_find_transform), (gst_base_transform_getrange):
755 If we have a fixate function, call it even if we already have fixed caps
756 because the subclass might add some caps. Makes audioconvert add a
757 default channel layout.
759 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
761 * libs/gst/base/gstbasetransform.c:
762 (gst_base_transform_prepare_output_buffer),
763 (gst_base_transform_getrange):
764 Clear the output buffer variable.
765 Cleanups to the error path in the getrange function.
768 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
770 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
771 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
772 Use gst_buffer_try_new_and_alloc() and handle errors instead of
773 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
776 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
778 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
779 Set the last_stop to a more meaningful position when configuring the
780 segment. ie. the start/stop of the segment or clipped against the
781 updated segment boundaries.
783 * tests/check/gst/gstsegment.c: (GST_START_TEST):
784 Add some unit tests for the last_stop.
786 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
788 * libs/gst/base/gstbytereader.c:
789 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
792 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
794 * docs/gst/gstreamer-sections.txt:
796 API: Move float endianness conversion macros from libgstfloatcast
797 to core as it's useful in general, even in core. Fixes bug #555196.
798 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
799 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
800 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
802 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
803 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
804 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
805 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
807 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
809 * docs/libs/gstreamer-libs-sections.txt:
810 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
811 (gst_byte_reader_peek_data):
812 * libs/gst/base/gstbytereader.h:
813 * win32/common/libgstbase.def:
814 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
815 to get a pointer to the data at the current position and have
818 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
821 Fix a bug in the output of the configure script summary
822 when --gst-disable-registry is supplied
824 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
826 * libs/gst/base/gstbitreader.c:
827 * libs/gst/base/gstbytereader.c:
828 Fix the names of 2 functions in the docs strings.
830 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
832 * libs/gst/base/gstbasetransform.c:
833 (gst_base_transform_prepare_output_buffer),
834 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
835 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
836 refcount problems as seen in banshee and maybe also in farsight2.
837 Remove atomic int now that we need to take the lock anyways.
839 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
841 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
842 (gst_base_sink_default_prepare_seek_segment),
843 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
844 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
845 (gst_base_sink_query):
846 Implement more seeking in pull mode.
847 Use pad convert functions to convert position to the requested format.
848 Fix position/duration reporting in pull mode.
849 Implement position and duration reporting in other formats than time.
851 * libs/gst/base/gstbasesink.h:
852 Add member to keep track of when the segment is playing.
854 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
856 * gst/gstpad.c: (gst_pad_configure_src):
857 When we use gst_pad_alloc_buffer() without wanting to set the caps we
858 also don't need to check if the caps are compatible because the caller
859 presumably is going to perform its own custom checks. Fixes some cases
860 where basetransform elements would error out when it was not needed.
862 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
864 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
867 * libs/gst/base/gstbasetransform.c:
868 (gst_base_transform_handle_buffer),
869 (gst_base_transform_reconfigure):
872 * win32/common/libgstbase.def:
875 2008-10-19 Stefan Kost <ensonic@users.sf.net>
877 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
878 Remove duplicated assignment and log a message in failure case.
880 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
882 Patch by: Dig Ge <dig.ge.cn at gmail com>
884 * tests/examples/helloworld/helloworld.c: (main):
885 Fix copy'n'paste bug in hello world example (#556900).
887 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
889 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
890 (gst_base_sink_query):
891 Query the total number of bytes when activating the pad in pull mode.
892 Implement duration query in pull mode by using the installed pad convert
893 function to convert from bytes to the requested format.
895 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
897 * docs/libs/gstreamer-libs-sections.txt:
898 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
899 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
900 (gst_base_sink_event), (gst_base_sink_perform_seek),
901 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
902 (gst_base_sink_send_event), (gst_base_sink_change_state):
903 * libs/gst/base/gstbasesink.h:
904 Add method to commit the state in subclasses.
905 Refactor the flush_start and flush_stop code because we need it for
906 flushing while seeking too.
907 Implement the beginnings of seeking in pull mode.
908 Use the segment last_stop field for the pulling offset.
909 Fix the pause method in pull mode.
910 Configure the segment to BYTES for pull mode.
911 API: GstBaseSink::gst_base_sink_do_preroll()
913 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
915 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
918 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
920 * gst/gstquark.c: (_priv_gst_quarks_initialize):
921 Fix printf format warning.
923 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
925 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
926 Fix flow aggregation of tee. Error out immediately for all flow returns
927 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
928 and return OK if at least one pad is linked.
930 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
931 and otherwise returned the flow return of the last pad, which is wrong.
933 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
934 (GST_START_TEST), (tee_suite):
935 Add unit tests for the flow aggregation.
937 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
939 * docs/design/part-TODO.txt:
940 Remove item from the todo list because it was fixed with the latency
941 state change rewrites.
943 * docs/design/part-seeking.txt:
944 * docs/design/part-segments.txt:
947 * gst/gstevent.c: (gst_event_new_new_segment_full),
948 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
949 (gst_event_parse_buffer_size), (gst_event_new_qos),
950 (gst_event_parse_qos), (gst_event_new_seek),
951 (gst_event_parse_seek), (gst_event_new_latency),
952 (gst_event_parse_latency):
953 Use quarks to construct and parse events.
955 * gst/gstquark.c: (_priv_gst_quarks_initialize):
957 Add some more quarks to the table.
958 Emit a warning when the quark tables are not in sync.
960 * tests/check/gst/gstbus.c: (GST_START_TEST):
963 2008-10-13 Stefan Kost <ensonic@users.sf.net>
965 * plugins/elements/Makefile.am:
966 * plugins/indexers/Makefile.am:
967 Don't install static libs for plugins. Fixes #550851 for core.
969 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
971 * gst/gstbus.c: (gst_bus_source_finalize),
972 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
973 (gst_bus_enable_sync_message_emission),
974 (gst_bus_disable_sync_message_emission),
975 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
976 Fix deadlock, g_source_get_id() cannot be called in finalize.
977 Keep track of the watch source by keeping a pointer to the source object
979 Use the bus lock to protect access to the pointer to the current
982 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
984 Base on Patch by: Olivier Crete <tester at tester dot ca>
986 * gst/gstbus.c: (gst_bus_source_finalize),
987 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
988 Only allow one bus watch to be set at a time. This is necessary
989 because the dispatcher pops the message from the bus and the second
990 watcher will then get NULL or the next message (and the first won't
991 get this next message then, etc). If more than one "watcher" is
992 required signal watches should be used. Fixes bug #526044.
994 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
996 * tools/gst-launch.c:
997 Change the printing of the 'buffering...' output to avoid putting
998 a \r in a translateable string (flagged by the TP).
1000 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1003 Clarify that the save_thyself() and restore_thyself() virtual
1004 functions of GstObject need to be overriden, not
1005 gst_object_(save|restore)_thyself() which is impossible.
1008 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1010 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1011 Revert a patch from 21 months ago that broke caps negotiation in pull
1012 mode. Basically, having a buffer pass over a pad will trigger the
1013 setcaps function when caps change, just like in push mode.
1015 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1017 * docs/design/part-negotiation.txt:
1018 Update the docs some more.
1020 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1021 If we pull a buffer with non-trivial caps, suggest those caps with the
1024 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1026 * docs/design/part-TODO.txt:
1027 Add another limitation of pad-blocking with segment seeks not pushing
1030 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
1032 * win32/common/libgstbase.def:
1033 * win32/common/libgstreamer.def:
1034 Add new symbols to the win32 defs files
1036 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1038 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1039 (gst_bin_handle_message_func):
1040 The message src can be NULL, don't try to print the object names in that
1043 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1044 Add some more debug info.
1046 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1049 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1052 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1054 * docs/design/part-negotiation.txt:
1057 * docs/libs/gstreamer-libs-sections.txt:
1058 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1059 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1060 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1061 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1062 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1063 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1064 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1065 (gst_base_sink_change_state):
1066 * libs/gst/base/gstbasesink.h:
1067 Add blocksize property and methods to control the amount of data
1069 Negotiate first before activating upstream in pull mode so that they can
1070 negotiate themselves.
1071 When we operate in pull mode, we only accept the caps that we
1073 Make the sink go ASYNC to PAUSED, like all other sinks.
1074 API: GstBaseSink::gst_base_sink_set_blocksize()
1075 API: GstBaseSink::gst_base_sink_get_blocksize()
1076 API: GstBaseSink::blocksize
1078 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1079 (gst_base_src_set_live), (gst_base_src_is_live),
1080 (gst_base_src_set_format), (gst_base_src_query_latency),
1081 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1082 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1083 (gst_base_src_set_property), (gst_base_src_get_property):
1084 * libs/gst/base/gstbasesrc.h:
1085 Add typechecking in public API functions.
1086 Add methods to control the blocksize in subclasses.
1087 API: GstBaseSrc::gst_base_src_set_blocksize()
1088 API: GstBaseSrc::gst_base_src_get_blocksize()
1090 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1092 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1093 (buffer_probe), (event_probe), (GST_START_TEST):
1094 We now see 3 events go through our pad, since basesink now sends
1095 upstream latency events.
1097 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1099 * gst/gstpipeline.c: (gst_pipeline_change_state):
1100 Release the object lock before trying to flush the bus.
1102 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1104 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1105 Forward LATENCY events upstreams so that elements know about the total
1106 pipeline latency. Fixes #555307.
1108 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1110 * plugins/elements/gstqueue.c:
1111 Allow through queries when we don't know how
1112 to adjust them (not TIME or BYTES), as otherwise it's
1113 not possible to query the current position in order
1114 to seek in other formats at all.
1116 2008-10-08 Andy Wingo <wingo@pobox.com>
1118 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1120 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1122 * gst/gstghostpad.c:
1123 * gst/gstghostpad.h:
1124 Unbreak -good build, private is a reserved c++ keyword.
1126 2008-10-08 Andy Wingo <wingo@pobox.com>
1128 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1129 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1130 removal: re-add GST_GHOST_PAD_CAST to the header.
1132 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1133 (GstGhostPadClass): Publically expose these structures so as to
1134 allow easy subclassing from C. Hide the member data behind a
1135 private opaque data pointer.
1137 * gst/gstghostpad.c: Adapt to store instance data in the type
1138 instance's private data region, not in the public struct.
1140 2008-10-08 Andy Wingo <wingo@pobox.com>
1142 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1143 template via g_object_get(), be sure to unref it.
1145 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1147 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1149 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1150 If we can't get a cache file don't try to save something to it.
1151 Dereferencing NULL pointers usually isn't a good idea.
1153 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1155 * tests/check/Makefile.am:
1156 * tests/check/gst/gstabi.c:
1157 * tests/check/gst/struct_sparc.h:
1158 * tests/check/libs/libsabi.c:
1159 * tests/check/libs/struct_sparc.h:
1160 Add Sparc ABI checks
1162 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1163 Cast signed integer to unsigned to avoid a compiler warning.
1165 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1167 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1168 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1169 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1170 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1171 (gst_byte_reader_peek_int24_be):
1172 Use new GST_READ_UINT24_(LE|BE) macros.
1174 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1176 * docs/gst/gstreamer-sections.txt:
1178 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1179 as it's too easy to break the ISO C strict aliasing rules with simple
1180 casts to the corresponding type and this would introduce hard to debug
1181 bugs. Fixes bug #545714.
1183 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1185 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1187 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1188 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1189 Add 'Since' bits to gtk-doc chunks for new API.
1191 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1193 * docs/gst/gstreamer-sections.txt:
1196 2008-10-06 Andy Wingo <wingo@pobox.com>
1198 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1199 that will be called on the malloc_data to free it. Basically a way
1200 to avoid subclassing when all you need is a different free
1201 function, i.e. free() instead of g_free().
1203 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1204 calling the free function.
1205 (gst_buffer_init): Initialize the free function to g_free.
1207 2008-10-06 Andy Wingo <wingo@pobox.com>
1209 * gst/gstghostpad.h:
1210 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1211 finishes the initialization of ghost pad. Useful for language
1212 bindings and subclassers of GstGhostPad. Fixes #539108.
1213 (gst_ghost_pad_new_full): Use the new constructor.
1215 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1217 Base on Patch by: Olivier Crete <tester at tester dot ca>
1219 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1220 (gst_bin_remove_func), (update_degree),
1221 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1222 Keep track of pads that are being linked/unlinked and resync the state
1225 * gst/gstpad.c: (gst_pad_get_direction),
1226 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1227 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1228 (gst_pad_link_prepare), (gst_pad_link),
1229 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1230 (gst_pad_check_pull_range), (gst_pad_get_range),
1231 (gst_pad_pull_range):
1232 Some code cleanups, use macros to check pad direction.
1233 Don't need to take the lock on the pad direction.
1234 Post structure change when pads are linked/unlinked.
1235 Change some checks into _return_if_fail().
1237 * tests/check/gst/gstbin.c:
1238 (test_link_structure_change_state_changed_sync_cb),
1239 (GST_START_TEST), (gst_bin_suite):
1240 Add testcase for pad link/unlinke resync during a state change.
1243 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1245 * docs/gst/gstreamer-sections.txt:
1246 * gst/gstmessage.c: (gst_message_new_structure_change),
1247 (gst_message_parse_structure_change):
1249 Implement STRUCTURE_CHANGED messages. These messages will be used to
1250 signal the parent bin of link/unlink operations that could require a
1251 resync when doing a state change. See ##510354.
1252 API: gst_message_new_structure_change()
1253 API: gst_message_parse_structure_change()
1255 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1259 Add some more quarks for new message. See #510354.
1261 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1263 * docs/libs/gstreamer-libs-docs.sgml:
1264 * docs/libs/gstreamer-libs-sections.txt:
1265 * libs/gst/base/Makefile.am:
1266 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1267 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1268 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1269 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1270 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1271 (gst_bit_reader_skip_to_byte):
1272 * libs/gst/base/gstbitreader.h:
1273 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1274 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1275 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1276 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1277 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1278 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1279 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1280 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1281 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1282 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1283 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1284 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1285 * libs/gst/base/gstbytereader.h:
1286 * tests/check/Makefile.am:
1287 * tests/check/libs/bitreader.c: (GST_START_TEST),
1288 (gst_bit_reader_suite):
1289 * tests/check/libs/bytereader.c: (GST_START_TEST),
1290 (gst_byte_reader_suite):
1291 API: Add bit reader and byte reader classes, including documentation
1292 and an extensive unit test suite. Fixes bug #553554.
1294 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1296 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1297 (gst_base_sink_query):
1298 Improve position reporting while flushing and other intermediate state
1299 changes. Fixes #553874.
1301 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1303 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1305 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1306 Original patch by : Simon Descaries
1307 Fix small refount leak in caps compatibility check.
1310 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1312 * docs/pwg/advanced-request.xml:
1313 Fix 0.8 api usage in example. Fixes #554561
1315 * docs/pwg/appendix-porting.xml:
1316 Change 0.9 to 0.10 here.
1318 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1320 * docs/manual/basics-data.xml:
1321 Change "event-event interaction" to "element-element interaction".
1322 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1325 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1328 Back to development -> 0.10.21.1
1330 === release 0.10.21 ===
1332 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1335 releasing 0.10.21, "Take These Things From Me"
1337 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1340 0.10.20.4 pre-release
1342 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1344 * libs/gst/base/gstbasetransform.c:
1345 * plugins/elements/gstcapsfilter.c:
1346 * tests/check/Makefile.am:
1347 * tests/check/elements/.cvsignore:
1348 * tests/check/elements/capsfilter.c:
1349 Fix assertion in basetransform when the subclass chooses not to
1350 allocate a buffer in prepare_buffer(), and make capsfilter error out
1351 cleanly if requested to apply caps that don't completely specify the
1352 buffer. Fixes #551509
1354 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1356 * libs/gst/base/gstbasetransform.c:
1357 (gst_base_transform_prepare_output_buffer):
1358 Take new caps ref because our old one might have been gone when the
1359 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1361 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1364 Do not probe availability of check unit test library when cross
1365 compiling, as test would not work anyway. Also cleanup verbose output
1366 of the check test. Fixes #551952.
1368 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1370 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1372 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1373 Avoid leaking the parent ref when we fail changing the state of the
1374 element using gst_element_sync_state_with_parent(). Fixes #551978.
1376 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1378 * docs/manual/intro-motivation.xml::
1379 Remove some bits that no longer apply, update others (#551642).
1381 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1384 0.10.20.2 pre-release
1392 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1394 * win32/common/config.h.in:
1395 Add GST_DATADIR, hard-code cpu to x86.
1397 * win32/common/libgstreamer.def:
1400 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1403 Fix Since: markers for new geo tags.
1405 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1408 Fix actual tag name define after renaming from altitude to elevation.
1410 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1412 * gst/gstpad.c: (add_unref_pad_to_list),
1413 (gst_pad_get_internal_links_default):
1414 Add fallback when calling the deprecated function on an element that
1415 implements the new internal_link handler.
1417 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1419 * docs/gst/gstreamer-sections.txt:
1422 Add new tags for geo location and clarify purpose of existing location
1425 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1427 Patch by: Olivier Crete <tester at tester dot ca>
1429 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1430 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1431 Use thread-safe internal links iterator. Fixes #549504.
1433 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1435 Based on patch by: Olivier Crete <tester at tester dot ca>
1437 * docs/gst/gstreamer-sections.txt:
1438 * win32/common/libgstreamer.def:
1439 * gst/gstpad.c: (gst_pad_init),
1440 (gst_pad_set_iterate_internal_links_function),
1441 (int_link_iter_data_free), (iterate_pad),
1442 (gst_pad_iterate_internal_links_default),
1443 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1445 Add threadsafe replacement functions for getting internal links of an
1446 element. Deprecate the old internal links functions.
1447 API:GstPad::gst_pad_set_iterate_internal_links_function()
1448 API:GstPad::GstPadIterIntLinkFunction
1449 API:GstPad::gst_pad_iterate_internal_links()
1450 API:GstPad::gst_pad_iterate_internal_links_default()
1452 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1453 (gst_proxy_pad_init):
1454 Implement threadsafe internal links.
1456 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1457 Unit test for internal links on tee. See #549504.
1459 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1461 * tests/check/Makefile.am:
1462 libs/transform1 test requires libs/test_transform.c
1464 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1466 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1467 Die evil deadlock, die !
1469 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1471 * gst/gstutils.c: (gst_element_get_compatible_pad):
1472 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1473 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1474 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1475 not steal the refcount of the given caps as stated.
1477 REVERT THIS COMMIT ONCE FIXED !
1478 REVERT THIS COMMIT ONCE FIXED !
1479 REVERT THIS COMMIT ONCE FIXED !
1480 REVERT THIS COMMIT ONCE FIXED !
1481 REVERT THIS COMMIT ONCE FIXED !
1482 REVERT THIS COMMIT ONCE FIXED !
1484 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1486 * gst/gstiterator.c:
1487 * gst/gstiterator.h:
1488 After 3 years it's about time to revise the documentation of the
1491 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1493 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1494 Make the internal links function less thread-unsafe and add some
1495 comments, dunno why.
1497 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1499 * gst/gst_private.h:
1500 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1501 build with --disable-gst-debug.
1503 2008-08-28 David Schleef <ds@schleef.org>
1505 * gst/gstpadtemplate.c: Revert last change, since it breaks
1506 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1507 but shouldn't be enabled until we've released fixed versions
1508 of -good and -ffmpeg.
1510 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1513 Put the gst_object_get_name() back in.
1515 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1517 * gst/gstpadtemplate.c:
1518 The old behaviour was that gst_pad_template_new() takes ownership of
1519 the caps. As we now call g_object_new() which calls g_object_set() and
1520 which copies the caps, we have to unref them to not leak them. Fixes
1521 make valgrid for me.
1523 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1526 Don't segfault on input like "tel:+1-123-555-1234".
1528 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1531 Due to popular request also include ObjectType in
1532 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1534 2008-08-26 David Schleef <ds@schleef.org>
1536 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1537 src_val must be positive, because that's not a requirement.
1538 This causes problems with converting negative granulepos
1540 * gst/gstquery.c: Same, gst_query_new_convert().
1542 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1544 * gst/gstclock.c: (gst_clock_add_observation):
1545 Add some more debugging to the clock slaving code.
1547 * win32/common/libgstbase.def:
1548 Add new basetransform method.
1550 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1552 * gst/gstbin.c: (gst_bin_element_set_state):
1553 Take the (recursive) state lock between getting the locked state of an
1554 element and changing the element state. This allows the application to
1555 lock an element's state and then change its state without races.
1557 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1559 * gst/gstbin.c: (gst_bin_element_set_state):
1560 When an element is in the locked state we still want to update the
1561 base_time of the element.
1563 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1565 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1566 Use the result from gst_pad_set_caps() instead of assuming the element
1567 always accepted the caps computed by the default negotiate function.
1569 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1571 * docs/libs/gstreamer-libs-sections.txt:
1572 * libs/gst/base/gstbasetransform.c:
1573 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1574 (gst_base_transform_chain), (gst_base_transform_suggest),
1575 (gst_base_transform_reconfigure):
1576 * libs/gst/base/gstbasetransform.h:
1577 Implement method for reconfiguring basetransform.
1578 API: GstBaseTransform::gst_base_transform_reconfigure()
1580 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1582 patch by: Murray Cumming <murrayc@murrayc.com>
1585 Mention that this is just like gst_buffer_merge() but with extra
1586 unreffing for C coders. Advise language bindings not to wrap it.
1589 Also fix file comment.
1591 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1593 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1595 * plugins/elements/gstfakesink.c:
1596 * plugins/elements/gstfakesrc.c:
1597 Call super::event() when not handling it. Fixes #544855.
1599 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1601 Patch by: Alessandro Decina <alessandro@nnva.org>
1602 * plugins/elements/gstfilesrc.c:
1603 Use 64 bit variants of stat functions on win32, to enable support
1604 of large files there.
1607 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1609 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1610 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1611 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1612 (gst_base_sink_get_position), (gst_base_sink_change_state):
1613 Improve position reporting in the flushing state.
1614 Also report the position when we are not yet prerolled but we
1615 have a newsegment event. Fixes #543444.
1616 Improve the pull-based negotiation code.
1618 * tests/check/elements/fakesink.c: (GST_START_TEST),
1620 Add testcase for position reporting while flushing in PAUSED and
1623 * tests/check/generic/sinks.c: (GST_START_TEST):
1624 Update unit-test, we can now query the position as soon as we receive a
1627 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1629 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1631 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1632 When the subclass event handler releases the PREROLL_LOCK, we could be
1633 in the flushing state and we have to ignore the event. Fixes #548394.
1635 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1637 * tools/gst-launch.1.in:
1638 Document GST_REGISTRY_UPDATE environment variable.
1640 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1642 * libs/gst/base/gstbasetransform.c:
1643 (gst_base_transform_prepare_output_buffer):
1644 If the element is configured in passthrough mode but the
1645 prepare_output_buffer gave us a new output buffer, discard that buffer
1646 and reuse the input buffer.
1648 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1650 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1652 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1653 (gst_tee_request_new_pad), (gst_tee_release_pad),
1654 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1655 * plugins/elements/gsttee.h:
1656 Protect pad_alloc with a new lock so that we can be sure that nothing is
1657 performing a pad_alloc when removing the pad. Fixes #547835.
1659 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1660 (buffer_alloc_harness_teardown), (app_thread_func),
1661 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1662 Added testcase for shutdown race.
1664 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1669 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1671 * libs/gst/base/gstbasetransform.c:
1672 (gst_base_transform_prepare_output_buffer),
1673 (gst_base_transform_buffer_alloc):
1674 Go over the buffer_alloc function again and make sure we always end up
1675 allocating a buffer.
1677 Avoid doing pad alloc when we have a pending suggestion because we
1678 cannot yet deal with changing caps in that case. Fixes #547728
1680 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1682 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1684 * docs/manual/advanced-clocks.xml:
1685 * docs/manual/clocks.png:
1686 * docs/manual/diagrams-clocks.svg:
1687 Add one more image showing different times together with a describing
1688 paragraph. Fixes #547729.
1690 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1692 * win32/common/libgstbase.def:
1695 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1697 * libs/gst/base/gstbasetransform.c:
1698 (gst_base_transform_transform_caps),
1699 (gst_base_transform_prepare_output_buffer),
1700 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1701 Don't overwrite the outsize when calculating the expected size of a new
1702 buffer because we still need it in case we cannot process the new
1704 When converting the size of the new buffer to an upstream size, actually
1705 use the expected size of the buffer, not some other random value.
1706 Use an atomic int to signal that a new upstream caps suggestion is
1708 When we can convert the current buffer to a new format, check if the
1709 buffer size is of the expected size and allocate a new buffer of the
1710 expected size when this is not the case. Fixes #546883.
1712 * tests/check/libs/transform1.c: (GST_START_TEST):
1713 remove ifdeffed code from the unit test.
1715 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1717 * pkgconfig/gstreamer-uninstalled.pc.in:
1718 * pkgconfig/gstreamer.pc.in:
1719 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1720 called gstcontroller-0.10.
1722 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1724 * gst/gstchildproxy.h:
1726 Remove double interface from doc-string.
1728 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1730 * libs/gst/base/gstbasesrc.c:
1731 * libs/gst/base/gstbasetransform.c:
1732 Fix headings in docs and gtk-doc warnings.
1734 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1736 * gst/gstregistrybinary.c:
1737 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1741 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1743 * libs/gst/base/gstbasetransform.c:
1744 (gst_base_transform_buffer_alloc):
1745 Fix a "may be used unitialized" warning.
1747 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1749 * docs/gst/gstreamer-sections.txt:
1751 Document preset-iface vmethods.
1753 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1755 * docs/manual/advanced-interfaces.xml:
1756 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1757 only used to discover devices.
1759 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1761 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1763 * gst/gst.c: (init_pre):
1764 Make sure gettext returns translations in UTF-8 encoding rather
1765 than in the current locale encoding (#546822).
1767 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1769 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1772 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1773 Improve unit test subset tests and add a testcase for the subset failure
1776 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1777 Improve subtraction unit test.
1779 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1781 * plugins/elements/gsttee.c:
1782 Unlock, instead of locking again.
1784 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1787 Clarify the docs a bit more.
1789 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1791 * tests/examples/metadata/read-metadata.c:
1792 Don't leak old taglist.
1794 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1796 Patch by: Olivier Crete <tester at tester dot ca>
1798 * gst/gststructure.c:
1799 (gst_structure_fixate_field_nearest_fraction):
1800 Avoid overflows in fixation code when dealing with MAXINT values, which
1801 v4l2src seems to do.
1804 * tests/check/gst/gststructure.c: (GST_START_TEST):
1805 Make a unit test to check the fix.
1807 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1809 * plugins/elements/gstcapsfilter.c: (copy_func),
1810 (gst_capsfilter_set_property):
1811 Use new caps suggestion feature of basetransform to request a caps
1812 negotiation upstream.
1814 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1816 * docs/libs/gstreamer-libs-sections.txt:
1818 API: GstBaseTransform::gst_base_transform_suggest()
1820 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1821 (gst_base_transform_init), (gst_base_transform_transform_caps),
1822 (gst_base_transform_transform_size),
1823 (gst_base_transform_configure_caps),
1824 (gst_base_transform_can_transform),
1825 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1826 (gst_base_transform_prepare_output_buffer),
1827 (gst_base_transform_buffer_alloc),
1828 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1829 (gst_base_transform_chain), (gst_base_transform_activate),
1830 (gst_base_transform_set_passthrough),
1831 (gst_base_transform_is_passthrough),
1832 (gst_base_transform_set_in_place),
1833 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1834 (gst_base_transform_set_qos_enabled),
1835 (gst_base_transform_is_qos_enabled),
1836 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1837 (gst_base_transform_reconfigure):
1838 * libs/gst/base/gstbasetransform.h:
1839 Rewrite of basetransform to perform negotiation outside of the
1840 buffer_alloc functions. Fixes #545853.
1842 * tests/check/libs/transform1.c: (GST_START_TEST),
1846 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1848 * tests/check/gst/gstpreset.c:
1849 Only run preset tests when $HOME is writable. Preliminary fix for
1852 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1854 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1855 (gst_bin_change_state_func), (bin_handle_async_done),
1856 (gst_bin_handle_message_func):
1857 Fix race for bins that simulate ASYNC state changes by inserting
1858 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1859 pending ASYNC messages even when the bin does not have ASYNC children.
1860 We note detect this behaviour because we will receive an ASYNC message
1861 that is originating from the bin itself.
1862 Fixes races with decodebin2 state changes.
1864 * tests/check/gst/gstbin.c: (GST_START_TEST):
1865 Add some more debug.
1867 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1869 * gst/gsttaglist.c: (_gst_tag_initialize):
1872 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1875 Argh. actually save the text before committing. Now adds
1876 gst_tag_merge_strings_with_comma() to gst_tag_register().
1878 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1882 Do as tim pointed out and actually register the new tag. Also improve
1883 te docs and use gst_tag_merge_strings_with_comma() method to allow
1884 retriving all keywords merged in one list.
1886 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1889 * docs/gst/gstreamer.types:
1890 Revert 'accidential' change of the configure option removal. We still
1891 need to generate the types file in configure --disable-load-save.
1893 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1895 * docs/gst/gstreamer-sections.txt:
1897 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1899 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1901 * gst/gstpadtemplate.c:
1902 (gst_pad_template_class_init), (gst_static_pad_template_get),
1903 (gst_pad_template_new), (gst_pad_template_pad_created),
1904 (gst_pad_template_set_property), (gst_pad_template_get_property):
1905 Add "name-template", "direction", "presence" and "caps" properties,
1906 so that gst_pad_template_new() is just a thin wrapper around
1907 g_object_new(), which is better for bindings. (Fixes: #539772)
1909 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1912 Be more liberal in what URIs we accept.
1913 Do not unescape bits of the URI for no apparent reason before passing to
1914 the element. Fixes #545352.
1916 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1918 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1921 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1923 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1926 * docs/gst/gstreamer-sections.txt:
1927 * docs/gst/gstreamer.types:
1928 * docs/gst/gstreamer.types.in:
1931 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1932 * gst/gstconfig.h.in:
1933 * gst/gstelement.c: (gst_element_get_index):
1934 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1935 (gst_registry_binary_load_feature),
1936 (gst_registry_binary_read_cache):
1937 * gst/gstregistryxml.c: (load_feature),
1938 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1939 * plugins/Makefile.am:
1941 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1942 (print_plugin_features), (print_element_features):
1943 * tools/gst-xmlinspect.c: (print_event_masks),
1944 (print_element_info):
1945 * win32/common/gstconfig.h:
1946 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1948 Disabling the indexers and URI handler code will only reduce the
1949 required amount of memory by a very small amount but on the other hand
1950 requires much more maintaince work. Apart from that many places of
1951 code are broken when disabling them.
1953 Disabling the enum types doesn't reduce the required amount of memory
1954 by more than a few bytes and makes it hard to fix bugs like #539772,
1955 i.e. use the enums as GObject properties.
1957 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1959 * docs/design/part-TODO.txt:
1960 Add some thoughts and problems with upstream renegotiation.
1962 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1964 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1965 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1966 Remove silly redundant debug.
1967 Add some more debug info.
1968 Clarify the docs regarding new caps received from pad_alloc.
1970 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1972 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1973 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1974 Make setting the caps more threadsafe.
1976 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1978 * docs/design/part-element-transform.txt:
1981 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1983 * plugins/elements/gstqueue.c: (gst_queue_init),
1984 (gst_queue_acceptcaps):
1985 Add and use a custom acceptcaps function instead of falling back to the
1986 potentially less optimized default implementation.
1988 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1990 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1991 Only sanity-check the buffer size if requested_caps == buffer_caps
1992 (ie. don't take pad caps into account, they're not relevant here)
1994 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1996 * plugins/elements/gsttee.c:
1997 * plugins/elements/gsttee.h:
1998 Reverting as not everything is clear yet. Needs some general design
2001 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2004 ChangeLog surgery for tee commit.
2006 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2008 * docs/gst/gstreamer-sections.txt:
2009 Cleanup section-file.
2011 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2013 * plugins/elements/gsttee.c:
2014 * plugins/elements/gsttee.h:
2015 Relay tag events in tee. Fixes parts of #474016.
2016 Downgrades 3 reoccurring debugs to log.
2018 2008-07-28 Michael Smith <msmith@songbirdnest.com>
2021 * libs/gst/Makefile.am:
2022 Build the net library if we have winsock2.
2024 2008-07-26 Stefan Kost <ensonic@users.sf.net>
2026 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2028 * docs/manual/advanced-threads.xml:
2029 * docs/manual/diagrams-pipelines.svg:
2030 * docs/manual/hello-world.png:
2031 * docs/manual/linked-elements.png:
2032 * docs/manual/mime-world.png:
2033 * docs/manual/queue.png:
2034 * docs/manual/thread-buffering.png:
2035 * docs/manual/thread-synchronizing.png:
2036 Replace one diagram with two separate ones and updates others.
2039 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
2042 Fix link in documentation.
2044 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2047 Fix confusing documentation.
2049 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2051 * libs/gst/base/gstbasesrc.h:
2052 revert the changes to the header file for the ABI.
2054 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2056 * libs/gst/base/gstbasesrc.c:
2057 * libs/gst/base/gstbasesrc.h:
2058 Don't cache the seekable status.
2061 2008-07-24 Rene Stadler <mail@renestadler.de>
2063 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2064 code to close the pipeline graph. This prevents the program from
2065 printing internal data flow errors.
2067 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2069 * docs/manual/basics-bus.xml:
2070 Correct typo. Fixes bug #544320.
2072 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2075 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2076 Add check (taken from -base) for winsock, adds WIN32_LIBS
2078 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2080 Define GST_EXPORTS when building libgstreamer (only used on win32)
2081 * gst/gst_private.h:
2083 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2084 for symbols that we need to export in both these files.
2086 Include gst_private.h higher up to avoid some compile problems on win32.
2088 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2093 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2096 Previous commit was wrong NULL caps does not exist
2097 and indicate an error, so also add a FIXME to
2098 gst_caps_is_equal where NULL caps are accepted.
2100 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2103 Allow passing of NULL to gst_caps_union
2105 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2107 * gst/gstghostpad.c:
2108 Add in doc that gst_ghost_pad_set_target can accept
2109 NULL to clear target
2111 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2114 * gst/gstregistry.c:
2115 GstRegistryPool doesn't exist; don't refer to it in docs.
2116 Don't refer to functions that don't exist in docs, it's
2119 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2122 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2124 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2126 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2128 * docs/pwg/building-testapp.xml:
2129 Don't use an undeclared variable in the example program.
2132 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2134 * gst/gstdebugutils.c:
2135 Squeeze ghost-pad links and remove <> from classname labels to save
2136 more horizontal space.
2138 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2140 * gst/gstdebugutils.c:
2141 Give request and sometimes pads a different shpe style. Condense the
2142 graphs a little more.
2144 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2147 Don't require flex and bison if the parser is disabled.
2149 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2151 * libs/gst/controller/gstinterpolationcontrolsource.c:
2152 (_list_find_sorted_custom):
2153 Don't use declarations after statements.
2155 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2157 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2158 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2159 of the the child-added / -removed signals as GstChildProxy
2160 only supports GstObjects.
2162 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2164 * gst/gstdebugutils.c:
2167 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2169 Patch by: Alessandro Decina <alessandro at nnva dot org>
2172 Fix "ignored return value" compiler warning with newer glibc.
2174 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2176 * gst/gstchildproxy.c:
2177 Fix copy&paste error in gst_child_proxy_removed() documentation.
2179 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2181 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2182 Print error debug message if plugin description fields that should
2185 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2186 Don't crash if the string to serialise is NULL (it really should
2187 not be, but apparently this used to work with the xml registry ...).
2189 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2191 * tools/gst-plot-timeline.py:
2192 Fix parsing of log messages
2194 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2196 * win32/common/libgstbase.def::
2197 Sort alphabetically so make check-exports doesn't barf.
2199 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2202 Use gst_format_get_name() to improve debug output.
2205 Remove #ifdef'ed code. Add TODO comment.
2208 Add debug output to ease spotting format != segment.format assertions.
2210 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2212 * tests/check/libs/gdp.c: (gst_dp_suite):
2213 Also enable the GDP unit test again on PPC now that the bug
2216 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2218 * libs/gst/dataprotocol/dataprotocol.c:
2219 Don't write to the same region of memory as a uint64 and uint16
2220 as this breaks strict aliasing rules and apparantly breaks on PPC
2221 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2223 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2225 * libs/gst/controller/gstinterpolationcontrolsource.c:
2226 Optimize list handling. Use own find function. Exploit that fact that
2227 the list is sorted. Also pass back the node before, so that we can
2228 insert quickly. Have a fast path for append.
2230 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2232 * docs/design/draft-framestep.txt:
2233 * docs/design/part-negotiation.txt:
2236 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2239 Show configuration sumary after configure run. Based on patch by
2240 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2242 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2244 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2246 * docs/manual/advanced-autoplugging.xml:
2247 * docs/manual/advanced-threads.xml:
2248 * docs/manual/basics-bins.xml:
2249 * docs/manual/basics-elements.xml:
2250 * docs/manual/basics-helloworld.xml:
2251 * docs/manual/basics-pads.xml:
2252 Add scale factor for pdf output.
2254 * docs/manual/intro-basics.xml:
2255 Switched sections "pads" and "bins" and added a pipeline diagram.
2257 * docs/manual/intro-gstreamer.xml:
2258 Added more info on gstreamer.
2260 * docs/manual/intro-motivation.xml:
2261 Commented out the whole section "current problem", which sounds
2262 historical and somehow osolete; it could be turned in a positive
2263 way and reused to improve the design principles.
2265 * docs/manual/intro-preface.xml:
2266 - Update URLs to library.gnome.org.
2267 - Do not mention GTK+ in preliminary reading (irrelevant).
2268 - Mention Plugin Writer's Manual and further reading only in the
2270 - Added a list of most relevant GObject/glib topics.
2272 * docs/manual/Makefile.am:
2273 * docs/manual/bin-element-ghost.fig:
2274 * docs/manual/bin-element-ghost.png:
2275 * docs/manual/bin-element-noghost.fig:
2276 * docs/manual/bin-element-noghost.png:
2277 * docs/manual/bin-element.fig:
2278 * docs/manual/bin-element.png:
2279 * docs/manual/filter-element-multi.fig:
2280 * docs/manual/filter-element-multi.png:
2281 * docs/manual/filter-element.fig:
2282 * docs/manual/filter-element.png:
2283 * docs/manual/gstreamer-overview.png:
2284 * docs/manual/hello-world.fig:
2285 * docs/manual/hello-world.png:
2286 * docs/manual/linked-elements.fig:
2287 * docs/manual/linked-elements.png:
2288 * docs/manual/mime-world.fig:
2289 * docs/manual/mime-world.png:
2290 * docs/manual/queue.fig:
2291 * docs/manual/queue.png:
2292 * docs/manual/simple-player.png:
2293 * docs/manual/sink-element.fig:
2294 * docs/manual/sink-element.png:
2295 * docs/manual/src-element.fig:
2296 * docs/manual/src-element.png:
2297 * docs/manual/diagrams-general.svg:
2298 * docs/manual/diagrams-pipelines.svg:
2299 Removed .fig, added .png counterpart.
2303 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2305 * plugins/elements/gstmultiqueue.c:
2306 * plugins/elements/gstmultiqueue.h:
2307 revert extra-size-buffers stuff, caused some race conditions
2308 and extra-size-buffers is not used anymore. Docs needs some updates
2310 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2312 * win32/common/config.h:
2313 * win32/common/gstenumtypes.c:
2314 * win32/common/gstenumtypes.h:
2315 * win32/common/gstversion.h:
2318 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2320 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2321 (GST_DEBUG_BIN_TO_DOT_FILE):
2322 Add missing Since' markers to gtk-doc blurbs.
2324 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2326 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2327 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2328 (set_caps_1), (set_caps_ct1), (transform_ct1),
2329 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2330 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2331 (transform_size_ct2), (buffer_alloc_ct2):
2332 Add some more tests with switching caps in buffer_alloc.
2334 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2336 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2337 (gst_test_trans_class_init), (result_sink_chain),
2338 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2339 (gst_test_trans_push), (gst_test_trans_pop):
2340 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2341 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2342 (set_caps_1), (set_caps_ct1), (transform_ct1),
2343 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2344 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2345 (transform_size_ct2), (buffer_alloc_ct2),
2346 (gst_basetransform_suite):
2347 More tests, prepare for tests with switching caps in buffer_alloc.
2349 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2351 * plugins/elements/gstmultiqueue.c:
2352 * plugins/elements/gstmultiqueue.h:
2353 Fix dead-lock in underrun_cb
2355 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2357 * docs/design/part-states.txt:
2358 Fix device open/close docs.
2360 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2363 Mention bugnumber for last commit.
2365 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2367 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2369 * docs/manual/manual.xml:
2370 - Reorganised the previous "introduction" bundle into Foreword,
2371 Introduction, and About GStreamer. The two first are <preface>
2372 docbook elements. The later is the first part of the book.
2373 - added intro-gstreamer.xml (content partially from
2375 - moved appendix-win32.xml into appendix-integration.xml
2377 * docs/manual/intro-preface.xml: gstreamer section moved...
2378 * docs/manual/intro-gstreamer.xml: ...here. new file.
2380 * docs/manual/appendix-win32.xml: removed file. Content moved...
2381 * docs/manual/appendix-integration.xml: ...here.
2383 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2384 * docs/manual/appendix-checklist.xml: ...here.
2388 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2390 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2392 * docs/manual/basics-helloworld.xml:
2393 * docs/manual/hello-world.fig:
2394 - Explicitely include glib.h.
2395 - Do not use global variables.
2396 - Use g_printerr() instead of g_print().
2397 - Minor formating/renaming to increase readibility.
2398 - Renamed new_pad() to on_pad_added()
2399 - Improved explenatory comments.
2400 - renamed ogg parser to ogg demuxer
2401 - Use "autoaudiosink" instead of "alsasink".
2404 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2407 Remove cvs conflict marker.
2409 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2412 Document that for plgin-docs we extraxt he short-desc from the element
2415 * docs/design/part-states.txt:
2416 Tell that devices should be closed in PAUSED -> READY.
2418 * docs/manual/README:
2419 Document how tests in the manual are handled.
2424 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2426 * gst/gstbin.c: (bin_query_latency_fold):
2427 Only care about latency min and max when the sink is actually a live
2430 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2432 * docs/design/part-block.txt:
2435 * docs/design/part-element-transform.txt:
2436 Add notes about why transform needs to know input/output sizes.
2437 Add some issues that need to be solved.
2438 Add some more use cases.
2440 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2441 (gst_test_trans_class_init), (result_sink_chain),
2442 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2443 (gst_test_trans_push), (gst_test_trans_pop):
2444 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2445 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2446 (set_caps_1), (set_caps_ct1), (transform_ct1),
2447 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2448 (gst_basetransform_suite):
2449 Add suport for different pad templates and buffer-alloc.
2450 Add more checks for caps and buffer-alloc.
2451 Add checks for proxy buffer alloc.
2452 Add unit test for copy transform.
2454 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2456 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2458 * docs/manual/appendix-integration.xml:
2459 * docs/manual/appendix-licensing.xml:
2460 * docs/manual/basics-elements.xml:
2461 * docs/manual/basics-helloworld.xml:
2462 * docs/manual/basics-pads.xml:
2463 * docs/manual/highlevel-components.xml:
2464 * docs/manual/highlevel-xml.xml:
2465 * docs/manual/intro-basics.xml:
2466 * docs/manual/intro-preface.xml:
2467 Typo and formatting fixes (#538594).
2469 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2471 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2472 Fix some memory leaks and uses of object instances that we don't
2475 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2477 * plugins/elements/gstmultiqueue.c:
2478 Add functionality to extra-size-buffers property.
2480 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2482 * plugins/elements/gstmultiqueue.c:
2483 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2484 activate the pads if they are added in STATE_NULL.
2486 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2488 * docs/libs/gstreamer-libs-sections.txt:
2490 * libs/gst/check/gstcheck.c:
2491 * libs/gst/check/gstcheck.h:
2492 API: gst_check_teardown_pad_by_name
2494 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2496 * libs/gst/check/gstcheck.c:
2497 * libs/gst/check/gstcheck.h:
2498 Also setup request pads and allow setup pads by name (#537812)
2499 API: gst_check_setup_src_pad_by_name
2500 API: gst_check_setup_sink_pad_by_name
2502 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2504 * tests/check/gst/gstbuffer.c:
2505 * tests/check/pipelines/parse-launch.c:
2506 Use HAVE_VALGRIND_H some more.
2508 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2510 * scripts/cvs-update.sh:
2511 Pass arguments to make.
2512 Run autoregen.sh if Makefile is not there.
2514 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2518 Don't assume that <valgrind/valgrind.h> exists just because
2519 the binary is there.
2521 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2523 * tests/check/Makefile.am:
2524 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2525 (gst_test_trans_class_init), (gst_test_trans_init),
2526 (gst_test_trans_set_data), (result_sink_chain),
2527 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2528 (gst_test_trans_pop):
2529 * tests/check/libs/transform1.c: (GST_START_TEST),
2530 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2531 Add some test basetransform element and the beginnings of various
2534 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2536 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2537 Increase code readability.
2538 Don't try to compare buffer offsets when ther are invalid.
2540 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2542 * docs/design/Makefile.am:
2543 Dist some more design docs.
2545 * docs/random/moving-plugins:
2546 Small addition: good plugins mustn't have functional code
2547 within assertion macros.
2549 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2551 * docs/design/draft-framestep.txt:
2552 Some ideas about a framestep API
2554 * docs/design/part-element-transform.txt:
2555 Start design and use cases for basetransform in order to get it
2558 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2561 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2562 be in UTF-8 encoding.
2564 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2567 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2569 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2571 * plugins/elements/gstcapsfilter.c:
2572 * plugins/elements/gstfakesink.c:
2573 * plugins/elements/gstfakesrc.c:
2574 * plugins/elements/gstfdsink.c:
2575 * plugins/elements/gstfdsrc.c:
2576 * plugins/elements/gstfilesink.c:
2577 * plugins/elements/gstfilesrc.c:
2578 * plugins/elements/gstidentity.c:
2579 * plugins/elements/gstmultiqueue.c:
2580 * plugins/elements/gstqueue.c:
2581 * plugins/elements/gsttee.c:
2582 * plugins/elements/gsttypefindelement.c:
2583 Remove short_description. Add basic docs for gsttypefindelement.
2584 Simplify markup for fakesrc/fdsrc.
2586 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2588 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2591 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2593 Patch by: Joel Larsson <tilljoel at gmail dot com>
2595 * docs/plugins/gstreamer-plugins.args:
2596 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2597 (gst_fd_src_init), (gst_fd_src_update_fd),
2598 (gst_fd_src_set_property), (gst_fd_src_get_property),
2599 (gst_fd_src_create):
2600 * plugins/elements/gstfdsrc.h:
2601 Add timeout property like udpsrc. Fixes #538628.
2602 Add some more docs and example pipelines.
2604 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2606 * docs/libs/gstreamer-libs-sections.txt:
2607 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2608 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2609 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2610 (gst_base_sink_do_sync):
2611 * libs/gst/base/gstbasesink.h:
2612 * win32/common/libgstbase.def:
2613 Add method to allow sinks to specify additional delay between the sync
2614 times and the actual rendering of the data.
2615 API: gst_base_sink_set_render_delay()
2616 API: gst_base_sink_get_render_delay()
2618 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2621 Bump version number back to dev -> 0.10.20.1
2623 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2625 * docs/gst/gstreamer-sections.txt:
2626 * gst/gsttaglist.c: (_gst_tag_initialize):
2628 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2631 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2633 * libs/gst/controller/gstcontroller.c:
2634 Revert one change, that make ret value possible uninitialized.
2636 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2638 * libs/gst/controller/gstcontroller.c:
2639 Use freeze/thaw notify to sync notify emission a bit (its also more
2640 efficient). Move debug output to LOG (is called a lot in a loop).
2641 Always unset g_values if the have been initialized.
2643 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2645 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2646 (gst_base_sink_wait_eos), (gst_base_sink_event):
2647 If we have not seen a buffer before EOS, use the segment values to
2648 report the current position instead of invalid positions.
2650 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2652 * docs/plugins/tmpl/.cvsignore:
2653 * tests/check/gst/.cvsignore:
2656 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2658 * libs/gst/controller/gstinterpolation.c:
2659 * libs/gst/controller/gstinterpolationcontrolsource.c:
2660 * tests/check/libs/controller.c:
2661 Rewrite handling of default values. Fix overflow with unsigned types
2662 in linear interpolation. Remove now obsolete _first_value() function.
2663 Add more tests. Fixes #538201.
2665 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2667 * libs/gst/base/gstbasetransform.c:
2668 (gst_base_transform_class_init), (gst_base_transform_init),
2669 (gst_base_transform_transform_caps),
2670 (gst_base_transform_prepare_output_buffer):
2672 When a buffer is writable, its metadata is also writable so we don't
2673 need to subbuffer (which then makes the buffer not-writable anymore).
2675 === release 0.10.20 ===
2677 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2680 releasing 0.10.20, "You Crazy Diamond"
2682 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2685 0.10.19.3 pre-release
2687 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2691 Rename DATADIR to GST_DATADIR to avoid build problems
2692 on win32. Patch By: David Schleef <ds@schleef.org>
2695 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2698 Explicitely link with -ldl if dladdr() is found there. Before it was
2699 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2700 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2702 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2704 * gst/gsterror.c: (_gst_stream_errors_init):
2705 Fix typo (spotted by Fabricio Godoy, #536723).
2707 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2710 0.10.19.2 pre-release
2712 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2714 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2715 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2717 Make sure we don't generate invalid QoS messages.
2719 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2721 * gst/gstevent.c: (gst_event_new_qos):
2722 Add some assert and docs for invalid input to the qos function.
2724 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2726 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2727 (gst_base_sink_get_position):
2728 The reported position must always be smaller than the last seen
2729 timestamps (or timestamp + duration for reverse).
2731 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2733 Patch by: Rob Bradford <rob at robster dot org dot uk>
2735 * gst/gstregistry.c: (gst_registry_scan_path_level):
2736 Don't recurse into .debug directories as some distros install
2737 the debugging symbols next to the plugins in .debug directories
2738 and dlopen() crashes on them sometimes. Fixes bug #508070.
2740 Add FIXME for 0.11 to not recurse into directories at all because
2741 it's very inconsistent to the behaviour of other PATH environment
2744 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2747 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2748 Fix position query range checks in reverse playback.
2750 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2754 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2755 clear of the reference to the resulting pad must be released later
2756 or not, resulting in possible leaks. Fixes bug #533865.
2758 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2760 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2762 * gst/gstelementfactory.c:
2763 Small doc fix. Fixes #535285.
2765 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2767 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2769 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2770 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2771 (gst_base_src_loop), (gst_base_src_set_flushing),
2772 (gst_base_src_change_state):
2773 Make sending an EOS event to the basesrc non-blocking even if the
2774 implementation does blocking waits in the create function. This is done
2775 by unlocking the create function when EOS is sent.
2778 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2780 * tools/gst-inspect.c: (print_element_properties_info):
2781 If possible print the element type of GValueArray properties.
2783 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2785 * gst/gstiterator.c:
2786 Remove an unused field from the private GstListIterator struct.
2788 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2790 * libs/gst/controller/gstcontroller.c:
2791 Add parameter guards.
2793 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2795 * tests/check/gst/gstpipeline.c:
2796 Revert test change and add comment why it should not work.
2798 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2800 * tests/check/gst/gstpipeline.c:
2801 Extending the test a little to verify that we also get the NULL state-
2804 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2806 * gst/gstpreset.c: (gst_preset_default_get_meta),
2807 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2808 (gst_preset_load_preset), (gst_preset_save_preset),
2809 (gst_preset_rename_preset), (gst_preset_delete_preset),
2810 (gst_preset_set_meta):
2811 Add Since: markers to docs blurbs.
2813 * win32/common/libgstreamer.def:
2814 Add recently-added API.
2816 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2818 Patch by: Stefan Kost <ensonic@users.sf.net>
2821 Add DATADIR for storing presets.
2823 * docs/gst/gstreamer-docs.sgml:
2824 * docs/gst/gstreamer-sections.txt:
2825 * docs/gst/gstreamer.types.in:
2826 Add GstPreset to docs.
2830 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2831 (preset_open_and_parse_header), (preset_parse_version),
2832 (preset_merge), (preset_get_keyfile),
2833 (gst_preset_default_get_preset_names),
2834 (gst_preset_default_get_property_names),
2835 (gst_preset_default_load_preset),
2836 (gst_preset_default_save_presets_file),
2837 (gst_preset_default_save_preset),
2838 (gst_preset_default_rename_preset),
2839 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2840 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2841 (gst_preset_default_reset), (gst_preset_get_preset_names),
2842 (gst_preset_get_property_names), (gst_preset_load_preset),
2843 (gst_preset_save_preset), (gst_preset_rename_preset),
2844 (gst_preset_delete_preset), (gst_preset_set_meta),
2845 (gst_preset_get_meta), (gst_preset_class_init),
2846 (gst_preset_base_init), (gst_preset_get_type):
2848 Add GstPreset to core. Fixes #396779
2850 * tests/check/Makefile.am:
2851 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2852 (gst_preset_test_set_property), (gst_preset_test_class_init),
2853 (gst_preset_test_base_init), (gst_preset_test_get_type),
2854 (gst_preset_test_plugin_init), (GST_START_TEST),
2855 (remove_preset_file), (test_setup), (test_teardown),
2857 Add GstPreset unit tests.
2859 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2861 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2862 The default event function on a sinkpad should return TRUE when
2863 there are no internal links but should collect the return values from
2864 the internal links otherwise.
2866 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2868 * plugins/elements/gsttypefindelement.c:
2869 (gst_type_find_element_src_event),
2870 (gst_type_find_element_handle_event):
2871 Use faster and safer _pad_push_event().
2873 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2875 * docs/gst/gstreamer-sections.txt:
2876 * gst/gstutils.c: (element_find_unlinked_pad),
2877 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2879 API: add gst_bin_find_unlinked_pad()
2880 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2882 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2888 Fixed a bunch of typos.
2890 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2893 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2894 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2895 (gst_parse_bin_from_description_full):
2897 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2899 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2901 * docs/pwg/advanced-tagging.xml:
2902 Small docs update, can't be bothered to rewrite the nonsensical
2905 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2908 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2910 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2912 * gst/parse/grammar.y:
2913 Remove unneeded casts.
2915 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2917 * gst/parse/grammar.y:
2918 * tests/check/pipelines/parse-launch.c:
2919 Get all missing elements from a parse launch string if possible
2920 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2922 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2924 * tests/check/Makefile.am:
2925 * tests/check/pipelines/parse-launch.c:
2926 Add some unit tests for the new gst_parse_launch*_full() API.
2927 (Exposes a previously-existing memory leak in the error code
2928 path, so adding to VALGRIND_TO_FIX for now).
2930 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2932 * docs/gst/gstreamer-sections.txt:
2933 * gst/gst.c: (init_post):
2934 * gst/gst_private.h: (_GstParseContext):
2935 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2936 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2937 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2938 (gst_parse_launch_full):
2939 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2940 (GstParseFlags), (GstParseContext):
2941 * gst/gstutils.c: (gst_parse_bin_from_description),
2942 (gst_parse_bin_from_description_full):
2944 * gst/parse/grammar.y:
2945 * gst/parse/types.h:
2946 * win32/common/libgstreamer.def:
2947 Add new gst_parse_*_full API (#528178):
2948 API: gst_parse_launch_full()
2949 API: gst_parse_launchv_full()
2950 API: gst_parse_bin_from_description_full()
2951 API: gst_parse_context_new()
2952 API: gst_parse_context_free()
2953 API: gst_parse_context_get_missing_elements()
2955 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2957 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2959 * docs/faq/gst-uninstalled:
2960 Also support ffmpeg in gst-uninstalled.
2962 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2965 After discussion on IRC use the binary registry as default
2966 but allow to disable it with --disable-binary-registry.
2968 * win32/common/libgstreamer.def:
2969 Add the two new symbols for the binary registry.
2971 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2973 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2974 * gst/gstutils.c: (gst_parse_bin_from_description):
2975 * gst/parse/grammar.y: (graph):
2976 More guards against bad input; typo fix; some minor clean-ups.
2978 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2980 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2982 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2983 If nothing else can be used, use the last buffer's start time as
2984 the segment's last stop. Fixes bug #534258.
2986 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2988 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2989 Move size sanity check to the right place: downstream may return
2990 a buffer with a smaller size if the buffer caps are different than
2991 the requested ones, as may happen when doing reverse negotiation.
2993 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2995 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2996 (gst_file_sink_render):
2997 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2998 (gst_file_src_start):
2999 Small cleanups. Add note adbout g_fopen() on windows and why we don't
3002 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3004 * gst/gstpad.c: (gst_pad_load_and_link):
3005 * gst/gstutils.c: (gst_element_link_pads),
3006 (gst_element_unlink_pads):
3007 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3008 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3009 (gst_check_teardown_sink_pad),
3010 (gst_check_element_push_buffer_list):
3011 * tests/check/elements/fakesink.c: (GST_START_TEST):
3012 * tests/check/elements/filesink.c:
3013 * tests/check/elements/filesrc.c: (GST_START_TEST):
3014 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3015 (mq_sinkpad_to_srcpad):
3016 * tests/check/elements/tee.c: (GST_START_TEST):
3017 * tests/check/generic/sinks.c: (GST_START_TEST):
3018 * tests/check/gst/gstbin.c: (GST_START_TEST):
3019 * tests/check/gst/gstevent.c: (GST_START_TEST):
3020 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3021 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3022 * tests/check/gst/gstquery.c: (GST_START_TEST):
3023 * tests/check/gst/gstutils.c: (GST_START_TEST):
3024 * tests/check/libs/basesrc.c: (GST_START_TEST):
3025 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3026 (gst_parse_test_element_change_state):
3027 Don't use gst_element_get_pad().
3029 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
3032 Fix installing plugin documentation when gtk-doc is disabled.
3034 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3036 * docs/manual/advanced-autoplugging.xml:
3037 * docs/manual/basics-helloworld.xml:
3038 * docs/manual/basics-pads.xml:
3039 * docs/manual/highlevel-components.xml:
3040 Avoid using a bad function in the example code.
3042 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3044 * gst/gstclock.c: (gst_clock_set_calibration):
3045 Fix debug of the new clock rate.
3047 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3049 * win32/common/libgstbase.def:
3050 Add gst_base_sink_wait_clock() to the exported symbols.
3052 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
3054 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3056 * libs/gst/base/gstbasetransform.c:
3057 (gst_base_transform_sink_event):
3058 Unref events that the GstBaseTransform::event vfunc didn't want to
3059 have forwarded by the base class. Closes a leak in identity.
3062 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3064 * docs/libs/gstreamer-libs-sections.txt:
3065 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3066 * libs/gst/base/gstbasesink.h:
3067 Expose a method that was previously used internally to synchronize
3068 against the clock because it can be useful for subclasses too.
3069 API: GstBaseSink::gst_base_sink_wait_clock()
3071 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3073 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3074 Add sanity check to make sure we don't get smaller buffers
3075 than requested (and fallback to normal buffer alloc if we do).
3077 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3079 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3080 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3081 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3082 Refactor adjusting the running_time with latency and offset into a
3084 When doing clipping, we still want to use the subclass get_times method,
3085 just in case the DURATION or TIMESTAMP are not set.
3087 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3089 * docs/gst/gstreamer-sections.txt:
3090 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3091 * gst/gsttypefind.h:
3092 * win32/common/libgstreamer.def:
3093 API: add gst_type_find_suggest_simple(), #533740.
3095 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3097 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3098 Use right error code when typefinding fails, so we can use
3099 the default (translated) error messages.
3101 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3103 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3104 (gst_base_src_start):
3105 When the subclass did not set caps on outgoing buffers, configure the
3106 caps we negotiated on the source pad.
3107 When the typefind helper does not find caps, error out properly instead
3108 of doing things with NULL caps.
3110 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3112 * gst/gsttypefind.h:
3113 Tabs to spaces, oh yes!
3115 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3117 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3118 Add David's and Benjamin's tests for array intersection to the
3119 unit test suite (#147931).
3121 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3124 Document that gst_event_new_tag() and gst_event_new_navigation()
3125 take ownership of the taglist/structure passed to them. (#533635).
3127 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3130 Don't descend into the plugins dir if plugin docs building
3134 Add a note about the new type:GTypeName syntax for the plugin
3135 documentation .types file.
3137 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3139 * gst/gstmessage.c: (gst_message_new_error),
3140 (gst_message_new_warning), (gst_message_new_info):
3142 Mark the debug string parameters as const. Fixes bug #533490.
3144 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3146 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3147 Sort buffer cache list by end offsets. This makes sure that we don't
3148 stop to search for a cached buffer that contains the requested data
3150 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3151 more efficient. Fixes bug #459862.
3153 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3156 Explain why we copy the list.
3158 * gst/gstpipeline.c:
3162 Add one debug-log statement to help tracing probelms with linking pads.
3164 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3166 * tests/check/gst/gstinfo.c:
3167 Add a test for removing the default log handler. Seems to fail under
3170 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3172 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3173 Release pad lock before calling out to avoid a possible deadlock.
3175 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3177 * gst/parse/grammar.y:
3178 Remove unneeded value unset.
3180 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3181 Add unit test for de/serialization of caps.
3183 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3185 * plugins/elements/gstfakesink.c:
3186 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3187 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3188 (gst_fake_src_class_init):
3189 Use custom marshalers that take GstMiniObject as first parameter.
3190 Using OBJECT as parameter while a GstMiniObject is given will lead
3191 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3193 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3195 * plugins/elements/gsttypefindelement.c:
3196 (gst_type_find_element_handle_event),
3197 (gst_type_find_element_send_cached_events),
3198 (gst_type_find_element_change_state):
3199 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3202 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3204 * plugins/elements/gsttypefindelement.c:
3205 (gst_type_find_handle_src_query), (stop_typefinding),
3206 (gst_type_find_element_handle_event),
3207 (gst_type_find_element_send_cached_events),
3208 (gst_type_find_element_change_state):
3209 Forward FLUSH_START events immediately and clean up instead of
3212 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3214 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3216 * libs/gst/base/gstbasetransform.c:
3217 (gst_base_transform_buffer_alloc):
3218 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3219 fall back to default negotiation in the chain function if the caps
3220 are different from what was requested. Fixes bug #526768.
3222 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3225 * tests/check/gst/gstsegment.c:
3226 No, let's not use g_slice_{dup|copy} here, since they only exist
3227 since GLib 2.14 and we still depend only on >= 2.12. Also add
3228 unit test for gst_segment_copy().
3230 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3232 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3233 Try to fix 'dereferencing type-punned pointer will break strict
3234 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3235 changed the default GType typedef from gulong to gsize at some point,
3236 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3237 g_once_* functions all take a gsize * though, so work around the type
3238 mismatch for C++ by doing everything in gsize and casting to GType
3241 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3243 * plugins/elements/gstmultiqueue.c:
3244 Add documentation for the signals to push our core plugin docs
3245 coverage back up to 100%.
3247 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3249 * gst/gstinfo.h (GST_FUNCTION):
3250 Reverted GST_FUNCTION to the old version as we don't want the
3251 full signature in C++ code. Also added support for MSVC.
3253 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3256 Intern the type name string, similar to what G_DEFINE_TYPE does.
3258 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3261 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3263 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3265 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3267 * libs/gst/base/gstbasetransform.c:
3268 (gst_base_transform_buffer_alloc):
3269 Don't passthrough buffer allocation too easily if the caps change.
3270 This breaks when working in passthrough mode and upstream changes
3271 it's caps. Fixes bug #526768.
3273 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3275 * gst/gstinfo.c (gst_debug_log_valist):
3276 Improved the __FILE__ part of debug output for MSVC.
3278 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3280 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3281 Declaration after statement fix for compilers like MSVC.
3283 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3285 * win32/common/config.h.in:
3286 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3287 use the real thing than having "???" unconditionally.
3289 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3291 * gst/gstinfo.h (GST_FUNCTION):
3292 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3294 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3296 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3299 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3300 (gst_base_sink_set_flushing):
3301 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3304 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3306 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3307 (gst_fake_src_init), (gst_fake_src_set_property),
3308 (gst_fake_src_get_property), (gst_fake_src_start):
3309 * plugins/elements/gstfakesrc.h:
3310 Added format property to control the format of the newsegment events.
3311 API: GstFakeSrc:format
3313 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3315 * win32/common/libgstreamer.def:
3316 Add gst_pad_has_name() to the exported symbols.
3318 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3320 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3321 * libs/gst/base/gstbasetransform.c:
3322 (gst_base_transform_prepare_output_buffer):
3323 Don't allow negative sizes when allocating new buffers.
3326 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3328 Patch by: Sjoerd Simons <sjoerd at luon net>
3330 * gst/gstbus.c: (gst_bus_source_dispatch):
3331 Don't print a warning if the queue is empty when we try to pop
3332 here. That could happen if another thread or callback set the
3333 bus to flushing between the source's check/prepare and the
3334 dispatch being called (#531538).
3336 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3338 * plugins/elements/gstmultiqueue.c:
3341 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3343 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3344 Add unit test for deserializing uint64s and check some really large
3345 numbers in the int64 test.
3347 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3349 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3350 (print_interfaces), (print_element_properties_info),
3351 (print_signal_info):
3352 Use "%s" as format string instead of printing strings directly.
3354 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3356 * gst/gstclock.c: (gst_clock_set_calibration):
3357 Make some checks actually useful.
3359 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3360 Remove some unused code. Unsigned integers tend to be >= 0.
3362 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3364 * gst/gstminiobject.c: (gst_value_get_mini_object):
3365 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3366 function was not in the unscheduled 0.10.19 release.
3368 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3370 * gst/gstregistry.c: (gst_registry_scan_path_level):
3371 Only print one log message per non-plugin file.
3373 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3375 * gst/gstinfo.c: (gst_debug_log_default):
3376 Fix alignment of debug log columns on 64-bit.
3378 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3380 * docs/libs/Makefile.am:
3381 * docs/libs/gstreamer-libs-sections.txt:
3382 Ignore private controller headers for docs.
3384 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3386 * libs/gst/controller/gstcontrollerprivate.h:
3387 * libs/gst/controller/gsthelper.c:
3388 * libs/gst/controller/gstinterpolation.c:
3389 * libs/gst/controller/gstinterpolationcontrolsource.c:
3390 (gst_interpolation_control_source_set_interpolation_mode):
3391 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3392 * libs/gst/controller/lib.c:
3393 Move some private declarations into private headers.
3395 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3397 * gst/gstdebugutils.c: (debug_dump_element_pad):
3398 Remove some code that is unused after Stefan's refactoring and uses
3399 uninitialized variables now, resulting in a compiler warning.
3401 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3403 * gst/gstregistry.c: (gst_registry_scan_path_level):
3404 Run g_str_has_suffix() only on the file name, not the
3407 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3409 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3410 Since we're not called only from the chain function any longer,
3411 we can't assume that there's always data in the queue, so move
3412 the is_full check to the beginning of the loop (otherwise we'd
3413 hit the assert when changing the limit properties while the
3414 queue is empty or not running yet).
3415 Also, only set a discont if items were actually removed from
3418 * tests/check/elements/queue.c: (test_leaky_downstream):
3419 Test case for the above.
3421 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3423 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3425 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3426 (gst_queue_chain), (queue_capacity_change),
3427 (gst_queue_set_property):
3428 When changing thr max capacity of a leaky queue, immediatly drop buffers
3429 instead of waiting for a push on the sinkpad. Fixes #530637.
3431 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3433 * gst/gstdebugutils.c:
3434 Refactor code and fix handling of ghostpads and their proxypads.
3436 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3438 * docs/gst/gstreamer-sections.txt:
3439 * gst/gstevent.c: (gst_event_has_name):
3441 * tests/check/gst/gstevent.c: (GST_START_TEST):
3442 Add method to conveniently check the name of a custom event with
3443 gst_event_has_name().
3444 Reformat the event docs so that related methods are put together instead
3445 of the default alphabetical sort.
3446 Update unit test with new method.
3447 API: GstEvent::gst_event_has_name()
3449 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3451 * libs/gst/check/Makefile.am:
3452 Don't add an explicit link to libgstreamer-0.10.la; it's already
3453 included in GST_OBJ_LIBS.
3455 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3458 Register GstClock type from a type-safe context. Fixes bug #530317.
3460 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3462 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3464 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3466 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3470 Use the GLib stuff to create a private structure.
3471 Add some locking around some dispose methods to make them a little
3472 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3474 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3476 * libs/gst/base/gstbasesink.h:
3477 * libs/gst/base/gstbasesrc.h:
3478 * libs/gst/base/gstbasetransform.h:
3479 * libs/gst/base/gstcollectpads.h:
3480 Fix doc typos and unify caps a bit.
3482 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3484 * tools/gst-launch.1.in:
3485 Forgot to also add the envvar docs here.
3487 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3489 * gst/gst.c: (init_post), (gst_deinit):
3490 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3491 (test_concurrent_create), (gst_pipeline_suite):
3492 Ref some more classes in gst_init() to work around thread-safety
3493 issues in pre-2.16 GLibs, and add basic unit test.
3495 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3497 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3498 (gst_base_sink_send_event):
3499 Rearrange the latency query code. We always want to do the upstream
3500 query, even if we are not live so that the upstream elements can get the
3501 latency results too. If we fail doing the query and we are live, we
3502 return TRUE afterwards.
3504 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3506 patch by: Jason Zhao <e3423c@motorola.com>
3508 * docs/gst/running.xml:
3510 Enable/disable scan_and_update_registry() based on commandline switch
3511 or environment variable. Fixes #520468.
3514 Fix typo in my previous commit.
3516 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3518 * gst/gstregistrybinary.c:
3519 Add a warning if we hit unhandled factories when saving.
3520 More debug logging detail, but move to LOG category.
3522 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3524 * gst/gstregistry.c:
3525 Tell the *truth* when improving the documentation.
3527 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3529 * gst/gstelementfactory.c: (gst_element_factory_make):
3530 Unref the factory after it was used the last time, not before.
3532 * gst/gstindexfactory.c: (gst_index_factory_make):
3533 Improve debugging a bit and don't leak a ref to the index factory with
3536 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3538 * gst/gstregistry.c:
3539 Improve the documentation.
3541 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3544 The glib macro seems to be borked. Use g_slice_copy directly and cast
3545 in the hope that this fixes the warning on 64bit.
3547 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3550 Document the new function. Use g_slice_dup() (no need for
3551 gst_segment_init()).
3553 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3555 * docs/gst/gstreamer-sections.txt:
3556 Move GParamSepc macros to standart section.
3559 Dn't document _get_type - its in private section in docs anyway and
3560 this doc-blob was incomplete.
3563 Fix wrong symbol names in docs.
3566 Add once doc sentence.
3568 * tests/check/gst/.cvsignore:
3571 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3573 * docs/gst/Makefile.am:
3574 And remove those libs here.
3576 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3578 * docs/libs/Makefile.am:
3579 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3581 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3583 Patch by: Olivier Crete <tester at tester dot ca>
3585 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3586 Add the min-threshold to the min latency if possible. Fixes #529148.
3588 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3590 * docs/gst/gstreamer.types.in:
3591 Stupid editor, I removed that line as it should go in yet.
3593 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3595 * docs/gst/gstreamer.types.in:
3596 * docs/libs/gstreamer-libs.types:
3597 Remove library types fro core docs and have them in libs docs.
3598 Reformat and cleanup. Add comment for miniobject types.
3600 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3602 * gst/gsturi.c: (gst_uri_get_protocol):
3603 Fix leak: g_strdown operates on the string in place, while
3604 g_ascii_strdown() returns a newly-allocated string.
3606 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3608 * tools/gst-inspect.c: (print_uri_handler_info),
3609 (print_element_info):
3610 Print the URI protocols and the URI type supported by the element.
3612 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3614 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3615 Use g_value_take_string() instead of the deprecated
3616 g_value_set_string_take_ownership().
3618 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3620 * gst/gstregistrybinary.c: (_gst_crc32):
3621 Return the old CRC instead of 0 if we give a NULL buffer
3622 or a buffer with a length of 0.
3624 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3626 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3627 (gst_uri_get_protocol), (gst_uri_has_protocol),
3628 (gst_uri_construct), (gst_uri_handler_set_uri):
3629 A valid URI scheme can also include '+', '-' and '.' additional
3630 to alphanumeric characters as per RFC 3986 Section 3.1.
3632 Handle URI schemes case insensitive in all places and convert
3633 to lower-case when constructing an URI or setting an URI with
3634 the GstURIHandler interface. Fixes bug #528868.
3635 All elements can still assume (as before) that they will
3636 get passed URIs with a lower-case URI scheme by the GstURIHandler
3639 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3641 * gst/gstcaps.c: (gst_static_caps_get):
3642 * gst/gstclock.c: (gst_clock_entry_new):
3643 Don't use g_atomic_set_int where it's not needed.
3645 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3647 * gst/gstvalue.c: (gst_value_deserialize_caps):
3648 * gst/parse/grammar.y:
3651 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3653 * gst/gstutils.c: (gst_atomic_int_set):
3654 Use g_atomic_int_set() here too instead of assignment +
3657 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3661 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3662 now that we depend on new enough GLib.
3664 * gst/gstcaps.c: (gst_static_caps_get):
3665 * gst/gstclock.c: (gst_clock_entry_new):
3666 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3667 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3668 (gst_debug_category_set_threshold):
3669 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3670 (gst_base_sink_set_qos_enabled):
3671 * libs/gst/net/gstnettimeprovider.c:
3672 (gst_net_time_provider_set_property):
3673 Use g_atomic_int_set() instead of gst_atomic_int_set().
3675 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3678 Also use G_GINT64_CONSTANT for the queries.
3680 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3683 Use G_GINT64_CONSTANT in varargs function.
3685 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3687 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3688 Initialize the registry magic with zeroes.
3690 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3692 * gst/gstregistrybinary.c: (_gst_crc32),
3693 (gst_registry_binary_write),
3694 (gst_registry_binary_initialize_magic),
3695 (gst_registry_binary_write_cache),
3696 (gst_registry_binary_check_magic),
3697 (gst_registry_binary_read_cache):
3698 * gst/gstregistrybinary.h:
3699 Add crc32 checksum to the binary registry file and check this before
3700 accepting a registry file.
3702 Also free the data list when writing to the registry file fails.
3704 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3707 (gst_registry_binary_load_feature),
3708 (gst_registry_binary_load_plugin):
3709 If an element supports the Uri interface, returns a valid pointer
3710 to the supported URI protocols but this pointer contains nothing
3711 don't try to save that as it will corrupt the registry.
3713 Don't unref the plugin if we added it to the registry already but
3714 fail to load a feature as gst_registry_add_plugin() takes ownership
3717 Improve debugging a bit.
3719 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3722 Clarify some tag item docs after discussion on irc.
3724 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3726 * docs/gst/gstreamer-docs.sgml:
3727 Remove commented out plugins (they have their own docs). Update
3730 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3732 * docs/gst/gstreamer-docs.sgml:
3733 * docs/gst/gstreamer-sections.txt:
3734 * gst/gstparamspecs.c:
3735 * gst/gstparamspecs.h:
3736 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3737 docs to own section.
3740 This now only documents GValue.
3742 * docs/libs/gstreamer-libs-sections.txt:
3743 * libs/gst/controller/gstcontroller.h:
3744 Remove GST_PARAM_CONTROLLABLE.
3746 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3749 Correct file path. Tell about how to use -overrides.txt.
3750 * docs/design/draft-tagreading.txt:
3751 Small design update.
3753 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3755 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3756 (gst_registry_binary_load_plugin):
3757 Fix a typo in a debug message and revert change from yesterday as
3758 gst_registry_add_plugin() will only fail if something is really wrong
3759 already and we can't survive it anyway.
3761 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3763 * gst/gst.c: (init_post), (gst_deinit):
3764 Pre-register GstGError GType from a thread-safe context
3765 (fixes #527967); unref enum type classes in deinit.
3767 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3769 Patch by: Rene Stadler <mail at renestadler de>
3771 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3772 Merging an empty list with another list in KEEP_ALL mode should
3773 yield an empty list as result and not the second list (#512578).
3775 * tests/check/gst/gsttagsetter.c:
3776 Add unit test for tag merge modes and the aforementioned bug.
3778 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3780 Patch by: Rene Stadler <mail at renestadler de>
3783 Fix description to match the order in the table (#512577).
3785 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3787 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3789 * libs/gst/net/gstnettimepacket.h:
3790 * docs/libs/gstreamer-libs-sections.txt:
3791 Define socklen_t as int if it's not defined yet. Fixes compilation
3792 with MSVC6 and other versions where socklen_t is not defined in
3793 the windows headers (#518022).
3795 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3797 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3798 If gst_registry_add_plugin() fails our reference to the plugin is
3799 invalid so don't try to use it anymore and instead error out.
3801 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3803 * tools/gst-xmlinspect.c: (print_element_info), (main):
3804 De-cruft a bit. If no argument is specified, print all elements in
3805 XML syntax rather than a freestyle list of elements like gst-inspect.
3806 Also, don't print XML header chunk unless we actually have something
3807 to print (ie. don't print it before an error message); print error
3808 message to stderr not stdout. Remove support for printing plugin
3809 info (it would just output something freestyle along the lines of
3810 gst-inspect so far), which fixes #514507. Also add license header.
3812 2008-04-11 Julien Moutte <julien@fluendo.com>
3815 * configure.ac: Merge platform specific defines, introduce a new
3816 define on OS X to remember that forking when updating registry is
3818 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3820 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3822 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3823 condition that leads to absolutely no plugins being registered on
3826 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3828 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3830 * gst/gstutils.c: (gst_pad_add_data_probe),
3831 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3832 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3833 (gst_pad_add_buffer_probe_full):
3835 * docs/gst/gstreamer-sections.txt:
3836 * win32/common/libgstreamer.def:
3837 Add gst_pad_add_*_probe_full() functions with a notify callback that
3838 lets the caller free the data it passes to the probe functions. This
3839 is useful for bindings such as gst-python or gstreamermm (#526814).
3840 API: gst_pad_add_data_probe_full
3841 API: gst_pad_add_buffer_probe_full
3842 API: gst_pad_add_event_probe_full
3844 * tests/check/gst/gstutils.c:
3845 Add minimal unit test to make sure freeing the data actually works
3848 * tests/benchmarks/.cvsignore:
3849 Random cvsignore addendum.
3851 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3853 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3854 (GST_DEBUG_BIN_TO_DOT_FILE):
3855 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3856 to it in the docs (since these are macros the types of the arguments
3857 won't be shown in the docs otherwise).
3859 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3862 Do not abort on out of memory for pad_alloc_buffer.
3864 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3866 * libs/gst/check/gstcheck.c:
3867 Remove blank line between symbol name ad parameters to fix gtkdoc
3870 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3872 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3874 * docs/gst/gstreamer-sections.txt:
3877 * win32/common/libgstreamer.def:
3878 Expose gst_segment_copy() to make things easier for the c++ bindings.
3880 API: gst_segment_copy()
3882 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3884 * gst/gst.c: (gst_init_get_option_group), (init_post):
3885 Fix const position; ref GType classes for enum types to work
3886 around thread-safety issues in GLib versions < 2.16.
3888 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3890 * docs/design/part-buffering.txt:
3891 Fix some typos and set the estimated total for push mode to -1.
3893 * gst/gstquery.c: (gst_query_new_buffering):
3894 Set buffering-left to 0 as we're not buffering by default.
3896 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3897 Implement BUFFERING query.
3899 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3901 Based on patch by: Milosz Derezynski <internalerror gmail com>
3903 * gst/gsterror.c: (_gst_stream_errors_init):
3905 Add two new error codes for encrypted content. Fixes #524659.
3906 API: GST_STREAM_ERROR_DECRYPT
3907 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3909 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3914 * win32/common/libgstreamer.def:
3917 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3919 * plugins/elements/gstidentity.c: (gst_identity_event),
3920 (gst_identity_start):
3921 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3922 event after processing some data. Fixes bug #526042.
3924 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3926 * docs/gst/gstreamer-sections.txt:
3927 * gst/gstquery.c: (gst_query_parse_latency),
3928 (gst_query_set_buffering_percent),
3929 (gst_query_parse_buffering_percent),
3930 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3932 Rename _avail -> _range
3933 API: gst_query_set_buffering_range
3934 API: gst_query_parse_buffering_range
3936 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3938 * docs/design/part-buffering.txt:
3941 * gst/gstquery.c: (gst_query_parse_latency),
3942 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3943 (gst_query_parse_buffering_percent):
3945 Add busy field and quark for the buffering query so that the app can
3946 only use the query to see if buffering is in progress.
3948 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3950 * docs/gst/gstreamer-sections.txt:
3951 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3952 (gst_message_parse_buffering_stats):
3954 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3955 (gst_query_parse_latency), (gst_query_new_buffering),
3956 (gst_query_set_buffering_percent),
3957 (gst_query_parse_buffering_percent),
3958 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3959 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3961 Reorder the message docs and headers for clarity.
3962 Add aditional buffering stats API for messages.
3963 Add buffering query.
3964 Convert some leftover queries to use GstQuark.
3965 API: gst_message_set_buffering_stats
3966 API: gst_message_parse_buffering_stats
3967 API: GST_QUERY_BUFFERING
3968 API: GstBufferingMode
3969 API: gst_query_new_buffering
3970 API: gst_query_set_buffering_percent
3971 API: gst_query_parse_buffering_percent
3972 API: gst_query_set_buffering_stats
3973 API: gst_query_parse_buffering_stats
3975 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3977 * gst/gstmessage.c: (gst_message_new_error),
3978 (gst_message_new_warning), (gst_message_new_info),
3979 (gst_message_new_buffering), (gst_message_new_state_changed),
3980 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3981 (gst_message_new_new_clock), (gst_message_new_segment_start),
3982 (gst_message_new_segment_done), (gst_message_new_duration),
3983 (gst_message_new_async_start), (gst_message_parse_buffering),
3984 (gst_message_parse_state_changed),
3985 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3986 (gst_message_parse_new_clock), (gst_message_parse_error),
3987 (gst_message_parse_warning), (gst_message_parse_info),
3988 (gst_message_parse_segment_start),
3989 (gst_message_parse_segment_done), (gst_message_parse_duration),
3990 (gst_message_parse_async_start):
3991 Use GstQuark for messages.
3993 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3995 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3997 Add some more quarks needed for messages and queries.
3999 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4001 * docs/design/part-buffering.txt:
4002 Remove the "none" buffering mode, STREAM is a good default.
4003 Move estimated-time to the avail query, that's when it will be needed.
4004 Other small typo fixes and updates.
4006 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4008 * gst/gstindex.c: (gst_index_resolver_get_type):
4009 Don't put descriptions into the nick field of a GEnumValue: it's not
4010 meant for that and some language bindings rely on the nick field to
4011 construct constants and the like. Fixes #526705.
4013 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4018 Merge other changes from 0.10.19 release branch.
4020 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
4022 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4025 Actually build dlls when cross-compiling with mingw32.
4028 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
4030 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4033 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4035 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
4037 * docs/design/draft-latency.txt:
4040 * docs/design/part-buffering.txt:
4041 Update design docs with more buffering ideas.
4043 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
4046 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4048 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4051 Revert part that belongs to the preset patch.
4053 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4056 Add qoutes to the define. Fixes # 525961.
4058 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4060 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4061 (gst_file_index_load), (gst_file_index_add_id),
4062 (gst_file_index_get_assoc_entry):
4063 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4064 (gst_mem_index_free_id), (gst_mem_index_add_id),
4065 (gst_mem_index_index_format):
4066 Use GSlice when possible.
4068 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4070 * libs/gst/controller/gstinterpolationcontrolsource.c:
4071 (gst_control_point_free),
4072 (gst_interpolation_control_source_set_internal):
4073 Use GSlice for allocating the control points.
4075 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4077 * plugins/elements/gsttypefindelement.c:
4078 (gst_type_find_element_class_init),
4079 (gst_type_find_element_set_property),
4080 (gst_type_find_element_get_property),
4081 (gst_type_find_element_activate):
4082 * plugins/elements/gsttypefindelement.h:
4084 Fix pad leak when peer query fails.
4085 We can still typefind when the peer returns -1.
4086 Add property to force caps and bypass typefinding. This will be used in
4090 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4095 * gst/glib-compat-private.h:
4096 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4097 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4098 Unconditionally use GSlice for allocation.
4100 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4101 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4102 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4103 (gst_structure_free):
4104 Use GSlice for allocation.
4106 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4108 * gst/parse/Makefile.am:
4109 * gst/parse/grammar.tab.pre.c:
4110 * gst/parse/grammar.tab.pre.h:
4111 * gst/parse/lex._gst_parse_yy.pre.c:
4112 Require a new enough flex and bison and remove the parser hacks to use
4113 a pre-regenerated version.
4115 2008-04-01 Julien Moutte <julien@fluendo.com>
4117 patch by: Jason Zhao <E3423C@motorola.com>
4119 * configure.ac: Add a configure switch to disable option parsing
4123 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4126 * gst/gstregistry.c:
4127 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4128 and handle this case.
4131 Add a comment here describing, why we stat each plugin and not try to
4134 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4136 * libs/gst/base/gstbasetransform.c:
4137 (gst_base_transform_prepare_output_buffer):
4138 Also unset the GAP flag on buffers if we're working inplace but
4139 the element is not GAP-aware.
4141 Mark a comment as FIXME 0.11.
4143 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4146 Fix type in log message and add one to ease seeing how long registry
4147 cache verification takes.
4149 * gst/gstregistry.c:
4150 Only test plugin filenames against G_MODULE_SUFFIX.
4152 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4154 * gst/gstdebugutils.c:
4155 Improve handling ghost/proxy pads.
4157 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4159 * docs/gst/gstreamer-sections.txt:
4162 Expose macro to docs and fix link to it.
4164 2008-03-27 Michael Smith <msmith@fluendo.com>
4166 * libs/gst/dataprotocol/dataprotocol.c:
4167 (gst_dp_packet_from_event_1_0):
4168 When calculating GDP body CRC, use the correct pointer.
4169 Fixes part of #522401.
4171 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4173 Patch by: Mark Nauwelaerts <manauw at skynet be>
4175 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4176 (gst_identity_init), (gst_identity_prepare_output_buffer):
4177 Identity is not always a passthrough element, it can modify the buffer
4178 timestamps when it has a datarate and operates in single-segment mode.
4179 We therefore make it an in_place filter with a custom buffer prepare
4180 function that conditionally makes the input buffer metadata writable
4181 when needed. Fixes #523985.
4183 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4185 Patch by: Mark Nauwelaerts <manauw at skynet be>
4188 * libs/gst/base/gstbasesrc.h:
4189 * libs/gst/base/gstbasetransform.c:
4190 * libs/gst/check/gstcheck.c:
4191 Small documentation fixes. Fixes #523978.
4193 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4195 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4196 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4197 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4199 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4201 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4202 (single_queue_underrun_cb):
4203 When trying to make room in the queue, bump the max allowed buffers
4204 bigger than the current amount of buffers in the queue. this fixes some
4205 nasty deadlocks in multiqueue when dynamically changing the limits of
4208 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4210 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4212 * gst/gstcaps.c: (gst_caps_set_simple),
4213 (gst_caps_set_simple_valist), (gst_caps_intersect):
4215 Constify the field gchar * params in set_simple and friends.
4218 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4220 * gst/gstvalue.c: (gst_value_transform_object_string):
4221 Transform a GstObject to a more meaningfull string that includes the
4222 object type in addition to its name.
4224 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4227 ChangeLog surgery to add bugnumber to commit.
4229 2008-03-23 Rene Stadler <mail@renestadler.de>
4231 * libs/gst/base/gstbasetransform.c:
4232 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4234 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4236 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4237 Rename constant everywhere and don't forget one occurence.
4239 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4241 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4242 Align memory to the pointer size even if the architecture allows
4243 unaligned memory access. Unaligned memory access usually comes with
4244 performance penality.
4246 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4248 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4249 (gst_registry_binary_check_magic),
4250 (gst_registry_binary_load_pad_template),
4251 (gst_registry_binary_load_feature),
4252 (gst_registry_binary_load_plugin):
4253 Align memory to the pointer size instead of always 32 bit. Fixes
4254 unaligned memory accesses on ia64 and friends.
4256 * gst/gstregistrybinary.h:
4257 Bump binary registry format version for this as it changes the
4258 format on those architectures that don't have unaligned access
4259 and 64 bit pointers.
4261 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4263 * docs/pwg/advanced-dparams.xml:
4264 * docs/pwg/building-props.xml:
4265 * docs/pwg/other-source.xml:
4266 * gst/glib-compat.h:
4267 * gst/gstbin.c: (gst_bin_class_init):
4268 * gst/gstclock.c: (gst_clock_class_init):
4269 * gst/gstindex.c: (gst_index_class_init):
4270 * gst/gstobject.c: (gst_object_class_init):
4271 * gst/gstpad.c: (gst_pad_class_init):
4272 * gst/gstpipeline.c: (gst_pipeline_class_init):
4273 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4274 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4275 * libs/gst/base/gstbasetransform.c:
4276 (gst_base_transform_class_init):
4277 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4278 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4279 (_gst_check_fault_handler_sighandler),
4280 (_gst_check_fault_handler_setup), (gst_check_init):
4281 * libs/gst/controller/gstcontroller.c:
4282 (_gst_controller_class_init):
4283 * libs/gst/controller/gstlfocontrolsource.c:
4284 (gst_lfo_control_source_class_init):
4285 * libs/gst/net/gstnetclientclock.c:
4286 (gst_net_client_clock_class_init):
4287 * libs/gst/net/gstnettimeprovider.c:
4288 (gst_net_time_provider_class_init):
4289 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4290 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4291 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4292 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4293 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4294 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4295 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4296 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4297 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4298 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4299 * plugins/elements/gsttee.c: (gst_tee_class_init):
4300 * plugins/elements/gsttypefindelement.c:
4301 (gst_type_find_element_class_init):
4302 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4303 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4304 use it everywhere for GParamSpecs that use static strings (i.e. all).
4305 This gives us less memory usage, fewer allocations and thus less
4306 memory defragmentation. Fixes bug #523806.
4308 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4310 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4311 (gst_param_spec_mini_object):
4312 * gst/gstminiobject.h:
4313 * win32/common/libgstreamer.def:
4314 * docs/gst/gstreamer-sections.txt:
4315 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4316 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4317 GstParamSpecMiniObject into a public header for this.
4319 This make GstMiniObject a bit more consistent with GObject and makes
4320 it possible to extend the param specs.
4322 gst_value_dup_mini_object is mainly useful for set_property methods.
4326 * tools/gst-inspect.c: (print_element_properties_info):
4327 Print something useful for GstMiniObject properties and not just
4330 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4332 * docs/gst/gstreamer-sections.txt:
4333 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4334 (gst_registry_binary_check_magic):
4335 * gst/gstregistrybinary.h:
4336 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4337 and add it to the (private part) of the docs to fix the build.
4339 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4341 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4342 (gst_registry_binary_check_magic),
4343 (gst_registry_binary_read_cache):
4344 * gst/gstregistrybinary.h:
4345 Don't use GST_MAJORMINOR for the binary registry version. Instead
4346 hardcode a value that must be changed whenever the format changes
4347 in an incompatible way.
4348 Also don't GST_ERROR when there is a version mismatch, just
4349 regenerate the registry silently.
4351 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4354 Back to development - 0.10.18.1
4356 === release 0.10.18 ===
4358 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4361 releasing 0.10.18, "So far away"
4363 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4366 * win32/common/config.h:
4367 0.10.17.4 pre-release
4369 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4371 Patch by: Ole André Vadla Ravnås
4372 <ole dot andre dot ravnas at tandberg dot com>
4374 * docs/gst/gstreamer-sections.txt:
4375 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4376 (gst_poll_update_winsock_event_mask),
4377 (gst_poll_prepare_winsock_active_sets),
4378 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4379 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4380 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4381 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4382 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4384 * win32/common/libgstreamer.def:
4385 Add new function gst_poll_fd_ignored() for improved Windows
4387 Various minor fixes and cleanups. See #520808.
4389 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4391 * gst/gstindex.c: (gst_index_entry_free):
4393 Don't free key strings which we don't own. Fixes crash in
4394 gst_index_entry_free() (#522741).
4396 * tests/check/Makefile.am:
4397 * tests/check/gst/.cvsignore:
4398 * tests/check/gst/gstindex.c: (test_index_entries),
4399 (gst_index_suite), (gst_index):
4400 Add unit test for the above.
4402 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4404 * win32/common/libgstreamer.def:
4405 Remove symbols that were removed recently. Fixes bug #521740.
4407 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4410 * win32/common/config.h:
4411 0.10.17.3 pre-release
4413 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4415 Patch by: Ole André Vadla Ravnås
4416 <ole dot andre dot ravnas at tandberg dot com>
4418 * docs/gst/gstreamer-sections.txt:
4419 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4420 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4421 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4422 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4423 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4424 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4425 (gst_poll_fd_can_write), (gst_poll_wait),
4426 (gst_poll_set_controllable), (gst_poll_restart),
4427 (gst_poll_set_flushing):
4429 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4430 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4431 (gst_net_time_provider_new):
4432 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4433 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4434 * tests/benchmarks/gstpollstress.c: (main):
4435 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4436 Remove GstPollMode from the API, it does not make sense to let the
4437 application control this.
4438 Add support for Win32.
4439 Fix the testsuite. Fixes #520671.
4441 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4443 Patch by: Ole André Vadla Ravnås
4444 <ole dot andre dot ravnas at tandberg dot com>
4446 * gst/gstregistrybinary.c:
4447 Include io.h for write() and close() when building with MSVC. Fixes
4450 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4453 * gst/gst_private.h:
4454 * gst/gstconfig.h.in:
4455 * gst/gstregistry.h:
4456 * gst/gstregistrybinary.c:
4457 * win32/common/gstconfig.h:
4458 Move registry backend API to private headers where we can. Add
4459 fixme-0.11 comments for the others. Add stubs for the xml backend when
4460 using the binary to ensure they functions exists (they should not be
4461 used though). Fixes #520756.
4463 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4466 * win32/common/config.h:
4469 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4471 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4472 (gst_registry_binary_read_cache):
4473 * gst/gstregistryxml.c: (gst_registry_save):
4474 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4475 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4476 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4477 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4478 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4481 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4483 * gst/gstminiobject.c:
4484 Import gst_private.h before any other header that might include other
4485 glib headers. This fixes the build on windows using native compilers.
4487 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4489 * win32/common/gstconfig.h:
4490 Add here too, just for completeness.
4492 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4495 * gst/gstconfig.h.in:
4496 * gst/gstregistry.h:
4497 Fix broken use of config.h-defined preprocessor directive in a public
4498 header file. Add a corresponding define to gstconfig.h, since we can't
4499 really remove those function declarations from the header file now
4500 (or can we? and why are they there in the first place?).
4502 2008-03-03 Andy Wingo <wingo@pobox.com>
4504 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4507 * gst/gststructure.c (gst_structure_from_string): Warn if
4508 structure_from_string didn't consume the whole string, but the
4509 caller did not provide an end pointer.
4511 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4513 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4515 * gst/gstregistryxml.c: (read_string), (load_feature):
4516 Strings allocated by libxml2 should be freed with xmlFree(), not
4517 with g_free(). Fixes issues on windows in certain contexts (#519698).
4519 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4521 * gst/gstinterface.c: (gst_element_implements_interface):
4522 Don't crash if the element supports the interface queried, but does
4523 not implement GstImplementsInterface. Fixes #519584.
4525 * tests/check/Makefile.am:
4526 * tests/check/gst/.cvsignore:
4527 * tests/check/gst/gstinterface.c:
4528 Add unit test for the above.
4530 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4532 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4535 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4537 * gst/gstsegment.c: (gst_segment_set_seek),
4538 (gst_segment_to_stream_time):
4539 Improve some comment.
4540 Update variables where it makes more sense.
4542 2008-02-29 Rene Stadler <mail@renestadler.de>
4544 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4545 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4546 URIHandlers implemented using language bindings.
4548 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4550 * gst/gstelementfactory.h:
4551 * tests/check/elements/fakesink.c:
4552 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4553 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4554 * tests/check/elements/filesink.c: (setup_filesink):
4555 * tests/check/elements/filesrc.c: (setup_filesrc):
4556 * tests/check/elements/identity.c: (setup_identity):
4557 * tests/check/elements/tee.c:
4558 * tests/check/generic/sinks.c:
4559 * tests/check/generic/states.c: (setup), (teardown):
4560 * tests/check/gst/gst.c:
4561 * tests/check/gst/gstabi.c:
4562 * tests/check/gst/gstbin.c:
4563 * tests/check/gst/gstbus.c: (pull_messages):
4564 * tests/check/gst/gstcaps.c:
4565 * tests/check/gst/gstelement.c:
4566 * tests/check/gst/gstevent.c:
4567 * tests/check/gst/gstghostpad.c:
4568 * tests/check/gst/gstiterator.c:
4569 * tests/check/gst/gstmessage.c:
4570 * tests/check/gst/gstminiobject.c: (my_foo_init):
4571 * tests/check/gst/gstobject.c: (thread_name_object),
4573 * tests/check/gst/gstpad.c:
4574 * tests/check/gst/gstplugin.c:
4575 * tests/check/gst/gstpoll.c:
4576 * tests/check/gst/gstquery.c:
4577 * tests/check/gst/gstsegment.c:
4578 * tests/check/gst/gststructure.c:
4579 * tests/check/gst/gstsystemclock.c:
4580 * tests/check/gst/gsttask.c:
4581 * tests/check/gst/gstutils.c:
4582 * tests/check/gst/gstvalue.c:
4583 * tests/check/gst/struct_hppa.h:
4584 * tests/check/gst/struct_i386.h:
4585 * tests/check/gst/struct_ppc32.h:
4586 * tests/check/gst/struct_ppc64.h:
4587 * tests/check/gst/struct_x86_64.h:
4588 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4589 * tests/check/libs/basesrc.c:
4590 * tests/check/libs/controller.c: (GST_START_TEST):
4591 * tests/check/libs/gdp.c:
4592 * tests/check/libs/gstnetclientclock.c:
4593 * tests/check/libs/gstnettimeprovider.c:
4594 * tests/check/libs/libsabi.c:
4595 * tests/check/libs/struct_hppa.h:
4596 * tests/check/libs/struct_i386.h:
4597 * tests/check/libs/struct_ppc32.h:
4598 * tests/check/libs/struct_ppc64.h:
4599 * tests/check/libs/struct_x86_64.h:
4600 * tests/check/pipelines/cleanup.c:
4601 * tests/check/pipelines/simple-launch-lines.c:
4602 * tests/check/pipelines/stress.c:
4603 And correct even more valid sparse warnings.
4605 * win32/common/libgstreamer.def:
4606 Add gst_poll_fd_init to the list of symbols.
4608 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4610 * gst/gstconfig.h.in:
4611 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4612 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4613 (gst_check_log_critical_func), (gst_check_drop_buffers),
4614 (gst_check_element_push_buffer_list):
4615 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4616 (gst_controller_get_type):
4617 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4618 (gst_object_get_controller), (gst_object_get_control_source):
4619 * libs/gst/controller/gstinterpolationcontrolsource.c:
4620 (gst_interpolation_control_source_new):
4621 * libs/gst/controller/gstlfocontrolsource.c:
4622 (gst_lfo_control_source_new):
4623 * libs/gst/dataprotocol/dataprotocol.c:
4624 (gst_dp_event_from_packet_0_2):
4625 * plugins/elements/gstfdsrc.c:
4626 * plugins/elements/gstmultiqueue.c:
4627 * plugins/elements/gsttee.c:
4628 * plugins/elements/gsttypefindelement.c:
4629 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4630 (gst_file_index_add_association):
4631 * plugins/indexers/gstmemindex.c:
4632 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4633 * tests/check/elements/queue.c: (setup_queue):
4634 * tests/check/gst/gstpipeline.c:
4635 * tests/check/libs/collectpads.c: (setup), (teardown),
4636 (gst_collect_pads_suite):
4637 * tests/examples/adapter/adapter_test.c:
4638 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4639 * tests/examples/xml/createxml.c:
4640 * tests/examples/xml/runxml.c:
4641 * tools/gst-inspect.c:
4643 Correct all relevant warnings found by the sparse semantic code
4644 analyzer. This include marking several symbols static, using
4645 NULL instead of 0 for pointers, not using variable sized arrays
4646 on the stack, moving variable declarations to the beginning of
4647 a block and using "foo (void)" instead of "foo ()" for declarations.
4649 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4651 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4652 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4653 Don't reset GstPollFDs, this is not necessary at all.
4655 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4656 (delayed_restart), (delayed_control):
4657 Use GST_POLL_FD_INIT.
4659 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4661 * gst/gstpoll.c: (gst_poll_fd_init):
4665 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4666 Use some more init macros.
4668 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4670 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4671 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4672 Use init macros and functions.
4674 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4676 * docs/gst/gstreamer-sections.txt:
4677 * gst/gstpoll.c: (gst_poll_fd_init):
4679 Add INIT macro and _init method for initializing the GstPollFD.
4681 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4683 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4684 (gst_fd_sink_update_fd):
4685 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4686 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4687 (delayed_restart), (delayed_control):
4688 Initialize some uninitialized variables as spotted by valgrind.
4690 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4692 * tests/benchmarks/Makefile.am:
4693 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4695 Add poll stress test.
4697 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4699 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4701 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4702 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4703 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4704 * plugins/elements/gstfdsink.h:
4705 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4706 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4707 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4708 (gst_fd_src_uri_set_uri):
4709 * plugins/elements/gstfdsrc.h:
4710 Port to GstPoll. See #505417.
4712 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4714 * win32/common/libgstreamer.def:
4715 Add new gst_poll_ symbols to win32 defs.
4717 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4719 * docs/libs/gstreamer-libs-sections.txt:
4720 * libs/gst/net/gstnetclientclock.c:
4721 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4722 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4723 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4724 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4725 * libs/gst/net/gstnetclientclock.h:
4726 * libs/gst/net/gstnettimeprovider.c:
4727 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4728 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4729 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4730 (gst_net_time_provider_new):
4731 * libs/gst/net/gstnettimeprovider.h:
4732 Use a private stuct to not break ABI.
4734 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4736 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4738 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4739 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4740 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4741 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4742 * libs/gst/net/gstnetclientclock.h:
4743 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4744 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4745 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4746 (gst_net_time_provider_new):
4747 * libs/gst/net/gstnettimeprovider.h:
4748 Massive code removal and cleanups because of GstPoll.
4751 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4754 Add checks for poll, ppoll and pselect.
4756 * docs/gst/gstreamer-docs.sgml:
4757 * docs/gst/gstreamer-sections.txt:
4758 Add docs for GstPoll.
4762 * gst/gstpoll.c: (find_index), (selectable_fds),
4763 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4764 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4765 (gst_poll_set_mode), (gst_poll_get_mode),
4766 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4767 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4768 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4769 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4770 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4771 (gst_poll_fd_can_write), (gst_poll_wait),
4772 (gst_poll_set_controllable), (gst_poll_restart),
4773 (gst_poll_set_flushing):
4775 Add generic poll abstraction. We ideally don't want to have this in core
4776 here but in glib intead...
4777 This code will be used in various network elements and ultimately for
4778 the nanosecond precision monotonic clock (that's why it's here in core).
4779 It'll allow us to implement cancelable socket operations for windows too.
4781 * tests/check/Makefile.am:
4782 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4783 (delayed_stop), (delayed_restart), (delayed_flush),
4784 (delayed_control), (gst_poll_suite):
4785 Add GstPoll unit test.
4787 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4790 Improve documentation of gst_filter_run(). Fixes #518627.
4792 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4795 Add a few lines about the new 'check-inspected-versions' target.
4797 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4799 * tests/check/gst/gstevent.c:
4800 Add qos to the event test. Rename tcase/tsuite; is not only about
4803 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4805 * plugins/elements/gstqueue.c:
4806 Ensure that buffer metadata is writeable, before modifying. Spotted by
4809 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4811 * plugins/elements/gstqueue.c:
4812 * plugins/elements/gstqueue.h:
4813 When dropping buffers in leaky modes, mark next buffers we sent as
4816 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4818 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4819 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4821 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4823 * plugins/elements/Makefile.am:
4824 * plugins/elements/gstbufferstore.c:
4825 * plugins/elements/gstbufferstore.h:
4826 * plugins/elements/gsttypefindelement.h:
4827 Remove GstBufferStore, no idea why we were still building it.
4828 It's not used anywhere and superseded by GstAdapter.
4830 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4831 (gst_file_src_create_mmap):
4832 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4833 Printf format fixes for 64-bit integers.
4835 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4838 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4839 We're not in 0.8 times anymore.
4841 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4843 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4844 (gst_check_element_push_buffer_list):
4845 * libs/gst/check/gstcheck.h:
4846 Make the declaration in the header for
4847 gst_check_element_push_buffer_list match the implementation.
4849 Fix up spelling, grammar and wording of the documentation in a few
4850 places, and add the Since keyword to new API functions.
4851 Use g_list_delete_link instead of g_list_remove in
4852 gst_check_drop_buffers, since it's immeasurably more efficient.
4854 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4855 Use new gst_check_drop_buffers function where appropriate.
4857 * win32/common/libgstbase.def:
4858 * win32/common/libgstreamer.def:
4859 Add new symbols gst_collect_pads_take_buffer,
4860 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4863 Changelog surgery to add API keyword to new gst_check API.
4865 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4867 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4868 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4869 Update pre-generated flex files with flex 2.3.34.
4871 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4873 * gst/gstminiobject.c:
4874 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4875 friendly to subclasses and not require them to know all internals
4876 of their parent class.
4878 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4880 * docs/libs/gstreamer-libs-sections.txt:
4881 * libs/gst/base/gstcollectpads.c:
4882 * libs/gst/base/gstcollectpads.h:
4883 Add sub-buffer functions to collectpads. Fixes #516187.
4884 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4886 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4889 Copy selected buffer-flags when creating subbuffers.
4892 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4894 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4895 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4896 * gst/gstmessage.c: (gst_message_class_init),
4897 (gst_message_finalize):
4898 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4899 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4900 (gst_mmap_buffer_finalize):
4901 Properly chain up finalize functions to the parent class.
4903 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4905 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4907 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4908 (gst_index_set_resolver_full):
4910 Add new function with option to dispose of user_data in resolver.
4911 Actually call the dispose function when finalizing the object and not
4912 just when changing the resolver/filter.
4913 API: GstIndex::gst_index_set_resolver_full()
4915 * docs/gst/gstreamer-sections.txt:
4916 Add new function to docs. Fixes #515469.
4918 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4920 * gst/gstindex.c: (gst_index_finalize):
4921 Chain up finalize to the parent class. Fixes leaking the GstObject
4922 name and other things.
4924 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4927 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4928 pre-releases or releases.
4930 * docs/faq/gst-uninstalled:
4933 * docs/random/release:
4934 Change one of the steps - we only upload core & base to Gnome FTP
4936 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4938 * gst/gstconfig.h.in:
4939 Add 'id' for example.
4943 * plugins/elements/gstfdsink.c:
4944 Link to signals. Doc and comment fixes.
4946 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4948 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4949 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4950 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4951 unused and unimplemented; finally, it is plugin features, not
4952 plugins, that have ranks.
4954 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4956 * gst/gstpluginfeature.h:
4957 Clarify GstRank range docs.
4959 2008-02-05 David Schleef <ds@schleef.org>
4961 * gst/gst.c: Add a separate gst_deinitialized that prevents
4962 gst_init() from being called after gst_deinit(). Fixes #509559
4964 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4966 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4967 (gst_bin_class_init):
4968 * gst/gstelement.c: (gst_element_base_class_init),
4969 (gst_element_class_add_pad_template):
4970 * gst/gstpadtemplate.c: (gst_pad_template_init):
4971 * gst/gstpipeline.c: (gst_pipeline_get_type),
4972 (gst_pipeline_base_init), (gst_pipeline_class_init):
4973 * libs/gst/base/gstbasesink.c:
4974 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4975 (gst_base_src_base_init), (gst_base_src_class_init):
4976 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4977 (gst_capsfilter_class_init):
4978 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4979 (gst_fake_sink_class_init):
4980 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4981 (gst_fake_src_class_init):
4982 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4983 (gst_fd_sink_class_init):
4984 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4985 (gst_fd_src_class_init):
4986 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4987 (gst_file_sink_class_init):
4988 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4989 (gst_file_src_class_init):
4990 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4991 (gst_identity_class_init):
4992 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4993 (gst_multi_queue_class_init):
4994 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4995 (gst_queue_class_init):
4996 * plugins/elements/gsttee.c: (gst_tee_base_init),
4997 (gst_tee_class_init):
4998 * plugins/elements/gsttypefindelement.c:
4999 (gst_type_find_element_base_init),
5000 (gst_type_find_element_class_init):
5001 * tests/check/gst/gstelement.c: (gst_element_suite):
5002 Revert previous changes to the behaviour of GstPadTemplates, etc
5003 and the possiblity to call them in class_init as it breaks too
5004 many elements. Reopens bug #491501.
5006 Should be applied again for 0.11, thus added a few FIXME 0.11 at
5009 2008-02-05 Stefan Kost <ensonic@users.sf.net>
5011 * tools/gst-launch.c:
5012 Dump one graph per pipeline state-change and state change name
5013 (if GST_DEBUG_DUMP_DOT_DIR is set).
5015 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
5018 * tests/check/gst/gstpad.c:
5019 Be sure that we have a new copy of the caps and not
5020 reffed caps from a template
5022 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5024 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5025 * gst/gstpipeline.c: (gst_pipeline_get_type),
5026 (gst_pipeline_class_init):
5027 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5028 (gst_base_sink_class_init):
5029 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5030 (gst_base_src_class_init):
5031 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5032 (gst_base_transform_class_init):
5033 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5034 (gst_collect_pads_class_init):
5035 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5036 * libs/gst/net/gstnettimeprovider.c:
5037 (gst_net_time_provider_base_init),
5038 (gst_net_time_provider_class_init):
5039 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5040 (gst_capsfilter_class_init):
5041 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5042 (gst_fake_sink_class_init):
5043 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5044 (gst_fake_src_class_init):
5045 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5046 (gst_fd_sink_class_init):
5047 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5048 (gst_fd_src_class_init):
5049 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5050 (gst_file_sink_class_init):
5051 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5052 (gst_file_src_class_init):
5053 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5054 (gst_identity_class_init):
5055 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5056 (gst_multi_queue_class_init):
5057 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5058 (gst_queue_class_init):
5059 * plugins/elements/gsttee.c: (gst_tee_base_init),
5060 (gst_tee_class_init):
5061 * plugins/elements/gsttypefindelement.c:
5062 (gst_type_find_element_base_init),
5063 (gst_type_find_element_class_init):
5064 Don't use base_init where not absolutely necessary. For example it's
5065 not necessary anymore for adding pad templates or setting element
5068 Leave empty base_init functions in several places as GST_BOILERPLATE
5069 still defines and uses them.
5071 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5073 * gst/gstelement.c: (gst_element_base_class_init),
5074 (gst_element_class_add_pad_template):
5075 * gst/gstpadtemplate.c:
5076 Make it possible (and recommended) to set element details and add
5077 pad templates in the class_init functions by copying the details/pad
5078 templates in GstElement's base_init.
5080 Also make it possible to replace existing pad templates by adding
5081 a new one with the same name. This was done in a hackish fashion
5082 in same elements before already.
5084 Don't reference pad templates that are added a second time. A
5085 new pad template has a refcount of one and is not floating anymore
5086 and to be owned by the element's class. Make this more explicit by
5087 mentioning it in the docs of gst_element_class_add_pad_template().
5089 These changes are backwards compatible. Fixes bug #491501.
5091 * tests/check/gst/gstelement.c:
5092 Add unit test for setting element details, adding pad templates and
5093 replacing them in a subclass.
5095 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5097 * tools/gst-inspect.c: (print_interfaces),
5098 (print_element_properties_info), (print_pad_info),
5099 (print_signal_info), (print_element_info):
5100 Fix a few memory leaks.
5102 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5104 * docs/libs/gstreamer-libs-sections.txt:
5105 * libs/gst/check/gstcheck.c:
5106 * libs/gst/check/gstcheck.h:
5107 Add more functions for unit testing: gst_check_drop_buffers,
5108 gst_check_caps_equal, gst_check_element_push_buffer_list,
5109 gst_check_element_push_buffer
5110 API: gst_check_drop_buffers
5111 API: gst_check_caps_equal
5112 API: gst_check_element_push_buffer_list
5113 API: gst_check_element_push_buffer
5115 2008-02-01 Julien Moutte <julien@fluendo.com>
5117 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5118 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5119 (gst_index_finalize), (gst_index_entry_free),
5120 (gst_index_add_association): Fix memory leaks.
5121 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5122 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5123 (gst_mem_index_free_format), (gst_mem_index_free_id),
5124 (gst_mem_index_finalize): Fix memory leaks.
5125 * win32/common/config.h: Updated to CVS HEAD.
5127 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5130 Some more details about how the plugin docs works.
5132 * docs/plugins/gstreamer-plugins-sections.txt:
5135 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5137 * gst/parse/grammar.tab.pre.c:
5138 * gst/parse/grammar.tab.pre.h:
5139 * gst/parse/grammar.y:
5140 * gst/parse/lex._gst_parse_yy.pre.c:
5141 Add delayed set-property. This allows to set properties on dynamicaly
5142 created objects (pads in videomxer). Fixes #509391.
5144 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5147 Check if caps are not NULL (fix bug #510194)
5149 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5151 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5152 (gst_base_sink_get_position_paused):
5153 Add fixme regarding EOS in pull mode.
5154 Fix position reporting in PAUSED for negative rates.
5156 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5158 * gst/gstminiobject.c: (gst_mini_object_replace):
5159 When replacing a miniobject, do a quick equality check first so that we
5160 can avoid a ref/unref pair.
5162 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5164 * docs/design/part-synchronisation.txt:
5167 * docs/plugins/Makefile.am:
5168 * docs/plugins/gstreamer-plugins-docs.sgml:
5169 * docs/plugins/gstreamer-plugins-sections.txt:
5170 * plugins/elements/gstmultiqueue.c:
5171 Add multiqueue to the docs.
5173 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5178 === release 0.10.17 ===
5180 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5183 releasing 0.10.17, "Due Negligence"
5185 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5188 Revert caps != NULL check temporarily for 0.10.17 release.
5190 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5193 Check if caps are not NULL (fix bug #510194)
5195 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5198 Fix compilation on systems that have posix timers but no
5201 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5204 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5206 * tools/gst-inspect.c:
5207 Revert previous commit in preparation for an impromptu 0.10.17 release
5209 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5211 * tools/gst-inspect.c: (print_interfaces),
5212 (print_element_properties_info), (print_pad_info),
5213 (print_signal_info), (print_element_info):
5214 Fix a few memory leaks.
5216 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5221 === release 0.10.16 ===
5223 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5226 releasing 0.10.16, "Special Dispensation"
5228 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5231 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5232 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5233 not fail when trying to crosscompile on OpenEmbedded (#511750).
5235 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5238 Use $(MAKE) instead of make to fix the build if GNU make is
5239 called different. Fixes bug #510747.
5241 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5243 * gst/gstplugin.c: (_gst_plugin_initialize):
5244 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5245 again, which I broke two commits ago when changing the API
5246 of gst_plugin_register_static(): the g_list_foreach() in
5247 _gst_plugin_register_static still assumed the old function
5248 signature and would therefore fail (re-fixes #510187).
5250 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5251 (_gst_plugin_register_static), (gst_plugin_register_static):
5252 Revert the (technically correct) change to call g_thread_init() from
5253 the pre-main() constructor. This will break programs which call
5254 g_thread_init() without an if (!g_thread_supported()) guard in their
5255 main function. We could just blame it on GLib or the application, but
5256 it's probably best to just avoid this altogether and simply not use
5257 any GLib functions here and use plain old malloc() with a simple
5258 array to store the plugins to register later when gst_init() is
5259 finally called (re-fixes #510187).
5261 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5262 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5263 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5264 (GST_START_TEST), (gst_plugin_suite):
5265 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5268 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5270 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5271 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5272 This makes gtk-doc complain, but results in slightly better
5273 compiler errors. The old _gst_plugin_register_static() is
5274 still guarded, so there'll be a compiler warning about that
5275 instead. Fixes #510187 too.
5277 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5279 * gst/gst.c: (init_post):
5280 * gst/gstplugin.c: (_gst_plugin_register_static),
5281 (gst_plugin_register_static), (_gst_plugin_initialize):
5282 * gst/gstplugin.h: (GstPluginFilter):
5283 Change API of gst_plugin_register_static() to not take
5284 a GstPluginDesc, but rather just take all the arguments
5285 in a GstPluginDesc directly. This is more intuitive and
5286 avoids certain mistakes when porting code from
5287 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5290 * tests/check/gst/gstplugin.c:
5291 Fix up for changed API.
5293 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5295 * docs/faq/legal.xml:
5296 Update FAQ, Totem actually has an exception these days.
5298 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5300 * win32/common/libgstreamer.def:
5301 Add new API declarations
5303 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5305 * gst/gstminiobject.c:
5306 Spelling fixes for the API docs.
5308 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5310 * libs/gst/base/gstbasetransform.c:
5311 Fix long property description for QoS.
5313 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5316 _gst_trace_on is already provided by gsttrace.h, no need to declare
5319 * docs/libs/gstreamer-libs-sections.txt:
5320 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5321 and remove strange tcase_add_test which is outputting a warning.
5323 * libs/gst/check/gstcheck.c:
5324 * libs/gst/check/gstcheck.h:
5325 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5326 and define them in gstcheck.c instead of having every .c file whcih
5327 includes gstcheck.h be defining its own copy and relying on symbol
5328 interposing to marry them all, which doesn't work on Solaris.
5330 * tests/check/elements/identity.c: (GST_START_TEST):
5331 Don't define 'buffers' locally, it comes from libgstcheck.
5333 * tests/check/generic/sinks.c: (send_buffer):
5334 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5336 * tests/check/gst/gststructure.c: (GST_START_TEST):
5337 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5338 * tests/check/gst/gstutils.c: (GST_START_TEST):
5339 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5340 Add a bunch of casts to make various constants fit the types
5341 they're being assigned to.
5343 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5345 * gst/gstchildproxy.c:
5346 Improve docs and add some ideas for making this more general-purpose.
5348 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5350 * gst/gst_private.h: (GST_CAT_TYPES):
5351 Add GST_CAT_TYPES, for consistency, and so that the other
5352 debug categories don't make fun of it. Spotted by Saur on IRC.
5354 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5356 * gst/parse/Makefile.am:
5357 Move types.h from EXTRA_DIST to noinst_HEADERS.
5359 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5362 Add -Wno-portability to the automake parameters to stop warnings
5363 about GNU make extensions being used. We require GNU make in almost
5364 every Makefile anyway.
5367 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5368 at the same time is required for per target flags.
5370 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5373 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5374 __GNUC__ is defined before using it.
5376 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5378 * docs/gst/gstreamer-sections.txt:
5379 * gst/gst.c: (init_post):
5380 * gst/gstplugin.c: (_gst_plugin_register_static),
5381 (gst_plugin_register_static), (_gst_plugin_initialize),
5382 (gst_plugin_register_func):
5383 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5384 API: add gst_plugin_register_static() and deprecate
5385 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5387 Also, in _gst_plugin_register_static(), make sure to call
5388 g_thread_init() before calling GLib functions such as
5389 g_list_append() if we're not initialised yet, since that
5390 may lead to random crashes with older GSlice/GLib versions.
5392 * tests/check/gst/gstplugin.c:
5393 Adapt unit test to above changes.
5395 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5397 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5398 * gst/gstcaps.c: (gst_caps_to_string):
5399 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5400 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5401 Yet another gratuitous GString micro-optimisation: add a (private)
5402 function that serialises a structure appending to an existing
5403 GString, so that when we serialise caps we don't need to alloc+free
5404 a throwaway GString for each structure (each of which also entailing
5405 multiple reallocs on the way); also use g_string_sized_new() in
5406 various places with an approximate string length to avoid reallocs
5407 within GString. See #500143.
5409 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5411 * gst/gststructure.c: (gst_structure_id_set_value):
5412 Always check UTF-8 conformance of structure strings and not only
5413 if the debugging system is enabled; reasoning: the behaviour of
5414 the actual code shouldn't really change depending on whether the
5415 debugging system is enabled or not (#508291).
5417 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5420 Remove old coverage target in favour of "make lcov".
5422 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5424 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5425 (gst_base_src_loop):
5426 The start segment for reverse playback goes from start to last_stop.
5428 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5430 Patch by: Peter Kjellerstedt <pkj axis com>
5433 Cast the results from the timeval/spec_to_time macros to what the
5434 docs say it casts to, a GstClockTime. fixes #508175.
5436 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5439 Update some comments.
5441 * tools/gst-inspect.c: (print_element_properties_info):
5442 Improve printing of flags.
5444 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5446 * libs/gst/base/gstbasetransform.c:
5447 (gst_base_transform_transform_size):
5448 Print element name with g_warning() if there's a problem
5451 2008-01-07 David Schleef <ds@schleef.org>
5453 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5455 * libs/gst/controller/gstcontroller.h:
5456 * libs/gst/controller/gstcontrolsource.h:
5457 * libs/gst/controller/gstinterpolationcontrolsource.h:
5458 * libs/gst/controller/gstlfocontrolsource.h:
5459 * libs/gst/dataprotocol/dataprotocol.h:
5460 Fix empty prototypes. Fixes bug #507957.
5462 2008-01-07 David Schleef <ds@schleef.org>
5464 * docs/faq/dependencies.xml: Fix typo.
5466 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5468 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5469 (gst_base_src_loop):
5470 Don't update the last_stop position in do_seek, that's the position we
5472 Read backwards when we have a negative rate.
5474 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5475 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5477 Add check for reverse reading.
5479 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5481 Patch by: Alexis Ballier <aballier at gentoo org>
5483 * tests/check/gst/gstabi.c:
5484 * tests/check/gst/struct_ppc64.h:
5485 * tests/check/libs/libsabi.c:
5486 * tests/check/libs/struct_ppc64.h:
5487 Decide which header to include based on the userland ABI target
5488 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5489 for 64-bit userland (#503590). Might need something similar for
5492 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5494 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5495 Log the reason why fopen fails in addition to the fact that it failed.
5497 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5499 * gst/parse/parse.l:
5500 Use "%option never-interactive" to prevent useless calls to isatty()
5501 on every input when parsing. Also use "%option noinput" to not define
5502 the static input/yyinput functions which we don't use anyway. This
5503 removes a compiler warning with gcc 4.3 and saves some bytes in the
5506 * gst/parse/lex._gst_parse_yy.pre.c:
5507 Regenerated for the above change.
5509 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5511 * gst/gstpad.c: (fixate_value):
5512 Don't crash when trying to fixate and empty list.
5515 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5517 * docs/faq/gst-uninstalled:
5518 Clarify the comments to make the usage of this script and what it
5519 does easier to understand.
5521 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5523 * tools/gst-plot-timeline.py:
5524 Add more options to gst-plot-timeline
5526 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5528 * docs/design/part-synchronisation.txt:
5529 Some more info on how the stream_time in GstBaseSink is done.
5531 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5533 * tests/check/generic/sinks.c: (gst_sinks_suite):
5534 Put back the tcase_set_timeout(), apparently it's needed after
5535 all; fix it up in a way that makes things work with valgrind too.
5537 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5539 * gst/gstdebugutils.c:
5540 Add warning when failed to open file for writing.
5542 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5544 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5546 * gst/gstvalue.c: (gst_value_is_fixed):
5547 Optimisation: bail out of the loop as early as possible (#500143).
5549 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5551 * gst/gstcaps.c: (gst_caps_to_string):
5552 * gst/gstinfo.c: (gst_debug_construct_term_color):
5553 * gst/gstparse.c: (gst_parse_launchv):
5554 * gst/gstutils.c: (gst_util_dump_mem):
5555 * gst/gstvalue.c: (gst_value_serialize_any_list),
5556 (gst_value_transform_any_list_string):
5557 Bunch of gratuitous nano-optimisations.
5559 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5561 * tests/check/generic/sinks.c: (async_done_func),
5562 (async_done_eos_func):
5563 Fix leak in unit test (bus sync handler must unref the message
5564 if it returns GST_BUS_DROP). Don't fiddle with the default test
5565 timeout, this is smaller than the current preconfigured value
5566 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5567 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5569 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5571 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5574 Check for stdio_ext.h for the filesink changes.
5576 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5577 (gst_file_sink_class_init), (gst_file_sink_init),
5578 (gst_file_sink_dispose), (gst_file_sink_set_property),
5579 (gst_file_sink_get_property), (gst_file_sink_open_file),
5580 (gst_file_sink_close_file):
5581 * plugins/elements/gstfilesink.h:
5582 Add two properties to control the buffering mode and size.
5583 API: GstFileSink::buffer-mode
5584 API: GstFileSink::buffer-size
5587 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5589 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5590 Add some more docs to explain why a FIXME was wrongly added.
5592 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5595 Fix typo in the gst_object_{ref,unref} documentation.
5597 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5599 * tests/check/libs/controller.c:
5600 * tests/check/libs/typefindhelper.c:
5601 * tests/check/pipelines/parse-launch.c:
5602 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5603 going to be deprecated (see #498924).
5605 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5607 * gst/gsttypefind.c: (gst_type_find_register):
5608 Make gst_type_find_register work for static typefind functions,
5609 ie. allow passing plugin == NULL (prerequisite for #498924).
5611 * gst/gstelementfactory.c: (gst_element_register):
5612 Small docs addition.
5614 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5616 * gst/gstpad.c: (gst_pad_dispose):
5617 Really unlink the peer pad instead of setting the peer pointer to NULL
5618 when we dispose the pad.
5619 This correctly calls the unlink functions and makes sure that the peer
5620 does not have a handle to invalid memory. See #504671.
5622 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5623 Add testsuite for above case.
5625 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5627 Patch by: Peter Kjellerstedt <pkj axis com>
5629 * libs/gst/check/gstcheck.h:
5630 Fix detection of the check version we're compiling against (would
5631 otherwise break if check goes v0.10.0); correctly report the
5632 name of the failed test again in case of failure, instead of
5633 just 'tf' (fixes #504499).
5635 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5637 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5638 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5639 (gst_base_src_loop), (gst_base_src_set_flushing),
5640 (gst_base_src_change_state):
5641 Allow sending EOS to the source to make it send out an EOS event from
5642 the streaming thread.
5643 Update docs and deprecate the old NULL/READY shutdown method.
5645 * tests/check/libs/basesrc.c: (GST_START_TEST),
5646 (gst_basesrc_suite):
5647 Add unit test for controlled shutdown.
5649 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5651 * docs/design/part-synchronisation.txt:
5654 * gst/gstsegment.c: (gst_segment_set_seek),
5655 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5656 (gst_segment_to_running_time):
5657 The seek format can be different from the segment format when the start
5658 and stop values are not to be updated, when we only do a rate change for
5661 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5662 (gst_segment_suite):
5663 Add a testcase for the rate-only seeks, checking that the format is
5664 correctly ignored when start and stop are not updated.
5666 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5668 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5670 * win32/vs8/grammar.vcproj:
5671 * win32/vs8/libgstcontroller.vcproj:
5672 * win32/vs8/libgstreamer.vcproj:
5673 Fix compilation with VS8 and include some missing files.
5675 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5678 Small docs addition: mention that the strings returned by
5679 gst_tag_list_get_string*() are in UTF-8 encoding.
5681 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5684 The check-exports stuff moved to common/win32.mak, so include that.
5686 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5688 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5689 (gst_base_src_perform_seek), (gst_base_src_get_range),
5690 (gst_base_src_set_playing), (gst_base_src_change_state):
5691 Make _wait_playing() not check any variables so that we can call this
5692 function from subclasses. Move the checks elsewhere similar to
5693 _wait_preroll() in basesink.
5695 Only signal the LIVE cond when we are going back to PLAYING.
5697 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5699 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5700 Use g_remove() and g_rename(). Check result of g_rename(), and
5701 don't leak the open file descriptor if we error out when writing.
5703 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5704 Must check the return value of close() after writing out the new
5705 registry file. Sometimes write problems such as out-of-diskspace
5706 are only reported when the file is closed and not already during
5707 the write. This may have caused partial/broken registry files in
5708 some rare circumstances. Should fix #503675.
5710 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5712 * docs/gst/.cvsignore:
5713 * docs/libs/.cvsignore:
5714 * docs/plugins/.cvsignore:
5715 Ignore files generated by new common/* modifications
5717 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5719 * win32/common/libgstbase.def:
5720 Yes, you can also have a <TAB> if you want.
5722 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5724 * win32/common/libgstbase.def:
5725 Add new basetransform API to win export file.
5727 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5729 * tests/check/gst/gstbin.c:
5730 Adjust the test to the refcount change two days ago.
5732 2007-12-14 David Schleef <ds@schleef.org>
5734 * docs/faq/getting.xml: Fix typo.
5736 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5738 * docs/libs/gstreamer-libs-sections.txt:
5739 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5740 (gst_base_transform_prepare_output_buffer),
5741 (gst_base_transform_set_gap_aware):
5742 * libs/gst/base/gstbasetransform.h:
5743 API: Add gst_base_transform_set_gap_aware() to control whether
5744 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5745 get buffers with this flag at all. Fixes #503231.
5747 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5749 * libs/gst/base/gstbasesink.c:
5750 * libs/gst/base/gstbasesrc.c:
5751 * libs/gst/base/gstbasetransform.c:
5752 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5753 thread. Correct log message in gstbasesrc.c.
5755 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5757 * gst/gstutils.c: (element_find_unconnected_pad):
5758 Fix possible compiler warning (#503417).
5760 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5762 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5763 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5765 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5767 * tools/gst-inspect.c: (print_element_properties_info):
5768 Add support for GstFraction properties.
5770 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5773 Add check-exports target and run it as part of 'make check'
5774 (see #499140 and #493983).
5776 * gst/gst_private.h:
5777 * gst/gstelementfactory.h:
5778 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5779 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5780 (_priv_gst_in_valgrind):
5781 * gst/gstinfo.h: (GstLogFunction):
5782 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5783 (gst_type_find_register):
5784 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5785 (gst_type_find_factory_get_type):
5786 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5787 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5788 (gst_controller_new_valist), (gst_controller_new_list),
5789 (_gst_controller_dispose), (_gst_controller_class_init):
5790 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5791 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5792 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5793 (gst_object_get_controller), (gst_object_set_controller),
5794 (gst_object_suggest_next_sync), (gst_object_sync_values),
5795 (gst_object_set_control_source), (gst_object_get_control_source),
5796 (gst_object_get_value_arrays), (gst_object_get_value_array),
5797 (gst_object_get_control_rate), (gst_object_set_control_rate):
5798 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5799 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5800 Make some functions that should be static static; rename some
5801 private symbols so that they don't get exported; add some FIXME
5802 comments so we can move accidentally exported functions into
5803 our private section in 0.11.
5805 * win32/common/libgstreamer.def:
5806 Add gst_utils_get_timestamp().
5808 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5812 Add more missing "Since:" tags to docs.
5814 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5817 Add mising "Since:" to docs.
5819 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5822 Include "glib-compat-private.h" to fix the build on system with
5823 glib < 2.10. Fixes #503131.
5825 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5829 Actually its not PURE as it gets the time from elsewhere.
5831 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5833 * docs/gst/gstreamer-sections.txt:
5835 * gst/gstdebugutils.c:
5839 * libs/gst/base/gstbasesink.c:
5840 * tools/gst-launch.c:
5841 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5842 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5843 Thanks Tim for spotting.
5844 API: gst_util_get_timestamp
5846 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5849 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5851 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5853 * gst/gststructure.c: (gst_structure_validate_name),
5854 (gst_structure_new_valist), (gst_structure_parse_value),
5855 (gst_structure_from_string):
5856 Don't crash in _from_string() if the structure name is not valid
5857 (fixes #501560). Allow structure names to start with a number
5858 again (this apparently broke the ubuntu codec installer).
5860 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5862 Add unit test for the crash; update unit tests for new behaviour.
5864 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5867 Clarify gst_element_get_compatible_pad() documentation.
5870 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5872 * tests/check/Makefile.am:
5873 Don't forget to dist {gst,libs}/struct_hppa.h.
5875 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5877 * libs/gst/base/gstbasesink.c:
5878 Use new API to get elapsed time.
5880 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5882 * gst/gstdebugutils.c:
5884 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5886 * tools/gst-launch.c:
5887 Use new API to get elapsed time.
5889 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5891 * docs/gst/gstreamer-sections.txt:
5893 * gst/gstdebugutils.c:
5895 Rename new API + ChangeLog surgery to remove old name from last entry..
5897 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5899 * docs/gst/gstreamer-sections.txt:
5901 * gst/gstdebugutils.c:
5903 Now hide the different clock stuff behind a macro.
5905 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5908 * gst/gstdebugutils.c:
5910 Apply the posix-timer check from #361155. Conditionally use the posix
5911 timer for logging. This gives better timestamp precission, less
5912 overhead and no ntp jitter.
5914 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5916 * gst/gstminiobject.c: (gst_mini_object_get_type),
5917 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5918 (gst_mini_object_finalize), (gst_mini_object_copy),
5919 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5920 (gst_mini_object_replace), (param_mini_object_validate),
5921 (gst_param_spec_mini_object_get_type):
5922 Some cleanup and checking against invalid function parameters.
5924 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5926 * docs/gst/gstreamer-sections.txt:
5928 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5929 (gst_systemclock_suite):
5930 Start merging in the easy bits of #361155, the monotonic clock patch.
5931 This one adds a few handy macros with docs and a testsuite.
5933 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5935 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5936 Be a bit smarter when seeking, like, don't try to do a seek when it's
5937 not needed. This avoids errors when the file is not seekable.
5940 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5942 * docs/gst/gstreamer-docs.sgml:
5943 * docs/gst/gstreamer-sections.txt:
5944 * docs/gst/gstreamer.types.in:
5949 * plugins/elements/gstqueue.c:
5950 Due to popular request remove preset interface again. :-(.
5952 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5954 * tools/gst-inspect.c:
5955 Print 'default value' for enums and flags too.
5957 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5959 * docs/random/ensonic/profiling.txt:
5963 Fix typo and give better log output.
5965 * gst/gstdebugutils.c:
5966 * gst/gstdebugutils.h:
5967 More ideas, make graphs a bit smaller and fix param name in macro.
5969 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5972 Try harder to use the return value from fgets().
5974 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5977 For theses two fgets we handle the error below.
5979 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5981 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5982 Only send upstream events upstream. Fixes #498746.
5984 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5986 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5988 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5989 (gst_identity_init), (gst_identity_transform_ip),
5990 (gst_identity_set_property), (gst_identity_get_property):
5991 * plugins/elements/gstidentity.h:
5992 Add property to disable handoff signal emission. Fixes #498694.
5993 API: GstIdentity::signal-handoffs
5995 2007-11-21 Julien Moutte <julien@fluendo.com>
5997 * docs/faq/gst-uninstalled: Yet another missing library for the
5998 uninstalled script (fft)
6000 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
6002 * docs/faq/developing.xml:
6003 Add a question about how to submit new translations.
6005 * docs/random/release:
6006 Update the contact email address for the Translation Project
6008 * plugins/elements/gstfdsrc.c:
6009 The parent_class for fdsrc is pushsrc, not GstElement.
6011 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6014 Plug a leak and fix saving.
6016 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
6018 * docs/gst/gstreamer-sections.txt:
6019 Add new gst_preset__get_property_names() function to the docs
6022 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6026 Change _get_preset_names API to return a strv with copies. Add
6027 _get_property_names to allow implementations to filter and provide
6028 good default implementation.
6030 2007-11-20 Julien MOUTTE <julien@moutte.net>
6032 * docs/faq/gst-uninstalled: Add another library to the uninstalled
6035 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6038 More cleanups, docs, and TODOs from comments that now slowly come in.
6040 2007-11-19 Julien MOUTTE <julien@moutte.net>
6042 * docs/faq/gst-uninstalled: Add new base libraries in the LD
6045 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6048 Fix bogus warning and make the property type specific code more
6051 2007-11-19 Julien MOUTTE <julien@moutte.net>
6053 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6056 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6058 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6059 (gst_bin_add_func), (gst_bin_remove_func),
6060 (gst_bin_change_state_func), (gst_bin_continue_func):
6061 Change email, cleanups add some more debug and comments.
6062 Also set bus and clock on new elements when the pipeline was in error.
6064 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6067 * gst/gstdebugutils.c:
6068 Fix build with --disable-gst-debug. Fixes #497859.
6069 Spotted by Sameer Naik.
6071 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6074 Little documentation improvment.
6077 More TODO cleanups. Remove c++ comments.
6079 * libs/gst/controller/gstcontroller.c:
6080 Add TODO and use quark from static string.
6082 * tests/check/gst/gstmessage.c:
6083 * tests/check/gst/gststructure.c:
6084 Use quark from static string.
6086 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6089 Add some comments and TODOs.
6092 Add padding for future changes.
6094 * plugins/elements/gstqueue.c:
6095 Implement the iface.
6097 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6099 * docs/gst/gstreamer-docs.sgml:
6100 * docs/gst/gstreamer-sections.txt:
6101 * docs/gst/gstreamer.types.in:
6106 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6108 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6114 === release 0.10.15 ===
6116 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6119 releasing 0.10.15, "October"
6121 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6123 * win32/vs6/libgstreamer.dsp:
6124 Convert line endings back to DOS.
6126 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6128 * docs/design/draft-tagreading.txt:
6129 * docs/random/ensonic/profiling.txt:
6130 Update fast tagreading draft and performance profiling ideas.
6132 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6134 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6135 Don't hold the object lock when unreffing a buffer because it could
6136 cause a deadlock when the finalize function wants to grab the object
6137 lock too. Fixes #495133.
6139 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6141 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6142 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6143 Also accumulate time correctly when doing reverse playback. Fixes
6145 When converting to running and stream time, use default values for
6146 start/stop/time/accum when comparing different formats. Fixes #494245.
6148 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6149 Do running/stream time in TIME format.
6151 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6152 (gst_segment_suite):
6153 2 new unit tests for segment accumulation.
6155 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6157 * gst/gst.c: (init_pre):
6158 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6159 (_gst_debug_bin_to_dot_file):
6160 Move getenv() back into gst_init, so everyone can live happily
6161 ever after. Make sure the symbol isn't exported though.
6163 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6165 Patch by: Sebastien Moutte <sebastien moutte net>
6167 * win32/common/gstenumtypes.c:
6168 * win32/common/gstenumtypes.h:
6171 * win32/vs6/libgstreamer.dsp:
6172 Update vs6 project files (#494343).
6174 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6176 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6177 (gst_base_src_perform_seek), (gst_base_src_default_event),
6178 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6179 (gst_base_src_activate_pull):
6180 Unify flushing code, remove some old unlock code that is no longer used.
6181 Take the streaming lock when seeking to avoid races. Fixes #492729.
6182 Added some more comments.
6184 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6186 * gst/gst.c: (_gst_disable_segtrap):
6187 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6188 we can use gst_segtrap_is_enabled() there now that we have that API.
6189 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6190 to do the getenv here (and export the variable).
6192 * gst/gstdebugutils.c: (debug_dump_element),
6193 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6194 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6196 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6197 (gst_debug_log_default):
6198 Rename _gst_info_start_time to priv_gst_info_start_time so it
6199 doesn't get exported (was never in any header).
6201 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6202 (gst_plugin_loading_mutex):
6203 Make static mutex gst_plugin_loading_mutex really static (was never
6204 in any header), and use gst_segtrap_is_enabled() instead of
6205 _gst_disable_segtrap.
6207 * gst/gsttrace.c: (_gst_trace_default):
6208 Make local _gst_trace_default static (was never in any header).
6210 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6212 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6214 * win32/common/libgstbase.def:
6215 * win32/common/libgstcontroller.def:
6216 * win32/common/libgstdataprotocol.def:
6217 * win32/common/libgstnet.def:
6218 * win32/common/libgstreamer.def:
6219 Add more missing symbols, remove some duplicates, and sort
6220 as the 'sort' command sorts it (partially fixes #493983).
6222 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6224 * gst/gstelement.c: (gst_element_set_state_func):
6225 Only change the state cookie if a different state was set on the
6226 element. See #492729.
6228 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6231 Remove unused and uninitialised type variables that were still
6232 exported for some reason (they were never in any header files
6235 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6237 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6238 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6239 (gst_base_sink_event), (gst_base_sink_get_position_last),
6240 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6241 (gst_base_sink_change_state):
6242 Don't try to report a 0 position when we don't know, return -1 and FALSE
6243 instead. This mostly happens when we are prerolling.
6244 Make sure we can report the right position before we post the ASYNC_DONE
6245 message so that a message handler can query position without races.
6247 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6248 (async_done_handoff), (async_done_func), (send_buffer),
6249 (async_done_eos_func), (gst_sinks_suite):
6250 Add two tests for the above.
6252 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6255 Update with new email address.
6257 * docs/design/part-TODO.txt:
6258 Add some more info about future pad-block and negotiation changes.
6260 * docs/design/part-buffering.txt:
6261 Add some ideas about buffering reporting.
6263 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6265 * tests/check/gst/gstobject.c:
6266 Disable silly racy test that always fails on this combination of CPU
6269 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6271 Patch by: Murray Cumming <murrayc@murrayc.com>
6274 Corrected the registration of the parent-set and parent-unset
6275 signals: The parameter is a GstObject, not a GObject (#493134).
6277 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6279 * gst/gst_private.h:
6288 Move declaration of private _gst_foo_initialize() functions into
6289 our private header file where they should have been all along.
6291 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6293 * docs/plugins/gstreamer-plugins-sections.txt:
6294 * gst/gstdebugutils.h:
6296 * plugins/elements/gstqueue.c:
6297 gtk-doc fixes; trailing-comma-in-enum fix.
6299 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6301 * gst/gst.c: (gst_deinit):
6302 Clean up on deinit (not the external ones though, doesn't seem to be
6303 needed for some reason).
6305 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6307 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6308 Remove __declspec(dllimport) for MSVC that was copied over into core
6309 from a plugin, obviously without ever having been tested (note the
6310 single underscore in _declspec in the initial commit), and that doesn't
6311 really make sense. See #492077.
6313 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6315 * gst/gst.c: (init_post):
6316 * gst/gstevent.c: (_gst_event_initialize):
6317 * gst/gstquery.c: (_gst_query_initialize):
6318 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6319 g_type_class_ref() other types as well, see #349410 and #64764.
6321 * gst/gstbuffer.c: (_gst_buffer_initialize):
6322 * gst/gstmessage.c: (_gst_message_initialize):
6323 Simplify existing g_type_class_ref().
6325 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6327 * gst/gstformat.c: (_gst_format_initialize):
6328 g_type_class_ref() our GstFormat type to make sure we avoid the
6329 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6330 bug #64764. Should fix intermittent tee unit test failures (#474823).
6332 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6334 * tests/check/elements/tee.c: (test_num_buffers):
6335 Simplify, simplify, simplify - or not. Rewrite unit test
6336 not to use gst_parse_launch(); allow N sub-streams. Increasing
6337 the number of sub-streams seems to reproduce #474823 more easily.
6339 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6341 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6344 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6345 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6346 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6347 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6348 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6349 so use _pipe() directly (#492077).
6351 * win32/common/dirent.c: (_treaddir):
6352 Add a couple of casts to make it build without warnings with MSVC.
6354 * win32/common/libgstreamer.def:
6355 Add some more symbols that need to be exported.
6357 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6359 * tests/examples/metadata/read-metadata.c: (message_loop):
6360 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6361 arriving in a second or third tag message are added to
6362 the tag list as well.
6364 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6366 * libs/gst/base/gstbasesrc.c:
6367 Its "Since:" and not "@Since:". And remove an superflous cast.
6369 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6371 * docs/libs/gstreamer-libs-sections.txt:
6372 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6373 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6374 (gst_base_sink_get_property), (gst_base_sink_render_object),
6375 (gst_base_sink_preroll_object),
6376 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6377 (gst_base_sink_change_state):
6378 * libs/gst/base/gstbasesink.h:
6379 Add a new last-buffer property that contains the last buffer used in
6380 basesink for preroll or rendering. useful for making snapshots.
6381 API: gst_base_sink_get_last_buffer()
6382 API: GstBaseSink::last-buffer
6384 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6386 * docs/gst/running.xml:
6388 * gst/gstdebugutils.c:
6389 * gst/gstdebugutils.h:
6390 * tools/gst-launch.c:
6391 Improve bin graph dumping, by using the envvar to specify a path.
6392 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6394 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6396 * plugins/elements/gsttypefindelement.c:
6397 (gst_type_find_element_handle_event),
6398 (gst_type_find_element_activate):
6399 Post special error message if we can't determine the type of a stream
6402 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6404 * docs/gst/running.xml:
6405 * gst/gstdebugutils.c:
6406 Document new env-var. Add one log-line after dumpng a graph.
6408 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6411 Ugly hack to put the (recently removed and non-portable, apparently)
6412 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6413 GNU ld, because without that 'make check' fails miserably on my debian
6414 stable box. Someone with more knowledge of linker intricacies and
6415 portability issues than me fix this properly please.
6417 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6419 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6420 Reset last seen position after flushing so that we don't report the old
6423 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6425 * gst/gstelementfactory.c: (gst_element_register):
6427 Patch from Alessandro Decina adding get_type_full and
6428 get_protocols_full private vfuncs to the URIHandler interface
6429 to allow bindings to support creating URI handlers.
6430 Partially fixes: #339279
6431 API: GstURIHandlerInterface::get_type_full
6432 API: GstURIHandlerInterface::get_protocols_full
6434 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6436 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6437 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6438 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6439 Make it so that pads are considered linked until a buffer is pushed
6440 and discovered otherwise. This avoids problems with decodebin2 hanging
6441 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6444 Make sure we lock the multiqueue when updating the max-size properties.
6446 Fix a crash on Solaris in a debug statement in get_request_pad that
6447 passes a NULL string to GST_DEBUG.
6449 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6450 (run_output_order_test):
6451 Fix the test to allow the first buffer on not-linked pads to come out
6452 of sequence while multiqueue discovers that they are not-linked.
6454 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6457 * libs/gst/check/Makefile.am:
6458 Use a custom export symbol regex for libgstcheck, as it needs
6459 to export symbols that don't match the standard GStreamer gst_*
6460 pattern, and --export-dynamic is not portable (only works on
6463 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6464 (gst_check_setup_sink_pad):
6465 Make sure to pass a message parameter to the fail_* macros.
6467 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6468 Fix some compiler warnings.
6470 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6472 * tests/check/gst/gststructure.c: (test_to_string):
6473 Disable test that checks that white spaces are not allowed
6474 in structure names or field names, since we need to
6475 support that for now for backwards compatibility reasons.
6477 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6479 * docs/gst/gstreamer-sections.txt:
6482 API: add GST_TAG_ARTIST_SORTNAME
6483 API: add GST_TAG_ALBUM_SORTNAME
6484 API: add GST_TAG_TITLE_SORTNAME
6485 Add tag variants for sorting (#414539).
6487 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6489 * gst/gststructure.c:
6490 Also allow white space for names so we don't break
6491 backwards compatibility.
6493 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6495 * docs/design/part-TODO.txt:
6496 * docs/design/part-segments.txt:
6497 * docs/design/part-streams.txt:
6500 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6502 * docs/gst/gstreamer-sections.txt:
6503 Fixed documentation from my previous commit (added new API add
6504 gst_value_set_structure(), add gst_value_get_structure() and
6505 GST_VALUE_HOLDS_STRUCTURE).
6507 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6509 * gst/gstdebugutils.c:
6510 Reflow code to fix uninitialized variable warning.
6512 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6514 * gst/gstcaps.c: (gst_caps_to_string),
6515 (gst_caps_from_string_inplace):
6516 * gst/gststructure.c: (gst_structure_get_abbrs),
6517 (gst_structure_to_string), (gst_structure_from_string):
6518 * gst/gstvalue.c: (gst_value_set_structure),
6519 (gst_value_get_structure), (gst_value_serialize_structure),
6520 (gst_value_deserialize_structure), (_gst_value_initialize):
6522 * tests/check/gst/gststructure.c: (GST_START_TEST),
6523 (gst_structure_suite):
6524 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6525 Added GstStructure to gst_value_table and its related functions.
6526 Changed gst_structure_to_string to print ';' in the end.
6527 Changed gst_caps_to_string to not print ';' beteween its
6528 fields (structures) anymore and remove the lastes ';' from latest
6529 structure. Now it is possible to have nested structures.
6530 In addition, backward compatibilty is assured by accepting '\0' as
6531 end delimiter. Fixes: #487969.
6532 API: add gst_value_set_structure()
6533 API: add gst_value_get_structure()
6534 API: add GST_VALUE_HOLDS_STRUCTURE
6536 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6539 When no GSource callback has been set up, tell developer
6540 to use a function that actually exists.
6542 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6544 * docs/gst/gstreamer-sections.txt:
6548 * gst/gstdebugutils.c:
6549 * gst/gstdebugutils.h:
6552 * tools/gst-launch.c:
6553 Allow dumping pipelines as dot graphs. Fixes #456573.
6555 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6557 * gst/gststructure.c:
6558 Allow '+' as well, it can be part of media or mime types
6559 such as image/svg+xml.
6561 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6563 * docs/gst/gstreamer-sections.txt:
6566 API: add gst_bus_pop_filtered
6567 API: add gst_bus_timed_pop_filtered
6568 Two new functions for waiting for specific message types on the
6569 bus for a specified amount of time without iterating any main
6570 loops or main contexts.
6572 * tests/check/gst/gstbus.c:
6573 Some tests for the new functions.
6575 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6577 * docs/libs/gstreamer-libs-sections.txt:
6578 Make gtk-doc ignore stuff it should ignore.
6580 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6582 * libs/gst/check/gstcheck.c:
6583 * libs/gst/check/gstcheck.h:
6584 Allow runtime selection of unit tests to run via the GST_CHECKS
6585 environment variable (test case function names, comma-separated).
6587 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6589 * gst/gststructure.c:
6590 * tests/check/gst/gststructure.c:
6591 Revert serialisation change and constrain structure-names after
6592 consensus on irc. Update api documentation to reflect the change.
6594 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6596 * gst/gststructure.c:
6597 Improve serialization and fix tests.
6599 * tests/check/gst/gststructure.c:
6600 Add another test that covers why I actually did the previous structure
6603 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6605 * tools/gst-inspect.c: (print_element_info):
6606 Don't crash when inspecting an element.
6608 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6610 * tests/check/gst/gststructure.c:
6611 Add unit test for escaping of structure name when serialising
6612 and deserialising to/from strings.
6614 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6616 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6617 (gst_single_queue_new):
6618 * plugins/elements/gstqueue.c: (gst_queue_init),
6619 (gst_queue_push_one):
6620 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6621 upstream is tricked into thinking it can suggest a format downstream
6622 while downstream does not support that format. The real problem is that
6623 core calls acceptcaps when pushing a buffer with new caps, for which we
6624 do a little workaround by setting the caps on the srcpad ourselves
6625 before pushing the buffer (until this is figured out). Fixes #486758.
6627 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6629 * gst/gststructure.c:
6631 Add some more comments and debug output. Quote structure name to fix
6632 deserialisation of some strings.
6634 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6637 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6638 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6640 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6642 * tools/gst-inspect.c:
6643 Save approx. 400 1 byte allocs when printing. Use API to acces element
6649 * tools/gst-xmlinspect.c:
6650 Use API to acces element details.
6652 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6655 Fix some spelling errors.
6657 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6659 * gst/gstbin.c: (bin_handle_async_done):
6660 Correctly set the next state if all of our async children commited their
6661 state. This makes sure we can actually cancel the state change in
6662 progress. Fixes a regression in Rhythmbox when seeking.
6664 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6667 Don't shadow local variable.
6670 Don't shadow global function name.
6672 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6674 * gst/gstelementfactory.c:
6675 * gst/gstpluginfeature.c:
6676 * gst/gstpluginfeature.h:
6677 * gst/gstregistrybinary.c:
6678 * gst/gstregistryxml.c:
6679 * gst/gsttypefind.c:
6680 Use already-interned string for the private GstPluginFeature
6683 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6685 * docs/libs/gstreamer-libs-sections.txt:
6686 Add new API to docs; fixes the build.
6688 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6690 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6692 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6693 (gst_base_sink_event):
6694 * libs/gst/base/gstbasesink.h:
6695 Add function to wait for EOS, subclasses can use this to correctly wait
6696 for devices to drain before performing the EOS logic. Fixes #485343.
6697 API: gst_base_sink_wait_eos()
6699 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6702 Cast description string constants in GST_PLUGIN_DEFINE macros
6703 to a (gchar*) to make C++ code using these macros compile
6704 without warning with g++-4.2 (see #462737). Even if slightly
6705 ugly, this seems preferable to putting the description strings
6706 into the GLib quark table or making the structure member a
6707 const gchar * and doing casts in core code that allocs and
6708 frees these strings, or requiring a cast in the C++ code.
6710 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6713 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6714 to print the entire class/function signature into the log
6715 file for C++ code. This only affects C++ code, for C code
6716 everything remains the same.
6718 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6720 * gst/gstbin.c: (remove_from_queue):
6721 Work around a problem with pipelines containing (semi)loops until a
6722 proper, more complicated solution is ready. See #475455.
6724 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6728 * gst/gstregistrybinary.c:
6729 * gst/gstregistryxml.c:
6730 Put more strings into the GLib quark table. No need to keep
6731 a hundred-something copies of identical version strings,
6732 license strings, package name strings and package origin
6735 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6737 * docs/manual/advanced-dataaccess.xml:
6738 Don't imply that it's okay to unconditionally change
6739 buffer data or buffer metadata in a pad probe callback,
6740 and a bunch of other comments. Fixes #430031.
6742 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6744 * win32/common/gstenumtypes.c:
6745 * win32/common/gstenumtypes.h:
6746 * win32/common/gstversion.h:
6747 Update generated files.
6749 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6751 * docs/manual/advanced-autoplugging.xml:
6752 Prefix section with broken code with a warning (see #342432).
6754 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6756 * docs/manual/appendix-integration.xml:
6757 * docs/manual/basics-init.xml:
6758 Call g_thread_init() before g_option_context_new() to
6759 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6761 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6763 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6764 (gst_base_sink_queue_object_unlocked),
6765 (gst_base_sink_queue_object), (gst_base_sink_event),
6766 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6767 When we received EOS and are waiting for when to post the EOS message,
6768 our state is prerolled and we should not return ASYNC.
6769 Reorganize some code paths to implement this behavior.
6771 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6773 Add unit test to verify above EOS fix.
6775 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6777 * plugins/elements/gsttypefindelement.c:
6778 (gst_type_find_element_have_type), (gst_type_find_element_init),
6779 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6780 Move detecting the input caps of the sinkpad to the setcaps function.
6781 This allows us to update the output caps when we receive new input caps
6782 instead of always using the first detected caps.
6784 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6786 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6787 (gst_base_sink_get_position):
6788 Don't try to preroll non-async elements after a flush.
6789 Subtract latency form clock times when reporting position.
6791 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6793 * gst/gstpad.c: (gst_pad_pause_task):
6795 Small comment and documentation update.
6797 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6799 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6800 (gst_base_src_set_live), (gst_base_src_is_live),
6801 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6802 (gst_base_src_default_event), (gst_base_src_wait),
6803 (gst_base_src_do_sync), (gst_base_src_get_range),
6804 (gst_base_src_pad_get_range), (gst_base_src_loop),
6805 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6806 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6807 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6808 (gst_base_src_change_state):
6809 Rework the locking of basesrc in a similar fashion to basesink. We
6810 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6811 us to handle live sources and semi live ones much better.
6813 Fix unlocking when seeking, shutting down and pausing in live sources.
6815 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6817 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6818 Fix compilation again.
6820 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6823 Use meaningful categories for the logs to clean the default one.
6825 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6827 * tests/check/pipelines/cleanup.c:
6828 Print message name and not just number.
6830 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6832 * docs/design/draft-tagreading.txt:
6833 Add some more thoughts.
6835 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6837 * tests/check/pipelines/simple-launch-lines.c:
6838 Print message name and not just number.
6840 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6842 * libs/gst/base/gsttypefindhelper.c:
6843 Speedup typefinding. This is work in progress (see #459862).
6845 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6848 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6849 Spotted by Josep Torra Valles <josep@fluendo.com>.
6851 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6854 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6855 field has moved to GstObject.
6857 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6859 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6860 (gst_base_src_get_range), (gst_base_src_change_state):
6861 Call unlock for live sources so that they can't get stuck in _create and
6862 produce a buffer before they are set back to PLAYING.
6864 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6866 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6867 (gst_queue_locked_dequeue):
6868 Comment the segment-related code... in the PROPER function.
6869 See #482147 and my commit from yesterday.
6871 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6873 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6874 Also initialize the counter that calculates the first timestamp on a
6875 buffer correctly for non-live sources.
6877 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6879 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6880 Disable code that's breaking the current-time-level reporting.
6883 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6885 * docs/gst/gstreamer-sections.txt:
6886 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6887 as they shouldn't show up. Fixes the docs build.
6889 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6892 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6893 Define M_PI which is used in files which are including gstinfo.h.
6894 VS6 includes doesn't define it.
6895 * win32/common/libgstbase.def:
6896 * win32/common/libgstcontroller.def:
6897 * win32/common/libgstreamer.def:
6898 Add new exported functions and variables.
6899 * win32/vs6/libgstcontroller.dsp:
6900 * win32/vs6/libgstreamer.dsp:
6901 Update the list of files to build.
6903 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6905 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6907 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6908 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6909 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6910 Improve debugging. Fixes #480858.
6912 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6914 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6916 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6917 First patch of code cleanups, use the macros and right arguments in the
6918 macros to signal and lock the queue. See #480858.
6920 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6922 * gst/gstbus.c: (poll_func):
6923 Improve debugging when dealing with _poll().
6925 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6927 * gst/gstregistryxml.c:
6928 Fix memory leak I introduced a few days ago.
6930 2007-09-26 Michael Smith <msmith@fluendo.com>
6932 * gst/gstbuffer.c: (gst_buffer_finalize):
6933 Make it once again possible to free GstBuffers in the default
6935 The poisoning scribbles on parts of the miniobject we need in
6939 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6941 * docs/gst/gstreamer-sections.txt:
6944 API: add GST_TAG_COMPOSER, fixes #459809.
6946 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6950 Add the 3-clause BSD license and the MIT/X11 license to the license
6951 list. Fixes #479784.
6953 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6955 * docs/faq/getting.xml:
6956 Add Q+A about different GStreamer versions (#364056).
6958 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6960 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6961 (gst_base_sink_event), (gst_base_sink_change_state):
6962 Return correct gboolean from query function.
6964 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6966 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6967 (gst_base_sink_event), (gst_base_sink_query),
6968 (gst_base_sink_change_state):
6969 Simplify latency query.
6970 When not synchronizing, we can report latency without querying the peer
6973 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6977 Fix small typos in the docs.
6979 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6981 * docs/design/draft-latency.txt:
6982 * docs/design/draft-push-pull.txt:
6983 * docs/design/draft-tagreading.txt:
6984 * docs/design/part-MT-refcounting.txt:
6985 * docs/design/part-activation.txt:
6986 * docs/design/part-block.txt:
6987 * docs/design/part-element-source.txt:
6988 * docs/design/part-events.txt:
6989 * docs/design/part-gstbin.txt:
6990 * docs/design/part-gstelement.txt:
6991 * docs/design/part-gstobject.txt:
6992 * docs/design/part-gstpipeline.txt:
6993 * docs/design/part-messages.txt:
6994 * docs/design/part-preroll.txt:
6995 * docs/design/part-push-pull.txt:
6996 * docs/design/part-qos.txt:
6997 * docs/design/part-query.txt:
6998 * docs/design/part-scheduling.txt:
6999 * docs/design/part-seeking.txt:
7000 * docs/design/part-segments.txt:
7001 * docs/design/part-states.txt:
7002 Documentation updates and typo fixes.
7004 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
7006 * plugins/elements/gstfakesink.c:
7007 Add some debug text to error message to indicate that
7008 we errored out on request.
7010 * tools/gst-launch.c:
7011 When the state change to PLAYING fails, check for an
7012 error message on the bus and print it.
7014 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
7016 translated by: Jorge González González <aloriel@gmail.com>
7020 Added Spanish translation.
7022 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
7024 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7025 Fix printf arguments.
7027 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7029 * tests/check/generic/states.c:
7030 Improved state change unit test.
7032 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7035 Move priv to the right place.
7037 * gst/gstsystemclock.c:
7038 Add FIXME: and improve log.
7040 * tests/check/Makefile.am:
7041 * tests/examples/manual/Makefile.am:
7042 Work with all types of registries.
7044 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
7046 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7047 Don't unref the event after pushing it. Fixes #478401.
7049 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7052 * tests/examples/manual/.cvsignore:
7053 Ignore registries in any format.
7055 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7057 * gst/glib-compat-private.h:
7058 Add compatibility macro for g_intern_string() for
7059 GLib-2.8 (any reason we can't just bump the
7060 requirement to at least 2.10?)
7062 * gst/gstpadtemplate.h:
7063 * gst/gstelementfactory.c:
7064 * gst/gstregistryxml.c:
7065 * gst/gstregistrybinary.c:
7066 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7067 up the internal code accordingly. This shouldn't be a problem, since
7068 there is no reason external code could ever assume the string in such
7069 a structure is dynamically allocated unless it did that itself; the
7070 use of g_strdup() is private to element factories. The new code also
7071 saves some memory by putting pad template name strings into the GLib
7072 quark table instead of allocating them dynamically.
7073 Declaring this field constant fixes warnings with g++-4.2 when using
7074 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7076 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7078 * gst/gstelementfactory.c:
7079 Release static caps. Fixes #475723.
7081 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7085 Make some internal API take const gchar * instead of just
7086 gchar * to avoid compiler warnings with g++-4.2.2 when
7087 passing string constants (partially fixes #478092).
7089 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7091 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7092 A latency query fails when one of the sinks fail.
7094 * gst/gstelement.c: (gst_element_set_base_time):
7097 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7099 * gst/gstbin.c: (gst_bin_continue_func):
7100 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7101 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7102 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7104 Fix minor compilation warnings shown with Forte.
7106 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7108 * plugins/elements/gstqueue.c: (apply_buffer),
7109 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7110 Measure queue level based on the diff between head and tail timestamps
7111 even when pushing the first buffer.
7113 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7115 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7116 (gst_base_sink_event), (gst_base_sink_change_state):
7117 Sinks that don't preroll can always be queried for the latency.
7118 Don't post ASYNC start when we are not async.
7120 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7122 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7123 (gst_queue_handle_sink_event), (gst_queue_chain),
7124 (gst_queue_push_one), (gst_queue_handle_src_query),
7125 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7126 * plugins/elements/gstqueue.h:
7127 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7128 push more buffers but allow pushing of EOS and NEWSEGMENT.
7129 Add some more debug info here and there. Fixes #476514.
7131 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7133 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7134 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7135 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7136 (gst_base_sink_set_flushing), (gst_base_sink_query),
7137 (gst_base_sink_change_state):
7138 Latency query is allowed after we are prerolled. Introduce a new flag
7139 for this and stop abusing other variables.
7141 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7143 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7144 Push OOB events downstream when we get them in send_event. This allows
7145 the application to insert events in the pipeline.
7146 Add some more comments.
7148 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7150 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7151 (do_bin_latency), (gst_bin_change_state_func):
7152 * gst/gstpipeline.c: (gst_pipeline_change_state):
7153 Move latency query from GstPipeline to GstBin so that we can also
7154 use it when async-handling is enabled on bins.
7156 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7158 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7159 (gst_base_src_do_sync), (gst_base_src_change_state):
7161 Clean up the timestamping and syncing code for pseudo live sources.
7163 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7165 Patch by: Steve Fink <sphink gmail com>
7167 * docs/manual/appendix-checklist.xml:
7168 Mention less -R switch in the section about debug output (#474055).
7170 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7172 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7173 Queue can latency to the pipeline up to the configured max size in time.
7174 Report this fact in the latency query.
7176 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7178 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7180 * libs/gst/controller/gstinterpolation.c:
7181 * libs/gst/controller/gstlfocontrolsource.c:
7182 Use gst_guint64_to_gdouble() when converting from a uint64 or
7183 GstClockTime to double to fix the build on win32. Fixes #474371.
7185 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7187 * gst/gstbuffer.c: (gst_buffer_finalize):
7188 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7189 When finalizing a buffer the complete struct is filled with 0xff,
7190 thus making a use of the buffer after the final unref impossible.
7192 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7194 * tests/check/libs/controller.c: (GST_START_TEST):
7195 Use fail_unless_equals_int(a, b) instead of
7196 fail_unless_equals (a == b) to get better output on failures.
7198 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7200 * tests/check/gst/gsturi.c:
7201 Also check for the other file URI variant on win32.
7203 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7205 * gst/gsturi.c: (gst_uri_get_location):
7206 If there's no hostname, we want to return 'c:/foo/bar.txt'
7207 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7209 * tests/check/gst/gsturi.c:
7210 Unit test for the above and a few more things.
7212 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7214 * docs/design/part-live-source.txt:
7215 Add docs on how live sources should timestamp.
7217 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7218 Add some more debug info.
7219 For subclasses that are live and like to sync, add aditional startup
7220 latency to sync time and timestamps so that we timstamp according to the
7223 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7226 Also do a g_type_class_ref() for the subbuffer type in
7229 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7231 * docs/gst/gstreamer-sections.txt:
7232 * gst/gstpad.c: (gst_pad_peer_query):
7234 Add function to perform a query on the peer of a pad.
7235 API: gst_pad_peer_query()
7237 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7239 * tests/check/gst/gstsystemclock.c:
7240 Cleanup the test a little (use gst-logging and not g_message). Improve
7241 test to check if a wait reached the target.
7243 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7245 * docs/libs/gstreamer-libs-sections.txt:
7246 Add new API to docs and fix the build.
7248 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7250 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7251 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7252 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7253 (gst_base_src_get_property), (gst_base_src_do_sync):
7254 * libs/gst/base/gstbasesrc.h:
7255 Add property to make the basesrc timestamp buffers based on the current
7257 API: GstBaseSrc::do-timestamp
7258 API: gst_base_src_set_do_timestamp()
7259 API: gst_base_src_get_do_timestamp()
7261 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7263 * docs/random/release:
7264 Really make sure translations are up-to-date before
7265 a release (#465010).
7267 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7269 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7270 Always destroy the timer, also in error cases.
7272 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7274 * docs/manual/highlevel-xml.xml:
7275 Fix XML example code. Fixes #472714.
7277 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7279 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7280 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7281 (gst_base_sink_query):
7282 Protect eos and have_preroll with the OBJECT lock so we don't need to
7283 take the PREROLL lock when querying the latency. Fixes #473846.
7285 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7288 Give some log-messages a category.
7290 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7292 * gst/gststructure.c:
7293 (gst_structure_fixate_field_nearest_fraction):
7294 Fix fraction list fixation code. Take the fraction with the smallest
7295 difference with the target instead of the first one in the list.
7297 * tests/check/gst/gststructure.c: (GST_START_TEST),
7298 (gst_structure_suite):
7299 Added test to verify correct fraction list fixation behaviour.
7301 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7303 * win32/common/libgstreamer.def:
7304 Export gst_bus_add_signal_watch too.
7306 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7308 * docs/libs/gstreamer-libs-sections.txt:
7309 Add new methods to docs.
7311 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7312 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7313 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7314 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7315 * libs/gst/base/gstbasesink.h:
7316 Add ts-offset property to fine-tune the synchronisation.
7317 API: GstBaseSink::ts-offset property
7318 API: gst_base_sink_set_ts_offset()
7319 API: gst_base_sink_get_ts_offset()
7321 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7323 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7324 (gst_base_sink_init), (gst_base_sink_set_sync),
7325 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7326 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7327 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7328 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7329 (gst_base_sink_get_property), (gst_base_sink_change_state):
7330 * libs/gst/base/gstbasesink.h:
7331 Add async property to instruct the sink never to inform the parent about
7332 ASYNC state changes, update docs.
7333 Check argument with g_return_* for the public functions.
7334 API: GstBaseSink::async property
7335 API: gst_base_sink_set_async_enabled()
7336 API: gst_base_sink_is_async_enabled()
7338 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7340 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7343 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7344 (gst_base_src_default_query), (gst_base_src_wait),
7345 (gst_base_src_do_sync), (gst_base_src_change_state):
7346 Rearrange some code so that we can add support for measuring the
7349 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7351 * docs/random/ensonic/dynlink.txt:
7352 More thoughs on this.
7354 * plugins/elements/gstcapsfilter.c:
7355 Add bugzilla ticket number to FIXME comment.
7357 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7359 * docs/design/part-TODO.txt:
7360 * docs/design/part-block.txt:
7363 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7366 Revert patch which uses $(gst_headers) instead of $^ because it
7369 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7371 * tests/check/gst/gstbin.c: (GST_START_TEST):
7372 Fix leaks in the new unit test.
7374 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7377 Don't use GST_INFO before the debug system is actually initialised
7378 (shouldn't do any harm, but won't print anything either, so we can
7379 just as well remove it).
7382 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7383 compilers that don't support variadic macros (such as MSVC), should
7384 check for debug_level <= __gst_debug_min as well, since that's the
7385 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7386 inline helper functions. Should improve performance a bit, but also
7387 makes sure uses of GST_INFO et.al are ignored if the debugging
7388 system isn't initialised yet (instead of printing an assertion
7391 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7393 patch by: David Nečas <yeti@physics.muni.cz>
7396 Replace some non portable makefile constructs.
7398 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7400 * common/gtk-doc-plugins.mak:
7401 Grrrrr. Don't remove the types file on make clean.
7403 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7405 * tools/gst-launch.1.in:
7406 Add colorspace to example pipeline. Fixes #458274.
7408 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7410 * docs/random/release:
7411 The release manager should run 'make download-po' before making a
7412 release to make sure translations are up-to-date.
7418 Add some new translations.
7420 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7422 * tools/gst-launch.c: (event_loop), (main):
7423 Don´t try to do any state management when a live pipeline posts
7425 Also make the buffering string translatable.
7427 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7429 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7430 (bin_handle_async_start), (gst_bin_handle_message_func):
7432 When adding elements, insert messages into the bus of the newly added
7433 element and make sure the element is the source of the message. This
7434 allows the parent bin to intercept the message and do the
7435 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7436 messages to the app (which is not allowed).
7439 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7440 Fix testsuite so that is does not work around messages that should not
7441 have been posted in the first place.
7443 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7445 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7446 (update_degree), (gst_bin_sort_iterator_next):
7447 Fix annoying bug in the sorted iterator where a sink that is not really
7448 a sink (when it has downstream links) screwed up the iterator.
7450 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7451 Unit test to verify the fix.
7453 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7456 Add some more docs for the messages.
7458 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7459 (gst_base_sink_query):
7460 Add some more debugging.
7462 * tools/gst-launch.c: (event_loop):
7463 When interrupting, don't try to set pipeline to PAUSED twice.
7465 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7468 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7469 (bin_handle_async_start), (gst_bin_handle_message_func):
7470 Move ASYNC_START message posting to where it belongs, similar to
7472 Don't post ASYNC_START when we are in error.
7473 Post ASYNC_START when we added an async element to a bin.
7475 2007-08-14 Julien MOUTTE <julien@moutte.net>
7477 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7478 generation from vargs. Fixes #466595.
7480 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7482 * gst/gstbin.c: (gst_bin_element_set_state):
7483 Always change the state of a NO_PREROLL element even if it has ASYNC
7484 elements inside (in case of a bin).
7486 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7487 Unit test for this case.
7489 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7491 * libs/gst/check/gstbufferstraw.c:
7492 * libs/gst/check/gstcheck.h:
7493 * libs/gst/controller/gstcontroller.c:
7494 * libs/gst/controller/gstcontrolsource.h:
7495 * libs/gst/controller/gstlfocontrolsource.h:
7496 * plugins/elements/gstcapsfilter.h:
7497 * plugins/elements/gstfdsink.h:
7498 * plugins/elements/gstfdsrc.h:
7499 Add more missing docs.
7501 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7503 * gst/gststructure.c:
7504 Add Since tag to docs.
7506 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7508 * docs/gst/gstreamer-sections.txt:
7509 * gst/gststructure.c: (gst_structure_get_uint):
7510 * gst/gststructure.h:
7511 Add function to get uint from a structure.
7512 API: gst_structure_get_uint()
7514 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7516 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7517 (gst_caps_intersect):
7518 Fix proper check for simple caps.
7520 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7522 * docs/gst/Makefile.am:
7523 * docs/libs/Makefile.am:
7524 Remove cruft and do some cleanups.
7526 * docs/gst/gstreamer-docs.sgml:
7527 * docs/libs/gstreamer-libs-docs.sgml:
7528 Prepare for comming gtkdoc features (rebase against online docs).
7530 2007-08-10 Michael Smith <msmith@fluendo.com>
7532 * docs/gst/gstreamer-sections.txt:
7533 Add gst_registry_add_path to docs.
7535 2007-08-10 Michael Smith <msmith@fluendo.com>
7537 * gst/gstregistry.h:
7538 Add gst_registry_add_path, which was missing from this header.
7540 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7542 * libs/gst/controller/gstlfocontrolsource.c:
7545 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7547 * libs/gst/base/gstbasesink.c:
7548 Don't send an async_start message during downwards state change if
7549 target state is less than READY
7551 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7553 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7557 Added Hungarian translation.
7559 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7566 Updated translations.
7568 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7570 * libs/gst/controller/Makefile.am:
7571 Dist gstlfocontrolsourceprivate.h
7573 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7575 * docs/libs/gstreamer-libs.types:
7576 Don't register the enum type gst_lfo_waveform_get_type() in the
7577 .types file - only GObject derived types belong.
7579 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7581 Patch by: <arenevier at fdn dot fr>
7584 Remove comma from last element in enum to avoid compile errors when
7585 using -pendantic. Fixes #464366.
7587 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7589 * docs/design/part-TODO.txt:
7590 Add some more TODO items
7592 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7595 * gst/gstcaps.c: (gst_caps_intersect):
7596 Optimize trivial intersection case between identical caps pointers.
7598 * gst/gstelement.c: (gst_element_continue_state),
7599 (gst_element_set_state_func):
7601 Fix spelling and grammar mistakes.
7603 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7607 Update POTFILES. Fixes #461599.
7609 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7612 Fix confusing typo in debug output.
7614 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7616 reviewed by: Stefan Kost <ensonic@users.sf.net>
7618 * libs/gst/controller/Makefile.am:
7619 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7620 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7621 (gst_lfo_control_source_new),
7622 (gst_lfo_control_source_set_waveform),
7623 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7624 (gst_lfo_control_source_finalize),
7625 (gst_lfo_control_source_dispose),
7626 (gst_lfo_control_source_set_property),
7627 (gst_lfo_control_source_get_property),
7628 (gst_lfo_control_source_class_init):
7629 * libs/gst/controller/gstlfocontrolsource.h:
7630 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7631 API: Add GstLFOControlSource, a control source that gives values
7632 for specific timestamps based on several periodic waveforms.
7635 * tests/check/libs/controller.c: (GST_START_TEST),
7636 (gst_controller_suite):
7637 * docs/libs/gstreamer-libs-docs.sgml:
7638 * docs/libs/gstreamer-libs-sections.txt:
7639 * docs/libs/gstreamer-libs.types:
7640 Add documentation and unit tests for GstLFOControlSource.
7642 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7647 === release 0.10.14 ===
7649 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7652 releasing 0.10.14, "Breathing Vacuum"
7654 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7656 * gst/gstelement.c: (gst_element_class_set_details_simple):
7658 Make strings passed to gst_element_class_set_details_simple()
7659 constant, as they should be (#462752).
7661 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7663 * gst/gstbin.c: (gst_bin_change_state_func),
7664 (bin_handle_async_done), (gst_bin_handle_message_func):
7665 Don't forget about the fact that some element went ASYNC even after a
7666 resync. This makes us post the ASYNC_DONE message correctly.
7669 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7671 * gst/gstregistry.c: (gst_registry_add_feature):
7672 When replacing an existing feature in the registry, make sure to
7673 continue holding a reference until we've replaced the name string
7674 within our feature hash table. Make sure to use g_hash_table_replace
7675 instead of g_hash_table_insert to ensure the new name string is used
7676 as a key instead of the old one that we're about to free.
7679 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7681 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7682 (gst_plugin_feature_set_name):
7683 Revert patch from #459466 until after the release and we can work
7684 out exactly what the problem is (if any).
7686 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7688 * docs/gst/gstreamer-sections.txt:
7691 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7693 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7695 * docs/libs/Makefile.am:
7696 Include our build-prefix libs and includes before the generic ones to
7697 avoid linking against the installed libs when we want the build-tree
7700 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7702 Patch by: Steve Fink <sphink gmail com>
7704 * docs/pwg/building-testapp.xml:
7705 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7706 if people try to build or install the example from the plugin
7707 template against a GStreamer from package using the configure
7710 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7712 Patch by: Steve Fink <sphink gmail com>
7714 * tools/gst-inspect.1.in:
7715 Document --print-all and --print-plugin-auto-install-info command
7716 line options in man page.
7718 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7720 * docs/gst/gstreamer-sections.txt:
7721 Add docs for new api function.
7723 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7725 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7726 * gst/gstelementfactory.h:
7727 API: gst_element_factory_has_interface()
7728 Added method to check if an element factory implements a named
7731 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7734 * docs/gst/gstreamer.types.in:
7735 Another conditional doc check.
7738 * gst/gstparamspecs.h:
7739 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7744 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7746 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7747 (gst_registry_binary_load_feature),
7748 (gst_registry_binary_load_plugin),
7749 (gst_registry_binary_read_cache):
7750 Print error just once and with additional info.
7752 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7754 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7755 (helper_find_suggest), (helper_find_get_length),
7756 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7757 (gst_type_find_helper_for_buffer):
7758 Cleanup the typefindhelper code and add private doc comments.
7760 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7762 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7763 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7764 Fix capsfilter for cases where the caps set on capsfilter will provide
7765 additional information.
7768 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7770 * gst/gsttypefindfactory.c:
7771 Fix docs that recommened wrong function to use.
7773 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7775 * tools/gst-inspect.c: (print_plugin_features):
7776 Also give media-type for typefinders in element output.
7778 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7780 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7781 (gst_registry_remove_features_for_plugin_unlocked),
7782 (gst_registry_add_feature), (gst_registry_remove_feature),
7783 (gst_registry_lookup_feature_locked):
7784 * gst/gstregistry.h:
7785 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7788 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7790 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7791 (gst_plugin_feature_set_name):
7792 Avoid double memory usage for pluginfeature names. Fixes #459466.
7794 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7797 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7798 driving the pipeline may need to explicitly check for NOT_LINKED as
7799 well, since IS_FATAL doesn't cover that.
7801 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7803 * docs/pwg/advanced-types.xml:
7804 Fix typo and duplicate entry in video formats list.
7806 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7808 * libs/gst/controller/gstinterpolation.c:
7809 Also round to the nearest int when using cubic interpolation.
7811 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7813 * libs/gst/controller/gstinterpolation.c:
7814 When linearly interpolating integer types, round to the nearest int
7815 by adding 0.5. Don't do it for float/double types.
7816 Fixes the failing controller test on my machine, which is somehow
7817 rounding differently than on the buildbots.
7819 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7821 * tools/gst-plot-timeline.py:
7822 Better log parsing (categories can have -). Adjust text vs. lines, so
7823 that they span the same y-range.
7825 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7827 * docs/random/ensonic/audiobaseclasses.txt:
7828 * docs/random/ensonic/dynlink.txt:
7829 * docs/random/ensonic/profiling.txt:
7832 * docs/random/moving-plugins:
7833 Add note to use g_assert type macros.
7835 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7838 * libs/gst/check/Makefile.am:
7839 Add libm check as we use in for plugins.
7841 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7843 * gst/gstbin.c: (gst_bin_continue_func):
7844 Check that the state_cookie hasn't changed since the continue_func
7845 was scheduled. Avoids problems where the state changes back to
7846 something it shouldn't be because it was changed in the meantime.
7848 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7850 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7851 (gst_registry_binary_save_string),
7852 (gst_registry_binary_save_pad_template),
7853 (gst_registry_binary_save_feature),
7854 (gst_registry_binary_save_plugin),
7855 (gst_registry_binary_load_feature),
7856 (gst_registry_binary_load_plugin),
7857 (gst_registry_binary_read_cache):
7858 Fix memory leak. Be less verbose in the log.
7860 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7862 * tests/check/elements/.cvsignore:
7863 Add file to cvsignore as commanded.
7865 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7867 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7868 (mq_dummypad_event), (run_output_order_test):
7869 Use a GStaticMutex to protect all cases where libcheck
7870 fail_if/fail_unless macros might be called from multiple threads
7871 simultaneously to avoid errors like:
7872 "check_pack.c:107: :-1081725400:Bad message type arg"
7874 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7876 * tests/check/pipelines/stress.c: (GST_START_TEST):
7877 Make sure we set the pipeline back to the NULL state before
7878 dropping our final reference.
7880 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7882 * tests/check/elements/tee.c: (GST_START_TEST):
7883 Make the tee stress-test a little less stressful so it doesn't just
7884 time out on slow-machines, and remove a small race when it's starting
7885 up by adding a get_state() call.
7887 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7890 Avoid reading registry twice on startup. Fixes #457322.
7892 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7894 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7895 * pkgconfig/gstreamer-check.pc.in:
7896 Substitute the CFLAGS for libcheck into our .pc file too so that
7897 dependent modules will pick it up properly if libcheck is installed
7898 into some other prefix.
7900 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7903 Revert the pkg-config check for libcheck, since it pulls in the
7904 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7905 a proper solution, either from the check project, or something else.
7907 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7910 Use pkg-config to locate check.
7912 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7919 Add deprecation guards.
7921 * libs/gst/base/gstcollectpads.h:
7922 Don't document object (this is implicitly private).
7924 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7926 * gst/gststructure.c: (gst_structure_parse_value):
7927 When deserialising foo=bar without a type cast, check if it's a
7928 boolean before falling back to a string type, otherwise things like
7929 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7930 because the filtercaps end up having a signed=(string)true field,
7931 which causes problems later when intersection caps.
7933 * tests/check/gst/gststructure.c: (GST_START_TEST):
7934 Add a unit test for this.
7936 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7938 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7940 * libs/gst/controller/Makefile.am:
7941 * libs/gst/controller/gstcontroller.c:
7942 (gst_controlled_property_add_interpolation_control_source),
7943 (gst_controlled_property_new), (gst_controlled_property_free),
7944 (gst_controller_find_controlled_property),
7945 (gst_controller_new_valist), (gst_controller_new_list),
7946 (gst_controller_new), (gst_controller_remove_properties_valist),
7947 (gst_controller_remove_properties_list),
7948 (gst_controller_remove_properties),
7949 (gst_controller_set_property_disabled),
7950 (gst_controller_set_disabled), (gst_controller_set_control_source),
7951 (gst_controller_get_control_source), (gst_controller_get),
7952 (gst_controller_sync_values), (gst_controller_get_value_array),
7953 (_gst_controller_dispose), (gst_controller_get_type),
7954 (gst_controlled_property_set_interpolation_mode),
7955 (gst_controller_set), (gst_controller_set_from_list),
7956 (gst_controller_unset), (gst_controller_unset_all),
7957 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7958 * libs/gst/controller/gstcontroller.h:
7959 * libs/gst/controller/gstcontrollerprivate.h:
7960 * libs/gst/controller/gstcontrolsource.c:
7961 (gst_control_source_class_init), (gst_control_source_init),
7962 (gst_control_source_get_value),
7963 (gst_control_source_get_value_array), (gst_control_source_bind):
7964 * libs/gst/controller/gstcontrolsource.h:
7965 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7966 (gst_object_get_control_source):
7967 * libs/gst/controller/gstinterpolation.c:
7968 (gst_interpolation_control_source_find_control_point_node),
7969 (gst_interpolation_control_source_get_first_value),
7970 (_interpolate_none_get), (interpolate_none_get),
7971 (interpolate_none_get_boolean_value_array),
7972 (interpolate_none_get_enum_value_array),
7973 (interpolate_none_get_string_value_array),
7974 (_interpolate_trigger_get), (interpolate_trigger_get),
7975 (interpolate_trigger_get_boolean_value_array),
7976 (interpolate_trigger_get_enum_value_array),
7977 (interpolate_trigger_get_string_value_array):
7978 * libs/gst/controller/gstinterpolationcontrolsource.c:
7979 (gst_control_point_free), (gst_interpolation_control_source_reset),
7980 (gst_interpolation_control_source_new),
7981 (gst_interpolation_control_source_set_interpolation_mode),
7982 (gst_interpolation_control_source_bind),
7983 (gst_control_point_compare), (gst_control_point_find),
7984 (gst_interpolation_control_source_set_internal),
7985 (gst_interpolation_control_source_set),
7986 (gst_interpolation_control_source_set_from_list),
7987 (gst_interpolation_control_source_unset),
7988 (gst_interpolation_control_source_unset_all),
7989 (gst_interpolation_control_source_get_all),
7990 (gst_interpolation_control_source_get_count),
7991 (gst_interpolation_control_source_init),
7992 (gst_interpolation_control_source_finalize),
7993 (gst_interpolation_control_source_dispose),
7994 (gst_interpolation_control_source_class_init):
7995 * libs/gst/controller/gstinterpolationcontrolsource.h:
7996 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7997 API: Refactor GstController into the core controller which can take
7998 a GstControlSource for providing actual values for timestamps.
7999 Implement a interpolation control source and use this for backward
8000 compatibility, deprecate a bunch of functions that are now handled
8001 by GstControlSource or GstInterpolationControlSource.
8002 Make it possible to disable the controller completely or only for
8003 specific properties. Fixes #450711.
8004 * docs/libs/gstreamer-libs-docs.sgml:
8005 * docs/libs/gstreamer-libs-sections.txt:
8006 * docs/libs/gstreamer-libs.types:
8007 Add new functions and classes to the docs.
8008 * tests/check/libs/controller.c: (GST_START_TEST),
8009 (gst_controller_suite):
8010 * tests/examples/controller/audio-example.c: (main):
8011 Port unit test and example to the new API and add some new
8014 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
8016 Patch by: Mark Nauwelaerts <manauw at skynet be>
8018 * plugins/elements/gstmultiqueue.c:
8019 (gst_multi_queue_get_internal_links), (apply_buffer),
8020 (single_queue_overrun_cb), (gst_single_queue_new):
8021 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8022 the pipeline layout can be tracked correctly. Fixes #453732.
8024 2007-07-05 Stefan Kost <ensonic@users.sf.net>
8026 * docs/gst/Makefile.am:
8027 * docs/libs/Makefile.am:
8028 * docs/plugins/Makefile.am:
8029 Simplify --extra-dir as gtkdoc scans recursively.
8031 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8033 * tools/gst-launch.c: (main):
8034 When we got an error, there is no point in waiting for preroll when
8037 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8039 * plugins/elements/gsttee.c: (gst_tee_base_init),
8040 (gst_tee_request_new_pad), (gst_tee_release_pad),
8041 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8042 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8044 Be a lot smarter when deciding what srcpad to use for proxying
8045 the buffer_alloc. Also handle pad added/removed when doing so.
8047 Keep track of what pads we already pushed on in case we have pads
8048 added/removed while pushing. Fixes #374639
8050 * tests/check/Makefile.am:
8051 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8053 Added unit test for pad resync.
8055 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8059 Updated translations.
8061 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8063 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8067 Added new Finnish translation.
8069 2007-06-28 Wim Taymans <wim@fluendo.com>
8071 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8072 (single_queue_overrun_cb):
8073 When figuring out when a queue is filled, use our internal time estimate
8074 based on segments, just like check_full does.
8076 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8078 * gst/gstminiobject.c: (gst_mini_object_get_type):
8079 Remove 3 do-nothing methods.
8081 2007-06-27 Wim Taymans <wim@fluendo.com>
8083 Patch by: Tim Angus <tim at ngus dot net>
8085 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8086 (gst_capsfilter_set_property):
8087 Take a reference instead of a copy when setting "caps".
8088 Fix documentation to clarify this behaviour. Fixes #449414.
8090 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8092 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8093 * gst/gstplugin.c: (gst_plugin_init):
8094 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8095 * gst/gstquery.c: (gst_query_get_type):
8096 * gst/gstregistry.c: (gst_registry_init):
8097 * gst/gsturi.c: (gst_uri_handler_base_init):
8098 Remove empty instance_init() functions to save relocs and lessen the
8099 noise. Remove some of the function prototypes that are doubled by
8102 2007-06-27 Wim Taymans <wim@fluendo.com>
8104 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8106 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8107 Add peer and direction in the XML serialisation of ghostpads.
8110 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8113 Preserve useful information, thanks Tim.
8115 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8117 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8118 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8119 (gst_single_queue_push_one), (gst_multi_queue_loop),
8120 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8121 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8122 (compute_high_id), (gst_single_queue_new):
8123 * plugins/elements/gstmultiqueue.h:
8124 Take the multiqueue lock when updating the fill level so we don't get
8127 After applying a buffer or event on the src pad segment, make sure to
8128 call gst_data_queue_limits_changed() to get the data queue to unblock
8129 and check the filled state again.
8131 Rework the not-linked pad handling so the logic is that not-linked
8132 pads can push as fast as they like, but only so they never get
8133 ahead of any linked pads.
8135 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8136 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8137 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8139 Add a test to check that not-linked pads always stay behind
8144 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8146 * docs/random/release:
8147 Some updates to the release procedure.
8149 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8151 * gst/gstelementfactory.c: (__gst_element_details_clear):
8152 Microoptimization that saves stunning 80 bytes.
8154 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8156 * docs/plugins/gstreamer-plugins.args:
8157 * docs/plugins/inspect/plugin-coreelements.xml:
8158 * docs/plugins/inspect/plugin-coreindexers.xml:
8159 Update docs with caps info.
8161 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8164 Updated Italian translation.
8166 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8170 Update Vietnamese translations.
8172 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8174 * libs/gst/base/gstbasesink.c:
8175 Remove unused signal enum.
8177 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8179 * docs/gst/gstreamer-sections.txt:
8181 * gst/gstutils.c: (gst_type_register_static_full):
8182 Beef up and include the docs for gst_type_register_static_full and
8183 gst_element_class_set_details_simple and add the API keyword
8186 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8188 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8189 (update_time_level), (gst_single_queue_push_one),
8190 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8191 (single_queue_overrun_cb), (single_queue_underrun_cb),
8192 (single_queue_check_full):
8193 Fix setting max-* properties after adding queues.
8194 Use IS_FILLED for checking visible items.
8195 Signal overrun if multiple queues overrun.
8196 Add extra debug output.
8197 Patch by: Wim Taymans <wim@fluendo.com>
8199 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8201 * gst/gstelement.c: (gst_element_class_set_details_simple):
8203 * gst/gstutils.c: (gst_type_register_static_full):
8205 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8206 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8207 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8208 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8209 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8210 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8211 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8212 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8213 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8214 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8215 (apply_buffer), (gst_queue_chain):
8216 * plugins/elements/gsttee.c: (gst_tee_base_init):
8217 * plugins/elements/gsttypefindelement.c:
8218 (gst_type_find_element_base_init),
8219 (gst_type_find_element_class_init):
8220 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8221 API: add gst_type_register_static_full
8222 API: add gst_element_class_set_details_simple
8224 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8226 * docs/pwg/advanced-types.xml:
8227 Fix typo in iana.org URI.
8229 2007-06-19 Andy Wingo <wingo@pobox.com>
8231 * tests/check/pipelines/simple-launch-lines.c
8232 (test_state_change_returns): Enable pull-mode tests now that
8233 basesink has been fixed.
8235 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8236 Changed from gst_base_sink_is_prerolled, reversing the sense of
8237 the return value. Returns FALSE also if the sink is in pull mode,
8238 in which case it needs no preroll.
8239 (gst_base_sink_query, gst_base_sink_change_state): Update for
8240 needs_preroll change.
8241 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8242 chaining up, in which we return SUCCESS directly if we activated
8243 in pull mode instead of ASYNC. Involves countering an async_start
8244 message sent before chaining up; not sure if this is correct, in
8245 an ideal world we only send async-start when activating in push
8248 * tests/check/pipelines/simple-launch-lines.c
8249 (test_state_change_returns): New test, partially disabled until
8252 2007-06-19 Wim Taymans <wim@fluendo.com>
8254 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8255 (gst_multi_queue_sink_event):
8258 2007-06-19 Wim Taymans <wim@fluendo.com>
8260 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8261 (gst_bin_change_state_func), (bin_push_state_continue),
8262 (bin_handle_async_start), (bin_handle_async_done),
8263 (gst_bin_handle_message_func):
8264 Move the common code for posting state-change messages into
8266 Broadcast the state signal after we posted the messages.
8267 Mark the bin as busy when it's doing a state-change.
8268 Make sure async-start/done messages don't interfere with the bin's
8269 state when it's busy.
8270 After the state change, let the bin check which elements completed the
8271 state change while it was busy so that it can update its state.
8273 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8275 * docs/random/release:
8276 Add a note about updating the doap file to the release checklist
8278 2007-06-18 Wim Taymans <wim@fluendo.com>
8280 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8281 (gst_single_queue_push_one), (gst_multi_queue_chain),
8282 (gst_multi_queue_sink_event):
8283 Make sure we don't reference the buffer/event after we have given away
8284 ownership in the queue.
8286 2007-06-18 Wim Taymans <wim@fluendo.com>
8288 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8289 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8290 Update queue state _after_ adding the item in the queue because else we
8291 could end up being full without the element added yet.
8293 2007-06-18 Wim Taymans <wim@fluendo.com>
8295 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8296 (gst_bin_remove_func), (gst_bin_get_state_func),
8297 (gst_bin_element_set_state), (gst_bin_continue_func),
8298 (bin_push_state_continue), (bin_handle_async_start),
8299 (bin_handle_async_done), (gst_bin_handle_message_func):
8301 Immediatly commit the toplevel bin state when receiving an async-done
8302 message. This enables us to avoid spawning a thread to commit the state
8303 in some common cases and it also avoids some races.
8304 Avoid spawning a state thread when adding/removing async elements to a
8305 toplevel bin. Instead we immediatly update the bin state.
8306 Get rid of iterating all the children when getting the state in the bin
8307 because it is now always up-to-date.
8308 Fix bug where locked elements would always return _SUCCESS even it they
8309 returned NO_PREROLL before being locked.
8310 Fix the order of the state_change, async-start/done messages that was
8311 sometimes incorrect.
8312 Mark the state_dirty field as deprecated, we don't need it anymore as we
8313 are always up-to-date.
8315 * gst/gstelement.c: (gst_element_get_state_func),
8316 (gst_element_continue_state):
8317 Small debug inprovements.
8318 Return the previous element state return when nothing is pending instead
8319 of blindly returning SUCCESS.
8321 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8323 Add a whole bunch of new testcases.
8325 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8329 Update translations.
8331 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8334 Fix typo in the docs.
8336 2007-06-15 Wim Taymans <wim@fluendo.com>
8338 * docs/libs/gstreamer-libs-sections.txt:
8339 Add docs for new methods.
8341 2007-06-15 Wim Taymans <wim@fluendo.com>
8343 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8344 (gst_multi_queue_item_new):
8345 Don't use GSlice because we don't depend on >= 2.10 yet.
8347 2007-06-15 Wim Taymans <wim@fluendo.com>
8349 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8350 (update_time_level), (apply_segment), (apply_buffer),
8351 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8352 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8353 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8354 (single_queue_underrun_cb), (single_queue_check_full):
8355 Remove debug printf.
8357 2007-06-15 Wim Taymans <wim@fluendo.com>
8359 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8360 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8361 (gst_data_queue_set_flushing), (gst_data_queue_push),
8362 (gst_data_queue_pop), (gst_data_queue_drop_head),
8363 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8364 * libs/gst/base/gstdataqueue.h:
8366 Added methods to get the current levels and to inform the queue that the
8367 'full' limits changed.
8369 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8370 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8371 (gst_single_queue_flush), (update_time_level), (apply_segment),
8372 (apply_buffer), (gst_single_queue_push_one),
8373 (gst_multi_queue_item_steal_object),
8374 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8375 (gst_multi_queue_loop), (gst_multi_queue_chain),
8376 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8377 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8378 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8379 (single_queue_underrun_cb), (single_queue_check_full),
8380 (gst_single_queue_new):
8381 Keep track of time in the queue by measuring the difference between
8382 running_time on input and output. This gives more accurate results and
8383 can compensate for segments correctly.
8384 Make a queue by default only 5 buffers deep. We will now increase the
8385 buffer size depending on the filledness of the other queues.
8386 Factor out commong flush code.
8387 Make sure we don't add additional refcounts to buffers when we can avoid
8389 Propagate GstFlowReturn differently.
8390 Use GSlice for intermediate GstMultiQueueItems.
8392 Resize queues on over and underruns based on filled level of other
8394 When checking if the queue is filled, prefer to measure in time if we
8395 can and fall back to bytes when no time is known.
8397 * plugins/elements/gstqueue.c:
8400 2007-06-15 Wim Taymans <wim@fluendo.com>
8402 * libs/gst/base/gstbasetransform.c:
8403 (gst_base_transform_sink_event):
8404 Work around the brokenness of the event vmethod in basetransform. Prefer
8405 to return TRUE when the subclass returned FALSE (meaning don't forward
8408 * libs/gst/base/gstbasetransform.h:
8411 2007-06-15 Wim Taymans <wim@fluendo.com>
8413 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8414 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8415 (gst_base_src_default_query), (gst_base_src_get_range),
8416 (gst_base_src_start):
8417 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8420 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8422 * docs/pwg/advanced-types.xml:
8423 Added more formats to caps table.
8425 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8427 * tools/gst-launch.c: (main):
8428 Remove crufy code. GOption does not need this workaround.
8430 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8432 * libs/gst/controller/gstcontroller.c:
8433 (gst_controlled_property_set_interpolation_mode):
8434 Fix wrong getter for enums in controller.
8436 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8438 * libs/gst/check/gstcheck.c: (gst_check_init):
8439 Intercept criticals and warnings in the Gst-Phonon log domain, so
8440 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8443 2007-06-14 Edward Hervey <edward@fluendo.com>
8445 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8446 Since this file doesn't include "gst.h" it will not go through the
8447 macros that disable GST_LOG if debugging was disabled.
8449 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8451 * libs/gst/check/Makefile.am:
8452 * libs/gst/check/gstcheck.h:
8453 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8454 * pkgconfig/gstreamer-check.pc.in:
8455 Ugly 'fix' for the controller unit test on the p5 bot: in
8456 fail_unless_equals_float() check whether the values are 'almost
8457 equal' by allowing a small absolute error, which should be good
8458 enough for our use cases (normal numbers and values close to 0).
8459 Proper fixage left to floating point arithmetic aficionados.
8461 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8463 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8464 (gst_base_sink_render_object), (gst_base_sink_get_position):
8465 Add two breaks thats where missing.
8467 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8469 * docs/libs/gstreamer-libs-sections.txt:
8470 * libs/gst/check/gstcheck.h:
8471 API: add fail_unless_equals_float() and assert_equals_float().
8472 Add documentation for some of the macros.
8474 * tests/check/libs/controller.c: (GST_START_TEST):
8475 Use newly-added asserts.
8477 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8479 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8480 Show the caps change in the log to help spotting the case of not
8481 exactly matching caps.
8483 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8485 * docs/pwg/building-boiler.xml:
8486 Fix typos, spotted by Thijs Vermeir (#447190).
8488 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8490 * docs/plugins/tmpl/.cvsignore:
8491 Ignore file to keep the buildbots happy
8493 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8495 * docs/plugins/Makefile.am:
8496 * docs/plugins/gstreamer-plugins-docs.sgml:
8497 * docs/plugins/gstreamer-plugins-sections.txt:
8498 Pull fdsink into the docs too.
8500 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8502 * libs/gst/controller/gstinterpolation.c:
8503 Actually use the new functions with min/max checks for the trigger and
8504 none interpolation modes for get() and get_value_array() instead of
8507 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8509 * libs/gst/controller/gstcontroller.c:
8510 (gst_controlled_property_free):
8511 Unset the minimum and maximum GValues when freeing the corresponding
8512 GstControllerProperty struct.
8514 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8516 * libs/gst/controller/gstcontroller.c:
8517 (gst_controlled_property_new):
8518 * libs/gst/controller/gstcontrollerprivate.h:
8519 * libs/gst/controller/gstinterpolation.c:
8520 (gst_controlled_property_find_control_point_node),
8521 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8522 (interpolate_none_get_string_value_array),
8523 (interpolate_trigger_get),
8524 (interpolate_trigger_get_enum_value_array),
8525 (interpolate_trigger_get_string_value_array):
8526 Protect against values larger or smaller than the minimum or maximum
8527 allowed value for the property when using values that can be compared.
8529 Optimize trigger interpolator a bit by taking the last requested value
8530 into account instead of always looping through the complete list.
8532 Fix coding style a bit, everywhere else we use "return foo" instead
8535 * tests/check/libs/controller.c: (GST_START_TEST),
8536 (gst_controller_suite):
8537 Add unit test for the protection against too large or too small
8540 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8542 * docs/random/slomo/controller.txt:
8543 Add some thoughts about the future of the controller.
8545 2007-06-08 Wim Taymans <wim@fluendo.com>
8547 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8548 Don't overflow in retimestamping code.
8550 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8552 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8553 Use gst_util_guint64_to_gdouble for conversions.
8554 * win32/common/libgstreamer.def:
8555 Add new exported functions.
8557 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8560 Small docs addition.
8562 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8565 Remove that test line again.
8567 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8570 Test commit mail sending.
8572 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8575 Fix typo and test commit mail sending.
8577 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8579 * tests/examples/controller/audio-example.c:
8580 Improve comment and test commit mail sending.
8582 2007-06-07 Wim Taymans <wim@fluendo.com>
8584 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8585 (gst_bin_remove_func), (gst_bin_element_set_state),
8586 (bin_handle_async_start), (bin_handle_async_done),
8587 (gst_bin_handle_message_func):
8588 Add helper function to find messages.
8589 Generate the async-done messages together with the state change
8591 Small cleanups in handling toplevel bins.
8593 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8595 * libs/gst/base/gstdataqueue.c:
8596 * libs/gst/base/gstdataqueue.h:
8597 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8598 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8599 (gst_multi_queue_sink_event):
8600 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8601 Fix multiqueue leaking buffers and events when downstream or the
8602 queue are flushing. Make refcounting assumptions explicit and
8603 document them (shouldn't break existing code that uses it other than
8604 maybe leak miniobjects, but that already happens anyway). Add unit
8605 test for the most common flushing case. Fixes #423700.
8607 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8609 * libs/gst/controller/gstcontroller.c:
8610 Clarify docs: The get_all, get_value_array(s) functions
8611 don't modify the GObject properties.
8613 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8615 * libs/gst/controller/gstcontroller.c:
8616 (gst_controlled_property_set_interpolation_mode),
8617 (gst_controlled_property_prepend_default),
8618 (gst_controlled_property_new), (gst_controller_set_unlocked),
8619 (gst_controller_set), (gst_controller_set_from_list),
8620 (gst_controller_unset), (gst_controller_unset_all):
8621 * libs/gst/controller/gstcontrollerprivate.h:
8622 * libs/gst/controller/gstinterpolation.c:
8623 Factor out the 'set' logic into gst_controller_set_unlocked for the
8624 gst_controller_set and gst_controller_set_from_list functions.
8626 To make life of the interpolators easier always add a control point
8627 at timestamp zero with the default value.
8629 In the linear interpolator make things more obvious by better variable
8632 Implement cubic interpolation mode (by using a natural cubic spline)
8633 and map the quadratic interpolation mode to this too (as quadratic
8634 doesn't make much sense, see discussion on the list).
8636 * tests/check/libs/controller.c: (GST_START_TEST),
8637 (gst_controller_suite):
8638 Add unit test for the cubic interpolation mode and check everywhere
8639 if the interpolation mode could be set as expected.
8641 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8643 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8644 Don't use GLib-2.10 functions, we still depend on
8645 GLib-how-old-is-it-again-2.8.
8647 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8649 * docs/gst/gstreamer-sections.txt:
8653 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8654 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8655 (_gst_param_fraction_values_cmp),
8656 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8657 * gst/gstparamspecs.h:
8659 * tests/check/Makefile.am:
8660 * tests/check/gst/.cvsignore:
8661 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8662 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8663 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8664 (GST_START_TEST), (gst_param_spec_suite):
8665 API: add GstParamSpecFraction, so elements can have fraction
8666 properties without lots of painful string parsing (#444648).
8668 2007-06-05 Wim Taymans <wim@fluendo.com>
8670 * gst/gstobject.c: (gst_object_class_init):
8671 Fix signal signature.
8674 Add small clarification in the api docs.
8676 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8677 States are protected with object lock.
8679 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8682 I should probably be listed as an author by now.
8684 * docs/random/release:
8685 Update the release doc
8687 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8690 Make docs for gst_value_compare() mention return enums that
8693 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8698 === release 0.10.13 ===
8700 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8703 releasing 0.10.13, "With or without you"
8705 2007-05-25 Wim Taymans <wim@fluendo.com>
8707 * gst/gstbin.c: (bin_handle_async_done):
8708 Make sure that the child bin stops after completing the async state
8709 change so that the parent can continue the state change to PLAYING.
8712 2007-05-25 Wim Taymans <wim@fluendo.com>
8714 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8715 (unref_data), (gst_collect_pads_remove_pad),
8716 (gst_collect_pads_check_pads):
8717 Use additional refcounting to avoid crashes when dynamically adding and
8718 removing pads. Fixes #420206.
8720 2007-05-24 Wim Taymans <wim@fluendo.com>
8722 * tools/gst-launch.c: (event_loop):
8723 When buffering goes from a two digit to a single digit number, make sure
8724 to remove the old second digit by writing a blank over it.
8726 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8728 * libs/gst/base/gstdataqueue.c:
8729 Eliminate tabs and trailing comma in enum list; fix some typos.
8731 2007-05-24 Wim Taymans <wim@fluendo.com>
8733 * tests/check/gst/gstbin.c: (GST_START_TEST):
8734 Allow refcount of 3 and 4 because some state thread might still be busy
8737 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8739 * plugins/elements/Makefile.am:
8740 * plugins/elements/gstmultiqueue.h:
8741 * plugins/elements/gstqueue.h:
8742 These are not installed headers, no need for padding.
8744 2007-05-24 Wim Taymans <wim@fluendo.com>
8746 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8747 (gst_bin_continue_func):
8748 Enable latency for next release.
8749 Restore STATE_LOCK around recalc_state that was left out during the
8750 rewrite and could result in racy behaviour when _get_state and
8751 recalc_state are run concurrently. See #440463.
8753 2007-05-23 Wim Taymans <wim@fluendo.com>
8755 * tests/check/gst/gstsystemclock.c: (store_callback),
8757 Improve test_async_order to also work when both timers are already
8758 expired when we get scheduled to check it.
8760 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8762 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8763 (gst_bin_set_property), (gst_bin_get_property),
8764 (gst_bin_remove_func), (gst_bin_handle_message_func):
8766 'private' is a c++ keyword, let's not use that in header files,
8767 otherwise c++ compilers will throw a tantrum.
8769 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8771 * plugins/elements/gstelements.c:
8772 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8773 (gst_file_sink_get_current_offset):
8774 * plugins/indexers/gstindexers.c: (plugin_init):
8775 Use #ifdef for HAVE_XYZ for consistency.
8777 * tests/check/Makefile.am:
8778 * tests/check/elements/.cvsignore:
8779 * tests/check/elements/filesink.c: (setup_filesink),
8780 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8781 Add some unit tests for filesink.
8783 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8785 Patch by: Mark Nauwelaerts <manauw at skynet be>
8787 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8788 (gst_file_sink_query), (gst_file_sink_do_seek),
8789 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8790 * plugins/elements/gstfilesink.h:
8791 Fix position reporting; rename data_written member to current_pos to
8792 reflect its real meaning (fixes #412648).
8794 2007-05-22 Edward Hervey <edward@fluendo.com>
8796 * docs/gst/gstreamer-sections.txt:
8797 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8798 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8799 (gst_bin_remove_func), (gst_bin_handle_message_func):
8801 Add a property for bins that handle the state change of their childs.
8804 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8806 * libs/gst/controller/gstinterpolation.c:
8807 Use an array of the correct type when using _get_value_array with
8808 linear interpolation.
8810 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8812 * gst/gstelement.c (gst_element_requires_clock,
8813 gst_element_provides_clock, gst_element_request_pad,
8814 gst_element_class_set_details, gst_element_class_set_details_simple,
8815 gst_element_default_send_event, gst_element_abort_state,
8816 gst_element_continue_state, gst_element_set_state,
8817 gst_element_set_state_func, iterator_activate_fold_with_resync):
8818 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8819 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8820 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8821 gst_pad_get_range, gst_pad_pull_range):
8822 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8823 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8824 GstPadActivateModeFunction, GstPadChainFunction,
8825 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8826 GstPadFixateCapsFunction, GstPadTemplate):
8827 * gst/gstpipeline.c (gst_pipeline_change_state,
8828 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8829 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8830 gst_pipeline_get_delay):
8831 Whitespace and docs fixes.
8833 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8835 * libs/gst/controller/gstinterpolation.c:
8836 (interpolate_trigger_get_enum_value_array),
8837 (interpolate_trigger_get_string_value_array):
8838 Add support for retrieving value arrays when using the trigger
8841 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8843 * libs/gst/controller/gstcontroller.c:
8844 (gst_controller_get_value_array):
8845 * libs/gst/controller/gstcontroller.h:
8846 Clarify the docs of gst_controller_get_value_array(): The array where
8847 the values should be written to must be allocated as there seems to be
8848 no way to get the size of a random GType. This doesn't change any
8849 behaviour. Also fix some typos all over the place and remove an unused,
8850 commented function that is not necessary as g_object_set() could be
8852 * tests/check/libs/controller.c: (GST_START_TEST),
8853 (gst_controller_suite):
8854 Add unit test for gst_controller_get_value_array().
8856 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8858 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8860 Disable part of the gst_buffer_try_new_and_alloc test, because
8861 it can happily succeed on 64-bit systems where there's more address
8864 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8866 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8867 Add unit test for the improved caps checking from bug #421543.
8869 2007-05-21 Wim Taymans <wim@fluendo.com>
8871 * docs/design/part-synchronisation.txt:
8874 * gst/gstbin.c: (gst_bin_query):
8875 * plugins/elements/gstqueue.c: (apply_segment):
8881 2007-05-21 Wim Taymans <wim@fluendo.com>
8883 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8884 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8885 (gst_pad_configure_src):
8886 Added simple version of improved caps checking. It was previously
8887 assumed that a setcaps function would check the validity of the caps but
8888 people prefer us to check caps against the template automatically.
8891 2007-05-21 Wim Taymans <wim@fluendo.com>
8893 * libs/gst/base/gstbasetransform.h:
8894 Fix macro for locking/unlocking the transform lock.
8896 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8898 * docs/plugins/tmpl/.cvsignore:
8901 2007-05-18 Edward Hervey <edward@fluendo.com>
8903 * plugins/elements/gstqueue.c: (gst_queue_loop):
8904 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8905 for the subtle art of warning a potentially blocking thread that it
8906 should check the source pad return value, and relay the information
8909 2007-05-18 Edward Hervey <edward@fluendo.com>
8911 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8912 Release the queue lock !
8914 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8916 * docs/libs/gstreamer-libs-sections.txt:
8917 Add the two new controller functions to the appropiate places.
8919 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8921 reviewed by: Stefan Kost <ensonic@users.sf.net>
8923 * libs/gst/controller/gstcontroller.c:
8924 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8925 (_gst_controller_get_property), (_gst_controller_set_property),
8926 (_gst_controller_init), (_gst_controller_class_init):
8927 * libs/gst/controller/gstcontroller.h:
8928 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8929 (gst_object_get_control_rate), (gst_object_set_control_rate):
8930 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8931 Add API that provides sync suggestion timestamps for elements that
8932 call gst_object_sync_values() from which those elements can subdivide
8933 their processing loop to get the best results for the controlled
8934 properties. For now it just suggests last_sync + control_rate as
8935 new timestamp but this will be improved in the future.
8937 While doing that change the control-rate property to a GstClockTime
8938 from guint and change it's meaning from samples to nanoseconds as
8939 the GstController doesn't know anything about sampling rate. Strictly
8940 speaking this breaks ABI but as the control-rate property didn't do
8941 anything in the past and as such couldn't be used this should be no
8944 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8946 reviewed by: Stefan Kost <ensonic@users.sf.net>
8948 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8949 (gst_controller_unset_all):
8950 * libs/gst/controller/gstcontrollerprivate.h:
8951 * libs/gst/controller/gstinterpolation.c:
8952 (gst_controlled_property_find_control_point_node):
8953 Save last synced value from the list to continue searching from there
8954 in future syncs. This speeds everything up a bit.
8956 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8958 reviewed by: Stefan Kost <ensonic@users.sf.net>
8960 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8961 (gst_control_point_find), (gst_controlled_property_new),
8962 (gst_control_point_free), (gst_controlled_property_free),
8963 (gst_controller_set), (gst_controller_set_from_list),
8964 (gst_controller_unset), (gst_controller_unset_all),
8965 (gst_controller_sync_values):
8966 * libs/gst/controller/gstcontroller.h:
8967 * libs/gst/controller/gstcontrollerprivate.h:
8968 * libs/gst/controller/gstinterpolation.c:
8969 (gst_controlled_property_find_control_point_node),
8970 (interpolate_none_get), (interpolate_trigger_get):
8971 Add a new private GstControlPoint struct which "inherits" from
8972 GstTimedValue to allow different interpolators to store internal
8973 values next to each control point. From the outside everything is
8974 still a GstControlPoint so we don't loose binary compatibility.
8975 Also fixup all the GValue handling to not leak GValues or list nodes.
8976 * tests/check/libs/controller.c: (GST_START_TEST):
8977 Free the list nodes and GValues in the controller_misc test.
8979 2007-05-17 Edward Hervey <edward@fluendo.com>
8984 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8986 * gst/gstplugin.c: (gst_plugin_load_file):
8987 If we fail to load a plugin because of unresolved symbols or missing
8988 libraries and spew a warning to stderr, we may just as well mention
8989 which plugin it was that failed to load.
8991 2007-05-13 David Schleef <ds@schleef.org>
8993 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8994 handles the case when ENABLE_GTK_DOC is false, and installs
8995 the prebuilt documentation. So gtk-doc subdirs are
8996 unconditionally enabled. Fixes: #349099.
8998 2007-05-13 David Schleef <ds@schleef.org>
9000 * gst/gstutils.h: Reword some documentation.
9002 2007-05-12 David Schleef <ds@schleef.org>
9004 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9005 do anything with the passed "module" parameter, so remove it.
9006 Allows removal of additional vestigal code.
9008 2007-05-12 David Schleef <ds@schleef.org>
9011 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9012 Switch to using g_stat() because it's more portable.
9014 2007-05-12 David Schleef <ds@schleef.org>
9017 Add GST_DISABLE_OPTION_PARSING, in order to disable option
9018 parsing for embedded systems.
9019 * gst/gstelementfactory.c:
9020 Allow gst_element_register() to be called with plugin==NULL.
9021 Did nobody notice that static elements were broken?
9023 2007-05-12 Wim Taymans <wim@fluendo.com>
9025 * tools/gst-launch.c: (event_loop):
9026 Give more interesting info when buffering starts and stops.
9027 Fix case where buffering starts but we fail to update the buffering flag
9028 because the target state is not PLAYING.
9030 2007-05-12 Wim Taymans <wim@fluendo.com>
9032 * plugins/elements/gstqueue.c: (gst_queue_init),
9033 (gst_queue_finalize), (update_time_level), (apply_segment),
9034 (apply_buffer), (gst_queue_locked_flush),
9035 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9036 (gst_queue_handle_sink_event), (gst_queue_chain),
9037 (gst_queue_push_one), (gst_queue_loop):
9038 * plugins/elements/gstqueue.h:
9039 Refactor an cleanup queue a bit.
9040 Do better time level calculations that also work when the srcpad is not
9042 Remove some unneeded debug lines.
9044 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9045 Added testcase for time level measurement.
9046 Try to make some stuff more racefree.
9048 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9050 * gst/gsturi.c: (gst_element_make_from_uri):
9051 Don't leak plugin feature.
9053 * tests/check/Makefile.am:
9054 * tests/check/gst/.cvsignore:
9055 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9056 Add brain-dead unit test.
9058 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9060 Patch by: Jeroen Wouters <woutersj at gmail com>
9062 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9063 Treat protocol strings in a case-insensitive way (#437563).
9065 2007-05-11 Michael Smith <msmith@fluendo.com>
9067 * gst/gstplugin.c: (gst_plugin_load_file):
9068 * gst/gstregistry.c: (gst_registry_scan_path_level):
9069 Don't print a g_warning for any failure to load a shared object.
9070 Instead, push this down into gstplugin.c, and warn _only_ if we
9071 failed to open the module (i.e. failure to link).
9072 Avoids warnings on normal, working, non-plugin .so files.
9074 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9076 * gst/gstplugin.c (gst_plugin_load_file):
9077 * gst/gstregistry.c (GST_CAT_DEFAULT,
9078 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9079 Print a g_warning if there was an error when loading a plugins during
9080 registry scan. The shuld help beginners starting with gst-plugin
9083 2007-05-10 Wim Taymans <wim@fluendo.com>
9085 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9086 (update_time_level), (gst_queue_locked_flush),
9087 (gst_queue_handle_sink_event), (gst_queue_chain),
9088 (gst_queue_push_one), (gst_queue_loop):
9089 * plugins/elements/gstqueue.h:
9090 Be smarter when calculating the current amount of data in the queue by
9091 measuring the difference between start and end timestamps (in running
9092 time) inside the queue. Fixes #432876.
9093 API: GstQueue::pushing to notify elements that we are pushing data again
9094 since the running signal is rather broken for this purpose.
9096 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9098 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9099 gst_queue_base_init, gst_queue_init):
9102 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9104 * win32/common/libgstreamer.def:
9105 Add new exported functions.
9106 * win32/vs6/grammar.dsp:
9107 Use grammar pre-generated files.
9109 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9111 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9114 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9116 * gst/gstutils.c: (gst_parse_bin_from_description):
9118 Maintain API and ABI when --disable-parse is used. Now that
9119 we have an appropriate error code, we can just return NULL and the
9120 appropriate error when gst_parse_launch() is used despite it having
9121 been disabled (#342564).
9123 * tests/check/Makefile.am:
9124 * tests/check/pipelines/.cvsignore:
9125 * tests/check/pipelines/parse-disabled.c:
9126 Make sure these functions exist and return NULL plus a GError when
9127 --disable-parse is used.
9129 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9131 * tests/benchmarks/complexity.c: (main):
9132 * tests/benchmarks/mass-elements.c: (main):
9133 Set a good example and don't leak messages.
9135 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9137 * docs/gst/Makefile.am:
9138 * docs/libs/Makefile.am:
9139 Correct fixxrefs options.
9141 * docs/plugins/Makefile.am:
9142 * docs/plugins/gstreamer-plugins-docs.sgml:
9143 * docs/plugins/gstreamer-plugins-sections.txt:
9144 * plugins/elements/Makefile.am:
9145 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9146 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9147 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9148 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9149 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9150 _GstCapsFilterClass, trans_class):
9151 * plugins/elements/gstelements.c (name, rank, type, _elements):
9152 * plugins/elements/gstidentity.c
9153 (gst_identity_check_imperfect_timestamp,
9154 gst_identity_check_imperfect_offset):
9155 Document capsfilter and add doc-blurb to identity.
9157 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9159 * libs/gst/controller/gstcontroller.c:
9160 (gst_controlled_property_set_interpolation_mode):
9161 * libs/gst/controller/gstinterpolation.c:
9162 Don't crash if someone tries to set an interpolation mode that
9163 is invalid or that isn't supported yet. Fixes #422295.
9165 * tests/check/libs/controller.c: (GST_START_TEST),
9166 (gst_controller_suite):
9167 Add a test case for the above.
9169 2007-05-03 Edward Hervey <edward@fluendo.com>
9171 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9172 Properly set the last_stop position on GstSegment. This will only happen
9173 if there is a buffer to push out.
9175 2007-05-03 Wim Taymans <wim@fluendo.com>
9177 * libs/gst/base/gstbasetransform.c:
9178 (gst_base_transform_buffer_alloc):
9179 always_in_place does not mean that the sink and source caps are the
9180 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9182 2007-05-03 Wim Taymans <wim@fluendo.com>
9184 * docs/libs/gstreamer-libs-sections.txt:
9185 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9186 (gst_base_src_default_query), (gst_base_src_get_range):
9187 * libs/gst/base/gstbasesrc.h:
9188 API: gst_base_src_query_latency(). Added method so that subclasses can
9189 easily get the latency values of the base source class.
9191 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9193 * tools/gst-inspect.c (print_implementation_info):
9196 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9198 * tools/Makefile.am:
9199 * tools/gst-launch.1.in:
9200 Don't create a customised man page based on the host architecture,
9201 describe the default registry path generically. That way the man
9202 page is the same for all architectures and packagers have one
9203 multilib issue less to deal with. Fixes #434926.
9205 2007-05-02 Wim Taymans <wim@fluendo.com>
9208 Fix documentation as spotted by rg on IRC.
9210 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9213 Improve docs for gst_element_{link,unlink}.
9215 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9217 * docs/design/part-events.txt:
9218 * docs/design/part-overview.txt:
9222 * libs/gst/base/gstbasesink.c:
9223 Typo fixes; minor docs addition.
9225 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9227 * docs/gst/gstreamer-sections.txt:
9228 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9229 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9231 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9232 or src that supports a given URI protocol exists.
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 Set the location to NULL if "file://" is set as URI. Otherwise
9239 some random previous URI would still be set if "file://" is
9240 set on an already used filesink/filesrc.
9242 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9244 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9245 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9246 Special case the "file://" URI as as this is used by some
9247 applications to test with gst_element_make_from_uri if there's
9248 an element that supports the URI protocol.
9249 Also move the g_path_is_absolute() check for the location part
9250 of the URI to also check this for "file://localhost/bla" URIs.
9252 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9254 * docs/gst/gstreamer-sections.txt:
9255 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9257 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9259 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9261 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9263 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9264 (gst_registry_binary_load_pad_template),
9265 (gst_registry_binary_load_plugin),
9266 (gst_registry_binary_read_cache):
9267 * gst/gstregistrybinary.h:
9268 Implement no-mmap alternative for registry reading. Do code cleanups.
9269 Add more comments about avoiding strdups for all text data. Comments
9272 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9274 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9275 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9276 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9277 Comment structs and reformat to fix the build (that stuff should go
9278 into a priv. header).
9280 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9282 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9283 (gst_registry_binary_load_feature):
9284 * gst/gstregistrybinary.h:
9285 Refactor so that we can implement multiple features. Add support for
9286 TypeFindFactory features.
9288 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9290 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9293 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9295 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9297 * gst/gstbin.c: (gst_bin_element_set_state),
9298 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9299 (bin_handle_async_done), (gst_bin_handle_message_func):
9300 Fix build with --gst-disable-gst-debug
9302 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9304 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9305 Make sure streaming has finished before calling the ::stop() vfunc,
9306 since that vfunc might clear state which is being used in the
9307 streaming thread. This fixes a race that caused crashes in
9308 audioresample when shutting down a pipeline (#420106).
9310 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9312 * docs/gst/gstreamer-sections.txt:
9313 That was one byte missing.
9315 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9318 * docs/gst/gstreamer-sections.txt:
9320 * gst/gstconfig.h.in:
9321 * gst/gstobject.c: (gst_object_class_init),
9322 (gst_signal_object_class_init):
9324 2nd attempt to have a xml-less build as a joined effort of #413123
9327 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9329 * docs/design/draft-tagreading.txt:
9330 Added open issues/thoughts to draft.
9332 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9334 * gst/parse/grammar.tab.pre.c:
9335 * gst/parse/grammar.tab.pre.h:
9336 * gst/parse/lex._gst_parse_yy.pre.c:
9337 Update the prebuild parser sources.
9339 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9341 * gst/parse/Makefile.am:
9342 And now fix the building of the flex sources. Now everything should
9345 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9347 * gst/parse/Makefile.am:
9348 Now hopefully fix the build failures by setting proper rule
9349 dependencies and moving instead of copying.
9351 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9353 * tests/benchmarks/complexity.gnuplot:
9354 * tests/benchmarks/complexity.scm:
9355 * tests/benchmarks/mass-elements.gnuplot:
9356 * tests/benchmarks/mass-elements.scm:
9357 Total licensification.
9359 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9361 * gst/parse/Makefile.am:
9362 Fix the build by correcting the rule that gave wrong files to flex.
9364 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9366 * tests/benchmarks/complexity.c:
9367 * tests/benchmarks/mass-elements.c:
9368 Change licence to LGPL as granted by Benjamin and Andy.
9370 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9372 * gst/parse/Makefile.am:
9373 Add correct grammar.tab.h dependency if compiling without new enough
9374 flex. Fixes #431150.
9376 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9378 * gst/parse/Makefile.am:
9379 Fix typo and use outdated sources if the flex/bison sources are newer
9380 than the pregenerated ones but flex is too old. Print a warning in
9381 that case. This should fix the build on the build bot.
9383 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9385 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9386 * gst/parse/Makefile.am:
9387 * gst/parse/grammar.y:
9388 * gst/parse/parse.l:
9389 Make the parser reentrant and recursively callable. This requires flex
9390 >= 2.5.31, for older versions pregenerated sources are used as we
9391 can't bump the build dependency. Finally fixes #349180.
9393 * gst/gstparse.c: (gst_parse_launch):
9394 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9397 * docs/gst/Makefile.am:
9398 * docs/gst/Makefile.am:
9399 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9400 (__gst_parse_strfree), (__gst_parse_link_new),
9401 (__gst_parse_link_free), (__gst_parse_chain_new),
9402 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9403 (gst_parse_element_set), (gst_parse_free_link),
9404 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9405 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9406 (_gst_parse_launch):
9407 * gst/parse/grammar.tab.pre.h:
9408 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9409 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9410 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9411 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9412 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9413 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9414 (_gst_parse_yypop_buffer_state),
9415 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9416 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9417 (yy_fatal_error), (_gst_parse_yyget_extra),
9418 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9419 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9420 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9421 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9422 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9423 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9424 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9425 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9426 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9427 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9428 (_gst_parse_yyfree):
9429 If the installed flex version is too old use pre-generated parser
9430 sources. These pre-generated parser sources are always updated when
9431 the actual flex/bison sources change but require everybody who wants
9432 to change something in the parser to have flex >= 2.5.31 installed.
9434 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9436 * common/m4/gst-gettext.m4:
9437 * gst/gst-i18n-lib.h:
9438 Make --disable-nls to work
9440 2007-04-17 Wim Taymans <wim@fluendo.com>
9442 * gst/gstconfig.h.in:
9443 Revert previous change that broke the build.
9445 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9449 * gst/gstconfig.h.in:
9450 Drop libxml2 dependency when building with
9451 --enable-binary-registry --disable-loadsave
9453 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9455 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9456 (gst_registry_binary_read_cache):
9457 * gst/gstregistrybinary.h:
9458 Remove unnecessary <sys/mman.h> include which broke the win32 build
9459 with MingW; move includes from header file to .c file, even if the
9460 header file isn't installed; use g_strerror() where UTF-8 strings
9461 are expected, such as in GST_DEBUG messages.
9463 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9465 * docs/libs/gstreamer-libs-sections.txt:
9466 Remove bogus addition for API I didn't end up keeping.
9468 * libs/gst/base/gstbasesrc.h:
9469 Mention Since: 0.10.13 in the documentation.
9471 Add the API keyword to the previous ChangeLog entry.
9473 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9475 * docs/libs/gstreamer-libs-sections.txt:
9476 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9477 (gst_base_src_default_prepare_seek_segment),
9478 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9479 * libs/gst/base/gstbasesrc.h:
9480 Allow basesrc derived classes to execute seeks in other formats
9481 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9482 to prepare the GstSegment in any format that their perform_seek method
9483 will be able to understand. The default implementation provides the
9484 old behaviour of attempting to convert the seek offsets to the
9485 configured native format.
9487 API: basesrc::prepare_seek_segment vmethod.
9489 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9491 * gst/gstelement.c: (gst_element_get_state_func):
9492 Don't output the same debug statement twice.
9494 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9495 (gst_adapter_peek), (gst_adapter_take_buffer):
9496 Optimise the case where we have buffers at the head of the queue that
9497 can be joined quickly (because they're contiguous sub-buffers) by
9498 merging them together rather than copying data out into new memory.
9500 * gst/parse/grammar.y:
9501 * tests/check/pipelines/parse-launch.c:
9502 Fix a leak in an error path for parse_launch, and add a check
9503 for it to the testsuite.
9505 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9507 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9508 Don't deadlock when releasing a pad - gst_pad_set_active may try
9509 and take the multiqueue lock too.
9511 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9513 * gst/gsterror.c: (_gst_core_errors_init):
9515 API: add GST_CORE_ERROR_DISABLED (#392804).
9517 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9519 * docs/faq/gst-uninstalled:
9520 don't get empty paths on the PATH variables
9521 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9522 Don't format for the uncommon terminal width of 84 characters.
9524 2007-04-06 Wim Taymans <wim@fluendo.com>
9526 * gst/gstpipeline.c: (reset_stream_time),
9527 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9528 Only try to select a different pipeline clock when we went back to
9529 PAUSED and not when we merely got flushed.
9531 2007-04-05 Michael Smith <msmith@fluendo.com>
9533 * tools/gst-launch.1.in:
9534 fractions are better supported in gstreamer than ractions, so
9535 suggest using those.
9537 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9539 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9543 Added Danish translation.
9545 2007-04-05 Wim Taymans <wim@fluendo.com>
9547 * libs/gst/base/gstbasesink.c:
9548 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9549 Fix leak caused when refusing newsegment after EOS.
9551 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9552 (gst_fake_sink_init), (gst_fake_sink_set_property),
9553 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9554 (gst_fake_sink_render), (gst_fake_sink_change_state):
9555 * plugins/elements/gstfakesink.h:
9556 Add num-buffers property to make the element generate EOS after a
9557 configurable amount of buffers.
9558 API: fakesink::num-buffers property.
9560 * tests/check/elements/fakesink.c: (GST_START_TEST),
9562 Fix GstBus leak in test.
9563 Test for fakesink num-buffers.
9565 2007-04-05 Wim Taymans <wim@fluendo.com>
9567 * libs/gst/base/gstbasesink.c:
9568 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9569 (gst_base_sink_change_state):
9570 Don't accept anything after an EOS, return UNEXPECTED instead.
9572 * tests/check/elements/fakesink.c: (GST_START_TEST),
9574 Unit test for new EOS behaviour.
9576 2007-04-05 Wim Taymans <wim@fluendo.com>
9578 * gst/gstelement.c: (gst_element_get_request_pad):
9579 Make padtemplates also work when they don't contain %s or %d.
9581 2007-04-05 Wim Taymans <wim@fluendo.com>
9583 * docs/gst/gstreamer-sections.txt:
9584 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9585 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9587 Improve _adjust_unlocked() so that it overflows less.
9588 Add gst_clock_unadjust_unlocked to convert from external time to
9589 internal time based on calibration.
9590 Add some more debug.
9591 API: GstClock::gst_clock_unadjust_unlocked()
9593 2007-04-03 Wim Taymans <wim@fluendo.com>
9595 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9597 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9598 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9599 when releasing sink pad. Fixes #425400.
9601 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9603 * docs/random/ensonic/dynlink.txt:
9604 More work on proposal for new core api.
9606 * docs/libs/gstreamer-libs-sections.txt:
9607 * libs/gst/base/gstbasetransform.h:
9608 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9610 * libs/gst/controller/gstcontroller.c:
9611 (on_object_controlled_property_changed),
9612 (gst_controller_sync_values),
9613 (gst_controller_set_interpolation_mode):
9614 * libs/gst/controller/gstcontroller.h:
9615 Less verbose logging add docs for unimplemented parts and correctly
9616 return when using unavailable parts.
9618 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9620 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9621 Move all the debug to the CLOCK category, and associate it with
9624 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9626 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9627 Make take_buffer a bit quicker by removing redundant checks
9628 caused by calling gst_adapter_take.
9630 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9632 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9635 * tests/check/Makefile.am:
9636 * tests/check/elements/.cvsignore:
9637 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9638 (GST_START_TEST), (multiqueue_suite):
9639 Add some dead simple unit tests for the 'multiqueue' element
9640 (some bits don't work yet and are disabled for now).
9642 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9644 * gst/gstelement.c: (gst_element_get_request_pad),
9645 (gst_element_class_get_request_pad_template):
9646 Make gst_element_get_request_pad() create request pads only for
9647 request pad templates and not for, say, sometimes pad templates.
9649 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9651 * docs/design/draft-klass.txt:
9652 Add example that needs more thinking.
9654 * docs/design/draft-missing-plugins.txt:
9655 More thoughts about wrapper plugins.
9657 * docs/random/ensonic/embedded.txt:
9658 * docs/random/ensonic/profiling.txt:
9661 2007-03-25 Wim Taymans <wim@fluendo.com>
9663 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9664 (gst_base_src_loop):
9665 Only push the segment events in the PLAYING state for live sources.
9667 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9669 * gst/gstpipeline.c: (gst_pipeline_change_state):
9670 Modify the clock distribution path in PAUSED->PLAYING so that we
9671 never attempt to choose a new clock unless we're actually leaving
9672 the PAUSED state for the first time. This prevents choosing a
9673 different clock when the state_change gets called for a 2nd time due
9674 to some element doing an async state change.
9676 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9678 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9679 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9680 (gst_pad_chain_unchecked), (gst_pad_push):
9681 Revert last commit. This needs some more thoughts.
9683 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9685 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9686 (gst_pad_chain_unchecked), (gst_pad_push):
9687 Check in set_caps if the caps are compatible with the pad and remove
9688 two functions that are redundant now. Fixes #421543.
9690 2007-03-22 Wim Taymans <wim@fluendo.com>
9692 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9693 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9694 Unref some more to make valgrind happy.
9696 2007-03-22 Wim Taymans <wim@fluendo.com>
9698 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9699 (gst_system_clock_id_wait_jitter),
9700 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9701 Fix anoying regression that survived a few releases. When adding an
9702 async entry while blocking on a sync entry, the sync entry will unblock
9703 but still be busy, so it should continue to wait instead of returning
9705 Add some comments here and there.
9707 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9708 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9709 Add testcase for this.
9711 2007-03-22 Wim Taymans <wim@fluendo.com>
9713 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9714 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9715 WRONG_STATE and can silently pause the task. All other cases should
9718 2007-03-22 Wim Taymans <wim@fluendo.com>
9720 Patch by: Ville Syrjala <syrjala at sci dot fi>
9722 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9723 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9726 2007-03-21 Michael Smith <msmith@fluendo.com>
9728 * docs/pwg/advanced-types.xml:
9729 Fix some errors in the typefinding docs pointed out on irc.
9731 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9733 * libs/gst/base/gstbasesrc.c:
9734 Clarify FIXME comment in the face of having added unlock_stop()
9736 2007-03-21 Wim Taymans <wim@fluendo.com>
9738 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9739 Prepare for release where we warn against possible app breakage in the
9740 case of live pipelines along with an env var to enable/disable live
9741 preroll mode (GST_COMPAT=[no-]live-preroll).
9743 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9745 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9746 So we should use correct constants for checking for None offset.
9748 2007-03-20 Wim Taymans <wim@fluendo.com>
9750 * docs/design/part-block.txt:
9751 Mention the fact that the newly switched element should be set to at
9754 2007-03-20 Wim Taymans <wim@fluendo.com>
9757 Fix compilation with registry disabled as spotted by Saur.
9759 2007-03-20 Wim Taymans <wim@fluendo.com>
9761 Patch by: Olivier Crete <tester at tester dot ca>
9763 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9764 Look at the pending state too when syncing the element state to the
9765 parent. Fixes #420133.
9767 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9769 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9770 (gst_base_sink_change_state):
9771 * libs/gst/base/gstbasesink.h:
9772 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9773 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9774 (gst_base_src_deactivate):
9775 * libs/gst/base/gstbasesrc.h:
9776 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9777 for sub-classes to correctly clear any state they set trying to
9778 unlock, such as clearing out unlock commands from a command fd.
9779 API: basesrc::unlock_stop
9780 API: basesink::unlock_stop
9782 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9783 (gst_fd_sink_render), (gst_fd_sink_unlock),
9784 (gst_fd_sink_unlock_stop):
9785 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9786 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9787 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9789 Implement unlock_stop in fdsrc and fdsink.
9790 Implement seeking in fdsrc when a seekable fd is passed, as in
9791 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9793 2007-03-19 Wim Taymans <wim@fluendo.com>
9795 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9797 * gst/gstelement.c: (gst_element_class_init):
9798 Fix pad-added and pad-removed signal signatures so that the pad type is
9799 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9801 2007-03-19 Wim Taymans <wim@fluendo.com>
9803 * docs/gst/gstreamer-sections.txt:
9804 Add new element field and method.
9806 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9807 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9808 (gst_bin_recalc_state), (gst_bin_get_state_func),
9809 (gst_bin_element_set_state), (gst_bin_change_state_func),
9810 (gst_bin_continue_func), (bin_bus_handler),
9811 (bin_push_state_continue), (bin_handle_async_start),
9812 (bin_handle_async_done), (gst_bin_handle_message_func):
9813 Make async state changes a bit smarter by using new ASYNC_START and
9814 ASYNC_DONE messages. This reduces the number of times we run the state
9815 recalculation thread.
9816 Don't change state of element with a pending ASYNC_START message.
9817 Deprecate STATE_DIRTY messages.
9819 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9820 (gst_element_get_state_func), (gst_element_continue_state),
9821 (gst_element_lost_state), (gst_element_set_state_func),
9822 (gst_element_change_state):
9824 Keep the state that was last set by the app in a new element field.
9825 Don't allow state changes when handling an element event.
9826 Post ASYNC_START and ASYNC_DONE messages.
9827 Change lost_state so that we go to PAUSED and wait for the parent to set
9828 us to PLAYING again (so latency calculation can be performed)
9829 Export gst_element_change_state() method so that subclasses can use it.
9830 API: gst_element_change_state()
9831 API: GST_STATE_TARGET
9833 * gst/gstpipeline.c: (gst_pipeline_class_init),
9834 (reset_stream_time), (gst_pipeline_change_state),
9835 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9836 Using the new ASYNC_START message we can reset the base_time when
9837 needed. This can then be used to implement base_time redistribution in
9838 flushing seeks so that we can remove the explicit seek handling.
9839 Perform latency query and configuration when going to PLAYING.
9841 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9842 (gst_base_sink_query), (gst_base_sink_change_state):
9843 Post new ASYNC_START/ASYNC_DONE messages.
9845 * tests/check/generic/sinks.c: (GST_START_TEST):
9846 Fix test because the bin will not set the async element to PLAYING right
9849 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9850 Make the message check a little stronger.
9851 Handle ASYNC messages.
9853 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9854 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9855 Expect ASYNC_DONE messages.
9857 2007-03-19 Wim Taymans <wim@fluendo.com>
9859 * docs/gst/gstreamer-sections.txt:
9860 * gst/gstmessage.c: (gst_message_new_async_start),
9861 (gst_message_new_async_done), (gst_message_parse_info),
9862 (gst_message_parse_async_start):
9864 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9867 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9869 * tools/gst-inspect.c:
9870 (print_plugin_automatic_install_info_codecs):
9871 Now that we don't check for the 'Codec' keyword any longer in the
9872 klass, we shouldn't spew a warning if the klass isn't a decoder or
9873 encoder (since it might be a Source/Network, for example).
9875 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9877 * tools/gst-inspect.c:
9878 (print_plugin_automatic_install_info_codecs):
9879 Don't require decoder/demuxer/depayloader elements or
9880 encoder/muxer/paylader elements to have 'Codec' as part of their
9881 factory class string when introspecting a plugin's capabilities.
9882 draft-klass.txt mentions that it might be removed in future, and
9883 flump3dec doesn't have it as part of its class string, so chances
9884 are others might also not have it.
9886 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9908 Update translations from translation project
9910 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9912 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9913 (gst_child_proxy_set_property):
9914 Invert precondition check to be alike the ones in the mimiced gobject
9917 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9919 * docs/design/draft-tagreading.txt:
9920 * docs/random/ensonic/audiobaseclasses.txt:
9921 Do some Architect work.
9923 * gst/gstobject.c: (gst_object_set_name):
9927 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9929 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9931 * gst/gstsystemclock.c: (gst_system_clock_init),
9932 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9933 Defer starting the async system clock thread until the first async
9934 wait is scheduled. Fixes #414986.
9936 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9938 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9939 (gst_single_queue_free):
9940 Fix small leak (free GstSingleQueue structure too, not only contents).
9942 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9944 * gst/gstbin.c:(gst_bin_add):
9945 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9946 * win32/common/libgstbase.def:
9947 * win32/common/libgstreamer.def:
9948 Add new exported functions.
9950 2007-03-09 Wim Taymans <wim@fluendo.com>
9952 * docs/plugins/gstreamer-plugins-sections.txt:
9955 2007-03-09 Wim Taymans <wim@fluendo.com>
9957 * docs/gst/gstreamer-sections.txt:
9958 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9960 Add metadata copy functions. Fixes #393099.
9961 API: gst_buffer_copy_metadata()
9963 * gst/gstutils.c: (gst_buffer_stamp):
9964 * libs/gst/base/gstbasetransform.c:
9965 (gst_base_transform_prepare_output_buffer):
9966 Use new metadata copy functions.
9968 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9970 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9971 (gst_identity_init), (gst_identity_check_perfect),
9972 (gst_identity_check_imperfect_timestamp),
9973 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9974 (gst_identity_set_property), (gst_identity_get_property):
9975 * plugins/elements/gstidentity.h:
9976 Separate out check-imperfect-timestamp and check-imperfect-offset.
9977 Put back check-perfect as it was to keep compatibility.
9979 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9981 * gst/gstelement.c: (gst_element_dispose):
9982 There's no need to warn if VOID_PENDING is not NONE here, as
9983 long as the state is NULL it's ok, and that's checked immediately
9986 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9988 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9989 Fix check for perfect stream to ignore buffers with -1
9990 offsets/offset ends when checking data contiguity.
9992 2007-03-08 Wim Taymans <wim@fluendo.com>
9994 * tools/gst-launch.c: (event_loop):
9995 Print INFO messages.
9997 2007-03-08 Wim Taymans <wim@fluendo.com>
9999 * libs/gst/base/gstbasetransform.c:
10000 (gst_base_transform_sink_eventfunc),
10001 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10002 (gst_base_transform_activate):
10003 * libs/gst/base/gstbasetransform.h:
10004 Add support for dropping buffers with custom GstFlowReturn.
10005 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10006 buffers or dropped buffers.
10008 * docs/libs/gstreamer-libs-sections.txt:
10009 docs for new custom return code.
10011 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10012 Use drop support in base class to implement drop-probability.
10014 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
10016 * gst/gst.c: (load_plugin_func):
10017 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10018 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10019 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10020 Remove newlines at end of debug log strings.
10022 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10024 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10025 Only post bus message at max, once per buffer received.
10027 2007-03-07 Wim Taymans <wim@fluendo.com>
10029 * docs/design/Makefile.am:
10030 * docs/design/part-synchronisation.txt:
10031 Add doc about synchronisation
10033 * docs/design/draft-latency.txt:
10034 * docs/design/part-TODO.txt:
10035 * docs/design/part-clocks.txt:
10036 * docs/design/part-events.txt:
10037 * docs/design/part-gstbus.txt:
10038 * docs/design/part-gstpipeline.txt:
10039 * docs/design/part-live-source.txt:
10040 * docs/design/part-messages.txt:
10041 * docs/design/part-overview.txt:
10042 * docs/design/part-streams.txt:
10043 * docs/design/part-trickmodes.txt:
10044 Documentation updates.
10046 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10049 Update the doap file.
10051 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10053 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10054 Rename non-perfect to imperfect for Mike and for the sanctity of the
10056 Also make sure bus message gets emitted for data-incontiguities.
10058 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10060 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10061 (gst_identity_start):
10062 * plugins/elements/gstidentity.h:
10063 Emit bus message if check-perfect is true and we encounter a
10064 non-perfect stream between 2 consecutive buffers.
10067 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10072 === release 0.10.12 ===
10074 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10077 releasing 0.10.12, "Inevitable Demise"
10079 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10082 Version 0.10.11.2 (0.10.12 pre-release)
10083 Bump libtool versioning.
10085 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10087 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10088 Log flow-names and not numbers.
10090 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10093 Convert to new AG_GST style.
10095 2007-02-28 Wim Taymans <wim@fluendo.com>
10097 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10098 Don't unref query twice.
10100 2007-02-28 Wim Taymans <wim@fluendo.com>
10102 * gst/gstvalue.c: (gst_value_transform_object_string),
10103 (_gst_value_initialize):
10104 Implement GstObject -> string transform so we print object names
10105 when serializing GValues containing GstObjects.
10107 2007-02-28 Wim Taymans <wim@fluendo.com>
10109 * docs/gst/gstreamer-sections.txt:
10110 Add new stuff to docs.
10112 2007-02-28 Wim Taymans <wim@fluendo.com>
10114 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10115 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10116 (gst_base_sink_change_state):
10117 Improve latency query code.
10118 Don't leak latency events.
10120 * tests/check/gst/gstbin.c: (GST_START_TEST):
10123 2007-02-28 Wim Taymans <wim@fluendo.com>
10125 * gst/gstelement.c: (gst_element_message_full),
10126 (gst_element_get_state_func):
10127 * gst/gstelement.h:
10128 Improve docs a little. Added Since: for new macro.
10130 * gst/gstobject.c: (gst_object_sink):
10131 * gst/gstpipeline.c: (gst_pipeline_change_state),
10132 (gst_pipeline_set_new_stream_time):
10133 * gst/gstpipeline.h:
10134 Improve debugging and docs.
10136 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10139 2007-02-28 Wim Taymans <wim@fluendo.com>
10141 * gst/gstelement.c: (gst_element_message_full),
10142 (gst_element_set_locked_state), (gst_element_get_state_func),
10143 (gst_element_change_state):
10144 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10145 Documentation updates.
10146 Small code cleanups.
10148 * gst/gstmessage.c: (gst_message_new_info),
10149 (gst_message_parse_info):
10150 * gst/gstmessage.h:
10151 API: gst_message_new_info()
10152 API: gst_message_parse_info()
10153 Add INFO message create and parse code.
10155 2007-02-28 Wim Taymans <wim@fluendo.com>
10157 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10158 (bin_query_latency_done):
10159 Also report the live parameter of a latency query.
10161 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10163 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10164 Copy the current generic/states example from -base and adapt so
10165 we can use the exact same code everywhere.
10166 Check a STATES_IGNORE_ELEMENTS env var which can be used
10167 to ignore certain element factories for this test, which is
10168 what is being done in -base
10169 * tests/check/Makefile.am:
10170 Mention this environment variable.
10172 2007-02-27 Wim Taymans <wim@fluendo.com>
10174 * docs/gst/gstreamer-sections.txt:
10175 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10176 (gst_bus_timed_pop), (gst_bus_pop):
10178 API: gst_bus_timed_pop()
10179 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10180 message to arrive on the bus.
10182 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10184 Two unit tests for new _timed_pop() function.
10186 2007-02-23 Wim Taymans <wim@fluendo.com>
10188 * gst/gstpipeline.c: (gst_pipeline_change_state),
10189 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10190 Don't ref a NULL clock in _provide_clock_func().
10191 Don't allow an INVALID delay.
10192 Don't try to calculate base_time with an invalid start_time.
10193 Also distribute and notify a NULL clock when it was selected.
10195 * tools/gst-launch.c: (event_loop):
10196 Don't crash when a NULL clock was selected in the pipeline.
10198 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10200 * docs/design/Makefile.am:
10201 * docs/design/draft-missing-plugins.txt:
10202 * docs/random/draft-missing-plugins.txt:
10203 Some small updates: update plugin system identifier prefix
10204 ('gstreamer.net' to 'gstreamer'), mention our new install
10205 API in libgstbaseutils rather than libgimme-codec, add
10206 reference to the online docs.
10208 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10210 * win32/common/config.h:
10211 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10212 use moap cl ci to only check in what is mentioned in the ChangeLog.
10214 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10216 * docs/gst/gstreamer-sections.txt:
10217 * gst/gstelement.h:
10218 Fix up documentation to link to the correct GstGError section.
10219 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10221 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10223 * tools/gst-launch.c: (event_loop):
10224 Make sure that we actually show the important message part of a
10226 No need to check if the gerror is not NULL to free; first of all
10227 g_free accepts NULL; and second the default error handler would
10228 segfault if gerror was NULL.
10230 2007-02-21 Wim Taymans <wim@fluendo.com>
10232 * docs/gst/gstreamer-sections.txt:
10233 Removed docs as well.
10235 2007-02-21 Wim Taymans <wim@fluendo.com>
10237 * gst/gstmessage.c: (gst_message_parse_duration):
10238 * gst/gstmessage.h:
10239 Remove new messages for release.
10241 2007-02-20 Wim Taymans <wim@fluendo.com>
10243 * docs/design/part-gstghostpad.txt:
10244 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10245 (gst_ghost_pad_new_full):
10246 Make the ghostpad a parent of the internal pad again for better backward
10247 compatibility. Don't write code that relies on this however.
10249 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10250 (gst_pad_link_check_hierarchy):
10251 Require that parents should be GstElements in the hierarchy check.
10253 2007-02-20 Wim Taymans <wim@fluendo.com>
10255 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10256 (gst_bin_change_state_func), (bin_query_min_max_init),
10257 (bin_query_latency_fold), (bin_query_latency_done),
10259 Improve debug info.
10260 Implement latency query.
10262 2007-02-20 Wim Taymans <wim@fluendo.com>
10264 * docs/design/part-gstghostpad.txt:
10265 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10266 (gst_ghost_pad_internal_do_activate_push),
10267 (gst_ghost_pad_internal_do_activate_pull),
10268 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10269 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10270 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10271 Do not set the internal pad as a parent anymore so we can avoid
10272 hierarchy linking errors when the ghostpad has no parent yet. This also
10273 fixes failed activation because of unlinked internal pads, which in
10274 turn fixes the impossible case where you have to activate a pad before
10275 you can add it to a running element.
10278 * gst/gstpad.c: (pre_activate), (post_activate),
10279 (gst_pad_set_active), (gst_pad_activate_pull),
10280 (gst_pad_activate_push), (gst_pad_check_pull_range):
10281 Add some more debug info.
10282 Mark activation mode in pre_activate so that we don't try to activate in
10283 endless loops. Fixes #385084.
10285 2007-02-19 Wim Taymans <wim@fluendo.com>
10287 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10288 (gst_base_transform_check_get_range):
10289 Implement a checkgetrange function instead of relying on the default
10290 core behaviour that assumes we can operate in pull mode if we have a
10291 getrange function. First step at fixing #385084.
10293 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10295 * gst/gstchildproxy.h:
10296 * libs/gst/base/gstbasesink.h:
10297 * libs/gst/base/gstbasesrc.h:
10298 * libs/gst/base/gstbasetransform.h:
10299 More docs coverage and some ChangeLog surgery (add missing names)
10301 2007-02-15 Wim Taymans <wim@fluendo.com>
10303 * docs/design/part-TODO.txt:
10304 * docs/design/part-activation.txt:
10305 * docs/design/part-block.txt:
10306 * docs/design/part-buffering.txt:
10307 * docs/design/part-clocks.txt:
10308 * docs/design/part-element-source.txt:
10309 * docs/design/part-events.txt:
10310 * docs/design/part-gstbin.txt:
10311 * docs/design/part-gstbus.txt:
10312 * docs/design/part-gstpipeline.txt:
10313 * docs/design/part-live-source.txt:
10314 * docs/design/part-messages.txt:
10315 * docs/design/part-overview.txt:
10316 * docs/design/part-qos.txt:
10317 * docs/design/part-query.txt:
10318 * docs/design/part-states.txt:
10319 * docs/design/part-trickmodes.txt:
10320 Some doc updates. Start renaming from stream_time to running_time where
10321 it was used wrongly.
10323 2007-02-15 Wim Taymans <wim@fluendo.com>
10325 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10326 Answer LATENCY query.
10328 2007-02-15 Wim Taymans <wim@fluendo.com>
10330 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10334 2007-02-15 Wim Taymans <wim@fluendo.com>
10336 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10337 (gst_pad_dispatcher):
10338 Improve debugging of default pad dispatcher and query functions.
10340 2007-02-15 Wim Taymans <wim@fluendo.com>
10342 * docs/gst/gstreamer-sections.txt:
10343 Remove old unused method.
10345 2007-02-13 Wim Taymans <wim@fluendo.com>
10347 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10350 2007-02-13 Wim Taymans <wim@fluendo.com>
10352 * docs/design/part-seeking.txt:
10355 * gst/gstsegment.c: (gst_segment_set_seek):
10356 Revert old bogus change that should make seeking work again.
10358 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10360 * docs/random/ensonic/dynlink.txt:
10361 * docs/random/ensonic/interfaces.txt:
10362 * docs/random/ensonic/receipies.txt:
10363 Possible dynamic reconnection api, plus some type fixes the other two
10366 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10368 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10369 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10370 Also check for an absolute path following file:// in the filesrc
10371 element. Remove redundant check and call g_path_is_absolute() on the
10372 unescaped location.
10374 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10376 * docs/design/draft-klass.txt:
10377 Add existing category analysis.
10380 Fix doc example, framerate is a fraction.
10382 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10385 * docs/gst/Makefile.am:
10386 * docs/gst/gstreamer-sections.txt:
10387 * docs/libs/Makefile.am:
10388 Erm, forgot a bunch of --extra-dir.
10390 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10393 * docs/gst/Makefile.am:
10394 * docs/libs/Makefile.am:
10395 * docs/plugins/Makefile.am:
10396 Add crossreferences to glib/gobject docs.
10398 2007-02-12 Wim Taymans <wim@fluendo.com>
10400 * docs/design/draft-latency.txt:
10403 * docs/libs/gstreamer-libs-sections.txt:
10404 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10405 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10406 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10407 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10408 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10409 (gst_base_sink_get_position), (gst_base_sink_query),
10410 (gst_base_sink_change_state):
10411 * libs/gst/base/gstbasesink.h:
10412 API: gst_base_sink_query_latency() to let subclasses query the upstream
10414 API: gst_base_sink_get_latency() to let subclasses query the configured
10415 latency in the sink.
10416 Implement query and set latency.
10418 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10419 don't continue preroll when we are flushing. Fixes #405284.
10421 * tests/check/pipelines/stress.c: (change_state_timeout),
10422 (quit_timeout), (GST_START_TEST), (stress_suite):
10425 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10427 Patch by: René Stadler <mail at renestadler de>
10429 * docs/gst/gstreamer-sections.txt:
10430 * gst/gsttaglist.c: (_gst_tag_initialize):
10431 * gst/gsttaglist.h:
10432 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10434 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10436 * docs/libs/Makefile.am:
10437 Fix path to core docs.
10439 * gst/gstbin.c: (gst_bin_get_by_interface),
10440 (gst_bin_iterate_all_by_interface):
10441 Refix docs by also renaming 'interface' to 'iface' in implementation.
10443 * docs/gst/gstreamer-sections.txt:
10445 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10446 * gst/gstchildproxy.h:
10447 * gst/gstelementfactory.c:
10448 * gst/gstpadtemplate.h:
10449 * libs/gst/controller/gstcontroller.c:
10450 (gst_controlled_property_new):
10453 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10455 * gst/gstbin.h:(gst_bin_get_by_interface),
10456 (gst_bin_iterate_all_by_interface):
10457 Replace interface parameter name by iface as interface is
10458 a reserved keyword in Visual Studio for C++ projects so it removes
10459 a build error for application developpers using VS.
10460 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10461 Fix a bug on Windows in uri format check. Now the prefix checked
10462 is file:// and next we check if the path after file:// is absolute.
10463 * win32/common/libgstbase.def:
10464 * win32/common/libgstdataprotocol.def:
10465 * win32/common/libgstgstreamer.def:
10466 Add new exported functions.
10468 2007-02-09 Andy Wingo <wingo@pobox.com>
10470 * tests/check/pipelines/simple-launch-lines.c
10471 (simple_launch_lines_suite, test_tee): Disable tee test until I
10472 have time to fix it :-(
10474 * tests/check/Makefile.am (noinst_HEADERS):
10475 * tests/check/libs/libsabi.c:
10476 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10477 * tests/check/gst/gstabi.c:
10478 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10480 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10481 tests for push and pull tee behavior.
10483 * plugins/elements/gsttee.h:
10484 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10485 mark as deprecated as well as unimplemented. It was a crack idea.
10486 Add support for tee operating in pull mode, off by default.
10488 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10489 normal-case logs down to LOG, raise errors to WARNING.
10490 (gst_registry_xml_read_cache): Don't log before calling a function
10493 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10494 exit (registry finalize).
10495 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10496 DEBUG log when we emit signals that people don't even have the
10497 chance to connect to.
10498 (gst_registry_scan_path_level): Less logging in the normal case.
10500 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10502 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10504 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10505 Correctly generate EOS for non-seekable files. We don't have a total
10506 length for them and would get an unexpected end of file if we only
10507 special-cased for regular files. (Fixes: #404569)
10509 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10511 * tests/check/elements/filesrc.c: (GST_START_TEST),
10513 Add unit test for the GstURIHandler interface in filesrc. This also
10514 tests the newly added file://localhost/foo/bar support.
10516 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10518 * gst/gstelementfactory.h:
10519 The klass string is not a hierarchy. Add reference to the design doc
10520 for more information and common types.
10522 2007-02-02 Wim Taymans <wim@fluendo.com>
10524 * gst/gstquery.c: (gst_query_new_latency):
10525 Remove old structure field.
10527 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10529 * tools/gst-launch.1.in:
10530 Give example for network streaming (#351998)
10532 2007-02-02 Wim Taymans <wim@fluendo.com>
10534 * docs/gst/gstreamer-sections.txt:
10535 Add docs for new methods.
10537 * gst/gstevent.c: (gst_event_new_latency),
10538 (gst_event_parse_latency):
10540 Add new LATENCY event to configure latency in a pipeline.
10541 API: gst_event_new_latency
10542 API: gst_event_parse_latency
10544 * gst/gstmessage.c: (gst_message_new_buffering),
10545 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10546 (gst_message_new_latency), (gst_message_parse_buffering),
10547 (gst_message_parse_lost_preroll):
10548 * gst/gstmessage.h:
10549 Added messages used in draft-latency.
10550 API: gst_message_new_lost_preroll
10551 API: gst_message_parse_lost_preroll
10552 API: gst_message_new_prerolled
10553 API: gst_message_new_latency
10555 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10556 (gst_query_parse_latency):
10558 Implemented new latency query as in design doc.
10559 API: gst_query_new_latency
10560 API: gst_query_set_latency
10561 API: gst_query_parse_latency
10563 2007-02-02 Wim Taymans <wim@fluendo.com>
10565 * docs/design/draft-latency.txt:
10566 Slight redesign to allow for dynamic latency adjustments.
10568 * docs/design/part-negotiation.txt:
10571 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10573 reviewed by: Wim Taymans <wim@fluendo.com>
10575 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10576 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10577 Allow file://localhost/foo/bar URLs and correctly fail for every other
10578 hostname that one sets. This was gnomevfssrc is linked for those if
10579 installed as it can handle it (#403172)
10581 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10583 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10585 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10586 (unref_data), (gst_collect_pads_add_pad_full):
10587 * libs/gst/base/gstcollectpads.h:
10588 Don't put the previously added destroy notify in the GstCollectData
10589 struct as all it's padding is already used and we don't want to break
10590 ABI. Instead put in the pad's GObject data for now. This should be
10591 cleaned up for 0.11 (#402393).
10593 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10595 reviewed by: Wim Taymans <wim@fluendo.com>
10597 * docs/libs/gstreamer-libs-sections.txt:
10598 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10599 (unref_data), (gst_collect_pads_add_pad),
10600 (gst_collect_pads_add_pad_full):
10601 * libs/gst/base/gstcollectpads.h:
10602 API: Add function to specify a destroy notification for custom
10603 GstCollectData when adding new pads in GstCollectPads (#402393).
10605 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10608 Update Swedish translation (#378255).
10610 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10612 * docs/design/draft-klass.txt:
10613 Fix the previous change, this is a list of categories and not a hierarchy.
10615 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10617 * docs/design/draft-klass.txt:
10618 Add info about how to get a list of used classes.
10620 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10622 * plugins/elements/gsttypefindelement.c:
10623 (gst_type_find_element_chain_do_typefinding),
10624 (gst_type_find_element_change_state):
10625 Don't leak found caps in chain function (no idea why that never
10626 showed up as a leak anywhere).
10628 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10631 Fix and expand GstPluginDesc API docs.
10633 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10636 * gst/gstelementfactory.c:
10637 * gst/gstpadtemplate.h:
10640 * libs/gst/controller/gstcontroller.c:
10641 (gst_controlled_property_new):
10642 * tests/examples/controller/audio-example.c:
10645 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10648 comment about refining the xml deps
10650 * docs/manuals.mak:
10651 comments about moving away from jade for docs
10654 recommit the ifdefs to use the binary registry
10656 * gst/gstbin.c: (gst_bin_change_state_func):
10657 this break is obsolete
10659 * gst/gstelementfactory.h:
10660 better GST_ELEMENT_DETAILS docs, add comment about translation
10665 * gst/gstobject.c: (gst_signal_object_get_type):
10666 add G_UNLIKELY as usual
10668 * gst/gstpad.c: (gst_pad_event_default):
10669 add fall trhu comment
10671 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10672 (gst_registry_binary_initialize_magic),
10673 (gst_registry_binary_save_string),
10674 (gst_registry_binary_save_pad_template),
10675 (gst_registry_binary_save_feature),
10676 (gst_registry_binary_save_plugin),
10677 (gst_registry_binary_write_cache),
10678 (gst_registry_binary_check_magic),
10679 (gst_registry_binary_load_pad_template),
10680 (gst_registry_binary_load_feature),
10681 (gst_registry_binary_load_plugin),
10682 (gst_registry_binary_read_cache):
10683 comment typo and formatting
10685 * gst/gstutils.c: (gst_element_state_get_name),
10686 (gst_element_state_change_return_get_name):
10687 remove obsolete breaks
10689 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10690 add FIXME 0.11 and remove cpp comment
10692 2007-01-29 Edward Hervey <edward@fluendo.com>
10694 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10695 Fix print statement in an even more portable way.
10697 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10699 * docs/gst/gstreamer-sections.txt:
10701 API: add GST_ROUND_DOWN_* macros (#401781).
10703 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10705 * docs/gst/gstreamer.types.in:
10706 * gst/gstregistry.c: (gst_registry_class_init):
10707 Document registry signals and make gtk-doc pick them up (#401381).
10709 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10711 * docs/pwg/building-testapp.xml:
10712 Add some audioconverts and audioresample to the pipeline, and some
10713 more comments and error handling.
10715 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10717 * docs/manual/manual.xml:
10718 * docs/pwg/pwg.xml:
10719 Fix typo (#400987).
10721 2007-01-26 Wim Taymans <wim@fluendo.com>
10723 * gst/gstcaps.c: (gst_static_caps_get):
10724 Init caps flags too.
10726 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10728 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10730 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10731 If not using mmap'ed files try to seek to the end instead of the
10732 start to determine whether we can seek at all. This fixes the case
10733 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10734 seeks for everything afterwards fail. Fixes #400656
10736 2007-01-25 Wim Taymans <wim@fluendo.com>
10738 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10739 Add some refcount debugging.
10740 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10741 in multiple streaming threads.
10743 2007-01-25 Wim Taymans <wim@fluendo.com>
10745 Patch by: David Schleef <ds at schleef dot org>
10747 * docs/libs/gstreamer-libs-sections.txt:
10748 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10749 * libs/gst/base/gstadapter.h:
10750 API: gst_adapter_copy() that can reduce the amount of memcpy when
10751 getting data from the adapter. Fixes #388201.
10753 2007-01-25 Edward Hervey <edward@fluendo.com>
10755 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10756 In print statements, "%x" is for guint. Fixes build on macosx.
10758 2007-01-24 Edward Hervey <edward@fluendo.com>
10760 * plugins/elements/gstmultiqueue.c:
10761 (gst_multi_queue_loop):
10763 (single_queue_overrun_cb), (single_queue_underrun_cb),
10764 (single_queue_check_full), (gst_single_queue_new):
10765 Implement single queue growth system.
10766 This uses the extra-size properties, and will grow single queues by
10767 that much if one goes full whereas there are others empty. This is
10768 called extra-mode in the code.
10769 When a single queue's levels go back below the initial max-size
10770 limits, it is no longer in extra-mode. This is to ensure we don't
10771 consume too much memory.
10774 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10776 * gst/gst.c: (gst_init_get_option_group):
10777 Make warning about late g_thread_init() calls a bit more explicit,
10778 so that it's more obvious to application developers what they need
10779 to do if a user files a bug against their application.
10781 2007-01-22 Edward Hervey <edward@fluendo.com>
10783 * plugins/elements/gstmultiqueue.c:
10784 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10785 Remove previous hack of unsetting the flushing flag for the source pad
10786 instead of activating it. Instead, fix the source pad activate function
10787 so that it no longer depends on having a parent set or not.
10789 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10791 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10793 * docs/manual/basics-bus.xml:
10794 Fix example code, gst_element_unref() doesn't exist any longer.
10796 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10798 Patch by: Mark Nauwelaerts <manauw at skynet be>
10801 Fix two docs typoes (#399094).
10803 2007-01-19 Edward Hervey <edward@fluendo.com>
10805 * docs/faq/gst-uninstalled:
10806 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10807 depending on libgstbaseutils can work in uninstalled environment.
10809 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10811 * gst/gsttaglist.h:
10812 * gst/gsttagsetter.c:
10813 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10814 statement for new tag.
10816 2007-01-17 Edward Hervey <edward@fluendo.com>
10818 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10819 When dynamically creating single queues, activate sinkpad before adding
10821 We should be doing the same thing for the source pad, but we can't
10822 since it would call a method which needs the parent to be set in order
10823 to work propertly. Instead of activating the source pad, we just unset
10824 the flushing flag, which is the minimal requirement for adding a pad
10825 to an element in a state greater than READY.
10827 2007-01-17 Edward Hervey <edward@fluendo.com>
10829 * docs/faq/gst-uninstalled:
10830 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10833 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10835 * tests/check/gst/gstabi.c:
10836 * tests/check/gst/struct_hppa.h:
10837 * tests/check/libs/libsabi.c:
10838 * tests/check/libs/struct_hppa.h:
10839 Add ABI structs for HPPA (see #393796).
10841 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10843 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10844 Actually write ABI structs to the file specified in the GST_ABI
10845 environment variable, as the message we print claims we would.
10847 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10849 * tests/check/gst/gsttask.c:
10850 Fix header comment.
10852 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10854 * gst/gsttaglist.c: (_gst_tag_initialize):
10855 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10856 previous two entries.
10858 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10860 * docs/gst/gstreamer-sections.txt:
10861 * gst/gsttaglist.c: (_gst_tag_initialize):
10862 * gst/gsttaglist.h:
10863 Add tag support for beat-per-minute.
10865 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10867 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10868 (gst_registry_binary_initialize_magic),
10869 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10870 (gst_registry_binary_save_pad_template),
10871 (gst_registry_binary_save_feature),
10872 (gst_registry_binary_save_plugin),
10873 (gst_registry_binary_write_cache),
10874 (gst_registry_binary_check_magic),
10875 (gst_registry_binary_load_pad_template),
10876 (gst_registry_binary_load_feature),
10877 (gst_registry_binary_load_plugin),
10878 (gst_registry_binary_read_cache):
10879 * gst/gstregistrybinary.h:
10880 Use glib types, cleanup comments, impement interfaces and uri-types.
10882 2007-01-13 Andy Wingo <wingo@pobox.com>
10884 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10885 getrange() to return buffers with other caps, while we fix
10886 demuxers and typefind, or otherwise change part-negotiation.txt.
10888 2007-01-12 Andy Wingo <wingo@pobox.com>
10890 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10891 Factor start/stop into this private function instead of partially
10892 in activate functions and partially in the change_state function.
10893 Fixes setup before the element has changed from READY->PAUSED, as
10894 is the case in pull-mode pipelines.
10895 (gst_base_transform_sink_activate_push)
10896 (gst_base_transform_src_activate_pull): Refactor to use
10897 gst_base_transform_activate().
10898 (gst_base_transform_change_state): Removed, not needed any more.
10900 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10901 Truncate before fixating.
10903 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10904 Don't set_caps() if the result of fixating is ANY, as it's not
10905 supported, and not necessary in the case of a link with no
10906 template caps on either side. Fixes tests/check/libs/basesrc in
10907 some pull-mode tests.
10909 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10910 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10911 (gst_base_transform_src_activate_pull):
10912 Track the activation mode.
10913 (gst_base_transform_setcaps): In pull mode, when activating the
10914 src pad, after activating the sink pad, activate the sink pad's
10915 peer, as discussed in part-negotiation.txt.
10917 * libs/gst/base/gstbasesrc.h:
10918 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10919 vmethod, as in basesink.
10921 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10923 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10924 mode, first proxy the setcaps to the peer pad.
10925 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10926 new fixate vmethod.
10927 (gst_base_sink_default_activate_pull): Rename from
10928 gst_base_sink_activate_pull.
10929 (gst_base_sink_negotiate_pull): New function, performs negotiation
10930 in pull mode before calling ::activate_pull().
10931 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10932 vmethod instead of the default implementation. I have no idea how
10933 this worked before. Negotiate before calling activate_pull.
10935 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10936 sink pads in pull mode. In addition to being correct, fixes
10937 filesrc ! decodebin ! identity ! fakesink.
10938 (gst_pad_get_range, gst_pad_pull_range): Don't call
10939 gst_pad_set_caps() if the caps changes; instead error out with
10940 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10942 2007-01-12 Andy Wingo <wingo@pobox.com>
10944 * docs/design/part-negotiation.txt: Update with more policy.
10946 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10948 * libs/gst/check/gstbufferstraw.h:
10949 * libs/gst/check/gstcheck.h:
10950 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10953 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10955 * tests/check/Makefile.am:
10956 * tests/check/gst/.cvsignore:
10957 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10958 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10959 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10960 (GST_START_TEST), (gst_tag_setter_suite):
10961 Add minimal unit test for beforementioned GstTagSetter bug.
10963 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10965 Patch by: René Stadler <mail at renestadler dot de>
10967 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10968 gst_tag_list_merge() returns a new list, so it's not the best idea
10969 to ingore its return value. Effectively meant that tags could only
10970 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10971 Also add function guard to require a non-NULL taglist as input (has
10972 always been so due to gst_tag_list_copy(), just making it explicit).
10974 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10976 * docs/random/draft-missing-plugins.txt:
10977 Some additions: mention new API that is supposed to be used at the
10978 various stages; short blob about new gst-inspect introspection
10979 option; mention potential future problem with plugins that have
10980 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10982 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10984 * tools/gst-inspect.c:
10985 (print_plugin_automatic_install_info_codecs),
10986 (print_plugin_automatic_install_info_protocols),
10987 (print_plugin_automatic_install_info), (main):
10988 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10989 introspect plugin files and get machine-parsable output that corresponds
10990 to the last bit of the missing-plugin installer string (small gotcha:
10991 doesn't take into account ranks).
10993 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10996 * docs/gst/gstreamer-sections.txt:
10998 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10999 (gst_registry_lookup_locked):
11000 * gst/gstregistry.h:
11001 * gst/gstregistrybinary.c: (gst_registry_binary_write),
11002 (gst_registry_binary_initialize_magic),
11003 (gst_registry_binary_save_string),
11004 (gst_registry_binary_save_pad_template),
11005 (gst_registry_binary_save_feature),
11006 (gst_registry_binary_save_plugin),
11007 (gst_registry_binary_write_cache),
11008 (gst_registry_binary_check_magic),
11009 (gst_registry_binary_load_pad_template),
11010 (gst_registry_binary_load_feature),
11011 (gst_registry_binary_load_plugin),
11012 (gst_registry_binary_read_cache):
11013 * gst/gstregistrybinary.h:
11014 * gst/gstregistryxml.c: (load_feature),
11015 (gst_registry_xml_read_cache):
11016 commit binary registry (disabled by default, see #359653)
11018 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11020 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11021 Fix 'make check' too.
11023 2007-01-10 Andy Wingo <wingo@pobox.com>
11025 * docs/design/part-negotiation.txt: Fix a typo, add a couple
11028 * docs/design/part-negotiation.txt: Update with, um, one way that
11029 pull-mode negotiation might work?
11032 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11033 that the pad must be a src pad; makes sense to call it the other
11034 way in pull mode, and the logic is symmetric anyway.
11036 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
11038 * plugins/elements/gstfilesink.c:
11039 Include <stdio.h> for fseeko().
11041 2007-01-10 Wim Taymans <wim@fluendo.com>
11045 Reserve LATENCY event.
11047 2007-01-09 Wim Taymans <wim@fluendo.com>
11049 * docs/design/draft-latency.txt:
11052 2007-01-09 Wim Taymans <wim@fluendo.com>
11054 * docs/design/draft-latency.txt:
11057 * gst/gstelement.h:
11058 * gst/gststructure.c:
11062 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11064 * tests/check/.cvsignore:
11065 Ignore test-registry.xml as well.
11067 2007-01-09 Wim Taymans <wim@fluendo.com>
11069 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11070 unref data at the end when we are done with the pad.
11072 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11074 * docs/gst/gstreamer-sections.txt:
11075 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11076 (init_post), (gst_deinit), (gst_update_registry):
11078 API: add gst_update_registry() (#391296).
11080 * tests/check/Makefile.am:
11081 * tests/check/gst/gstregistry.c:
11082 * tests/check/gst/.cvsignore:
11083 Simple unit test for the above.
11085 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11087 * gst/gstregistry.c: (gst_registry_scan_path_level):
11088 Plugin extension on HP-UX is .sl, add that to the list of approved
11089 plugin extensions (see #393796).
11091 * tests/check/gst/gstpad.c: (GST_START_TEST):
11092 ulong => gulong. Fixes compilation with HP-UX compiler.
11094 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11095 Fix compilation if valgrind headers are not available.
11097 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11099 * win32/common/libgstreamer.def:
11100 Add new exported function.
11101 * win32/vs6/libgstbase.dsp:
11102 Add gstdataqueue.c to the build.
11103 * win32/vs6/libgstcoreelements.dsp:
11104 Add gstmultiqueue.c to the build.
11106 2007-01-06 Andy Wingo <wingo@pobox.com>
11108 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11109 activate_pull(), providing for a way to specialize the process of
11110 spawning a thread to pull on the sink pad. There is a default
11113 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11114 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11115 (gst_base_sink_init): Renamed pad activation functions (inserting
11116 "_pad" in their names). Refactor to use the new activate_pull
11117 vmethod, as appropriate.
11118 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11119 default activate_pull function to start a task pulling from the
11120 sink pad, as before.
11122 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11123 on the pads if necessary, as in push()/chain(). Update docs.
11124 Shouldn't affect existing pull() usage as it is currently only
11125 being used on buffers without caps.
11127 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11129 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11131 Call g_thread_init() first thing in gst_init() / gst_check_init().
11132 When initialisation is done via gst_init_get_option_group() and
11133 GOption parsing, issue a warning if the GLib thread system has not
11134 been initialised yet by the time gst_init_get_option_group() is
11135 called, as it's quite likely other GLib functions such as
11136 g_option_context_new() have been called already then, and
11137 g_thread_init() must be called before any other GLib function. The
11138 application in question must be fixed in that case, since memory
11139 corruption might happen otherwise.
11140 We issue the warning because even if the GLib folks decide to work
11141 around the problem on their end in future, this is still an issue
11142 with all GLib versions >= 2.10.0, so we should warn until we depend
11143 on a GLib version we know to be safe.
11144 Update documentation as well.
11145 Closes bug #391278.
11147 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11149 * tools/gst-inspect.c: (main):
11150 * tools/gst-launch.c: (main):
11151 * tools/gst-typefind.c: (main):
11152 * tools/gst-xmlinspect.c: (main):
11153 Call g_thread_init() really really early, before any other GLib
11154 function (see #342564 and recent discussion on gtk-devel-list).
11156 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11158 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11160 * gst/gst_private.h:
11161 * gst/gstconfig.h.in:
11163 On win32, all the __declspec stuff for symbol exporting is
11164 apparently only needed with MSVC, but doesn't work with MingW.
11165 Fixes compilation with MingW and #391909.
11167 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11169 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11170 Change some GST_ERROR_OBJECT that aren't really errors to
11171 GST_WARNING_OBJECT in order to reduce terminal spam.
11173 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11175 * tests/check/Makefile.am:
11176 disable test again, as there seem to be still race problems
11178 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11180 * tests/check/Makefile.am:
11181 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11182 (GST_START_TEST), (queue_suite):
11183 enable queue test again, add tests for the leaky behaviour
11185 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11188 * tests/examples/Makefile.am:
11189 Compile adapter test/example only if the required headers are
11190 available (fixes #391915).
11192 2007-01-01 David Schleef <ds@schleef.org>
11195 Restore the previous signal handler for SIGSEGV instead of
11196 setting to default, since we may have stolen it away from
11197 someone. (i.e., Mono)
11199 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11201 * docs/random/draft-missing-plugins.txt:
11202 Some small additions and clarifications.
11204 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11206 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11207 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11208 since that can lead to random memory corruptions and crashes
11209 (may or may not be related to #383244, #386711, and #386711).
11211 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11213 * tests/check/.cvsignore:
11214 * tests/check/Makefile.am:
11215 sync .cvsignome and CLEANFILES
11217 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11219 * tests/check/Makefile.am:
11222 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11224 * docs/design/part-states.txt:
11225 two tiny additional comments
11227 * gst/gststructure.c:
11230 * tests/check/Makefile.am:
11231 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11233 disable test for now, unless it gets fixed
11235 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11237 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11239 fix race in underrun test
11241 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11243 * tests/check/elements/.cvsignore:
11246 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11248 try to narrow test failure
11250 2006-12-21 David Schleef <ds@schleef.org>
11252 * plugins/elements/gstfakesrc.c:
11253 Use g_random_int_range(), since it produces better random
11254 numbers in a range than almost-correct floating point code.
11256 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11258 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11259 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11260 (gst_check_teardown_sink_pad):
11261 do not automatically (de)activate pads
11263 * tests/check/Makefile.am:
11264 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11265 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11266 add new, yet simple tests for queue
11268 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11269 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11270 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11272 * tests/check/elements/identity.c: (cleanup_identity):
11273 consistent pad (de)activation
11275 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11277 Patch by: Sebastian Dröge <slomo ubuntu com>
11279 * libs/gst/base/gstcollectpads.c:
11280 Fix two doc typos (#387866).
11282 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11284 * docs/manual/advanced-dparams.xml:
11285 Fix typo (g_object_control_properties() doesn't exist).
11287 2006-12-19 Edward Hervey <edward@fluendo.com>
11289 * gst/gstsegment.c: (gst_segment_set_seek):
11290 Fine tune the cases where the segment start/stop values are really
11292 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11293 Add tests for the return values of gst_segment_set_seek().
11295 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11300 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11302 Fix incorrect documentation and flesh it out a bit more.
11303 Set default values for the max properties on the GParamSpec as well,
11304 so it shows up correctly in gst-inspect.
11306 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11308 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11309 Correct docs of queue, add more detail and crosslink it more.
11311 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11313 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11314 Print additional debug info when the stream isn't perfectly
11315 timestamped; don't try to use invalid durations.
11317 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11319 * docs/design/Makefile.am:
11320 Dist new design docs.
11322 2006-12-16 Wim Taymans <wim@fluendo.com>
11324 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11326 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11327 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11328 (gst_collect_pads_stop), (gst_collect_pads_event),
11329 (gst_collect_pads_chain):
11330 * libs/gst/base/gstcollectpads.h:
11331 Add refcounting to the collectpads data so we can track when it's safe
11332 to free the data. Fixes #383382.
11334 2006-12-15 Wim Taymans <wim@fluendo.com>
11336 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11337 (gst_collect_pads_remove_pad):
11338 Automatically activate/deactivate pads when they are added to a
11339 started/stoped collectpads.
11341 2006-12-15 Wim Taymans <wim@fluendo.com>
11343 * gst/gstelement.c: (gst_element_add_pad):
11344 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11345 * gst/gstpad.c: (gst_pad_init):
11346 Set pads to FLUSHING when they are created. Check, warn and fix when a
11347 demuxer adds an inactive pad to itself when running. Fixes #339326.
11349 2006-12-15 Wim Taymans <wim@fluendo.com>
11351 * gst/gstelement.c: (gst_element_class_init),
11352 (gst_element_default_send_event), (gst_element_send_event),
11353 (gst_element_default_query), (gst_element_query):
11354 Expose default element send_event and query handling as vmethods that
11355 subclasses can chain up to.
11357 2006-12-15 Wim Taymans <wim@fluendo.com>
11359 * gst/gstelement.c: (gst_element_set_state_func):
11360 Small documentation fixes.
11362 2006-12-15 Wim Taymans <wim@fluendo.com>
11364 * docs/design/draft-latency.txt:
11365 Checked in draft for handling latency in pipelines.
11367 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11371 * gstreamer.spec.in:
11374 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11376 * gst/gst.c: (init_pre), (init_post):
11377 init_pre() and init_post() might be called via our GOptionGroup or
11378 from gst_init(), and we should skip both of them if we've already
11379 been initialised, otherwise we will init some things twice or add
11380 two default log functions.
11382 2006-12-13 Edward Hervey <edward@fluendo.com>
11384 * docs/manual/basics-bus.xml:
11385 No, gst_main_loop does not exist. Its g_main_loop.
11386 Discovered by somebody who abused the copy-paste technique of coding :)
11388 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11390 * gst/gstghostpad.c:
11391 Log ghostpad debug stuff to the GST_PADS category as well rather
11392 than just to the default category.
11394 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11397 * gst/gst.c: (init_pre):
11398 Add some basic system details such as OS and architecture
11399 to the debug output if possible, courtesy of uname().
11401 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11403 * docs/gst/running.xml:
11404 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11405 environment variables.
11407 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11409 * tests/check/gst/gstbin.c: (GST_START_TEST):
11410 It is acceptable to have a refcount of 2 or 3 at this point in the
11411 test, because the pipeline might be just posting its state_change
11412 message. The next line then waits for that message to appear using
11413 bus_poll, so that should be fine too.
11415 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11417 * gst/gst.c: (ensure_current_registry_forking):
11418 Ignore EINTR when reading from the child registry pipe.
11419 Explicitly ignore the return value from close, since it makes no
11422 * gst/gstminiobject.c: (gst_mini_object_ref),
11423 (gst_mini_object_unref):
11424 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11426 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11427 When removing cached plugins, remove their features too, so they're
11428 not visible after they've disappeared.
11430 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11431 In the unlikely case that we are linking pads with no parents, don't
11432 crash trying to get the non-existent parent bin.
11434 * gst/parse/grammar.y:
11435 Output debug in the PIPELINE category
11437 2005-03-08 Wim Taymans <wim@fluendo.com>
11439 Patch by: René Stadler <mail at renestadler dot de>
11441 * gst/gstclock.c: (gst_clock_new_periodic_id):
11442 Reject invalid clock times for interval of periodic ids.
11445 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11447 * gst/gstelementfactory.c: (gst_element_factory_create):
11448 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11449 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11450 * tools/gst-inspect.c: (print_element_info):
11451 Fix refcounting of gst_plugin_feature_load to match the docs.
11454 2006-12-07 Wim Taymans <wim@fluendo.com>
11456 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11457 (gst_base_sink_get_position):
11458 Improve debugging of events.
11460 2006-12-07 Wim Taymans <wim@fluendo.com>
11462 Patch by: René Stadler <mail at renestadler dot de>
11464 * gst/gstclock.c: (gst_clock_id_wait):
11465 Make period ids add the interval to the origial requested time instead
11466 of the possibly updated time which can be wrong when there are multiple
11467 waiters for the same id. Fixes #382592.
11469 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11470 (gst_system_clock_id_wait_jitter_unlocked),
11471 (gst_system_clock_id_wait_jitter):
11472 Fix restart in the async notify thread when an async entry is added to
11473 the front of the list. Fixes #381492.
11475 * tests/check/gst/gstsystemclock.c: (store_callback),
11476 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11477 Added test for multiple async waits.
11478 Added test for async wait order.
11480 2006-12-07 Wim Taymans <wim@fluendo.com>
11482 * gst/gstbin.c: (gst_bin_query):
11483 Add some more docs about the POSITION query.
11485 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11488 Bump version nano - back to CVS.
11490 === release 0.10.11 ===
11492 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11495 releasing 0.10.11, "Love never runs on time"
11497 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11499 * win32/common/libgstbase.def:
11500 * win32/common/libgstreamer.def:
11501 * win32/vs8/libgstbase.vcproj:
11502 * win32/vs8/libgstcoreelements.vcproj:
11503 * win32/vs8/libgstreamer.vcproj:
11504 Fix compilation on win32 under VS8
11505 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11506 Partially fixes #381175
11508 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11510 * gst/gstvalue.c: (gst_value_compare_fraction):
11511 If someone is foolish enough to compare 2 fractions with denominator =
11512 0, return UNORDERED rather than aborting.
11514 2006-11-28 Edward Hervey <edward@fluendo.com>
11516 * libs/gst/base/Makefile.am:
11517 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11518 (gst_data_queue_base_init), (gst_data_queue_class_init),
11519 (gst_data_queue_init), (gst_data_queue_new),
11520 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11521 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11522 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11523 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11524 (gst_data_queue_set_flushing), (gst_data_queue_push),
11525 (gst_data_queue_pop), (gst_data_queue_drop_head),
11526 (gst_data_queue_set_property), (gst_data_queue_get_property):
11527 * libs/gst/base/gstdataqueue.h:
11528 New GstDataQueue object for threadsafe queueing. Most useful for
11529 elements that need some queueing functionnality.
11530 * docs/libs/gstreamer-libs-docs.sgml:
11531 * docs/libs/gstreamer-libs-sections.txt:
11532 Insert documentation for GstDataQueue
11533 * plugins/elements/Makefile.am:
11534 * plugins/elements/gstelements.c:
11535 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11536 (gst_multi_queue_class_init), (gst_multi_queue_init),
11537 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11538 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11539 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11540 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11541 (gst_multi_queue_loop), (gst_multi_queue_chain),
11542 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11543 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11544 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11545 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11546 (wake_up_next_non_linked), (compute_next_non_linked),
11547 (single_queue_overrun_cb), (single_queue_underrun_cb),
11548 (single_queue_check_full), (gst_single_queue_new):
11549 * plugins/elements/gstmultiqueue.h:
11550 New multiqueue element, using GstDataQueue. Used for queuing multiple
11552 Closes #344639 and #347785
11554 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11556 * docs/pwg/advanced-types.xml:
11557 add more missing type details
11559 * tools/gst-run.c: (main):
11560 remove unused variable
11562 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11564 * docs/libs/Makefile.am:
11565 * docs/libs/gstreamer-libs.types:
11566 add types of base classes to enable gobject specific stuff in the docs
11568 * docs/random/ensonic/embedded.txt:
11569 more ideas about isolating platform specific things
11571 2006-11-20 Wim Taymans <wim@fluendo.com>
11573 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11575 * libs/gst/check/gstcheck.h:
11576 Fix compilation and running against 0.9.4. Fixes #377332.
11578 2006-11-20 Wim Taymans <wim@fluendo.com>
11580 * gst/gstsegment.c: (gst_segment_set_seek),
11581 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11582 (gst_segment_to_running_time):
11583 Fix boundary checking in to_running_time() and to_stream_time().
11586 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11587 stream and running time can now be calculated for the complete
11590 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11592 * gst/gstpad.c: (gst_pad_push_event):
11593 Can't access event structure after giving away ownership of
11596 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11598 * docs/random/ensonic/embedded.txt:
11599 * docs/random/ensonic/profiling.txt:
11600 * docs/random/ensonic/receipies.txt:
11603 2006-11-13 Wim Taymans <wim@fluendo.com>
11605 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11608 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11610 2006-11-13 Wim Taymans <wim@fluendo.com>
11612 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11614 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11615 Store new length in segment duration so we don't keep on calling the
11616 potentially expensize get_size() call. Fixes #370865.
11618 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11620 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11622 * win32/common/libgstreamer.def:
11623 Add two missing symbols (#366492).
11625 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11627 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11628 (gst_adapter_take_buffer):
11629 Fix format string to use all its arguments.
11630 Remove useless >= check on a guint
11632 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11634 * tests/examples/adapter/.cvsignore:
11635 Ignore build file as commanded by the build-bot
11637 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11639 * tests/examples/adapter/Makefile.am:
11640 * tests/examples/adapter/adapter_test.c: (run_test_take),
11641 (run_test_take_buffer), (run_tests), (main):
11643 Add new files from the previous commit
11645 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11649 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11650 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11651 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11652 * libs/gst/base/gstadapter.h:
11653 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11654 (GST_START_TEST), (gst_adapter_suite):
11655 * tests/examples/Makefile.am:
11656 Do some optimisation work in GstAdapter to avoid copies in more cases.
11657 It could still do slightly better by merging buffers when
11658 gst_buffer_is_span_fast is true, but is already faster.
11660 Also, avoid traversing a single-linked list to append each incoming
11661 buffer inside the adapter.
11663 Add simple test app that times the adapter behaviour in different
11664 situations, and extend the unit test to check that bytes enter and
11665 exit the adapter in their original order.
11667 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11669 * docs/random/draft-missing-plugins.txt:
11670 Update: use element message instead of adding a new message
11671 type to the core; don't provide GStreamer API to initiate the
11672 plugin download, just provide API to compose the strings needed
11673 and let an external libgimmestuff handle the rest.
11675 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11677 * tools/gst-inspect.c: (print_element_properties_info):
11678 Print a string instead of 'unknown type' for GValueArray properties
11680 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11682 * docs/random/draft-missing-plugins.txt:
11685 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11687 * tests/examples/typefind/typefind.c: (type_found), (main):
11688 Make typefind element example work again (#371894); add a
11691 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11693 * docs/random/draft-missing-plugins.txt:
11694 Commit initial draft about how to deal with missing plugins,
11695 needs work (API too).
11697 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11699 * docs/pwg/advanced-types.xml:
11700 documents the new caps elements (see #363118)
11702 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11704 * gst/gstplugin.c: (gst_plugin_load_file):
11705 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11706 (gst_file_src_map_region), (gst_file_src_start):
11707 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11708 (gst_file_index_commit):
11709 Use g_strerror() instead of strerror() - we want UTF-8.
11711 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11713 Patch by: Peter Kjellerstedt <pkj at axis com>
11715 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11716 Another printf fix (#371493).
11718 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11720 * tests/check/gst/gsttag.c:
11721 relicence (okay with author=company)
11723 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11725 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11726 (gst_pad_push_event):
11727 Enhance debug and improve docs
11732 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11734 * docs/random/ensonic/distributed.txt:
11735 * docs/random/ensonic/profiling.txt:
11738 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11740 * docs/gst/gstreamer-sections.txt:
11741 add new API and fix the build
11743 * gst/gstbin.c: (gst_bin_recalc_state):
11744 * gst/gstelement.c: (gst_element_message_full),
11745 (gst_element_get_state_func), (gst_element_set_state_func):
11746 use new API and improve logging
11748 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11750 API: add function to get StateChangereturn names to improve logs
11752 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11754 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11755 I'm considering shooting the next person to put strerror stuff
11756 in the translateable part of the message.
11758 2006-11-03 Wim Taymans <wim@fluendo.com>
11760 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11761 Get the type and printf conversion specifiers right.
11763 2006-11-03 Wim Taymans <wim@fluendo.com>
11765 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11767 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11768 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11769 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11770 Some small cleanups. Improve debugging.
11772 Signal all waiting threads with a broadcast instead of just one.
11775 2006-11-03 Wim Taymans <wim@fluendo.com>
11777 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11778 (gst_fd_src_create):
11779 Add some debugging.
11780 Only update fd when it's different from the old.
11782 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11784 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11785 Printf fixes for PPC/OSX, take two (#369366).
11787 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11789 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11791 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11792 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11793 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11794 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11795 don't cast to long long for portability reasons, but use
11796 GLib's types instead.
11798 2006-10-30 Michael Smith <msmith@fluendo.com>
11800 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11801 Get the arguments to lseek() the right way around.
11804 2006-10-30 Wim Taymans <wim@fluendo.com>
11806 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11809 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11811 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11813 Patch by: Kjartan Maraas <kmaraas at gnome org>
11815 * docs/design/part-MT-refcounting.txt:
11816 * docs/random/wtay/capsnego2-docs:
11819 Typo fixes (#366212).
11821 2006-10-28 Wim Taymans <wim@fluendo.com>
11823 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11826 * win32/common/libgstbase.def:
11827 * win32/common/libgstreamer.def:
11828 * win32/vs8/libgstbase.vcproj:
11829 * win32/vs8/libgstcontroller.vcproj:
11830 Add needed entries in .def files.
11832 Rearrange def files in vs8 solutions. Fixes #366286.
11834 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11836 * win32/common/gstconfig.h:
11837 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11838 hand-made win32 gstconfig.h. Fixes #366321.
11840 2006-10-27 Wim Taymans <wim@fluendo.com>
11842 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11843 (gst_ghost_pad_new_full):
11844 Make acceptcaps return TRUE when we don't have a target, just like
11847 2006-10-27 Wim Taymans <wim@fluendo.com>
11849 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11850 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11852 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11854 * gst/gststructure.c: (gst_structure_id_set_value):
11855 If someone tries to set a non-UTF8 string field on a structure,
11856 don't just print a warning, but also ignore the request and do
11857 not change/add that field to the structure.
11859 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11860 Test for the above.
11862 2006-10-25 David Schleef <ds@schleef.org>
11865 g_hash_table_insert() needs a cast to a non-const pointer duh.
11867 2006-10-25 David Schleef <ds@schleef.org>
11871 Change name parameter of _gst_debug_register_funcptr to const
11872 to reflect the constness of its use in the function as well
11873 as to quiet a gcc warning.
11875 2006-10-25 Edward Hervey <edward@fluendo.com>
11877 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11878 Don't push the buffer if it's empty.
11881 2006-10-24 Wim Taymans <wim@fluendo.com>
11886 * libs/gst/base/gstbasetransform.c:
11887 (gst_base_transform_sink_eventfunc):
11888 Debug segment values *after* updating them as this is more
11891 2006-10-23 Wim Taymans <wim@fluendo.com>
11893 * docs/design/part-events.txt:
11896 * docs/design/part-block.txt:
11897 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11898 (gst_pad_push_event):
11899 Revert BLOCKING patch, it tries to be smart without really having a
11900 clear idea what or how. So, now we discard all FLUSHING events again on
11901 a blocking pad. Should fix gnonlin again.
11903 2006-10-23 Wim Taymans <wim@fluendo.com>
11905 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11907 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11908 (gst_base_src_start), (gst_base_src_activate_push):
11909 Make sure size is always initialized. Fixes #364388.
11911 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11913 * docs/random/ensonic/distributed.txt:
11914 add some ideas about doing distributed processing
11916 * docs/random/ensonic/profiling.txt:
11917 get_rusage look promising
11919 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11921 * docs/manual/basics-helloworld.xml:
11922 Add a cast in example to fix compile warning
11924 2006-10-18 Wim Taymans <wim@fluendo.com>
11926 * gst/gstsegment.c: (gst_segment_set_last_stop),
11927 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11928 Relax arg checking again, -1 is allowed.
11930 2006-10-18 Wim Taymans <wim@fluendo.com>
11932 * gst/gstsegment.c: (gst_segment_set_last_stop),
11933 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11934 _set_last_stop() must be with a value != -1
11935 A _TYPE_SET to -1 means seek to 0.
11936 Calc last_stop correctly for negative rates.
11937 Make sure we work with positive durations when updating a segment.
11939 2006-10-18 Wim Taymans <wim@fluendo.com>
11941 * docs/design/part-live-source.txt:
11945 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11948 Add an explicit cast to GstBuffer** to keep old code that added an
11949 explicit cast to GstMiniObject** for gst_mini_object_replace()
11950 compiling without warning.
11952 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11954 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11955 check for validity of dates
11957 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11959 * docs/gst/gstreamer-sections.txt:
11960 Forgot this one, makes gtk-doc shut up.
11962 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11964 Patch by: Peter Kjellerstedt <pkj at axis com>
11967 Don't define xmlNodePtr to gpointer if the core was built with
11968 --disable-loadsave and --disable-registry, this will break
11969 applications that want to use libxml2 but are buildling against a
11970 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11971 instead so we don't have to mess with the libxml2 namespace
11974 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11977 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11978 type-punned pointer warnings.
11980 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11982 * gst/gstelement.h:
11983 Add casts to the correct return type to state <=> state transition
11986 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11988 * docs/design/part-live-source.txt:
11989 describe howto handle latency
11991 * docs/random/ensonic/profiling.txt:
11994 * tools/gst-plot-timeline.py:
11995 fix log parsing for solaris, remove unused function
11997 2006-10-16 Wim Taymans <wim@fluendo.com>
11999 * docs/design/part-trickmodes.txt:
12001 Update some docs regarding reverse playback.
12003 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
12005 Patch by: Marcus Granado <mrc dot gran at gmail com>
12007 * win32/vs8/grammar.vcproj:
12008 Error out with a warning if glib-genmarshal.exe is not in path,
12009 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12011 2006-10-13 Wim Taymans <wim@fluendo.com>
12013 * gst/gstsegment.c: (gst_segment_set_seek):
12014 When seeking to stop -1, set last_stop (current position) to the
12015 duration of the segment.
12017 2006-10-13 Wim Taymans <wim@fluendo.com>
12019 * gst/gstelement.h:
12020 Clarify _NO_PREROLL a bit more.
12025 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12026 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12027 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12028 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12029 due to wrong locking order. Fixes #361769.
12030 Remove some redundant/misplaced checks in pad_block.
12032 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12033 For negative rates, count backwards from the duration.
12035 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
12037 * gst/gsterror.c: (_gst_library_errors_init):
12038 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12039 up with something better).
12041 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12043 * win32/vs6/libgstreamer.dsp:
12044 * win32/vs7/libgstreamer.vcproj:
12045 * win32/vs8/libgstreamer.vcproj:
12046 Don't reference glib-compat.c which is currently not used and not
12047 disted; add gstquark.c which was recently added. Fixes #361730.
12049 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12051 * win32/common/libgstbase.def:
12052 * win32/common/libgstcontroller.def:
12053 * win32/common/libgstreamer.def:
12054 Add gst_caps_merge() and a bunch of other recently-added functions.
12057 2006-10-11 Wim Taymans <wim@fluendo.com>
12059 * docs/plugins/gstreamer-plugins.args:
12060 * docs/plugins/inspect/plugin-coreelements.xml:
12061 * docs/plugins/inspect/plugin-coreindexers.xml:
12062 Update element args.
12064 * gst/gstsystemclock.c:
12065 Small comment update.
12067 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12068 (gst_tee_request_new_pad), (gst_tee_release_pad),
12069 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12070 (gst_tee_sink_activate_pull):
12071 * plugins/elements/gsttee.h:
12073 Add default property defines.
12074 Implement release pad function.
12075 Give properties better blubs etc.
12076 Activate pads before adding them to a running tee.
12077 Do simple buffer_alloc on the first requested pad.
12078 Post error when activation fails.
12080 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12082 * gst/gst.c: (ensure_current_registry_forking):
12083 Check return value of write() to make compiler happy.
12085 2006-10-11 Wim Taymans <wim@fluendo.com>
12087 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12089 * plugins/elements/gstqueue.c: (gst_queue_chain):
12090 Recheck queue filledness after signalling the overrun when we're about
12091 to leak downstream because we released the lock when emitting the signal
12092 and the queue could be empty again. Fixes #352345.
12094 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12096 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12097 Fix refcounting here too, just like we did for _new_valist() a few
12098 days ago (#357180) (thanks to René Stadler). Also remove all those
12099 'Since: 0.9' from the gtk-doc blobs.
12101 * tests/check/libs/controller.c: (controller_refcount_new_list),
12102 (gst_controller_suite):
12103 Unit test for the above.
12105 2006-10-10 Wim Taymans <wim@fluendo.com>
12107 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12109 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12110 (gst_pad_save_thyself):
12112 Write pad direction in XML output. Fixes #345496.
12114 2006-10-10 Wim Taymans <wim@fluendo.com>
12116 Patch by: René Stadler <mail at renestadler dot de>
12118 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12119 (gst_controller_new_list), (_gst_controller_dispose),
12120 (_gst_controller_finalize), (_gst_controller_class_init):
12121 Take ref to controlled object so that it cannot disappear.
12124 2006-10-10 Wim Taymans <wim@fluendo.com>
12126 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12127 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12128 (gst_check_teardown_sink_pad):
12129 Activate/deactivate pads in setup/teardown respectively.
12131 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12133 Patch by: Josep Torra Valles <josep@fluendo.com>
12136 Cast values when making gstenumtypes.h. This pacifies Forte
12137 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12138 in the enumeration.
12140 2006-10-09 Wim Taymans <wim@fluendo.com>
12142 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12143 Rename some more @cur to @start to fix docs.
12145 * gst/gstsegment.c: (gst_segment_set_seek):
12147 time and start must always stay in sync as defined in design doc.
12149 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12150 Rename param to fix docs.
12152 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12153 Check that start and time are in sync.
12155 * tests/check/pipelines/parse-launch.c:
12156 (gst_parse_test_element_change_state):
12157 Activate pad before adding to the element.
12159 2006-10-09 Wim Taymans <wim@fluendo.com>
12161 * docs/design/part-qos.txt:
12166 Update seek event docs regarding negative rates.
12167 Rename @cur to @start.
12169 * gst/gstsegment.c: (gst_segment_set_seek):
12170 * gst/gstsegment.h:
12171 Update set_seek docs regarding negative rates.
12172 Correctly update last_stop to @stop when dealing with negative
12174 Rename @cur to @start.
12176 * tests/check/gst/gstpad.c: (GST_START_TEST):
12177 Activate pads before trying to use them.
12179 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12180 (gst_segment_suite):
12181 Add simple check for segments and negative rates.
12183 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12185 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12186 * gst/gsttaglist.h:
12187 * docs/gst/gstreamer-sections.txt:
12188 API: add gst_tag_list_is_empty() (#360467).
12190 * tests/check/gst/gsttag.c: (GST_START_TEST):
12193 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12195 * gst/gstmessage.h:
12196 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12197 a value that doesn't fit on enumeration.
12199 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12201 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12202 Remove local debugging system and use Gstreamer's instead.
12204 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12206 Patch by: Josep Torra Valles <josep@fluendo.com>
12208 * common/m4/gst-error.m4:
12209 Disable warning of statement not reached on Forte.
12210 * gst/gstmessage.h:
12211 Fix warning on Forte (value doesn't fit on enumeration).
12212 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12213 Fix warning on Forte (value doesn't fit on enumeration).
12214 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12215 DEBUG macro says it takes minimum of 2 args and so Forte
12216 complains about the use with just 1 arg.
12217 * plugins/elements/gstfdsink.c:
12218 * plugins/elements/gstfdsrc.c:
12219 * plugins/elements/gstfilesink.c:
12220 * plugins/elements/gstfilesrc.c:
12221 Use correct return type for the uri handler implementations.
12223 All these fix warnings in Forte. Fixes bug #360860.
12225 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12227 * gst/gstelement.h:
12228 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12229 format string, so don't use G_GNUC_PRINTF for those versions.
12231 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12233 * gst/gsttaglist.c: (gst_is_tag_list):
12234 * gst/gsttaglist.h:
12235 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12237 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12238 Small test for the above.
12240 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12242 * gst/gsttaglist.h:
12243 Less tabs, more spaces.
12245 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12248 Those two function declarations do actually belong there, revert
12249 commit from yesterday that turned them intro macros.
12251 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12253 Patch by: Josep Torra Valles <josep@fluendo.com>
12255 * gst/gst.c: (gst_init_get_option_group):
12256 Fix empty declaration and type mismatch.
12257 * gst/gstbin.c: (gst_bin_change_state_func):
12259 * gst/gstelement.c: (gst_element_continue_state),
12260 (gst_element_set_state_func), (gst_element_change_state),
12261 (gst_element_change_state_func):
12262 Fix type mismatches.
12263 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12264 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12265 Cast as appropriate.
12266 * gst/gstobject.c: (gst_class_signal_connect):
12267 Cast as appropriate. The function pointer parameter really
12268 has the wrong type but would break API if we change it.
12270 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12271 order of including string.h.
12272 * gst/gstutils.c: (gst_element_state_get_name):
12273 Remove unreachable line.
12274 * gst/gstxml.c: (gst_xml_parse_doc):
12276 All these caught by Forte.
12278 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12280 Patch by: Josep Torra Valles <josep@fluendo.com>
12282 * common/m4/gst-error.m4:
12284 We need to disable warnings on Forte for empty declarations
12285 due to gst-indent adding ;s to lines that just use macros
12286 where the macro actually doesn't need a ; at end to end
12289 2006-10-06 Wim Taymans <wim@fluendo.com>
12291 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12292 (gst_file_sink_close_file), (gst_file_sink_event),
12293 (gst_file_sink_render):
12294 Add some FIXME for the NEWSEGMENT handling.
12296 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12298 * gst/parse/grammar.y:
12299 Remove static function gst_parse_element_lock as all it does
12300 is return. Looks like cruft from 0.8.
12302 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12304 Patch by: Josep Torra Valles <josep@fluendo.com>
12306 * common/m4/gst-error.m4:
12308 * libs/gst/net/Makefile.am:
12309 Fix a compilation issue with Forte on Solaris. inet_aton is in
12312 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12314 * gst/gstpad.c: (pre_activate):
12315 * gst/gstregistry.c: (gst_registry_scan_path_level):
12316 * gst/gstregistryxml.c: (load_plugin):
12317 * libs/gst/controller/gstcontroller.c:
12318 (gst_controlled_property_set_interpolation_mode):
12319 * libs/gst/dataprotocol/dataprotocol.c:
12320 (gst_dp_packet_from_event_1_0):
12321 * libs/gst/net/gstnetclientclock.c:
12322 (gst_net_client_clock_observe_times):
12323 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12326 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12329 * docs/gst/gstreamer-sections.txt:
12330 * gst/gstconfig.h.in:
12331 * gst/gstelement.h:
12333 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12334 whether we can use G_GNUC_PRINTF in other header files and at
12335 least check the printf format/arguments of debug messages and
12336 GST_ELEMENT_ERROR messages when the printf extension is not
12338 Replace more tabs with spaces in gstinfo.h and remove two spurious
12339 function declarations in GST_DISABLE_DEBUG part with macros.
12341 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12343 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12344 More docs for the sync-message signal (mention that it is not
12345 emitted by default); log message structures of messages posted on
12348 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12350 * gst/gst.c: (ensure_current_registry_forking):
12351 Use a pipe pair to receive status results from the forked child, and
12352 ignore the result from waitpid. Fixes #355499
12354 2006-10-02 Wim Taymans <wim@fluendo.com>
12356 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12357 (gst_ghost_pad_suite):
12360 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12363 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12365 2006-10-02 Edward Hervey <edward@fluendo.com>
12367 * docs/design/part-block.txt:
12368 Further explain the use of flushing on blocked pads.
12369 * docs/gst/gstreamer-sections.txt:
12370 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12371 (gst_pad_push_event):
12373 Added new GstPadFlag : GST_PAD_BLOCKING.
12374 Adds the notion of pads really blocking, which enables to properly
12375 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12377 API: gst_pad_is_blocking()
12378 API: GST_PAD_IS_BLOCKING() macro
12379 API: GST_PAD_BLOCKING GstPadFlag
12381 2006-10-02 Wim Taymans <wim@fluendo.com>
12383 Patch by: mrcgran <mrc.gran at gmail dot com>
12385 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12386 Filter the proxied caps against the padtemplate if we have one.
12388 * gst/gstquery.c: (gst_query_new_segment):
12389 Add include for gstinfo.h so that compilation with
12390 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12392 2006-10-02 Wim Taymans <wim@fluendo.com>
12394 Patch by: Alessandro Decina <alessandro at nnva org>
12396 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12397 (gst_file_sink_set_location), (gst_file_sink_open_file),
12398 (gst_file_sink_close_file), (gst_file_sink_event),
12399 (gst_file_sink_render):
12400 Set file to NULL when closing filesink so that we can set a new filename
12401 in READY. Fixes #358613.
12403 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12405 Patch by: Alessandro Decina <alessandro at nnva org>
12407 * gst/gstevent.c: (_gst_event_copy):
12408 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12409 with event structures by setting the parent refcount address of the
12410 copied structure to the address of the refcount member of the newly
12411 copied event rather than the address of the refcount member of the
12412 original event. Fixes #358737.
12414 * tests/check/gst/gstevent.c: (GST_START_TEST):
12415 Unit test for the above.
12417 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12419 * docs/design/Makefile.am:
12420 Dist some more files.
12422 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12424 * tests/check/libs/controller.c: (GST_START_TEST),
12425 (gst_controller_suite):
12426 Add test for the previous fix; add some more tests
12427 for correct refcounting behaviour; fix a few leaks
12428 in test cases; call gst_controller_init() at start
12431 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12433 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12434 (gst_controller_set_from_list):
12435 Don't g_return_val_if_fail() on timed values with invalid timestamps
12436 inside a critical section without unlocking the mutex. Spotted by
12437 René Stadler. (#357617)
12438 Also, fix up refcounting properly: when returning an existing
12439 controller, we should increase the reference only once and not
12440 once per property and when trying to control a property again
12441 we should also increase the refcount.
12443 2006-09-29 Wim Taymans <wim@fluendo.com>
12445 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12446 * libs/gst/net/gstnettimeprovider.c:
12447 (gst_net_time_provider_thread):
12448 Stop reading commands when EOF as well.
12450 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12451 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12452 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12453 Unify description of the dump property.
12455 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12457 * tests/examples/manual/.cvsignore:
12458 OK, so it's actually cvsignore that needs changing. Stop laughing.
12460 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12462 * tests/examples/manual/Makefile.am:
12463 Gah, declare vars *before* using them
12465 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12467 * gst/gst.c: (init_pre), (scan_and_update_registry),
12468 (ensure_current_registry_nonforking),
12469 (ensure_current_registry_forking), (ensure_current_registry),
12470 (init_post), (gst_debug_help), (gst_deinit):
12471 * gst/gst_private.h:
12472 * gst/gstregistry.c: (gst_registry_finalize),
12473 (gst_registry_remove_features_for_plugin_unlocked),
12474 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12475 (gst_registry_scan_path),
12476 (_priv_gst_registry_remove_cache_plugins),
12477 (_priv_gst_registry_cleanup):
12478 * gst/gstregistry.h:
12479 Re-commit the registry changes, along with an extra fix:
12480 When a cached plugin is encountered at a different file path,
12481 update the stored path in the registry cache so that the parent
12482 process knows where it actually is now when it re-reads the registry
12483 cache. Fixes the thing that broke distcheck with the previous commit.
12485 * tests/check/Makefile.am:
12486 Clean up files named 'core' too when running make clean.
12488 * tests/examples/manual/Makefile.am:
12489 Set up a registry path for running these tests, and clean it properly
12492 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12495 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12496 want gmodule-no-export-2.0.pc instead so that we don't drag in
12497 --export-dynamic on every project that links to GStreamer.
12499 Also, make our export regex only match the start of symbols, rather
12500 than any symbol that contains '_gst' somewhere.
12502 * libs/gst/check/Makefile.am:
12503 The libgstcheck we build does however need export-dynamic, as it
12504 produces some symbols that don't match our _gst... style regex.
12507 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12509 * gst/gst.c: (init_pre), (scan_and_update_registry),
12510 (ensure_current_registry_nonforking),
12511 (ensure_current_registry_forking), (ensure_current_registry),
12512 (init_post), (gst_debug_help), (gst_deinit):
12513 * gst/gst_private.h:
12514 * gst/gstregistry.c: (gst_registry_finalize),
12515 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12516 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12517 (_gst_registry_cleanup):
12518 * gst/gstregistry.h:
12519 Revert previous change until I figure out why it breaks distcheck.
12521 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12523 * gst/gst.c: (init_pre), (scan_and_update_registry),
12524 (ensure_current_registry_nonforking),
12525 (ensure_current_registry_forking), (ensure_current_registry),
12526 (init_post), (gst_debug_help), (gst_deinit):
12528 Make init_pre and init_post take the full complement of GOptionFunc
12529 args so they can return useful GErrors. Make the registry updating
12532 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12533 ensure that the registry we're about to write out doesn't contain
12534 stale information about old-deleted plugin files.
12536 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12537 that deletion of plugin files is considered a registry change.
12539 * gst/gst_private.h:
12540 * gst/gstregistry.c: (gst_registry_finalize),
12541 (gst_registry_remove_features_for_plugin_unlocked),
12542 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12543 (gst_registry_scan_path),
12544 (_priv_gst_registry_remove_cache_plugins),
12545 (_priv_gst_registry_cleanup):
12546 * gst/gstregistry.h:
12547 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12548 by adding _priv prefix, so that they won't appear in the global
12549 symbol table. They still do atm though because of #318031. Move the
12550 prototypes to gst_private.h
12552 When removing a plugin, remove all features for that plugin too.
12555 2006-09-27 Wim Taymans <wim@fluendo.com>
12557 * docs/random/moving-plugins:
12558 Make it clear that the "compiled-in descriptions" really mean
12559 the element details.
12561 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12562 (gst_base_sink_wait_preroll):
12565 * docs/libs/gstreamer-libs-sections.txt:
12566 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12567 (gst_base_src_get_range), (gst_base_src_activate_push):
12568 * libs/gst/base/gstbasesrc.h:
12569 Added function to block while waiting for PLAYING, this function
12570 is used by live sources that block on the clock.
12571 API: gst_base_src_wait_playing()
12573 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12575 Patch by: Peter Kjellerstedt <pkj at axis com>
12578 gst-element-check.m4 is generated and should therefore be
12579 copied from the build dir rather than the source dir (#357593).
12580 'make distcheck' hasn't noticed this because we were disting
12581 the file as well, so stop doing that.
12583 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12585 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12586 Add some tests for gst_caps_intersect().
12588 * tools/gst-launch.c: (event_loop):
12589 Print all buffering percentages we get, even the 100% one.
12591 2006-09-26 Wim Taymans <wim@fluendo.com>
12593 * tools/gst-inspect.c: (print_element_properties_info),
12594 (print_signal_info):
12595 Fix printing of flags to match the look of enums.
12597 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12599 * gst/gstelementfactory.c:
12600 Fix typo in docs blurb.
12602 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12604 * gst/gsturi.c: (search_by_entry):
12605 Don't assert/crash here if a uri handler doesn't return any
12606 supported protocols. The list of protocols could be generated
12607 dynamically at runtime or at plugin registration, and an error
12608 in the underlying library shouldn't be fatal (#353301).
12610 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12613 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12614 (spotted by Peter Kjellerstedt).
12616 2006-09-23 Wim Taymans <wim@fluendo.com>
12618 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12620 * libs/gst/base/gstbasesrc.c:
12621 (gst_base_src_default_check_get_range), (gst_base_src_start),
12622 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12623 (gst_base_src_change_state):
12624 Match _start/_stop calls in the activate functions. Remove redundant
12625 _stop call from the state change function. Fixes #356910.
12626 Turn failure DEBUG into ERROR.
12628 2006-09-22 Wim Taymans <wim@fluendo.com>
12630 * docs/design/part-buffering.txt:
12631 * gst/gstmessage.c: (gst_message_new_buffering),
12632 (gst_message_parse_buffering):
12633 Update docs about buffering.
12635 * docs/design/part-trickmodes.txt:
12638 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12640 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12641 (gst_controller_new_list):
12642 Ref instances when returning them again (fixes #357180)
12644 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12646 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12647 Don't forget to release proxy lock when there's an error.
12649 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12652 Add extra initialisers for Caps things, to fix some plugin warnings
12655 2006-09-18 Wim Taymans <wim@fluendo.com>
12657 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12658 Also set template on the internal pad so that a getcaps from the
12659 target pad returns the template caps.
12661 2006-09-18 Wim Taymans <wim@fluendo.com>
12663 * gst/gstelement.c: (gst_element_post_message),
12664 (gst_element_dispose):
12665 Use _DEBUG_OBJECT some more.
12667 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12670 * tools/gst-launch.c: (main):
12671 If the toplevel element is not a GstPipeline, it must be put in a
12672 pipeline so that a bus and clock is selected.
12674 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12676 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12677 JITTER, RATE, and LATENCY query should be handled by the
12678 default case and not by the CONVERT query code.
12680 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12682 * gst/gstformat.c: (gst_format_register):
12683 Fix locking order (must take lock before using n_values).
12685 * gst/gstvalue.c: (gst_value_serialize_enum),
12686 (gst_value_deserialize_enum_iter_cmp),
12687 (gst_value_deserialize_enum):
12688 Fix serialisation/deserialisation of custom registered GstFormats.
12690 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12691 Unit test for custom format serialisation/deserialisation.
12693 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12695 * docs/pwg/building-boiler.xml:
12696 * plugins/elements/gstcapsfilter.c:
12697 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12700 2006-09-16 Edward Hervey <edward@fluendo.com>
12702 * libs/gst/base/gstbasetransform.c:
12703 (gst_base_transform_buffer_alloc):
12704 Check if requested caps are the same as the sinks caps IF
12705 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12707 This fixes the renegotiation issues stated in #352827.
12709 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12712 * docs/manual/advanced-autoplugging.xml:
12713 * tests/examples/Makefile.am:
12714 * tests/examples/manual/.cvsignore:
12715 * tests/examples/manual/Makefile.am:
12716 * tests/examples/manual/extract.pl:
12717 Extract the manual examples again like we used to do.
12720 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12722 * win32/common/config.h:
12725 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12728 Documents how to receive errors.
12730 2006-09-15 Wim Taymans <wim@fluendo.com>
12732 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12733 (event_loop), (main):
12734 Added some comments here and there.
12735 Post an application message when an interrupt is caught instead of doing
12736 an uncontrolled state change.
12737 Clean up the event loop.
12738 Handle buffering messages, pause/resume the pipeline.
12739 Make shutdown because of an interrupt more reliable.
12741 2006-09-15 Wim Taymans <wim@fluendo.com>
12743 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12744 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12745 (gst_base_sink_preroll_object):
12746 Make sure that our internal state is correct when we commit our state
12747 asynchronously. This solves a race where a state change to PLAYING
12748 could cause the sink to remain blocked in preroll in some situations.
12750 2006-09-15 Wim Taymans <wim@fluendo.com>
12752 * tools/gst-inspect.c: (print_element_properties_info),
12753 (print_signal_info):
12754 List flags as hex so it's easier to deal with.
12756 2006-09-15 Wim Taymans <wim@fluendo.com>
12758 * docs/libs/gstreamer-libs-sections.txt:
12759 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12760 (gst_base_sink_do_sync):
12761 * libs/gst/base/gstbasesink.h:
12762 Expose logic to wait for preroll so that subclasses such as audiosink
12763 can also use this method.
12764 API: gst_base_sink_wait_preroll()
12766 2006-09-15 Wim Taymans <wim@fluendo.com>
12768 * gst/gstobject.c: (gst_object_set_parent):
12769 * gst/gstpipeline.c: (do_pipeline_seek):
12770 Small cleanups in docs and code.
12772 * gst/gstsegment.c: (gst_segment_clip):
12773 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12774 if stop == start and start is in the segment, no clipping should be
12775 done. Also add a test for this.
12777 2006-09-15 Wim Taymans <wim@fluendo.com>
12779 * docs/design/part-buffering.txt:
12780 * docs/gst/gstreamer-sections.txt:
12781 * gst/gstmessage.c: (gst_message_new_buffering),
12782 (gst_message_parse_buffering):
12783 * gst/gstmessage.h:
12784 Added methods to create and parse BUFFERING messages.
12785 Added preliminary docs about buffering.
12786 API: gst_message_new_buffering
12787 API: gst_message_parse_buffering
12789 2006-09-06 Wim Taymans <wim@fluendo.com>
12792 Update documentation.
12794 * gst/gstelement.c: (gst_element_class_init),
12795 (gst_element_release_request_pad), (gst_element_set_clock),
12796 (gst_element_get_index), (gst_element_add_pad),
12797 (gst_element_remove_pad), (gst_element_get_random_pad),
12798 (gst_element_send_event), (gst_element_get_query_types),
12799 (gst_element_query), (gst_element_post_message),
12800 (gst_element_message_full), (gst_element_continue_state),
12801 (gst_element_lost_state), (gst_element_save_thyself),
12802 (gst_element_restore_thyself):
12803 Documentation updates.
12804 Rename last bit of the new-pad -> pad-added signal rename.
12805 Fix the case where an element query would only work if the source
12807 Avoid some useless type checking in message handling.
12812 Documentation updates.
12814 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12816 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12817 add an INFO line for when we actually update the fd
12819 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12824 === release 0.10.10 ===
12826 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12829 releasing 0.10.10, "Pais"
12831 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12833 * docs/manual/advanced-position.xml:
12834 Fix typo in sample code.
12836 2006-09-05 Wim Taymans <wim@fluendo.com>
12838 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12839 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12840 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12841 * libs/gst/net/gstnetclientclock.h:
12842 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12843 * libs/gst/net/gstnettimepacket.h:
12844 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12845 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12846 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12847 * libs/gst/net/gstnettimeprovider.h:
12848 Make stuff compile on windows. Fixes #345295.
12850 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12852 * gst/gst.c: (ensure_current_registry_forking):
12853 Print better details when child was terminated by signal.
12855 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12857 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12858 Print a warning rather than g_assert() if a plugin feature
12859 is a URI handler but returns no protocols (#353976).
12861 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12863 * docs/random/moving-plugins:
12866 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12868 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12869 Fix locking order, handle NULL function values properly.
12874 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12875 Initialise variable before using it and fix debug statement to
12876 print the address of the function rather than the address of the
12877 variable on the stack holding the address of the function.
12879 2006-09-01 Wim Taymans <wim@fluendo.com>
12881 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12882 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12883 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12884 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12885 (gst_ghost_pad_parent_unset),
12886 (gst_ghost_pad_internal_do_activate_push),
12887 (gst_ghost_pad_internal_do_activate_pull),
12888 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12889 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12890 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12891 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12892 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12893 (gst_ghost_pad_new_no_target_from_template),
12894 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12896 Avoid needless typechecking in macros.
12897 Since the internal pad is always present and never changes, there is
12898 no need to locking or ref when retrieving it.
12899 Improve debugging a bit.
12900 Handle link errors when setting the target. Fixes #341029.
12902 2006-09-01 Wim Taymans <wim@fluendo.com>
12904 * docs/libs/gstreamer-libs-sections.txt:
12905 * docs/plugins/gstreamer-plugins-sections.txt:
12906 Fix docs some more.
12908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12909 (gst_collect_pads_event):
12910 * libs/gst/base/gstcollectpads.h:
12911 Documentation updates.
12912 Free queued buffer when removing a pad.
12914 2006-08-31 Michael Smith <msmith@fluendo.com>
12916 * gst/gstutils.c: (gst_element_link_pads),
12917 (gst_element_link_pads_filtered):
12918 Ensure that we set a capsfilter to NULL if we failed to link it
12919 when doing filtered linking, to avoid criticals.
12921 No need to check for unreffing srcpad, which is explicly NULLed
12922 above (a trivial code cleanup).
12924 2006-08-31 Wim Taymans <wim@fluendo.com>
12926 * docs/design/part-gstghostpad.txt:
12927 Update ascii art in documentation.
12929 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12930 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12931 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12932 (gst_ghost_pad_internal_do_activate_push),
12933 (gst_ghost_pad_internal_do_activate_pull),
12934 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12935 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12936 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12937 (gst_ghost_pad_set_target):
12938 Small cleanups and leak fixes.
12939 Remove some checks now that the internal pad is never NULL.
12940 Fix the case where linking pads without a target would create nasty
12941 criticals. Fixes #341029.
12942 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12943 value of _set_target().
12945 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12946 (gst_ghost_pad_suite):
12947 Some more tests for creating and linking untargeted ghostpads.
12949 2006-08-31 Edward Hervey <edward@fluendo.com>
12951 * docs/gst/gstreamer-sections.txt:
12952 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12953 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12954 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12955 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12956 (gst_ghost_pad_new_from_template),
12957 (gst_ghost_pad_new_no_target_from_template):
12958 * gst/gstghostpad.h:
12959 Refactored *_new() functions.
12960 Templates are now used as a g_object_new() parameter.
12961 Use template in _do_getcaps() if we don't have a target.
12962 Small documentation cleanups.
12963 Added two new constructors:
12964 gst_ghost_pad_new_from_template()
12965 gst_ghost_pad_new_no_target_from_template()
12966 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12967 (gst_ghost_pad_suite):
12968 Added tests for new ghostpad instanciation functions.
12970 API additions: gst_ghost_pad_new_from_template,
12971 gst_ghost_pad_new_no_target_from_template
12973 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12975 * docs/random/ensonic/profiling.txt:
12976 Ideas about qos profiling.
12978 2006-08-29 Wim Taymans <wim@fluendo.com>
12980 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12984 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12987 Improve and detypofy docs.
12989 * tests/check/Makefile.am:
12990 * tests/check/gst/.cvsignore:
12991 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12992 Add a basic test suite for GstXML.
12994 2006-08-29 Wim Taymans <wim@fluendo.com>
12996 * gst/gstelement.c: (activate_pads), (clear_caps),
12997 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12998 Clear the pad caps when the element shut down all of the pads and
12999 is not streaming data that could modify the caps.
13002 2006-08-28 Michael Smith <msmith@fluendo.com>
13004 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13005 Revert previous change; I misunderstood single-segment mode.
13007 2006-08-28 Michael Smith <msmith@fluendo.com>
13009 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13010 Unset DISCONT on buffers when using single-segment mode.
13012 2006-08-28 Wim Taymans <wim@fluendo.com>
13014 * gst/gstcaps.c: (gst_caps_merge_structure):
13016 Fix docs and indentation again.
13018 * tests/check/gst/gstquery.c: (GST_START_TEST):
13019 Fix leak in tests and add some more tests.
13021 2006-08-28 Edward Hervey <edward@fluendo.com>
13023 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13024 Inform GstSegment of the last stop position in order for the current
13025 segment to have a proper duration if it doesn't have a specific stop
13026 position from which a duration could be calculated.
13027 This bug was noticeable when a non-flushing, non-update new segment was
13028 followed by another segment (all buffers from the new segment were being
13031 2006-08-28 Wim Taymans <wim@fluendo.com>
13033 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13034 Small comment update.
13036 * plugins/elements/gstidentity.c: (gst_identity_class_init),
13037 (gst_identity_transform_ip):
13038 Drop-probability is broken, mention this in the code with a
13039 FIXME and also in the property description.
13040 Make silent also be silent about the drop messages.
13042 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
13044 * docs/manual/appendix-win32.xml:
13045 Remove mention of popt, we don't depend on that any
13046 longer (#353136). Add some comments pointing out that
13047 this section is slightly outdated.
13049 2006-08-28 Wim Taymans <wim@fluendo.com>
13051 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13053 * gst/gstquery.c: (gst_query_new_segment):
13054 * tests/check/gst/gstquery.c: (GST_START_TEST):
13055 Initialize variables when creating a new segment query.
13058 2006-08-28 Wim Taymans <wim@fluendo.com>
13060 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13062 * gst/gstelement.c: (gst_element_get_bus):
13063 * tests/check/gst/gstelement.c: (GST_START_TEST):
13064 Check for NULL before _reffing the bus. Fixes #353122.
13066 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13068 * docs/manual/basics-bus.xml:
13069 Docs update: fix wrong callback return value explanation; add
13070 some lines about the implicit relationship between main loop
13071 and main context; remove duplicate main loop variable declaration.
13073 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13075 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13076 Don't leak caps in unit test; add a few more simple
13079 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13081 * docs/gst/gstreamer-sections.txt:
13082 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13083 (gst_caps_structure_is_subset), (gst_caps_merge),
13084 (gst_caps_merge_structure):
13086 * libs/gst/base/gstbasetransform.c:
13087 (gst_base_transform_transform_caps):
13088 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13089 implement caps merging (fixes #352580)
13091 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13093 * tools/Makefile.am:
13094 * tools/gst-plot-timeline.py:
13095 add debug-log plotting developer tool (#340674)
13097 2006-08-23 Wim Taymans <wim@fluendo.com>
13099 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13100 (gst_pad_stop_task):
13101 Improve debugging for task functions.
13103 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13104 (gst_task_start), (gst_task_pause), (gst_task_join):
13105 Make sure that the task function started and finished after a
13107 Don't try to push the task function on the threadpool multiple
13109 Improve the g_warning message with some useful suggestions
13110 about how to fix the problem.
13112 2006-08-23 Wim Taymans <wim@fluendo.com>
13114 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13115 Handle RESYNC correctly in _proxy_getcaps.
13117 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13119 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13120 (gst_xml_parse_memory), (gst_xml_get_element):
13121 Chain up to parent class in dispose function and also
13122 unref the elements in the toplevel_elements GList.
13123 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13124 Always return a reference in gst_xml_get_element() rather
13125 than only sometimes.
13127 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13128 Don't leak GstXml object.
13130 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13132 * docs/gst/gstreamer-sections.txt:
13133 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13136 * libs/gst/base/gstbasetransform.c:
13137 (gst_base_transform_transform_caps):
13138 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13141 2006-08-21 Edward Hervey <edward@fluendo.com>
13143 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13144 Implement GObject::dispose virtual method in GstXML so we can free the
13145 top_elements GList.
13147 2006-08-21 Wim Taymans <wim@fluendo.com>
13149 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13150 (gst_buffer_create_sub):
13151 Copy duration/offset_end/caps when creating a subbuffer of the
13153 Make the subbuffer read-only when we make the metadata writable for
13154 now. Fixes #351768.
13156 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13157 Added check for metadata copy when creating subbuffers.
13159 2006-08-21 Edward Hervey <edward@fluendo.com>
13161 * libs/gst/base/gstbasetransform.c:
13162 (gst_base_transform_buffer_alloc):
13163 Only call downstream buffer_alloc if transform element is passthrough
13164 or always_in_place. Closes #350449.
13166 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13169 ChangeLog surgery to add comments to previous changes
13171 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13176 * gst/gstpad.c: (gst_pad_set_active):
13177 Be more verbose in the log
13179 * libs/gst/base/gstbasetransform.c:
13180 (gst_base_transform_transform_caps):
13181 Simplify caps to get rid of duplicates, fixes #345444
13183 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13187 Use these optimizations only internally.
13189 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13191 * gst/gstvalue.c: (gst_value_compare_list),
13192 (gst_value_compare_fraction_range),
13193 (gst_value_intersect_fraction_fraction_range),
13194 (gst_value_intersect_fraction_range_fraction_range),
13195 (gst_value_subtract_fraction_fraction_range),
13196 (gst_value_subtract_fraction_range_fraction_range),
13197 (gst_value_get_compare_func), (gst_value_compare),
13198 (gst_value_compare_with_func):
13200 Saves the expensive lookup of the compare function in many cases
13203 2006-08-18 Edward Hervey <edward@fluendo.com>
13205 * tests/check/gst/gstinfo.c: (gst_info_suite):
13206 Disable test that require gstdebug if it wasn't built in core.
13208 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13210 * docs/random/ensonic/logging.txt:
13213 * gst/gstinfo.c: (gst_debug_log_default):
13214 reorder fields, save some columns, add optional color codes for log
13217 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13219 * docs/random/ensonic/logging.txt:
13220 add ideas about making the logs a bit more useful
13222 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13224 * docs/pwg/advanced-events.xml:
13225 * docs/pwg/titlepage.xml:
13226 Update for 0.10 API (#340627). Add myself
13229 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13231 * docs/libs/gstreamer-libs-docs.sgml:
13232 * docs/libs/gstreamer-libs-sections.txt:
13233 * libs/gst/check/gstbufferstraw.c:
13234 Make gstcheck stuff show up in docs (still needs to
13235 be documented properly though).
13237 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13239 * docs/gst/gstreamer-sections.txt:
13241 * gst/gst.c: (init_post):
13242 * gst/gst_private.h:
13243 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13245 * gst/gstquery.c: (gst_query_new_position),
13246 (gst_query_set_position), (gst_query_parse_position),
13247 (gst_query_new_duration), (gst_query_set_duration),
13248 (gst_query_parse_duration), (gst_query_new_convert),
13249 (gst_query_set_convert), (gst_query_parse_convert),
13250 (gst_query_new_segment), (gst_query_set_segment),
13251 (gst_query_parse_segment), (gst_query_new_seeking),
13252 (gst_query_set_seeking), (gst_query_parse_seeking):
13253 Add internal helpers for pre-registering quarks from static strings
13254 and using the quark values directly instead of looking them up when
13255 creating and parsing queries. Can be used for event construction too.
13258 2006-08-16 Wim Taymans <wim@fluendo.com>
13263 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13265 * gst/gstutils.c: (gst_util_set_value_from_string):
13266 Fix memleak (#351502).
13268 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13269 Add unit test for most of gst_util_set_value_from_string()
13270 (not that one would want to encourage use of this function).
13272 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13274 * libs/gst/check/gstcheck.h:
13275 Use const gchar * variables in fail_unless_equals_string
13276 macro to avoid compiler warnings (and don't use tabs for
13279 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13281 * tools/gst-launch.c: (print_tag):
13282 More space on the left for the tag names, to cater
13283 for the 'extended comment' tag (not touching the
13284 string for the first line since it's translated).
13286 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13288 * libs/gst/check/gstcheck.h:
13289 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13290 print something when they fail.
13292 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13294 * docs/gst/gstreamer-sections.txt:
13295 * gst/gsttaglist.c: (_gst_tag_initialize):
13296 * gst/gsttaglist.h:
13297 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13298 Also change merge function for GST_TAG_COMMENT to
13301 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13303 * gst/gstinfo.c: (gst_debug_print_object):
13304 Make GST_PTR_FORMAT print messages as well.
13306 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13307 (GST_START_TEST), (gst_info_suite):
13310 2006-08-14 Edward Hervey <edward@fluendo.com>
13312 * gst/gstelementfactory.c: (gst_element_register):
13313 If the GstElementClass doesn't have a GstElementDetails with all fields
13314 filled up correctly (longname, description AND author), then error out
13315 nicely instead of crashing.
13317 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13319 * gst/gststructure.c:
13320 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13323 Expand on the difference between arrays and lists as we use them.
13325 2006-08-14 Wim Taymans <wim@fluendo.com>
13327 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13328 If the parent state change function failed, don't assume we can safely
13329 stop the source, this will be done when the pads are deactivated.
13331 2006-08-14 Wim Taymans <wim@fluendo.com>
13334 * gst/gsttask.c: (gst_task_join):
13337 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13338 (gst_pad_stop_task):
13339 When pad (de)activation failed for some reason, restore the old
13340 activation mode and set the pad to flushing instead of assuming the
13341 pad is deactivated.
13342 If the _task_join() failed, reinstall the task on the pad so that it can
13343 be stopped later and return an error.
13345 2006-08-11 Andy Wingo <wingo@pobox.com>
13348 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13349 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13350 is only for users of API that don't want to see deprecated
13351 functions in the headers; people that want to compile out
13352 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13353 CFLAGS. Fixes the build of multifdsink, or will soon..
13355 2006-08-11 Wim Taymans <wim@fluendo.com>
13357 * docs/gst/gstreamer-sections.txt:
13358 Add GstClockClass vmethod docs.
13361 Mark #endif with comment for associated #if
13363 * gst/gstclock.c: (gst_clock_id_wait):
13365 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13366 most clock implementations.
13368 Flesh out docs about resolution methods.
13369 API: GstClockClass::wait_jitter
13371 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13372 (gst_system_clock_async_thread),
13373 (gst_system_clock_id_wait_jitter_unlocked),
13374 (gst_system_clock_id_wait_jitter):
13375 Use base class wait_jitter variant for improved performance
13376 due to less clock polling.
13378 2006-08-11 Edward Hervey <edward@fluendo.com>
13380 * gst/gst.c: (gst_init_check), (init_post):
13381 Set gst as being initialized before scanning/updating the registry,
13382 since there might be my python plugin loader that calls gst_init() and
13383 we don't want to loop back in.
13386 2006-08-11 Wim Taymans <wim@fluendo.com>
13388 * docs/design/part-qos.txt:
13389 Bring docs in line with the code. Mostly the sign of the jitter was
13390 wrong in the docs. Fixes #349943.
13393 Fix the docs for the jitter.
13395 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13396 (gst_event_parse_tag), (gst_event_new_buffer_size),
13397 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13398 (gst_event_new_seek), (gst_event_parse_seek),
13399 (gst_event_new_navigation):
13400 Make sure the GstStructure has no parent when creating custom
13402 Add some more argument checking so that we avoid 0.0 rates.
13403 Flesh out the docs for the QoS event some more.
13405 2006-08-11 Wim Taymans <wim@fluendo.com>
13407 * docs/gst/gstreamer-sections.txt:
13408 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13409 (ensure_current_registry_forking), (ensure_current_registry),
13410 (parse_one_option), (parse_goption_arg), (gst_deinit),
13411 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13414 Added API and command line option to disable registry forking in
13415 addition to the environment variable.
13416 Constify some static arrays.
13417 Added some more debug.
13418 Don't deinit twice.
13419 API: gst_registry_fork_is_enabled()
13420 API: gst_registry_fork_set_enabled()
13421 API: --gst-disable-registry-fork command line option
13424 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13426 * gst/gst.c: (gst_init):
13427 Fix typo in error message.
13429 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13431 * libs/gst/controller/gstcontroller.h:
13432 fix ABI size-correction
13434 * tests/check/libs/gdp.c: (gst_dp_suite):
13435 make tests that use deprecated API conditional
13437 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13439 * docs/libs/gstreamer-libs-sections.txt:
13440 * libs/gst/controller/gstcontroller.c:
13441 (_gst_controller_get_property), (_gst_controller_set_property),
13442 (_gst_controller_init), (_gst_controller_class_init):
13443 * libs/gst/controller/gstcontroller.h:
13444 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13445 (gst_object_set_control_rate):
13446 API: add gst_object_{s,g}et_control_rate(), add private data section,
13449 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13450 * libs/gst/dataprotocol/dataprotocol.h:
13451 add deprecation guards to make gtk-doc happy and allow disabling cruft
13453 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13455 * tests/check/Makefile.am:
13456 * tests/check/gst/.cvsignore:
13457 Let's enable the new unit test as well.
13459 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13462 * docs/gst/gstreamer-sections.txt:
13463 * gst/gstconfig.h.in:
13464 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13465 (_gst_info_printf_extension_ptr),
13466 (_gst_info_printf_extension_segment):
13467 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13468 register that lets us easily dump GstSegments into debug
13471 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13472 (info_segment_format_printf_extension), (gst_info_suite):
13473 Add simple unit test that logs a bunch of different segments (not
13474 valgrinded at the moment because of leaks in
13475 gst_debug_add_log_function).
13477 2006-08-09 Edward Hervey <edward@fluendo.com>
13479 * libs/gst/base/gstbasetransform.c:
13480 (gst_base_transform_buffer_alloc):
13481 Even if we can't figure out the proper format to request downstream,
13482 call buffer_alloc() downstream with the input parameters without setting
13483 the caps on the srcpad. This will force negotiation in the chain
13487 2006-08-08 Edward Hervey <edward@fluendo.com>
13489 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13490 Unlinking from a pad without a target is now a perfectly valid case
13491 which should NOT raise an assertion.
13492 This case would happen if a linked ghostpad its target set to NULL after
13493 it was previously linked.
13495 2006-08-08 Edward Hervey <edward@fluendo.com>
13497 * tests/check/libs/gdp.c:
13498 Also comment out the test (see below).
13500 2006-08-08 Edward Hervey <edward@fluendo.com>
13502 * tests/check/libs/gdp.c: (gst_dp_suite):
13503 Use the architecture information from config.h and not gcc macros
13504 in order to properly disable a test that fails on PPC64.
13506 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13508 * gst/gstelement.c: (gst_element_remove_pad):
13509 Don't crash printing the warning if the pad has no parent.
13511 2006-08-02 Wim Taymans <wim@fluendo.com>
13513 * libs/gst/dataprotocol/dataprotocol.c:
13514 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13515 (gst_dp_crc), (gst_dp_header_payload_length),
13516 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13517 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13518 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13519 (gst_dp_event_from_packet), (gst_dp_validate_header),
13520 (gst_dp_validate_payload):
13521 Make debug category static
13522 Constify the crc table.
13523 Do some more arg checking in public functions.
13524 Fix some docs and do some small cleanups.
13526 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13527 Add some more checks to see if GDP deals with bogus input.
13529 2006-07-31 Wim Taymans <wim@fluendo.com>
13531 * gst/gstvalue.c: (gst_value_compare_list):
13532 Fix GstValueList comparison code. Fixes #347293.
13534 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13535 Check to test GstValueList comparison.
13537 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13539 * gst/gstelementfactory.c: (gst_element_factory_create):
13540 Remove unnecessary ref/unref pair
13542 * gst/parse/grammar.y:
13543 Make sure to free the parse buffer on all code paths.
13544 Move a g_free up to the error handler where it's easier to see.
13546 * tests/check/gst/gstevent.c: (test_event):
13547 Extending timeout for downstream travelling events to 10 seconds to
13548 hopefully avoid intermittent failure on the buildbots.
13550 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13551 Don't manually set the state of the src element - it will happen as a
13552 natural consequence of the pipeline changing state, and that way it
13553 will do it in the right order too.
13555 2006-07-31 Wim Taymans <wim@fluendo.com>
13557 * libs/gst/base/gstbasetransform.c:
13558 (gst_base_transform_buffer_alloc):
13559 Use OBJECT_LOCK and refcounting to get the pad caps in the
13560 buffer_alloc function because the caps could change while we are
13561 busy with them. Fixes #349105
13563 2006-07-31 Wim Taymans <wim@fluendo.com>
13565 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13566 Protect _PAD_CAPS with OBJECT_LOCK.
13568 2006-07-31 Wim Taymans <wim@fluendo.com>
13570 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13571 (gst_pad_get_property), (gst_pad_activate_pull),
13572 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13573 (gst_pad_set_activate_function),
13574 (gst_pad_set_activatepull_function),
13575 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13576 (gst_pad_set_getrange_function),
13577 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13578 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13579 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13580 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13581 (gst_pad_set_acceptcaps_function),
13582 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13583 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13584 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13585 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13586 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13587 (gst_pad_configure_sink), (gst_pad_configure_src),
13588 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13589 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13590 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13591 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13592 (gst_pad_send_event):
13593 Use _DEBUG_OBJECT when it makes sense.
13594 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13595 Small cleanups and code reflows.
13596 Avoid caps refcounting in _accept_caps.
13597 Refactor alloc_buffer so that the code performed on the peer is in a
13598 separate function. Also if the pad does not implement a buffer alloc
13599 function, we should still check if the pad is flushing before falling
13600 back to the default allocator.
13602 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13604 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13605 Make all uses of identity and fakesink have silent=true to avoid
13606 serialising every passing data structure, which is breaking tests
13607 on FC4 for some unknown reason.
13609 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13611 * gst/parse/Makefile.am:
13612 * gst/parse/grammar.y:
13613 * gst/parse/parse.l:
13614 Reverted previous patch as it required to bump the flex dependency to
13615 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13617 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13619 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13621 * gst/parse/Makefile.am:
13622 * gst/parse/grammar.y:
13623 * gst/parse/parse.l:
13624 push & pop the state of the lexer for reentrant use case
13627 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13629 * libs/gst/base/gstbasesrc.h:
13630 Note in the docs that the ::newsegment vfunc is not actually used by
13633 2006-07-28 Wim Taymans <wim@fluendo.com>
13635 * libs/gst/base/gstcollectpads.c:
13636 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13637 (gst_collect_pads_clear), (gst_collect_pads_flush),
13638 (gst_collect_pads_event), (gst_collect_pads_chain):
13639 When flushing a pad, also clear the queued buffer so that we don't
13640 accidentally use it when we shouldn't.
13641 Fix leaks by inreffing incomming buffer.
13642 Flush out queued buffers in case of errors.
13645 2006-07-28 Wim Taymans <wim@fluendo.com>
13647 * docs/random/phonon-gst:
13648 Random notes about a Phonon backend.
13650 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13652 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13654 * tests/check/libs/gdp.c: (gst_dp_suite):
13655 Take a whack at fixing the ppc compile using a different define to
13656 disable the broken test.
13658 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13659 Remove excess g_print()
13661 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13663 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13664 Oops, meant to uncomment this line too to dampen the noise a bit.
13666 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13668 * gst/parse/grammar.y:
13669 * gst/parse/parse.l:
13670 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13671 (GST_START_TEST), (parse_suite):
13672 Fix some of the leaks exposed by extending the parse-launch testsuite,
13673 and move the 3 I can't figure out into a separate test that won't run
13674 the pipelines unless the appropriate line is uncommented.
13676 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13678 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13679 Requesting 0 bytes before the end of the file should result in
13680 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13683 2006-07-27 Wim Taymans <wim@fluendo.com>
13685 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13686 Fix useless assert, a uint is always positive.
13688 * gst/gststructure.c: (gst_structure_nth_field_name),
13689 (gst_structure_foreach), (gst_structure_map_in_place):
13690 Check input arguments for public functions to avoid obvious crashes.
13692 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13693 * plugins/elements/gstfakesink.h:
13694 Do less useless typechecking.
13696 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13698 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13699 Do not use mmap() by default since there are a number of error
13700 conditions that we would like to handle in a non-fatal way that
13701 will result in a SIGBUS if we use mmap(). Examples: external
13702 devices (USB harddrive, portable music player) being unplugged
13703 while in use; file on mounted CD/DVD that can't be read because
13704 the medium is partly damaged. Fixes #348455 and #348475.
13706 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13709 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13710 rates are a gdouble
13712 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13714 * gst/gstregistry.c:
13715 Move big documentation comment into class section header, so that it
13716 appears in the API docs.
13718 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13720 * docs/gst/gstreamer-sections.txt:
13721 Oops. Commit the docs additions too for new API.
13722 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13724 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13726 * gst/gststructure.c: (gst_structure_id_set),
13727 (gst_structure_id_set_valist):
13728 * gst/gststructure.h:
13729 Add API for setting values into structures without performing
13730 a quark lookup, if the appropriate quark is already known.
13732 API: gst_structure_id_set
13733 API: gst_structure_id_set_valist
13735 * gst/parse/grammar.y:
13736 * gst/parse/parse.l:
13737 Remove some dead code shown by the coverage information.
13738 Don't throw a critical g_warning when encountering a syntax error,
13739 just warn and let the normal error path handle it.
13741 * plugins/elements/gstelements.c:
13742 Bump the rank of filesink up to PRIMARY so that it is preferred over
13743 gnomevfssink for file:// sink uri's
13745 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13746 (GST_START_TEST), (run_delayed_test),
13747 (gst_parse_test_element_base_init),
13748 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13749 (gst_parse_test_element_change_state),
13750 (gst_register_parse_element), (parse_suite):
13751 Beef up the tests for parse syntax to check that more error cases
13752 fail as they are supposed to. Increases the test coverage a bit.
13754 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13756 * docs/manual/basics-elements.xml:
13757 Fix gst_element_link() example.
13760 Mention in API docs that one should usually gst_bin_add()
13761 elements to a bin or pipeline before doing the linking.
13763 2006-07-26 Wim Taymans <wim@fluendo.com>
13765 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13766 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13767 Avoid function call for known types by keeping the buffer and
13768 subbuffer GType global.
13770 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13771 Random silly optimisations in read() path.
13773 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13775 * tools/gst-launch.c: (main):
13776 If the top-level of the parse is a normal bin, it doesn't do the
13777 right logic to run as a top-level element, so place it inside a
13780 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13782 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13783 Remove superfluous g_object_notify() calls, GObject does
13784 that for us automatically.
13786 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13789 on Win32, use dllspec to export the debug category symbols
13791 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13793 * gst/gsttaglist.c: (_gst_tag_initialize):
13794 Allow more than one GST_TAG_IMAGE per taglist.
13796 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13798 * gst/gstminiobject.c:
13800 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13801 (gst_fd_src_create):
13802 log recurring events at LOG level
13803 add more debug for when the fd gets set
13805 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13807 * gst/gstparse.c: (gst_parse_launch):
13808 Also remove reentrance checks if flex is MT safe (#348179)
13809 Fix my empty ChangeLog entry below
13811 2006-07-21 Andy Wingo <wingo@pobox.com>
13813 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13815 * libs/gst/check/Makefile.am
13816 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13817 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13818 * libs/gst/check/gstbufferstraw.h:
13819 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13820 functions, thus proving I am still a GStreamer haxor. OK I wrote
13821 them a long time ago, but anyways.
13823 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13826 * gst/gstparse.c: (gst_parse_launch):
13827 Check for flex version and omit mutex if we have a MT save flex
13830 2006-07-21 Wim Taymans <wim@fluendo.com>
13832 * gst/gstparse.c: (gst_parse_launch):
13833 Protect recursive calls to _parse with a recursive mutex
13836 2006-07-21 Wim Taymans <wim@fluendo.com>
13838 * tests/check/gst/gstpad.c: (GST_START_TEST):
13841 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13843 * gst/gstparse.c: (gst_parse_launch):
13844 Do not hang on recursive usage of gst_parse_launch()
13846 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13848 * gst/gsttaglist.c:
13849 Add some more docs, comments and FIXME 0.11s here and there
13850 and also fix some typos.
13852 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13854 * gst/gstsegment.h:
13855 Convert tabs to spaces for better readability.
13857 2006-07-20 Edward Hervey <edward@fluendo.com>
13859 * tests/check/libs/gdp.c: (gst_dp_suite):
13860 the test_buffer test fails at line 140 on ppc64 at the following
13862 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13863 GST_BUFFER_FLAG_IN_CAPS),
13864 "GST_BUFFER_IN_CAPS flag should have been copied !");
13865 See bug #348114 for more details.
13867 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13869 * docs/pwg/advanced-scheduling.xml:
13871 Fix typos (#348000).
13873 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13875 * docs/pwg/intro-basics.xml:
13876 Fix wrong links (#347927).
13878 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13880 * gst/gstregistry.h:
13881 * gst/gstregistryxml.c: (load_feature),
13882 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13883 * win32/common/config.h:
13884 make --disable-index work (#342564)
13886 2006-07-18 Wim Taymans <wim@fluendo.com>
13888 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13892 The attached patch adds two missing defines to gsttrace.h when tracing
13893 is disabled. It also corrects one existing define.
13896 2006-07-17 Wim Taymans <wim@fluendo.com>
13898 * docs/gst/gstreamer-sections.txt:
13899 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13901 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13902 Add two functions to check and change the SIGSEGV behaviour
13903 when loading plugins.
13904 Don't mess with the SIGSEGV handler when we were told not to.
13906 API: gst_segtrap_is_enabled
13907 API: gst_segtrap_set_enabled
13909 2006-07-14 Wim Taymans <wim@fluendo.com>
13911 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13912 * tests/check/elements/filesrc.c: (GST_START_TEST):
13913 Revert fix for regression in #347408 after release.
13915 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13917 Patch by: Antoine Tremblay <hexa00 at gmail com>
13919 * gst/gstutils.c: (gst_element_unlink):
13920 Free iterator when done (#347311).
13922 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13923 And add a test case for this.
13925 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13928 Bump nano back to CVS
13930 === release 0.10.9 ===
13932 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13935 releasing 0.10.9, "On the road again"
13937 2006-07-13 Wim Taymans <wim@fluendo.com>
13939 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13940 * tests/check/elements/filesrc.c: (GST_START_TEST):
13941 Revert pull-0 fix for release. Disable check. Fixes #347408.
13943 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13945 * libs/gst/dataprotocol/dataprotocol.c:
13946 (gst_dp_event_from_packet_1_0):
13947 Fixes #347337: failure to deserialize event packets with
13948 empty payload (only event type)
13950 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13953 do not install a .c file in the header directory
13955 2006-07-13 Edward Hervey <edward@fluendo.com>
13957 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13958 GhostPad no longer implicitely use the padtemplates of the targets.
13961 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13963 * gst/gstvalue.c: (gst_value_compare_list),
13964 (gst_value_compare_array), (_gst_value_initialize):
13965 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13966 Make GstValueArray comparison be order dependent as designed.
13967 Add checks for value lists and value array comparisons.
13970 2006-07-11 Edward Hervey <edward@fluendo.com>
13972 * gst/gstbin.c: (activate_pads),
13973 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13974 (gst_bin_change_state_func):
13975 (de)activate src pads before calling state_change on the childs.
13976 This is to avoid the case where a src ghostpad is blocked (holding the
13977 stream lock), which would block the deactivation of the ghostpad's
13979 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13980 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13981 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13982 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13983 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13984 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13985 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13986 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13987 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13988 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13989 (gst_ghost_pad_class_init),
13990 (gst_ghost_pad_internal_do_activate_push),
13991 (gst_ghost_pad_internal_do_activate_pull),
13992 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13993 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13994 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13995 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13996 GhostPads now create their internal GstProxyPad at creation (and not
13997 when they're linked, as it was being done previously).
13998 The internal and target pads are linked straight away.
13999 The data will also travel through the other pad in order to make
14000 pad blocking and probes non-hackish (the probe/block now really happens
14001 on the GhostPad and not on the target).
14002 * gst/gstpad.c: (gst_pad_set_blocked_async),
14003 (gst_pad_link_prepare), (gst_pad_push_event):
14004 Remove previous ghostpad cruft.
14005 * gst/gstutils.c: (gst_pad_add_data_probe),
14006 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14007 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14008 (gst_pad_remove_buffer_probe):
14009 Remove previous ghost pad cruft.
14010 Added more detailed debug statements.
14011 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14012 Fix the testsuite for refcounting changes.
14013 The comments about who has references were correct, but the refcount
14014 being checked wasn't the same (!?!).
14018 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14020 * docs/gst/gstreamer-sections.txt:
14021 * gst/gstconfig.h.in:
14022 More docs for configuration options, add docs to gtk-doc.
14024 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14027 * gst/gstconfig.h.in:
14028 * win32/common/config.h:
14029 Fix build when disabling tracing (fixes #344016). Also start to document
14030 the defines that disable the sub-systems.
14032 2006-07-10 Edward Hervey <edward@fluendo.com>
14034 * gst/gst.c: (ensure_current_registry_forking):
14035 let's make valgrind happy...
14037 2006-07-09 Wim Taymans <wim@fluendo.com>
14039 * gst/gstelement.c: (activate_pads),
14040 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14041 Better pad activation code: Reset the collect value too on resync.
14044 2006-07-09 Wim Taymans <wim@fluendo.com>
14046 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14047 (gst_pad_activate_push):
14048 Use some more macros where it makes sense.
14049 Allow pad mode switching instead of asserting. When a pad
14050 is activated in one mode and we activate it in another,
14051 deactivate it first before activating it in a different mode.
14054 2006-07-08 Andy Wingo <wingo@pobox.com>
14056 * tools/gst-launch.c (main): Handle err == NULL.
14058 * gst/gst.c (init_post, ensure_current_registry)
14059 (ensure_current_registry_forking)
14060 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14061 factoring out the registry scanning into separate functions. Don't
14062 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14063 Better environment var name/interface suggestions accepted.
14065 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14067 * gst/gstobject.c: (gst_object_set_name_default),
14068 (gst_object_set_name):
14069 Random micro-optimisation: don't use a hash table
14070 with strings as keys and the usual strdup/strcmp
14071 involved, but rather just use the GQuark of the
14072 type name as key, since it needs to be looked up
14073 anyway to get the type name string.
14075 * tests/check/gst/gstobject.c: (GST_START_TEST):
14078 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14080 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14081 (gst_bin_iterate_all_by_interface):
14082 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14083 GTypes are gulongs and thus the top 4 bytes might be cut
14084 off on some platforms when doing GPOINTER_TO_INT, leading
14085 to invalid GTypes and bad things happening (see RH bug #179654).
14086 Also add a check to make sure the type passed in is really
14089 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14094 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14098 * gst-element-check.m4:
14099 * gst-element-check.m4.in:
14100 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14101 instead of the unversioned gst-inspect (#324176, #168659).
14103 2006-07-06 Wim Taymans <wim@fluendo.com>
14105 * gst/gstmessage.h:
14106 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14109 2006-07-06 Wim Taymans <wim@fluendo.com>
14111 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14112 (gst_base_src_wait), (gst_base_src_update_length),
14113 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14114 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14115 (gst_base_src_loop), (gst_base_src_start),
14116 (gst_base_src_activate_pull):
14118 blocksize == 0 now means the default blocksize when working in push
14120 Remove some pointless asserts in _wait function.
14121 Fix offset/length calculations and EOS handling. We can now pull 0
14122 bytes as well, which is allowed.
14123 use _check_get_range() to decide if we can operate in _pull based
14125 Fix refcounting leak when check_get_range function was not
14127 API GstBaseSrc::blocksize range can be 0 too now (default)
14129 * tests/check/elements/filesrc.c: (GST_START_TEST),
14131 Added check to test _get_range() behaviour.
14133 2006-07-06 Wim Taymans <wim@fluendo.com>
14135 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14136 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14137 (gst_pad_pull_range):
14139 Lots of comments and docs added to the pad functions.
14140 Flesh out the expected behaviour of the get_range() functions.
14142 2006-07-06 Wim Taymans <wim@fluendo.com>
14147 * gst/gstiterator.h:
14151 Remove comma at end of enumerator list.
14153 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14155 * win32/common/libgstbase.def:
14156 * win32/common/libgstdataprotocol.def:
14157 * win32/common/libsgtreamer.def:
14158 Add new exported functions.
14160 2006-07-05 Wim Taymans <wim@fluendo.com>
14162 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14163 Add some more docs here and there.
14165 2006-07-05 Wim Taymans <wim@fluendo.com>
14167 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14168 (gst_base_sink_loop), (gst_base_sink_get_position):
14169 When operating in pull mode update the offset so that we
14172 2006-07-05 Wim Taymans <wim@fluendo.com>
14174 * gst/gstregistryxml.c: (read_string):
14175 Avoid strdup. (will happen in libxml, but hey!)
14178 Add some more docs.
14180 2006-07-05 Wim Taymans <wim@fluendo.com>
14182 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14183 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14184 (gst_buffer_suite):
14185 No point in checking if the size of the subbuffer > 0, the
14186 code handles it correclty as demonstrated by unit test.
14187 Also add a unit test for the zero sized _new_and_alloc and
14188 _copy. Fixes #346663.
14190 2006-07-05 Wim Taymans <wim@fluendo.com>
14192 * libs/gst/base/gstbasetransform.c:
14193 (gst_base_transform_prepare_output_buffer),
14194 (gst_base_transform_buffer_alloc),
14195 (gst_base_transform_handle_buffer):
14196 Make sure the buffer we pass to transform_ip has a refcount of
14197 1 and thus is writable. Fixes #343196
14199 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14201 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14202 (gst_file_src_init), (gst_file_src_set_property),
14203 (gst_file_src_get_property), (gst_file_src_map_region):
14204 * plugins/elements/gstfilesrc.h:
14205 Add "sequential" property, off by default, to use madvise and hint
14206 to the kernel that sequential access is desired.
14207 Touch all retrieved pages by default to ensure they are pulled
14208 into memory. (Closes #345720)
14210 2006-07-03 Wim Taymans <wim@fluendo.com>
14212 * docs/design/part-block.txt:
14213 * docs/design/part-dynamic.txt:
14214 Small docs updates.
14216 2006-07-03 Wim Taymans <wim@fluendo.com>
14218 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14219 (gst_caps_unref), (gst_static_caps_get),
14220 (gst_caps_append_structure):
14221 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14222 Use GSlice when the glib we build against is >= 2.10
14224 2006-07-03 Wim Taymans <wim@fluendo.com>
14226 * gst/gstelement.c: (gst_element_pads_activate):
14227 Small cleanup in pad activation code.
14229 2006-07-03 Wim Taymans <wim@fluendo.com>
14231 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14233 * gst/gst-i18n-app.h:
14234 * gst/gst-i18n-lib.h:
14235 * tools/gst-inspect.c: (print_signal_info):
14236 The attached patch will make the inclusion of gettext.h unconditional in
14237 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14238 libintl.h in tools/gst-inspect.c.
14239 This allows use of --disable-nls again and fixes #344642.
14241 2006-07-03 Edward Hervey <edward@fluendo.com>
14243 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14244 Implement pad blocking on events according to part-block.txt.
14245 More comments on behaviour.
14246 * tests/check/gst/gstevent.c: (test_event):
14247 Send event to peer pad of blocked pad (else it will block).
14249 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14251 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14252 (gst_check_run_suite):
14253 if we get the wrong message, give us the types as string
14254 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14256 * tests/check/elements/filesrc.c: (GST_START_TEST):
14257 add a test for trying to open a non-existing file
14259 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14261 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14262 add a test for adding self
14264 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14266 * libs/gst/check/gstcheck.h:
14267 add some assert_ as alias for fail_unless_*
14268 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14269 increase test coverage
14271 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14274 include lcov.mak for lcov coverage generation
14275 * tools/Makefile.am:
14278 2006-07-02 Edward Hervey <edward@fluendo.com>
14280 * tests/check/elements/.cvsignore:
14283 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14286 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14287 * tests/check/Makefile.am:
14288 clean up gcov files
14290 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14292 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14293 remove gst_caps_simplify; it was not declared and not used
14294 and deprecated in 0.8
14296 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14298 * docs/faq/gst-uninstalled:
14299 don't put empty paths on PYTHONPATH
14300 * docs/gst/gstreamer-sections.txt:
14301 remove some symbols that are not there
14303 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14305 * gst/gstcaps.c: (gst_caps_compare_structures):
14307 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14308 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14311 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14313 * libs/gst/dataprotocol/Makefile.am:
14314 build dataprotocol test by linking to the lib, instead of
14315 compiling the source, so we get coverage
14316 * tests/check/Makefile.am:
14317 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14318 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14319 add a test for filesrc
14321 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14323 * tests/check/gst/gststructure.c: (GST_START_TEST),
14324 (gst_structure_suite):
14325 Push coverage from 59.04% to 70.00%
14327 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14329 * tests/check/Makefile.am:
14330 gst-inspect every element; this makes sure that we also get
14331 coverage on element's get/set functions
14333 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14336 set CFLAGS and friends to -O0 if gcov is being used
14339 * libs/gst/base/Makefile.am:
14340 * libs/gst/check/Makefile.am:
14341 * libs/gst/controller/Makefile.am:
14342 * libs/gst/dataprotocol/Makefile.am:
14343 * libs/gst/net/Makefile.am:
14344 * plugins/elements/Makefile.am:
14345 * plugins/indexers/Makefile.am:
14346 add makefile rules to generate gcov data and clean up
14347 * tests/check/Makefile.am:
14348 add a coverage target that generates an html overview
14351 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14353 * tests/check/elements/fakesink.c:
14354 * tests/check/elements/fakesrc.c:
14355 * tests/check/elements/fdsrc.c:
14356 * tests/check/elements/identity.c:
14357 * tests/check/generic/sinks.c: (gst_sinks_suite):
14358 * tests/check/generic/states.c:
14359 * tests/check/gst/gst.c:
14360 * tests/check/gst/gstabi.c:
14361 * tests/check/gst/gstbin.c:
14362 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14363 * tests/check/gst/gstbus.c: (gst_bus_suite):
14364 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14365 * tests/check/gst/gstelement.c:
14366 * tests/check/gst/gstevent.c: (gst_event_suite):
14367 * tests/check/gst/gstghostpad.c:
14368 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14369 * tests/check/gst/gstmessage.c: (gst_message_suite):
14370 * tests/check/gst/gstminiobject.c:
14371 * tests/check/gst/gstobject.c:
14372 * tests/check/gst/gstpad.c:
14373 * tests/check/gst/gstpipeline.c:
14374 * tests/check/gst/gstplugin.c:
14375 * tests/check/gst/gstquery.c: (gst_query_suite):
14376 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14377 * tests/check/gst/gststructure.c:
14378 * tests/check/gst/gstsystemclock.c:
14379 * tests/check/gst/gsttag.c:
14380 * tests/check/gst/gsttask.c: (gst_task_suite):
14381 * tests/check/gst/gstutils.c:
14382 * tests/check/gst/gstvalue.c:
14383 * tests/check/libs/adapter.c:
14384 * tests/check/libs/basesrc.c:
14385 * tests/check/libs/collectpads.c:
14386 * tests/check/libs/controller.c:
14387 * tests/check/libs/gdp.c: (gst_dp_suite):
14388 * tests/check/libs/gstnetclientclock.c:
14389 * tests/check/libs/gstnettimeprovider.c:
14390 * tests/check/libs/libsabi.c: (libsabi_suite):
14391 * tests/check/libs/typefindhelper.c:
14392 * tests/check/pipelines/cleanup.c:
14393 * tests/check/pipelines/parse-launch.c:
14394 * tests/check/pipelines/simple-launch-lines.c:
14395 * tests/check/pipelines/stress.c: (stress_suite):
14398 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14400 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14401 * libs/gst/check/gstcheck.h:
14402 create a macro and function so that the simple unit test
14403 case can be just one macro to create main()
14405 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14407 * gst/gstbin.c: (gst_bin_restore_thyself):
14408 * gst/gstxml.c: (gst_xml_make_element):
14409 Fix deserialisation from XML. Set parent manually
14410 instead of using gst_bin_add(), since gst_bin_add()
14411 will unlink all pads of the element being added.
14414 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14416 Patch by: Peter Kjellerstedt <pkj at axis com>
14418 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14419 Fix missing g_strdup() and double free when using the
14420 --gst-plugin-load command line option (#346097).
14422 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14425 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14427 * libs/gst/net/gstnetclientclock.c:
14428 * libs/gst/net/gstnettimeprovider.c:
14429 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14431 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14433 * docs/manual/advanced-dataaccess.xml:
14434 Fix buffer probe example compilation in
14437 2006-06-22 Edward Hervey <edward@fluendo.com>
14439 * gst/gstelement.c: (gst_element_pads_activate):
14440 We need to deactivate src pads first and then sink pads.
14441 The reason is the src pads might be blocking while holding the streaming
14442 lock, so we need to deactivate them first so that deactivating the sink
14443 pads doesn't block (since it will require the streaming lock).
14445 2006-06-22 Wim Taymans <wim@fluendo.com>
14447 * libs/gst/base/gstbasetransform.c:
14448 (gst_base_transform_buffer_alloc):
14449 Forgot to remove two unneeded unrefs.
14450 Simplify a check _is_equal allready checks the obvious case.
14452 2006-06-22 Wim Taymans <wim@fluendo.com>
14454 * docs/design/part-block.txt:
14455 Some docs about what pad_block should do.
14457 2006-06-22 Wim Taymans <wim@fluendo.com>
14459 * gst/gstcaps.c: (gst_caps_replace):
14460 Fix crasher when passed NULL. Doc clarification.
14461 Optimize for the trivial case.
14463 * gst/gstpipeline.c: (gst_pipeline_change_state):
14466 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14467 Small documentation cleanup.
14469 * libs/gst/base/gstbasetransform.c:
14470 (gst_base_transform_buffer_alloc):
14471 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14472 is what we need and it avoids a whole lot of redundant
14473 refcount operations.
14475 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14477 Patch by: Philip Jägenstedt <philip at lysator liu se>
14479 * docs/manual/advanced-dataaccess.xml:
14480 Fix 'Embedding static elements' section to use
14481 GST_PLUGIN_DEFINE_STATIC (#345607).
14483 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14485 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14486 Attempt to 'fix' spuriously failing test case: it seems like the
14487 timeout of half a second is simply too small when the system is under
14488 load otherwise, and the timeout doesn't really seem to serve any
14489 particular purpose here. Give the pipeline a few seconds to preroll
14490 first, and then give it another half a second to go from PAUSED to
14491 PLAYING and marshal the message into the main thread.
14493 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14495 * tools/gst-feedback-m.m:
14496 Don't only use unversioned tools, try versioned tools as well
14499 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14501 * gst/gstbus.c: (gst_bus_class_init):
14502 Fix some typos, make docs more explicit.
14504 2006-06-20 Wim Taymans <wim@fluendo.com>
14506 * tests/check/gst/gstghostpad.c: (block_callback),
14507 (GST_START_TEST), (gst_ghost_pad_suite):
14508 Added some more ghostpad tests, mainly blocking
14511 2006-06-16 Wim Taymans <wim@fluendo.com>
14513 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14514 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14515 (gst_file_sink_event), (gst_file_sink_render):
14516 * plugins/elements/gstfilesink.h:
14517 Check if we can seek in the file instead of assuming
14518 we always can. Post an error when we are asked to seek in a
14519 non-seekable file (like a fifo). Fixes #343312.
14522 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14524 * tools/gst-launch.1.in:
14525 Un-garble (fourcc) bit in filtered caps section.
14527 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14529 * docs/manual/advanced-autoplugging.xml:
14530 * docs/manual/basics-helloworld.xml:
14531 * docs/manual/highlevel-components.xml:
14532 Don't leak bus reference in sample code.
14534 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14537 Add default for new --enable-plugin-docs switch.
14540 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14543 * docs/Makefile.am:
14544 Use new ENABLE_PLUGIN_DOCS conditional.
14546 2006-06-14 Wim Taymans <wim@fluendo.com>
14548 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14549 Make it clear with a FIXME and a real define what the #if 0
14550 previously disabled.
14552 2006-06-14 Wim Taymans <wim@fluendo.com>
14554 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14555 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14556 * libs/gst/base/gstbasetransform.c:
14557 (gst_base_transform_sink_eventfunc):
14558 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14559 Don't randomly and silently reset a segment when the format
14560 changes as this is a bug somewhere upstream. Fixes #330379.
14562 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14564 Patch by: Wouter Paesen <wouter at kangaroot net>
14566 * libs/gst/controller/gstcontroller.c:
14567 (gst_controlled_property_new):
14568 Fix controlling of float properties (#344849).
14570 * tests/check/libs/controller.c:
14571 (gst_test_mono_source_get_property),
14572 (gst_test_mono_source_set_property),
14573 (gst_test_mono_source_class_init), (GST_START_TEST):
14574 While we're at it, add some float stuff to unit test.
14576 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14579 * docs/images/gdp-header.svg:
14581 * docs/libs/Makefile.am:
14582 * docs/libs/gdp-header.png:
14583 * libs/gst/dataprotocol/dataprotocol.c:
14584 add it to the API docs
14585 * docs/manual/intro-motivation.xml:
14588 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14590 * gst/gst.c: (scan_and_update_registry), (init_post):
14591 If the fork()'ed child process can't write the updated registry cache
14592 file to disk for some reason, make it exit with a failure exit code,
14593 so that the parent can then re-scan the plugins itself and update the
14594 registry structures in memory and work with that (rather than failing
14595 when creating elements because seemingly no plugins are available).
14596 Refactor registry scanning code into separate function for this and
14597 also separate fork() and non-fork() code paths. Fixes #344748.
14599 2006-06-13 Wim Taymans <wim@fluendo.com>
14601 * docs/manual/advanced-dataaccess.xml:
14602 Fix wrong PluginDesc. Fixes #344755.
14604 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14606 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14607 Fix silly bug that prevented us from creating
14608 ~/.gstreamer-0.10 and writing the registry in one
14609 go (the first call to g_mkstemp() would overwrite the
14610 placeholder in the template string, so the second call
14611 to g_mkstemp() after creating the missing directory
14612 would then error out with 'invalid argument').
14614 2006-06-13 Edward Hervey <edward@fluendo.com>
14616 * gst/gst.c: (init_post):
14619 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14621 * gst/glib-compat-private.h:
14622 * gst/glib-compat.c:
14623 * gst/glib-compat.h:
14624 * gst/gstvalue.c: (gst_value_serialize_flags):
14625 remove GLib 2.6 compatibility code
14627 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14629 * gst/parse/Makefile.am:
14630 Fix build with 'make -j N' even more (#340016).
14632 2006-06-12 Wim Taymans <wim@fluendo.com>
14634 * docs/gst/gstreamer-sections.txt:
14637 2006-06-12 Wim Taymans <wim@fluendo.com>
14639 * gst/gstsegment.c: (gst_segment_set_duration),
14640 (gst_segment_set_last_stop), (gst_segment_set_seek),
14641 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14642 (gst_segment_to_running_time), (gst_segment_clip):
14643 Use G_UNLIKELY to help the compiler a bit.
14645 2006-06-12 Wim Taymans <wim@fluendo.com>
14647 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14649 * gst/gstevent.c: (gst_event_get_type):
14650 * gst/gstmessage.c:
14651 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14653 constify quark registration strings. Fixes #344115
14654 Avoid unneeded type checking is _pad_push() by internally
14655 calling gst_pad_chain_unchecked().
14657 2006-06-12 Wim Taymans <wim@fluendo.com>
14659 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14660 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14661 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14662 (gst_buffer_is_span_fast), (gst_buffer_span):
14663 Init _type for consistency.
14664 Use _FLAGS macro to avoid type check.
14665 Avoid unneeded type checks in subbufer code.
14667 2006-06-12 Wim Taymans <wim@fluendo.com>
14669 * gst/gst.c: (gst_debug_help):
14670 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14671 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14672 (gst_plugin_feature_list_free):
14673 * gst/gstregistry.c: (gst_registry_add_plugin),
14674 (gst_registry_add_feature), (gst_registry_plugin_filter),
14675 (gst_registry_feature_filter), (gst_registry_find_plugin),
14676 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14677 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14678 * gst/gstregistryxml.c: (load_feature),
14679 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14680 * gst/gstminiobject.c: (gst_mini_object_unref),
14681 (gst_mini_object_replace), (gst_value_mini_object_free),
14682 (gst_value_mini_object_copy):
14683 Use _CAST macros to avoid unneeded type checking.
14684 Added some more G_UNLIKELY.
14686 2006-06-12 Wim Taymans <wim@fluendo.com>
14689 Avoid unneeded type checking.
14690 API: GST_BUFFER_IS_DISCONT
14692 * gst/gstminiobject.h:
14693 Avoid type check in flag accessor.
14695 * gst/gstelementfactory.h:
14697 * gst/gstpluginfeature.h:
14699 API: GST_ELEMENT_FACTORY_CAST
14700 API: GST_PLUGIN_CAST
14701 API: GST_PLUGIN_FEATURE_CAST
14703 2006-06-12 Wim Taymans <wim@fluendo.com>
14705 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14706 (gst_object_unref):
14707 Add G_UNLIKELY in type registration.
14708 Avoid type check in _ref/_unref since that is also
14711 2006-06-12 Wim Taymans <wim@fluendo.com>
14713 * gst/gsterror.c: (gst_g_error_get_type):
14714 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14715 (gst_static_pad_template_get_type):
14716 * gst/gsttaglist.c: (gst_tag_list_get_type):
14717 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14718 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14719 * gst/gsturi.c: (gst_uri_handler_get_type):
14720 * gst/gstvalue.c: (gst_date_get_type):
14721 * gst/gstxml.c: (gst_xml_get_type):
14722 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14723 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14724 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14725 Add G_UNLIKELY in type registration.
14727 2006-06-12 Wim Taymans <wim@fluendo.com>
14729 * tools/gst-inspect.c: (print_signal_info):
14730 Properly print enum values.
14732 2006-06-12 Wim Taymans <wim@fluendo.com>
14734 * gst/gstinfo.c: (gst_debug_set_active),
14735 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14737 Add some G_[UN]LIKELY.
14738 Maintain __gst_debug_min to avoid formatting the arguments of
14739 debug messages that will be dropped anyway to avoid a lot of
14740 overhead from the debugging system.
14742 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14745 * po/POTFILES.skip:
14746 add missing files containing translatable strings, tell intltool about
14749 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14751 * tests/check/libs/.cvsignore:
14752 add test-binary to ignore list
14754 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14756 * docs/libs/gstreamer-libs-docs.sgml:
14757 reorder (put dp into a chapter) and indent
14759 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14764 === release 0.10.8 ===
14766 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14769 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14771 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14773 * gst/gst.c: (init_post):
14774 move pid declaration to declaration block
14776 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14778 * gst/gst.c: (init_post):
14779 use _exit() instead of exit() in our forked child; this ensures
14780 that none of the registered exit handlers from whatever is using
14781 GStreamer get executed. This fixes gnome-mixer-applet failing
14782 to load, because ORBit would shut down.
14783 Spotted by: Edward Hervey <edward@fluendo.com>
14784 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14787 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14792 === release 0.10.7 ===
14794 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14797 releasing 0.10.7, "Soepeke, ik zie ou"
14799 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14822 * win32/common/config.h:
14823 0.10.6.2 prerelease
14825 2006-06-07 Wim Taymans <wim@fluendo.com>
14827 * gst/gstindex.c: (gst_index_gtype_resolver):
14828 * tools/gst-xmlinspect.c: (print_plugin_info):
14829 Fix leak spotted by coverity checker. Fixes #343827
14830 Fix another other leak found by paolo borelli.
14832 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14834 * libs/gst/dataprotocol/dataprotocol.c:
14835 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14836 (gst_dp_version_get_type), (gst_dp_init),
14837 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14838 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14839 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14840 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14841 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14842 (gst_dp_packetizer_free):
14843 * libs/gst/dataprotocol/dataprotocol.h:
14844 API: add a GstDPPacketizer object, and create/free functions
14845 API: add GstDPVersion enum
14846 Add 1.0 event function that uses the string serialization
14847 Serialize more useful buffer flags
14850 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14852 * tests/check/Makefile.am:
14853 * tests/check/gst/gstabi.c:
14854 * tests/check/gst/struct_ppc64.h:
14855 * tests/check/libs/libsabi.c:
14856 * tests/check/libs/struct_ppc64.h:
14857 add ppc64 structure sizes
14859 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14861 * tests/check/Makefile.am:
14862 * tests/check/gst/gstabi.c:
14863 * tests/check/gst/struct_x86_64.h:
14864 * tests/check/libs/libsabi.c:
14865 * tests/check/libs/struct_x86_64.h:
14866 generate and add structure size lists for x86_64
14868 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14870 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14871 * libs/gst/check/gstcheck.h:
14872 factor out the method from tests that checks size of structures,
14873 and add code to generate the header containing these sizes
14874 * tests/check/gst/gstabi.c: (GST_START_TEST):
14875 * tests/check/gst/struct_i386.h:
14876 * tests/check/libs/libsabi.c: (GST_START_TEST):
14877 * tests/check/libs/struct_i386.h:
14880 2006-06-06 Michael Smith <msmith@fluendo.com>
14882 * gst/gstsegment.h:
14883 Don't use c++-style comments, fixes #343929
14885 2006-06-05 Edward Hervey <edward@fluendo.com>
14888 plugin_paths is not used if we build without registry support.
14890 * gst/gstsegment.c: (gst_segment_copy):
14891 _copy() was always returning NULL...
14893 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14895 * libs/gst/dataprotocol/dataprotocol.c:
14896 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14897 (gst_dp_packet_from_event):
14898 factor out CRC code
14900 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14902 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14903 make sure we unset caps
14905 2006-06-02 Michael Smith <msmith@fluendo.com>
14907 * libs/gst/check/gstcheck.c: (gst_check_init),
14908 (gst_check_chain_func):
14909 * libs/gst/check/gstcheck.h:
14910 Add a cond/mutex to the check support lib, signal this whenever we
14911 add to the buffers list. This will allow tests to not busy-wait on
14914 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14916 * libs/gst/dataprotocol/dataprotocol.c:
14917 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14918 (gst_dp_packet_from_event):
14919 factor out some common header init code
14921 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14923 * docs/libs/gstreamer-libs-sections.txt:
14924 * docs/libs/tmpl/gstdataprotocol.sgml:
14925 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14926 * libs/gst/dataprotocol/dataprotocol.h:
14927 API: make gst_dp_crc() public
14929 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14931 * plugins/indexers/gstindexers.c: (plugin_init):
14932 conditionally register fileindexer (fixes #343598)
14934 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14936 * gst/gsttagsetter.h:
14937 Can't cast ifaces to a class
14939 * libs/gst/net/gstnetclientclock.h:
14940 * libs/gst/net/gstnettimeprovider.h:
14941 * plugins/elements/gstfakesink.h:
14942 * plugins/elements/gstfakesrc.h:
14943 * plugins/elements/gstfdsink.h:
14944 * plugins/elements/gstfdsrc.h:
14945 * plugins/elements/gstfilesink.h:
14946 * plugins/elements/gstfilesrc.h:
14947 * plugins/elements/gstidentity.h:
14948 * plugins/elements/gstqueue.h:
14949 * plugins/elements/gsttee.h:
14950 * plugins/indexers/gstfileindex.c:
14951 * plugins/indexers/gstmemindex.c:
14952 * tests/old/examples/plugins/example.h:
14953 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14955 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14957 * libs/gst/dataprotocol/dataprotocol.c:
14958 (gst_dp_header_from_buffer):
14959 make sure we zero the whole ABI-compatible area
14961 2006-06-01 Wim Taymans <wim@fluendo.com>
14963 Patch by: Alessandro Decina <alessandro at nnva dot org>
14965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14966 Make sure the EOS flag is cleared from pads after a flush
14967 or stop. Fixes #343538.
14969 * tests/check/libs/collectpads.c: (GST_START_TEST),
14970 (gst_collect_pads_suite):
14971 Added test for collectpads reusage after EOS.
14973 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14976 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14977 * win32/common/libgstbase.def:
14978 export gst_collect_pads_set_flushing
14979 * win32/common/libgstreamer.def:
14980 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14981 gst_value_fraction_multiply
14982 * win32/vs6/gst_inspect.dsp:
14983 add a link to intl.lib
14985 2006-05-30 Wim Taymans <wim@fluendo.com>
14987 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14988 (gst_collect_pads_chain):
14989 Handle the case where a pad is removed from the collection
14990 that could cause the other pads to become collectable.
14992 2006-05-30 Wim Taymans <wim@fluendo.com>
14994 * gst/gstelement.c:
14995 Clarify the use of _release_request_pad() and
14996 _get_request_pad() a bit better.
14998 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14999 (gst_adapter_take_buffer):
15000 Fix some doc and comment typos.
15002 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15004 * docs/gst/gstreamer-sections.txt:
15005 * docs/libs/gstreamer-libs-sections.txt:
15006 add declared symbols
15008 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
15010 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15011 Add debug that can be enabled using a #define at the top of the file,
15012 for dumping stats about how late/early we were when waking up from
15013 waiting on the clock.
15015 2006-05-30 Wim Taymans <wim@fluendo.com>
15017 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15018 When rebuilding the pad list, don't leak the previous list.
15020 2006-05-30 Wim Taymans <wim@fluendo.com>
15022 Patch by: Lutz Mueller <lutz at topfrose dot de>
15024 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15025 (gst_base_src_get_query_types), (gst_base_src_update_length):
15026 Publish supported query types.
15027 Update last_stop field in get_range mode so the position
15028 query works. Fixes #342321.
15030 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
15032 * docs/gst/gstreamer-sections.txt:
15033 * gst/gsttaglist.c: (_gst_tag_initialize):
15034 * gst/gsttaglist.h:
15035 API: add GST_TAG_PREVIEW_IMAGE (#343341).
15037 2006-05-30 Wim Taymans <wim@fluendo.com>
15039 Patch by: Alessandro Decina <alessandro at nnva dot org>
15041 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15042 Unlock mutex when removing an unknown pad.
15045 * tests/check/Makefile.am:
15046 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15047 (push_event), (setup), (teardown), (GST_START_TEST),
15048 (gst_collect_pads_suite), (main):
15049 Added collecpads check, disabled for now as check crashes for
15052 2006-05-29 Wim Taymans <wim@fluendo.com>
15054 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15055 Don't leak pads lists.
15057 2006-05-29 Wim Taymans <wim@fluendo.com>
15059 * docs/libs/gstreamer-libs-sections.txt:
15060 * libs/gst/base/gstcollectpads.c:
15061 (gst_collect_pads_set_flushing_unlocked),
15062 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15063 (gst_collect_pads_stop):
15064 * libs/gst/base/gstcollectpads.h:
15065 API: gst_collect_pads_set_flushing()
15066 Added api to set the pads to flushing, useful for seeking
15067 code in elements using collectpads.
15068 Clear segment when receiving a flush.
15070 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15072 * gst/gst.c: (add_path_func), (init_post):
15073 Don't scan registry paths passed via --gst-plugin-path immediately
15074 (will crash, because absolutely nothing is set up and no types are
15075 registered etc.); do this later in init_post(). Fixes #343057.
15077 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15079 * gst/gst.c: (init_post):
15080 if we have fork, fork while reading/rebuilding the registry
15081 so the parent doesn't take the hit of having all plugins loaded
15082 in memory. Fixes #342777.
15084 Check if we have fork()
15085 * win32/common/config.h.in:
15088 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15090 * plugins/elements/gstelements.c:
15091 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15092 (gst_file_src_init), (gst_file_src_set_property),
15093 (gst_file_src_get_property), (gst_file_src_start):
15094 * plugins/elements/gstfilesrc.h:
15095 API: GstFileSrc::use-mmap
15097 Add a use-mmap property to enable easier testing of all code paths.
15098 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15099 in the absence of gnomevfssrc. (Closes #340501)
15101 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15103 * tools/gst-inspect.c:
15104 Add missing include, removes warning of ngettext not being defined on
15107 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15109 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15110 Handle NULL input and output pointers silently as a failed conversion,
15111 rather than g_warnings.
15113 2006-05-25 Wim Taymans <wim@fluendo.com>
15115 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15116 Initialize variable before using. Fixes #342820.
15118 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15120 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15121 Fix off-by-one bug that would only allow peeks of N-1 bytes
15122 from the start even if the buffer to typefind on contains
15123 in fact N bytes of data (makes vorbis typefinding from a
15124 vorbis identification header buffer work).
15126 * tests/check/Makefile.am:
15127 * tests/check/libs/.cvsignore:
15128 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15129 (gst_typefindhelper_suite), (main), (foobar_typefind),
15131 Add very basic unit test for gst_type_find_helper_for_buffer()
15132 that checks for the problem fixed above.
15134 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15136 * tools/gst-inspect.c: (print_interfaces),
15137 (print_element_properties_info), (print_element_list), (main):
15138 add more translatable strings
15140 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15142 Patch by: Julien Moutte <julien at moutte net>
15144 * docs/gst/gstreamer-sections.txt:
15145 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15147 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15148 (gst_fake_sink_preroll):
15149 * plugins/elements/gstfakesink.h:
15150 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15152 2006-05-23 Wim Taymans <wim@fluendo.com>
15154 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15156 Added _CUSTOM error and success GstFlowReturn that can be
15157 used be elements internally.
15158 Added macro to check for SUCCESS flowreturns.
15159 API: GST_FLOW_CUSTOM_SUCCESS
15160 API: GST_FLOW_CUSTOM_ERROR
15161 API: GST_FLOW_IS_SUCCESS
15163 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15164 Added check for GstFlowReturn sanity.
15166 2006-05-23 Wim Taymans <wim@fluendo.com>
15168 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15170 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15171 (gst_collect_pads_event):
15172 clear/reset segment info in FLUSH_STOP.
15175 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15177 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15178 (gst_collect_pads_check_collected):
15179 Flush queued buffer on _stop(), fixes playing again (#342454)
15181 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15183 * tests/check/gst/gststructure.c: (GST_START_TEST),
15184 (gst_structure_suite):
15185 add a test for a complete structure
15187 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15189 * docs/faq/developing.xml:
15190 * docs/faq/faq.xml:
15191 * docs/faq/troubleshooting.xml:
15192 * docs/faq/using.xml:
15193 Some minor FAQ updates that won't change the fact that
15194 our FAQ is badly structured, full of information hardly
15195 anyone new to GStreamer needs to know and lacking lots
15196 of information people constantly ask for.
15198 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15200 * gst/gstpad.c: (gst_pad_set_caps):
15201 Short-circuit gst_pad_set_caps if setting the existing
15202 caps pointer again, and avoid printing debug and
15203 reffing/unreffing the caps.
15205 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15206 There's actually no need to set the caps before pushing -
15207 the acceptcaps method will handle it anyway.
15209 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15211 * docs/gst/gstreamer-sections.txt:
15212 * win32/common/libgstreamer.def:
15213 * gst/gstutils.c: (gst_element_seek_simple):
15215 API: add gst_element_seek_simple() (#342238).
15217 2006-05-18 Edward Hervey <edward@fluendo.com>
15219 * gst/gsttypefind.c: (gst_type_find_get_type):
15220 * gst/gsttypefind.h:
15221 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15222 registered for GstTypeFind pointers. This allows wrapping the structure
15223 in bindings (i.e. gst-python).
15225 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15227 * gst/gsttagsetter.c:
15228 Docs additions and fixes (see #339918).
15230 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15232 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15233 The caps intersection algorithm can produce multiple copies of the
15234 caps. Until that is fixed, we need to simplify the result to be
15235 sure whether the allowed caps are fixed or not.
15237 * plugins/elements/gstqueue.c: (gst_queue_init),
15238 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15239 (gst_queue_push_one):
15240 Proxied buffer alloc should not set the caps on the source pad.
15241 When pushing buffers, we always accept the caps change that triggers.
15242 This prevents negotiation errors caused by caps changing mid-stream
15243 and then being refused on our source pad (because upstream is now
15244 refusing those caps).
15246 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15248 * tests/examples/helloworld/helloworld.c: (main):
15249 Must plug audioconvert and audioresample between decoder
15252 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15254 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15255 (load_feature), (load_plugin):
15256 Allow empty strings for some of the plugin fields so we don't
15257 drop valid plugin entries that were written out correctly
15260 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15262 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15263 Use g_remove and g_rename instead of remove and rename that don't
15264 handle utf8 characters. rename was failing for users who had specific
15265 characters in their name then the registry was built at each
15267 * win32/vs6/gst_inspect.dsp:
15268 * win32/vs6/gst_launch.dsp:
15269 * win32/vs6/libgstbase.dsp:
15270 * win32/vs6/libgstcoreelements.dsp:
15271 * win32/vs6/libgstreamer.dsp:
15272 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15273 build of libgstreamer and clean unused libraries in projects link
15276 2006-05-17 Edward Hervey <edward@fluendo.com>
15278 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15279 The queue is not responsible for pushing an EOS when receiving a fatal
15280 flow error. It's up to the real element driving the pipeline to do that.
15282 2006-05-16 Edward Hervey <edward@fluendo.com>
15284 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15285 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15286 buffer returned a fatal error. It should just send an EOS and stop
15288 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15289 when pushing buffers on the queue and will be able to handle the event.
15291 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15293 * docs/manual/basics-bins.xml:
15294 * docs/manual/basics-init.xml:
15295 Fix typos and minor errors in sample code (#341856).
15297 2006-05-16 Wim Taymans <wim@fluendo.com>
15299 * docs/design/part-qos.txt:
15300 Fix indexes in formulas to make more sense.
15302 2006-05-15 Wim Taymans <wim@fluendo.com>
15304 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15305 Don't report POSITION based on clock time if sync is
15306 disabled in a sink.
15308 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15311 Add cast to make compiler happy - refcount variable was a gint
15312 in GstObject but is a guint in GObject and g_atomic_int_get()
15315 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15317 * gst/parse/Makefile.am:
15318 chain commands using &&, which also makes parallel make work
15320 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15322 * docs/gst/gstreamer-sections.txt:
15325 * gst/gstmessage.h:
15328 === release 0.10.6 ===
15330 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15333 releasing 0.10.6, "Take the cannoli"
15335 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15337 * tools/gst-launch.c: (print_tag):
15338 Fix use of uninitialized variable in the hypothetical
15339 case that some broken plugin creates a GST_TAG_IMAGE
15340 tag containing a NULL buffer (#341667).
15342 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15344 * tools/gst-launch.c: (print_tag):
15345 Print something more intelligible for image tags when
15346 using the -t switch (#341556).
15348 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15353 define GST_MAJORMINOR so we have it available in win32/common/config.h
15354 Possibly remove it from our Makefile.am files later
15355 * win32/common/config.h:
15356 * win32/common/config.h.in:
15357 added GST_MAJORMINOR
15358 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15359 * win32/common/gstversion.h:
15362 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15365 Update win32 files listing.
15366 * win32/common/gstversion.h:
15367 Add GST_MAJORMINOR definition.
15368 * win32/common/libgstreamer.def:
15369 Add new exported functions.
15371 2006-05-12 Michael Smith <msmith@fluendo.com>
15373 * gst/gstplugin.c: (gst_plugin_load_file):
15374 If an so file has no plugin entry point, unload the module.
15376 2006-05-11 Wim Taymans <wim@fluendo.com>
15378 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15379 (gst_queue_set_property):
15380 Don't forget to signal the _chain or _loop function
15381 when the queue size or thresholds change since that might
15382 cause them to make progres again.
15384 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15386 * gst/gstclock.c: (gst_clock_class_init):
15387 * gst/gstindex.c: (gst_index_class_init):
15388 * gst/gstobject.c: (gst_object_class_init):
15389 * gst/gstpad.c: (gst_pad_class_init):
15390 * gst/gstpipeline.c: (gst_pipeline_class_init):
15391 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15392 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15393 * libs/gst/base/gstbasetransform.c:
15394 (gst_base_transform_class_init):
15395 * libs/gst/net/gstnetclientclock.c:
15396 (gst_net_client_clock_class_init):
15397 * libs/gst/net/gstnettimeprovider.c:
15398 (gst_net_time_provider_class_init):
15399 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15400 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15401 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15402 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15403 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15404 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15405 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15406 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15407 * plugins/elements/gsttee.c: (gst_tee_class_init):
15408 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15409 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15410 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15412 2006-05-11 Wim Taymans <wim@fluendo.com>
15414 * gst/gstbuffer.c: (_gst_buffer_initialize):
15415 Register subbufer along with the buffer type so that
15416 it does not accidentally gets registered from N
15417 different streaming threads in a non threadsafe way.
15419 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15423 * gst/gstmessage.h:
15424 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15425 gst_event_ref() and gst_message_ref() functions again
15426 (ugly hack, please do fix if there's a better way besides
15427 overrides.txt, which doesn't seem to work).
15429 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15431 * libs/gst/check/gstcheck.h:
15432 add an assert for setting state to avoid lots of repetitive code
15435 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15437 * gst/gstvalue.c: (gst_value_serialize_flags):
15438 fix a leak if no flags are set
15439 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15442 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15444 * docs/manual/basics-pads.xml:
15445 Expand a bit on caps and filtered links and update
15446 examples that were still using the no longer existing
15447 gst_pad_link_filtered() (#338206).
15449 2006-05-10 Wim Taymans <wim@fluendo.com>
15451 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15452 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15453 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15454 (gst_collect_pads_stop):
15455 * libs/gst/base/gstcollectpads.h:
15456 No need to call _stop in _finalize.
15457 Iterate the main pad list in _finalize.
15458 Added some more debug.
15459 Free lists and data in the right order.
15460 Also free data whem doing _remove_pad when stopped for
15461 backward compatibility protect ::started with PAD_LOCK as
15464 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15466 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15467 (gst_structure_parse_value):
15469 rename a method so that it actually says what it does better
15471 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15473 * gst/gstevent.c: (_gst_event_initialize):
15474 * gst/gstformat.c: (_gst_format_initialize):
15475 make sure some essential types used by events are registered
15476 as part of gst_init()
15477 * gst/gstvalue.c: (gst_value_serialize_flags):
15478 if no flags are set, serialize them to a value that represents NONE
15479 so that deserializing them works
15480 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15481 add tests for serialization and deserialization of flags
15483 2006-05-10 Wim Taymans <wim@fluendo.com>
15485 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15486 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15487 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15488 (gst_collect_pads_event), (gst_collect_pads_chain):
15491 Catch and return errors from the collect function
15492 Refuse data on eos pads.
15494 2006-05-10 Edward Hervey <edward@fluendo.com>
15496 * gst/gstinterface.h:
15497 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15498 GInterface type checking.
15499 They were previously using non-defined macros.
15501 2006-05-09 Wim Taymans <wim@fluendo.com>
15503 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15504 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15505 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15506 (gst_collect_pads_start), (gst_collect_pads_stop),
15507 (gst_collect_pads_peek), (gst_collect_pads_pop),
15508 (gst_collect_pads_available), (gst_collect_pads_read),
15509 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15510 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15511 (gst_collect_pads_chain):
15512 * libs/gst/base/gstcollectpads.h:
15513 Clean up the mess that is collectpads, add comments and
15514 FIXMEs where needed.
15515 Maintain a separate pad list so we can add pads while
15516 collecting the other ones. For this we need a new separate
15518 Fix memory leak in finalize.
15519 Refactor some weird code to set/unset pad flushing flags, mark
15521 Don't crash in _available, _read, _flush when we're EOS.
15523 * tests/check/libs/.cvsignore:
15524 Ignore adapter check binary.
15526 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15528 * gst/gstindex.c: (gst_index_resolver_get_type):
15529 * plugins/elements/gstfakesink.c:
15530 (gst_fake_sink_state_error_get_type):
15531 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15532 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15533 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15534 Const-ify GEnumValue arrays.
15536 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15538 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15539 Add test case for flags + gst_buffer_make_metadata_writable().
15541 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15543 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15544 gst_buffer_make_metadata_writable() should maintain the
15545 buffer flags (those that make sense at least) (see #340859).
15547 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15549 * tools/gst-inspect.c:
15550 * tools/gst-launch.c:
15551 * tools/gst-typefind.c:
15552 * tools/gst-xmlinspect.c:
15554 Fix up includes: need to include stdlib.h in tools.h for exit().
15556 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15558 * gst/gsttaglist.c: (_gst_tag_initialize):
15559 * gst/gsttaglist.h:
15560 API: add GST_TAG_IMAGE tag (#340721).
15562 2006-05-08 Wim Taymans <wim@fluendo.com>
15565 Added some docs for the segment query.
15567 2006-05-08 Wim Taymans <wim@fluendo.com>
15569 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15570 (gst_base_src_loop), (gst_base_src_change_state):
15571 Always push non-flushing serialized events in the streaming
15574 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15576 * gst/gsterror.c: (_gst_stream_errors_init):
15577 Add a missing error string.
15579 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15581 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15582 Add applied_rate to the debug
15584 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15585 Copy applied_rate into the outgoing NEWSEGMENT event
15587 2006-05-08 Wim Taymans <wim@fluendo.com>
15589 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15591 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15592 (gst_base_sink_change_state):
15593 call ::unlock before taking the PREROLL_LOCK so we can safely
15594 handle elements that lock in ::render.
15597 2006-05-08 Edward Hervey <edward@fluendo.com>
15599 * autogen.sh: (CONFIGURE_DEF_OPT):
15600 Darwin's libtoolize is in fact called glibtoolize.
15601 Adding glibtoolize to the list of accepted names for libtoolize.
15603 2006-05-08 Wim Taymans <wim@fluendo.com>
15605 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15606 Unify error handling, don't post an error message
15607 when a push() returns EOS but perform our normal EOS
15608 handling code. Fixes #340772.
15610 2006-05-08 Wim Taymans <wim@fluendo.com>
15612 * docs/design/part-overview.txt:
15613 Make upsteam/downstream concepts more clear.
15614 Give an example of serialized/non-serialized events.
15616 * docs/design/part-events.txt:
15617 * docs/design/part-streams.txt:
15618 Mention applied_rate.
15620 * docs/design/part-trickmodes.txt:
15621 Mention applied rate, flesh out some more use cases.
15623 * gst/gstevent.c: (gst_event_new_new_segment),
15624 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15625 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15626 (gst_event_parse_tag), (gst_event_new_buffer_size),
15627 (gst_event_parse_buffer_size), (gst_event_new_qos),
15628 (gst_event_parse_qos), (gst_event_parse_seek),
15629 (gst_event_new_navigation):
15631 Add applied_rate field to NEWSEGMENT event.
15632 API: gst_event_new_new_segment_full()
15633 API: gst_event_parse_new_segment_full()
15635 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15636 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15637 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15638 * gst/gstsegment.h:
15639 Add applied_rate to GstSegment structure.
15640 Make calculation of stream_time and running_time more correct
15641 wrt rate/applied_rate.
15642 Add some more docs.
15643 API: GstSegment::applied_rate field
15644 API: gst_segment_set_newsegment_full();
15646 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15647 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15648 * libs/gst/base/gstbasetransform.c:
15649 (gst_base_transform_sink_eventfunc),
15650 (gst_base_transform_handle_buffer):
15651 Parse and use applied_rate in the GstSegment field.
15653 * tests/check/gst/gstevent.c: (GST_START_TEST):
15654 Add check for applied_rate field.
15656 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15657 (gstsegments_suite):
15658 Add more checks for various GstSegment operations.
15660 2006-05-08 Wim Taymans <wim@fluendo.com>
15662 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15663 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15664 (gst_base_sink_get_position), (gst_base_sink_change_state):
15665 Store the sync time of the buffer end position separatly in a
15666 new variable eos_rtime so we can properly sync the EOS event.
15668 Fix the docs for gst_base_sink_set_qos_enabled().
15669 Don't set segment start to invalid value when we receive a
15670 non TIME newsegment.
15671 get closer to handling position reporting for negative rates
15674 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15677 Docs about how to print caps for debug purposes.
15679 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15680 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15682 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15684 * gst/gstelement.c:
15685 use full enum names and preprend a '%' in docs strings to make recent
15686 gtk-doc turn that into a link
15688 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15690 * docs/manual/basics-bins.xml:
15691 * docs/manual/basics-bus.xml:
15692 * docs/manual/basics-pads.xml:
15693 Some typo fixes, some additions, some clarifications.
15695 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15697 * tools/gst-inspect.c: (main):
15698 * tools/gst-launch.c: (main):
15699 * tools/gst-run.c: (main):
15700 * tools/gst-typefind.c: (main):
15701 * tools/gst-xmlinspect.c: (main):
15702 Use the string passed to g_option_context_new() for
15703 what it's intended for - the program name is already
15706 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15708 * tools/Makefile.am:
15709 * tools/gst-inspect.c: (main):
15710 * tools/gst-launch.c: (main):
15711 * tools/gst-xmlinspect.c: (main):
15713 Add back --version command line option (#340460).
15715 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15716 Add --version option and use GOption for argument parsing; refactor a
15717 bit; accept directories as arguments and recurse into them; lastly,
15718 print a decent error message when things go wrong.
15720 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15722 * docs/manual/basics-bins.xml:
15723 Don't mention GstThread (#340611)
15724 * docs/manual/basics-elements.xml:
15725 Update link to GObject tutorial (#340607)
15727 2006-05-05 Wim Taymans <wim@fluendo.com>
15730 * gst/gstminiobject.c:
15731 Add note about refcounting and miniobject/buffer writeability
15732 to docs. Fixes #340604
15734 * gst/gstelementfactory.h:
15735 Added some explanation about @klass.
15737 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15739 * docs/manual/intro-motivation.xml:
15740 * docs/manual/manual.xml:
15741 Avoid CORBA & Bonobo references (#340598)
15743 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15745 * docs/manual/basics-bus.xml:
15746 * docs/manual/basics-pads.xml:
15747 Fix up some inaccuracies and omissions (#340609)
15749 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15751 * gst/gstghostpad.c:
15752 Small typo in docs (#340625)
15754 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15756 * gst/parse/Makefile.am:
15757 Make 'make -j' proof (see #340698).
15759 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15762 Require GLib-2.8 here as well.
15764 2006-05-05 Wim Taymans <wim@fluendo.com>
15766 * gst/glib-compat.c:
15767 * gst/gst.c: (init_pre):
15768 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15769 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15770 (gst_object_dispatch_properties_changed):
15772 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15773 * gst/gststructure.c: (gst_structure_set_valist):
15774 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15775 Remove pre glib2.8 compatibility, fixes #340508
15777 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15779 * gst/gsttaglist.h:
15780 Mention type of tags in doc blurbs.
15782 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15784 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15785 (gst_pad_configure_src), (gst_pad_push):
15786 Restore acceptcaps checking behaviour now that good plugins have
15789 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15791 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15798 * gst/gstmessage.c:
15802 * gst/parse/Makefile.am:
15803 * libs/gst/base/gstadapter.c:
15804 * libs/gst/base/gstbasesrc.c:
15805 * libs/gst/base/gstpushsrc.c:
15806 * libs/gst/base/gsttypefindhelper.c:
15807 * plugins/elements/gstfakesrc.c:
15808 * plugins/elements/gstidentity.c:
15809 Make sure gstprivate.h and/or config.h are
15810 always included first, otherwise some of our
15811 defines (like _FILE_OFFSET_BITS) might be
15812 redefined in the system headers. Fixes build
15813 on opensolaris (#340016).
15815 2006-05-04 Wim Taymans <wim@fluendo.com>
15817 * docs/libs/gstreamer-libs-sections.txt:
15818 API: addition: gst_adapter_take_buffer()
15820 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15821 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15822 (gst_adapter_available_fast):
15823 * libs/gst/base/gstadapter.h:
15824 Prepare for optimizing the hell out of this hugely inefficient
15826 Added gst_adapter_take_buffer() so we can at least start thinking
15827 about subbuffering and merging.
15828 Added some comments.
15830 * tests/check/Makefile.am:
15831 * tests/check/libs/adapter.c: (GST_START_TEST),
15832 (gst_adapter_suite), (main):
15833 Added GstAdapter check.
15835 2006-05-04 Wim Taymans <wim@fluendo.com>
15837 * docs/design/part-overview.txt:
15838 Fix some typos, add blurb about buffer flags.
15840 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15842 * docs/libs/gstreamer-libs-sections.txt:
15843 make sure GstBaseTransformClass shows up in the docs
15844 * libs/gst/base/gstbasetransform.c:
15845 * libs/gst/base/gstbasetransform.h:
15846 move docs so gtk-doc picks it up now
15848 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15850 * docs/libs/gstreamer-libs-sections.txt:
15851 add missing symbols to docs
15853 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15856 back out the newsegment handling change, see #340060 for ongoing
15859 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15861 * tools/gst-run.c: (get_candidates), (main):
15862 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15863 work); fix typo in error message. Fixes #340079.
15865 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15867 * common/Makefile.am:
15868 * docs/Makefile.am:
15869 * docs/faq/Makefile.am:
15870 * docs/gst/Makefile.am:
15871 * docs/libs/Makefile.am:
15872 * docs/manual/Makefile.am:
15873 * docs/plugins/Makefile.am:
15874 * docs/pwg/Makefile.am:
15875 * docs/slides/Makefile.am:
15877 * common/upload.mak:
15878 move upload.mak to common
15880 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15882 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15883 add more asserts on refcounts
15884 do more cleanup at end of tests
15885 fix test leaks showing in FC5
15887 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15889 * plugins/elements/gsttypefindelement.c:
15890 (gst_type_find_element_handle_event):
15891 reverted wrong change and reflowed code to avoid others falling into
15894 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15896 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15897 fix changelog entry about last collectpads change,
15898 add notes about proper fix
15900 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15903 * gst/gstregistry.c: (gst_registry_scan_path_level),
15904 (gst_registry_scan_path):
15905 * gst/gstregistry.h:
15906 only write out registry if it has changed, fixes #338339
15908 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15911 * gst/gstpipeline.c:
15912 * plugins/elements/gstcapsfilter.c:
15913 * plugins/elements/gstfakesink.c:
15914 * plugins/elements/gstfakesrc.c:
15915 * plugins/elements/gstfdsink.c:
15916 * plugins/elements/gstfdsrc.c:
15917 * plugins/elements/gstfilesink.c:
15918 * plugins/elements/gstfilesrc.c:
15919 * plugins/elements/gstidentity.c:
15920 * plugins/elements/gstqueue.c:
15921 * plugins/elements/gsttee.c:
15922 * plugins/elements/gsttypefindelement.c:
15923 (gst_type_find_element_handle_event):
15924 make GstElementDetails const
15926 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15928 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15930 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15931 more detailed debug and formatting cleanup,
15932 forward newsegments to src-pad (so that e.g. adder not eats them)
15934 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15936 * gst/gstutils.c: (gst_element_link_pads):
15937 cleanup double code
15939 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15941 * libs/gst/controller/gstcontroller.c:
15942 (gst_controller_sync_values):
15944 * tests/check/libs/controller.c: (GST_START_TEST),
15945 (gst_controller_suite):
15946 a new test for live value handling
15948 2006-04-28 Wim Taymans <wim@fluendo.com>
15950 * gst/gstutils.c: (push_and_ref):
15951 Added some more docs.
15952 Fix refcount issue whith gst_element_found_tags() helper
15953 function. Fixes #338335
15955 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15956 Added testsuite for gst_element_found_tags().
15958 2006-04-28 Michael Smith <msmith@fluendo.com>
15960 * gst/gstvalue.c: (gst_value_serialize_flags):
15961 Avoid NULL dereference when trying to serialize flags containing
15964 2006-04-28 Michael Smith <msmith@fluendo.com>
15966 * plugins/elements/gsttypefindelement.c:
15967 (gst_type_find_element_handle_event):
15968 If we get EOS before any data is accumulated, don't use
15969 uninitialised local variables.
15971 2006-04-28 Michael Smith <msmith@fluendo.com>
15973 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15974 (gst_dp_event_from_packet):
15975 Fixes in reading/writing events over GDP (not currently used?) -
15976 dereferencing NULL events for unknown/invalid event types, memory
15977 leak, and change g_warning to GST_WARNING.
15979 2006-04-28 Wim Taymans <wim@fluendo.com>
15981 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15982 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15983 (gst_base_sink_get_position), (gst_base_sink_change_state):
15984 When frame dropping is enabled, we should not ignore frames
15985 without a duration.
15986 Update some documentation.
15988 2006-04-28 Wim Taymans <wim@fluendo.com>
15990 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15991 (gst_base_src_send_event), (gst_base_src_change_state):
15992 Documentation updates.
15994 2006-04-28 Wim Taymans <wim@fluendo.com>
15996 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15997 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15998 handle EAGAIN, EINTR and short writes correctly. Also clean
15999 up some error cases, avoid a deadlock on bad file descriptors and
16000 use GST_DEBUG_OBJECT.
16003 2006-04-28 Wim Taymans <wim@fluendo.com>
16005 * gst/gstvalue.c: (gst_value_serialize_buffer),
16006 (gst_value_deserialize_buffer):
16007 Don't try to serialize a GValue with a NULL buffer.
16010 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16011 Added check for serialisation of NULL buffers.
16013 2006-04-28 Wim Taymans <wim@fluendo.com>
16015 * gst/gstminiobject.c: (gst_value_take_mini_object):
16016 Taking a NULL miniobject is valid, fix the case where
16017 we try to unref the NULL miniobject.
16019 2006-04-28 Wim Taymans <wim@fluendo.com>
16021 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16023 * gst/gstbin.c: (gst_bin_handle_message_func):
16025 Don't leak bin refcount when a state recalc is
16026 in progress and we delay another one #339808.
16028 2006-04-28 Wim Taymans <wim@fluendo.com>
16030 * docs/design/part-TODO.txt:
16031 Mention QoS as an ongoing work item.
16033 * docs/design/part-buffering.txt:
16034 New doc about buffering that needs to be fleshed out
16037 * docs/design/part-qos.txt:
16038 More QoS policy for decoders/demuxers/transforms
16040 * docs/design/part-trickmodes.txt:
16043 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16048 === release 0.10.5 ===
16050 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16053 releasing 0.10.5, "Fogo"
16055 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16057 patch by: Wim Taymans
16059 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16060 (gst_pad_configure_src), (gst_pad_push):
16061 * gst/gstpipeline.c: (gst_pipeline_init):
16062 Fix internal data flow errors. Fixes #338711.
16064 2006-04-12 Wim Taymans <wim@fluendo.com>
16066 * tests/check/gst/gstelement.c: (GST_START_TEST):
16067 Don't leak the factory.
16069 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16072 * win32/common/config.h:
16075 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16077 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16078 (gst_controller_unset_all):
16079 Free allocated GstTimedValues when freeing list nodes.
16080 Should fix leaks 'make check-valgrind' complains about.
16082 * win32/common/libgstcontroller.def:
16083 Add gst_controller_unset_all.
16085 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16087 * docs/libs/gstreamer-libs-sections.txt:
16088 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16089 (gst_controller_unset_all):
16090 * libs/gst/controller/gstcontroller.h:
16091 API: Added new method gst_controller_unset_all()
16092 fixed gst_controller_unset()
16093 * tests/check/libs/controller.c: (GST_START_TEST),
16094 (gst_controller_suite):
16095 Added two testcases for new and fixed method
16097 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16099 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16100 MSG_DONTWAIT is not defined on Cygwin, so work
16101 around that (fixes #317048).
16103 2006-04-11 Wim Taymans <wim@fluendo.com>
16105 * gst/gstelementfactory.c: (gst_element_register),
16106 (gst_element_factory_create), (gst_element_factory_make):
16109 Updated docs (Fixes #131079)
16111 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16114 * tests/check/gst/gstelement.c: (GST_START_TEST),
16115 (gst_element_suite):
16116 Added testcase for elementfactory class field.
16118 2006-04-10 Wim Taymans <wim@fluendo.com>
16120 * gst/gstsegment.c:
16121 Added some more docs.
16123 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16124 (gst_base_sink_reset_qos):
16125 Calculate more accurate rate values.
16127 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16129 * gst/gst_private.h:
16130 add a new #ifdef to use __declspec(dllimport) only for
16131 other modules and not for gstreamer core
16132 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16133 use gst_guint64_to_gdouble for conversion
16134 * win32/common/libgstreamer.def:
16135 add new exported functions
16136 * win32/vs6/gst_inspect.dsp:
16137 * win32/vs6/gst_launch.dsp:
16138 * win32/vs6/libgstbase.dsp:
16139 * win32/vs6/libgstcontroller.dsp:
16140 * win32/vs6/libgstcoreelements.dsp:
16141 * win32/vs6/libgstdataprotocol.dsp:
16142 * win32/vs6/libgstnet.dsp:
16143 update project files
16145 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16147 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16148 * gst/gstclock.c: (gst_clock_class_init):
16149 * gst/gstelement.c: (gst_element_class_init):
16150 * gst/gstindex.c: (gst_index_class_init):
16151 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16152 * gst/gstobject.c: (gst_object_class_init),
16153 (gst_signal_object_class_init):
16154 * gst/gstpad.c: (gst_pad_class_init):
16155 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16156 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16157 * gst/gstregistry.c: (gst_registry_class_init):
16158 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16159 * gst/gsttask.c: (gst_task_class_init):
16160 * gst/gstxml.c: (gst_xml_class_init):
16161 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16162 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16163 (gst_base_src_loop):
16164 * libs/gst/controller/gstcontroller.c:/
16165 (_gst_controller_class_init):
16166 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16167 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16168 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16169 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16170 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16171 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16173 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16175 * gst/gstpad.c: (gst_pad_link):
16176 Must set peer pads before calling the link function, otherwise
16177 a task started from a link function might get a flow-not-linked
16178 result when trying to push because the other thread where the
16179 linking happens hasn't had a chance to set the peers yet. This
16180 might happen for example when a queue gets linked to a downstream
16181 element, as queue starts a streaming task when its source pad
16182 gets linked. Happens in real life when playing back flac/musepack
16183 files in playbin (#332390).
16185 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16189 * libs/gst/base/gstadapter.h:
16190 * libs/gst/base/gstbasesink.h:
16191 * libs/gst/base/gstbasesrc.h:
16192 * libs/gst/base/gstbasetransform.h:
16193 * libs/gst/base/gstcollectpads.h:
16194 * libs/gst/base/gstpushsrc.h:
16195 Fix broken GObject macros
16197 2006-04-07 Wim Taymans <wim@fluendo.com>
16199 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16200 Initialize start and stop times, thanks valgrind.
16202 2006-04-07 Wim Taymans <wim@fluendo.com>
16204 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16205 Be a bit nicer to badly behaving upstream elements that expect
16206 us to deal with non TIME segments and timestamps (such as fakesrc
16209 2006-04-07 Wim Taymans <wim@fluendo.com>
16212 Small documentation clarification about the signal watch.
16214 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16215 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16216 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16217 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16218 (gst_base_sink_get_position_last),
16219 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16220 Convert and store timestamps in stream time and running time, the
16221 raw timestamps are not useful, also document this better.
16222 Use different window sizes for good and bad QoS observations so
16223 we react to badness a little quicker.
16224 Keep track of the amount of rendered and dropped buffers.
16225 Send QoS timestamps in running time.
16227 * libs/gst/base/gstbasetransform.c:
16228 (gst_base_transform_sink_eventfunc),
16229 (gst_base_transform_handle_buffer):
16230 Compare QoS timestamps against running time.
16232 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16235 Typo fixes in docs.
16237 2006-04-06 Michael Smith <msmith@fluendo.com>
16239 * gst/gstpad.c: (gst_pad_set_property):
16240 Use g_value_get_object() instead of g_value_dup_gst_object(),
16241 to avoid double-reffing the pad template (which we then sink,
16242 so this worked previously if (and only if) the pad template
16245 * gst/gstpadtemplate.c: (gst_pad_template_init),
16246 (gst_pad_template_pad_created):
16247 Never return floating references to pad templates, create
16248 them as initially-sunken.
16250 Document an extra function (and make this stop sinking our
16251 pad template, since that is now guaranteed to do nothing,
16252 since we created it sunken).
16254 * gst/gstghostpad.c:
16257 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16259 * gst/gstinfo.c: (__gst_in_valgrind):
16262 * plugins/elements/gsttypefindelement.c:
16263 (gst_type_find_element_chain):
16264 Don't leak buffer caps.
16266 2006-04-06 Michael Smith <msmith@fluendo.com>
16268 * gst/parse/grammar.y:
16269 Fix a leak in parse-launch for any source-or-sink named element
16272 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16273 Unref the pipeline if it exists after we've failed parsing.
16275 2006-04-05 Michael Smith <msmith@fluendo.com>
16277 * gst/gstpipeline.c: (gst_pipeline_init):
16278 When we create a pipeline bus, initially create it in flushing mode.
16279 Fixes leaks in at least one test, and makes a new pipeline work the
16280 same as one that has gone to READY and then back to NULL.
16282 * gst/gstelement.c:
16285 2006-04-05 Michael Smith <msmith@fluendo.com>
16287 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16288 Unref a pad we reffed.
16289 * tests/check/gst/gstutils.c: (GST_START_TEST):
16292 2006-04-05 Michael Smith <msmith@fluendo.com>
16294 * gst/gstquery.c: (gst_query_set_formats),
16295 (gst_query_set_formatsv):
16296 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16298 2006-04-05 Michael Smith <msmith@fluendo.com>
16300 * tests/check/generic/sinks.c: (GST_START_TEST):
16301 Fix a variety of memleaks in sinks check, which are only sometimes
16302 shown by running the tests under valgrind (weird?).
16304 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16306 * docs/version.entities.in:
16307 Fix the substituted entity name after thomas' changes on the
16310 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16312 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16315 2006-04-05 Andy Wingo <wingo@pobox.com>
16317 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16319 * libs/gst/base/gstbasetransform.c
16320 (gst_base_transform_sink_eventfunc): When resetting our segment on
16321 FLUSH_STOP, also update the flag saying we haven't seen a
16324 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16326 Patch by: Paolo Borelli <pborelli at katamail dot com>
16328 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16329 (gst_plugin_check_license):
16330 minor clean-ups: G_DEFINE_TYPE already takes care of the
16331 parent_class stuff, no need to do it twice. Mark array of
16332 license strings as constant. (#337103)
16334 2006-04-04 Michael Smith <msmith@fluendo.com>
16336 * tools/gst-inspect.c: (print_element_list):
16337 Free the right plugin list; fixes a memory leak.
16339 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16341 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16343 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16344 Don't error out on empty buffers (#336945).
16346 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16348 * docs/libs/gstreamer-libs-sections.txt:
16349 * gst/gsttaglist.c:
16350 * libs/gst/base/gstbasesink.c:
16351 * libs/gst/base/gstbasesink.h:
16352 * libs/gst/base/gstbasesrc.c:
16353 * libs/gst/base/gstbasesrc.h:
16354 Documentation updates. Make BaseSink and BaseSrc docs contain the
16355 class structure so that people can actually see the prototypes for
16356 virtual functions they're supposed to be overriding.
16358 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16360 * plugins/elements/gsttypefindelement.c:
16361 (gst_type_find_element_chain):
16362 More debug info; when skipping typefinding, send cached
16363 events in all cases.
16365 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16368 use new AS_VERSION and AS_NANO macros
16369 * gst/gst-i18n-lib.h:
16372 * gst/gstversion.h.in:
16373 * win32/common/config.h:
16374 * win32/common/config.h.in:
16377 2006-03-31 Michael Smith <msmith@fluendo.com>
16379 * plugins/elements/gsttypefindelement.c:
16380 (gst_type_find_element_chain):
16381 Do not typefind content if the buffers already have caps.
16382 Neccesary for icydemux (#333657), and the right thing to do anyway.
16384 2006-03-30 Wim Taymans <wim@fluendo.com>
16386 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16387 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16388 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16389 (gst_base_sink_record_qos_observation),
16390 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16391 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16392 (gst_base_sink_change_state):
16393 More QoS measurements as described in the design doc.
16394 Get rid of ringbuffer with observations, running average is
16395 more simple and equally good.
16396 Calculates valid proportion now.
16397 Added beginning of flood measurement.
16399 2006-03-29 Wim Taymans <wim@fluendo.com>
16401 * docs/design/part-qos.txt:
16403 Small documentation updates and additions.
16405 2006-03-29 Wim Taymans <wim@fluendo.com>
16407 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16408 (gst_base_src_send_event), (gst_base_src_loop),
16409 (gst_base_src_change_state):
16410 Perform the EOS logic when we reach the segment stop position.
16411 Fix compilation on gcc4.1
16413 2006-03-29 Wim Taymans <wim@fluendo.com>
16415 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16417 * plugins/elements/gstqueue.c: (gst_queue_init),
16418 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16419 (gst_queue_set_property):
16420 * plugins/elements/gstqueue.h:
16421 In queue, when EOS is received, if minimum threshold > max_size -
16422 current_level, there is chance that queue blocks forever in conditional
16423 item del wait. This is because the queue is not emptied completely due
16424 to minimum threshold. Here is another approach. Instead of setting
16425 cur_levels to max in EOS, just zero all minimum threshold levels. This
16426 should make sure that queue gives out all data. When going to READY
16427 (stop) state, just reset the original minimum threshold levels.
16430 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16432 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16433 (gst_type_find_element_handle_event),
16434 (gst_type_find_element_send_cached_events),
16435 (gst_type_find_element_change_state):
16436 * plugins/elements/gsttypefindelement.h:
16437 When typefinding is done in push mode, we should cache
16438 events we receive during typefinding instead of just
16439 dropping them (e.g. newsegment, custom events from
16440 dvdreadsrc etc.) and then send them out once we've
16441 determined the type of the stream (and decodebin
16442 has had a chance to plug in a decoder/demuxer).
16444 2006-03-27 Wim Taymans <wim@fluendo.com>
16446 * docs/design/part-qos.txt:
16449 2006-03-27 Wim Taymans <wim@fluendo.com>
16451 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16453 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16454 (gst_base_src_send_event), (gst_base_src_change_state):
16455 Handle element seek correctly when we are streaming.
16458 2006-03-24 Michael Smith <msmith@fluendo.com>
16460 * docs/faq/gst-uninstalled:
16461 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16462 allow you to correctly run intalled applications built against old
16463 core, using plugins that require updated core (e.g. running
16464 installed totem against a full uninstalled gstreamer stack)
16466 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16468 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16471 2006-03-24 Wim Taymans <wim@fluendo.com>
16473 * docs/gst/gstreamer-sections.txt:
16474 Rearrange the order of the methods so that related methods
16475 are grouped together in sections.
16477 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16479 * gst/gstelement.c:
16480 Little clarification in the docs
16482 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16486 * plugins/elements/gstidentity.c:
16487 * plugins/elements/gstqueue.c:
16488 * plugins/elements/gsttee.c:
16489 * plugins/elements/gsttypefindelement.c:
16490 GST_ELEMENT_DETAILS formatting
16492 2006-03-24 Wim Taymans <wim@fluendo.com>
16494 * libs/gst/base/gstbasesink.h:
16495 Only add fields, not insert or we break ABI.
16497 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16499 * win32/common/libgstbase.def:
16500 * win32/common/libgstreamer.def:
16501 Update, add recently added functions.
16503 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16505 * docs/gst/gstreamer-sections.txt:
16506 * gst/gstutils.c: (gst_pad_query_peer_position),
16507 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16509 API: add some new utility functions:
16510 - gst_pad_query_peer_position()
16511 - gst_pad_query_peer_duration()
16512 - gst_pad_query_peer_convert()
16514 2006-03-23 Wim Taymans <wim@fluendo.com>
16516 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16517 (gst_base_sink_init), (gst_base_sink_finalize),
16518 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16519 (gst_base_sink_set_property), (gst_base_sink_get_property),
16520 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16521 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16522 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16523 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16524 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16525 (gst_base_sink_preroll_object), (gst_base_sink_event),
16526 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16527 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16528 (gst_base_sink_query), (gst_base_sink_change_state):
16529 Decouple max-lateness and the fact that QoS messages are generated
16530 with a new property (qos).
16531 added API: GstBaseSink::async_play()
16532 Add vmethod so subclasses can be notified of ASYNC playing
16534 Collect timestamp start and stop to report better current
16535 position in EOS/PLAYING/PAUSED/READY/NULL.
16536 Refactor QoS/frame dropping and other measurements.
16537 API: GstBaseSrc::qos
16540 * libs/gst/base/gstbasesink.h:
16541 Added Private struct.
16542 API: gst_base_sink_set_qos_enabled()
16543 API: gst_base_sink_is_qos_enabled()
16545 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16547 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16548 If compiling against GLib-2.8 or newer, try to read the
16549 registry file using GMappedFile first before falling back
16550 to fopen() + fread() (#332151).
16552 2006-03-22 Wim Taymans <wim@fluendo.com>
16554 * gst/gstinfo.c: (gst_debug_set_active),
16555 (gst_debug_category_set_threshold):
16556 Disable debugging unless explicitly activated.
16559 2006-03-22 Wim Taymans <wim@fluendo.com>
16561 * gst/gstelement.c: (gst_element_set_locked_state),
16562 (gst_element_dispose):
16563 Cleanup the error case.
16565 * gst/gstobject.c: (gst_object_dispose):
16566 print a critical when some object was disposed with
16567 a parent, also revive the object since it might
16570 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16572 * tools/gst-launch.1.in:
16575 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16578 * tests/check/Makefile.am:
16579 disable some tests when we don't have a registry
16580 * tests/check/gst/gstutils.c: (gst_utils_suite):
16581 don't build the part that needs parsing
16583 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16586 * tests/examples/Makefile.am:
16587 fix --disable-parse build
16589 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16591 * tools/gst-feedback.1.in:
16592 Fix typo: s/feeback/feedback/ (#133494).
16594 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16596 * tools/Makefile.am:
16597 * tools/gst-launch.1.in:
16598 Add FILES section and correct entry about GST_REGISTRY_PATH
16599 environment variable (#133495; #133494).
16601 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16603 * tools/Makefile.am:
16604 * tools/gst-md5sum.1.in:
16605 * tools/gst-md5sum.c:
16606 Remove gst-md5sum and man page (the md5sink element
16607 required was removed ages ago)
16609 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16611 * gst/gststructure.c: (gst_structure_id_set_value):
16612 Make sure that string fields in structures/taglists
16613 contain valid UTF-8 - we don't want to pass rubbish to
16614 applications because of a buggy plugin (cp. #334167).
16616 2006-03-21 Edward Hervey <edward@fluendo.com>
16618 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16619 (gst_bin_handle_message_func):
16620 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16621 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16622 (gst_element_set_bus_func):
16623 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16624 * gst/gstminiobject.c: (gst_value_set_mini_object),
16625 (gst_value_take_mini_object):
16626 * gst/gstpad.c: (gst_pad_set_pad_template):
16627 * gst/gstpipeline.c: (gst_pipeline_dispose),
16628 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16629 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16630 (gst_collect_pads_chain):
16631 * libs/gst/net/gstnettimeprovider.c:
16632 (gst_net_time_provider_set_property):
16633 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16634 It's in fact all issues with gst_*object_replace().
16636 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16638 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16640 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16641 * pkgconfig/gstreamer-check.pc.in:
16642 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16644 2006-03-21 Edward Hervey <edward@fluendo.com>
16648 * gst/gstmessage.h:
16649 gst_[buffer|event|message]_ref() macros are replaced by a static
16650 inline functions because gcc-4.1 will about if the return value
16652 * tests/check/gst/gstevent.c: (event_probe):
16653 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16655 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16658 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16659 the type' case. (Closes: #335195 for now). In the future, when we
16660 depend on GLib 2.10, we could also intern the type name using
16661 g_intern_static_string()
16663 2006-03-20 Wim Taymans <wim@fluendo.com>
16665 * gst/gstbin.c: (gst_bin_handle_message_func),
16666 (bin_query_max_init), (bin_query_position_fold),
16667 (bin_query_position_done), (gst_bin_query):
16668 Position query should also take max of all streams.
16670 2006-03-20 Wim Taymans <wim@fluendo.com>
16672 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16673 (gst_fake_src_finalize):
16674 Fix leaks in fakesrc.
16676 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16677 Fix leaks in the testcase.
16679 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16681 * gst/gst_private.h:
16682 add win32 specific import decoration(__declspec(dllimport))
16683 for all extern GstDebugCategory * variables
16684 * win32/common/libgstbase.def:
16685 * win32/common/libgstcontroller.def:
16686 * win32/common/libgstreamer.def:
16687 Add some exports, remove empty lines
16688 * win32/common/libgstdataprotocol.def:
16689 * win32/common/libgstdataprotocol.dsp:
16690 * win32/common/libgstnet.def:
16691 * win32/common/libgstnet.dsp:
16692 new project files and exportation files added
16694 2006-03-19 Wim Taymans <wim@fluendo.com>
16696 * tests/check/libs/basesrc.c: (eos_event_counter):
16697 Use proper return value for probe.
16699 2006-03-17 Wim Taymans <wim@fluendo.com>
16701 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16703 Don't leak buffers, caps and pads on negotiation errors.
16705 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16707 * docs/faq/cvs.xml:
16708 * docs/faq/dependencies.xml:
16709 * docs/faq/developing.xml:
16710 * docs/faq/faq.xml:
16711 * docs/faq/general.xml:
16712 * docs/faq/getting.xml:
16713 * docs/faq/legal.xml:
16714 * docs/faq/troubleshooting.xml:
16715 * docs/faq/using.xml:
16716 Faq review and update.
16718 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16720 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16722 Don't pound the cpu to pieces by checking get_caps when accept_caps
16723 is called with the same caps as the pad already has.
16724 Use GST_DEBUG_OBJECT when outputting caps change information.
16726 2006-03-15 Wim Taymans <wim@fluendo.com>
16728 * gst/gstclock.c: (gst_clock_class_init):
16731 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16736 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16737 (gst_pad_accept_caps), (gst_pad_configure_sink),
16738 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16739 Make the default acceptcaps behaviour be to check the requested
16740 caps against the gst_pad_get_caps output.
16742 Ensure that gst_pad_accept_caps is used to check caps when a pad
16743 doesn't have a setcaps function, so that pads automatically refuse
16744 caps that they don't allow in their pad template. (Fixes #332986)
16746 When a buffer with attached caps is pushed, ensure that the source
16747 pad receives those caps even if the element didn't call
16748 gst_pad_set_caps first.
16750 2006-03-15 Wim Taymans <wim@fluendo.com>
16752 * libs/gst/base/gstadapter.c:
16755 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16757 * win32/common/libgstbase.def:
16758 * win32/common/libgstcontroller.def:
16759 * win32/common/libgstreamer.def:
16760 Add a whole bunch of missing functions (#334434).
16762 2006-03-14 Wim Taymans <wim@fluendo.com>
16764 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16765 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16766 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16767 Better debug info when we receive a segment event.
16768 Reorganize a bit so we can pass the get_times() results around.
16769 Use the segment format when calculating the running time.
16770 Don't do QoS is sync is disabled or we have no clock or the
16771 element does not want us to sync to the clock.
16772 Don't drop buffers if QoS is disabled for now.
16774 2006-03-14 Wim Taymans <wim@fluendo.com>
16776 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16777 Marked the stats property as unimplemented so people don't get
16779 Add debug message when regression goes wrong.
16780 Added some more docs.
16782 2006-03-14 Wim Taymans <wim@fluendo.com>
16784 * gst/gstsegment.c: (gst_segment_to_stream_time):
16785 Return correct return type in case of errors.
16787 2006-03-14 Wim Taymans <wim@fluendo.com>
16789 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16790 Don't segfault on invalid formats.
16792 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16794 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16795 Can't use gst_segment_to_running_time() when the segment
16796 is not in GST_TIME_FORMAT (like with filesink, for example).
16797 Stops flac encoding pipelines from spewing critical warnings
16800 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16802 * gst/gstpipeline.c: (gst_pipeline_class_init):
16803 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16805 * plugins/elements/gsttypefindelement.c:
16806 (gst_type_find_element_handle_event):
16807 Don't try to typefind empty streams.
16809 2006-03-14 Wim Taymans <wim@fluendo.com>
16811 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16812 (gst_base_sink_do_qos):
16813 Separate QoS calculation.
16814 Only drop buffers when lateness is bigger than the
16815 duration of the buffer.
16817 2006-03-13 Wim Taymans <wim@fluendo.com>
16819 * gst/gstpipeline.c: (gst_pipeline_set_property),
16820 (gst_pipeline_get_property), (do_pipeline_seek),
16821 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16822 (gst_pipeline_get_delay):
16823 Don't deadlock when reading properties.
16825 2006-03-13 Wim Taymans <wim@fluendo.com>
16827 * libs/gst/base/gstbasetransform.c:
16828 (gst_base_transform_class_init), (gst_base_transform_init),
16829 (gst_base_transform_sink_event),
16830 (gst_base_transform_sink_eventfunc),
16831 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16832 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16833 (gst_base_transform_set_property),
16834 (gst_base_transform_get_property),
16835 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16836 (gst_base_transform_set_qos_enabled),
16837 (gst_base_transform_is_qos_enabled):
16838 * libs/gst/base/gstbasetransform.h:
16839 Make basetransform virtual method for src events too.
16840 Handle QOS in basetransform.
16841 API: gst_base_transform_update_qos()
16842 API: gst_base_transform_set_qos_enabled()
16843 API: gst_base_transform_is_qos_enabled()
16845 2006-03-13 Wim Taymans <wim@fluendo.com>
16847 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16848 (gst_base_sink_do_sync):
16850 Use QOS debug category.
16852 2006-03-13 Wim Taymans <wim@fluendo.com>
16854 * plugins/elements/gstqueue.c:
16855 Very small doc update.
16857 2006-03-13 Wim Taymans <wim@fluendo.com>
16859 * gst/gst_private.h:
16860 * gst/gstinfo.c: (_gst_debug_init):
16861 Added QOS debug category
16863 2006-03-13 Wim Taymans <wim@fluendo.com>
16865 * docs/gst/gstreamer-sections.txt:
16866 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16868 * gst/gstbus.c: (gst_bus_class_init):
16871 * gst/gstelement.c: (gst_element_set_locked_state):
16872 * gst/gstsegment.c:
16873 Documentation updates.
16875 * gst/gstpipeline.c: (gst_pipeline_get_type),
16876 (gst_pipeline_class_init), (gst_pipeline_init),
16877 (gst_pipeline_dispose), (gst_pipeline_set_property),
16878 (gst_pipeline_get_property), (do_pipeline_seek),
16879 (gst_pipeline_send_event), (gst_pipeline_change_state),
16880 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16881 (gst_pipeline_get_delay):
16882 * gst/gstpipeline.h:
16883 Added methods for setting the delay.
16884 API: gst_pipeline_set_delay()
16885 API: gst_pipeline_get_delay()
16886 Add pipeline debug category
16889 Don't reset stream time when seek failed.
16891 2006-03-13 Wim Taymans <wim@fluendo.com>
16893 * docs/design/draft-klass.txt:
16894 * docs/design/part-clocks.txt:
16895 * docs/design/part-events.txt:
16896 * docs/design/part-gstbin.txt:
16897 * docs/design/part-gstpipeline.txt:
16898 * docs/design/part-messages.txt:
16899 * docs/design/part-negotiation.txt:
16900 * docs/design/part-overview.txt:
16901 * docs/design/part-preroll.txt:
16902 * docs/design/part-seeking.txt:
16903 * docs/design/part-states.txt:
16904 * docs/design/part-streams.txt:
16905 Documentation updates.
16907 2006-03-12 Julien MOUTTE <julien@moutte.net>
16909 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16910 us to leak strings...
16912 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16914 * libs/gst/net/gstnettimeprovider.c:
16916 * win32/common/config.h:
16919 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16921 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16924 Don't check for libgnomeui (leftover from old examples
16925 that aren't built or disted any longer) (#334303).
16927 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16929 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16930 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16931 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16932 there's no space left on the device.
16934 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16937 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16938 to cast the input to GstClockTime before comparing with
16939 another GstClockTime value.
16941 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16946 === release 0.10.4 ===
16948 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16951 releasing 0.10.4, "Light"
16953 2006-03-10 Michael Smith <msmith@fluendo.com>
16955 * libs/gst/dataprotocol/dataprotocol.c:
16956 Fix docs for dataprocotol to not get the return types completely
16957 wrong for a few functions.
16959 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16961 * docs/gst/gstreamer-sections.txt:
16962 * gst/gstpipeline.c: (gst_pipeline_class_init),
16963 (gst_pipeline_init), (gst_pipeline_set_property),
16964 (gst_pipeline_get_property), (gst_pipeline_change_state),
16965 (gst_pipeline_set_auto_flush_bus),
16966 (gst_pipeline_get_auto_flush_bus):
16967 * gst/gstpipeline.h:
16968 Add new API: gst_pipeline_set_auto_flush_bus() and
16969 gst_pipeline_get_auto_flush_bus() to disable automatic
16970 flushing of the pipeline's GstBus when going from READY
16971 to NULL state (#332045).
16973 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16975 * docs/gst/gstreamer-sections.txt:
16976 * gst/gsturi.c: (gst_uri_has_protocol):
16978 Add new API: gst_uri_has_protocol() (#333779).
16980 2006-03-09 Wim Taymans <wim@fluendo.com>
16982 * gst/gstclock.c: (gst_clock_entry_new),
16983 (gst_clock_id_compare_func), (gst_clock_id_wait),
16984 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16985 (gst_clock_init), (gst_clock_get_internal_time),
16986 (gst_clock_set_master), (do_linear_regression),
16987 (gst_clock_add_observation), (gst_clock_set_property):
16991 Fix a possible segfault when the window-size is made smaller.
16992 Calculate jitter before performing the clock wait. Ideally
16993 the clock implementation should calculate jitter but we need
16994 API breakage for that.
16996 * gst/gstsystemclock.c: (gst_system_clock_init):
16999 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17000 Remove leftover else
17002 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17003 (gst_systemclock_suite):
17004 Added check to test GST_CLOCK_DIFF.
17006 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17008 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17009 (gst_type_find_helper_get_range):
17010 If we are provided with the size, we should implement
17011 GstTypeFind::get_length, so that typefind functions who
17012 want to can actually peek at the middle of a file.
17014 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
17016 * docs/manual/advanced-dataaccess.xml:
17017 Add some very very basic error checking.
17019 * docs/pwg/appendix-checklist.xml:
17020 Some updates to the list of things to check when writing an element.
17022 2006-03-08 Wim Taymans <wim@fluendo.com>
17024 * docs/design/part-element-transform.txt:
17025 Added some docs about the design of tranform elements.
17027 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17028 (gst_base_src_loop), (gst_base_src_change_state):
17029 Mark buffers with the DISCONT flag.
17031 2006-03-08 Michael Smith <msmith@fluendo.com>
17033 * gst/gstregistry.h:
17034 * gst/gstregistryxml.c: (gst_registry_save),
17035 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17036 (gst_registry_xml_save_pad_template),
17037 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17038 (gst_registry_xml_write_cache):
17039 Rewrite registry-saving to avoid race conditions and check for
17042 2006-03-08 Wim Taymans <wim@fluendo.com>
17044 * libs/gst/base/gstbasetransform.c:
17045 (gst_base_transform_transform_caps),
17046 (gst_base_transform_transform_size),
17047 (gst_base_transform_prepare_output_buffer),
17048 (gst_base_transform_get_unit_size),
17049 (gst_base_transform_buffer_alloc),
17050 (gst_base_transform_handle_buffer),
17051 (gst_base_transform_change_state):
17052 Cleanups, separate normal flow from errors, add sensible
17054 Don't try to renegotiate when allocating an output buffer.
17055 Also copy DISCONT buffer flag when copying a buffer.
17056 Reset the transform after we finish streaming, not during.
17058 2006-03-08 Wim Taymans <wim@fluendo.com>
17060 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17061 Use last buffer timestamp in qos message.
17063 2006-03-07 Wim Taymans <wim@fluendo.com>
17065 Patch by: Christophe Fergeau
17067 * docs/pwg/advanced-tagging.xml:
17068 * docs/pwg/building-pads.xml:
17071 2006-03-07 Wim Taymans <wim@fluendo.com>
17073 * docs/libs/gstreamer-libs-sections.txt:
17074 Added basesink new methods.
17078 Docs updates. Flesh out the QoS docs.
17080 * libs/gst/base/gstadapter.c:
17081 Small doc clarification about ownership and flushing.
17083 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17084 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17085 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17086 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17087 * libs/gst/base/gstbasesink.h:
17089 Added new methods to allow subclass to control max-lateness
17091 Generate very basic QoS events based on last sync observation.
17092 Updated docs, fix typo, added some QoS blurb.
17094 * libs/gst/base/gstbasesrc.c:
17095 Remove obsolete _get_state() calls from docs.
17097 2006-03-07 Wim Taymans <wim@fluendo.com>
17099 * docs/libs/gstreamer-libs-sections.txt:
17100 * libs/gst/base/gstbasetransform.h:
17101 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17102 Fix docs for GstBaseSrc.
17104 2006-03-07 Wim Taymans <wim@fluendo.com>
17106 * docs/gst/gstreamer-sections.txt:
17109 * libs/gst/base/gstbasetransform.h:
17110 Small documentation fixes.
17112 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17115 Document thread-unsafety of gst_value_register_foo_func()
17116 when used at the same time as gst_value_foo() (#322628).
17118 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17120 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17121 (gst_push_src_check_get_range):
17122 Push sources don't support pull mode by default.
17124 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17126 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17127 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17128 (gst_base_src_default_check_get_range):
17129 * libs/gst/base/gstbasesrc.h:
17130 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17131 provide default implementation, and rename
17132 gst_base_src_check_get_range() to
17133 gst_base_src_pad_check_get_range() for clarity.
17135 2006-03-06 Wim Taymans <wim@fluendo.com>
17137 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17138 Make property overridable.
17140 2006-03-06 Wim Taymans <wim@fluendo.com>
17142 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17143 (gst_base_sink_init), (gst_base_sink_set_property),
17144 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17145 * libs/gst/base/gstbasesink.h:
17146 API addition: Make max-lateness a property.
17148 2006-03-06 Wim Taymans <wim@fluendo.com>
17150 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17151 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17152 Don't ever draw a frame that is >10ms late.
17154 2006-03-06 Michael Smith <msmith@fluendo.com>
17156 * gst/gstmessage.c: (_gst_message_copy):
17157 When copying a message, set the parent_refcount of the enclosed
17158 structure to point at the copy, not the original message.
17160 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17162 Patch by: Christophe Fergeau
17165 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17166 usable in c++ code (#333417)
17168 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17171 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17173 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17175 * libs/gst/base/gstbasetransform.c:
17176 (gst_base_transform_transform_caps):
17177 Make sure caps are writable before passing them to
17180 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17183 Fix some minor docs errors.
17185 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17187 Patch by: Ross Burton <ross at burtonini dot com>
17189 * gst/gsterror.c: (_gst_resource_errors_init):
17191 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17193 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17196 Add a check and output a g_warning when GStreamer is built
17197 against GLib 2.6 but running against 2.8 or higher, and vice
17198 versa. (Closes: #323542)
17200 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17202 * gst/parse/parse.l:
17203 Commit patch for parse_launch syntax from #331255. Removes
17204 support for quoted strings and mimetypes when writing filtered
17205 caps. See the bug report for more details - I'm pretty sure this
17206 obscure feature is not in use by _anyone_ anywhere.
17208 With this simple change, the size of the gstreamer.so here
17209 drops from 2193KB to 1565KB.
17211 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17213 * plugins/elements/gsttypefindelement.h:
17214 * plugins/elements/gsttypefindelement.c:
17215 (gst_type_find_element_src_event), (start_typefinding),
17216 (stop_typefinding), (gst_type_find_element_handle_event),
17217 (gst_type_find_element_chain),
17218 (gst_type_find_element_chain_do_typefinding):
17219 Use gst_type_find_helper_for_buffer() for chain-based
17222 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17224 * plugins/elements/gsttypefindelement.c:
17225 (gst_type_find_element_class_init),
17226 (gst_type_find_element_set_property),
17227 (gst_type_find_element_get_property):
17228 Deprecate "maximum" property (not only was it only taken into
17229 account for typefinding in push-mode anyway, it also was never
17230 actually possible to set it in the first place because the
17231 property was registered with the numeric property ID for the
17232 "minimum" property). Register "maximum" property correctly,
17233 for the sake of future copy'n'pasters. Remove some cruft
17234 from property get/set functions.
17236 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17238 * plugins/elements/gsttypefindelement.c:
17239 (gst_type_find_element_activate):
17240 Use gst_type_find_helper_get_range() here, so we
17241 can honour the "minimum" property and also emit
17242 the signal with the correct probability of the found caps.
17244 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17246 * docs/libs/gstreamer-libs-sections.txt:
17247 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17248 (helper_find_suggest), (gst_type_find_helper_get_range),
17249 (gst_type_find_helper):
17250 * libs/gst/base/gsttypefindhelper.h:
17251 New API: gst_type_find_helper_get_range() (#333042).
17253 2006-03-02 Michael Smith <msmith@fluendo.com>
17255 * gst/gstregistryxml.c: (load_feature):
17256 Asserting on a failure to read part of the registry is Not Cool.
17257 Just log a warning and return NULL (which is already handled)
17259 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17261 * win32/common/libgstbase.def:
17262 added export of gst_type_find_helper_for_buffer
17263 * win32/common/libgstbase.def:
17264 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17265 gst_ghost_pad_get_target
17267 2006-02-28 Wim Taymans <wim@fluendo.com>
17269 * docs/design/draft-klass.txt:
17271 Added Connector to mark elements that are only used to
17272 allow pipeline connections.
17273 Moved Debug to extra feature since most of them are
17274 functionally something else.
17276 2006-02-28 Wim Taymans <wim@fluendo.com>
17278 * docs/design/draft-klass.txt:
17279 Some updates and clarifications.
17281 2006-02-28 Wim Taymans <wim@fluendo.com>
17283 * docs/design/draft-klass.txt:
17284 Proposal for klass field values.
17286 * docs/design/part-streams.txt:
17287 Start of a doc describing stream anatomy.
17289 2006-02-28 Wim Taymans <wim@fluendo.com>
17291 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17292 Help the compiler a bit with type registration.
17293 Use existing forward cod path instead of duplicating it when
17294 handling a message.
17296 * gst/gstbus.c: (gst_bus_get_type):
17297 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17298 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17299 * gst/gstclock.c: (gst_clock_get_type):
17300 * gst/gstelement.c: (gst_element_get_type),
17301 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17302 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17303 * gst/gstminiobject.c: (gst_mini_object_get_type):
17304 * gst/gstpad.c: (gst_pad_get_type):
17305 * gst/gstsegment.c: (gst_segment_get_type):
17306 * gst/gststructure.c: (gst_structure_get_type):
17307 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17308 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17310 Help compiler with type registration.
17312 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17315 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17317 * plugins/elements/gsttypefindelement.c:
17318 (gst_type_find_element_handle_event):
17319 When we get an EOS event and have not found a type yet
17320 (most likely because we had not yet accumulated
17321 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17322 type given the data we have so far. Fixes typefinding
17323 for very short streams again, most notably quicktime
17324 redirections as used on Apple's trailer site (#331701).
17326 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17328 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17329 (gst_type_find_helper):
17330 Try typefinding factories with the highest rank first.
17332 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17334 * docs/libs/gstreamer-libs-docs.sgml:
17335 * docs/libs/gstreamer-libs-sections.txt:
17336 * libs/gst/base/gsttypefindhelper.c:
17337 Add section for typefind helper and add documentation
17338 for the old and the new function.
17340 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17342 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17343 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17344 (gst_type_find_helper_for_buffer):
17345 * libs/gst/base/gsttypefindhelper.h:
17346 New API: gst_type_find_helper_for_buffer() (#332723).
17348 2006-02-27 Michael Smith <msmith@fluendo.com>
17350 Patch by: Loïc Minier
17353 * docs/Makefile.am:
17354 * docs/slides/Makefile.am:
17355 prevent CVS directories getting disted.
17357 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17359 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17360 Use the REFCOUNTING category for caps refcounting.
17362 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17364 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17365 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17367 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17369 * plugins/elements/gsttypefindelement.c:
17370 (gst_type_find_element_activate):
17371 Use gst_pad_check_pull_range() before _activate_pull()
17372 to avoid unnecessary open/close (see #331690).
17374 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17377 Docs enhancement: make it crystal clear what the
17378 gst_pad_add_*_probe() callbacks should look like.
17380 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17382 * libs/gst/base/gstbasesrc.c:
17383 Document how applications can stop recording from
17384 live sources (see #330996).
17386 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17388 * tests/check/Makefile.am:
17389 * tests/check/libs/basesrc.c: (eos_event_counter),
17390 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17391 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17392 (gst_basesrc_suite), (main):
17393 ... and add some tests for the base source EOS stuff.
17395 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17397 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17398 Test case originally showed the problem fixed below,
17399 but was then amended. Add checks back at the place
17400 where they used to be.
17402 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17404 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17405 (gst_base_src_init), (gst_base_src_loop),
17406 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17407 (gst_base_src_change_state):
17408 * libs/gst/base/gstbasesrc.h:
17409 Don't unconditionally send EOS when going from PAUSED to
17410 READY state, esp. make sure we don't send two EOS events
17411 in some cases (e.g. one when reaching EOS and one when
17412 going from PAUSED to READY). Also, we don't want to send
17413 EOS events when operating in pull mode. However, we do
17414 want to send an EOS event when shutting down a live
17415 source explicitly, for example (fixes #330996).
17417 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17419 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17420 Update src->read_position after a seek when not using mmap.
17421 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17423 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17429 Make things work with --disable-parse as they do with
17430 --disable-load-save - the symbols involved disappear, but the
17431 header is still installed and GST_DISABLE_PARSE is included via
17434 2006-02-20 Julien MOUTTE <julien@moutte.net>
17436 * libs/gst/base/gstbasetransform.c:
17437 (gst_base_transform_change_state): Fix a stupid bug. I was
17438 sure I compiled that.
17440 2006-02-20 Julien MOUTTE <julien@moutte.net>
17442 * gst/gstpad.c: (gst_pad_set_blocked_async):
17443 * gst/gstutils.c: (gst_pad_add_data_probe),
17444 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17445 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17446 (gst_pad_remove_buffer_probe): Make those function act on the
17447 ghostpad target when it's a ghostpad. (Closes #331727)
17449 2006-02-20 Julien MOUTTE <julien@moutte.net>
17451 * libs/gst/base/gstbasetransform.c:
17452 (gst_base_transform_change_state): Make basetransform reusable.
17455 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17457 * docs/random/release:
17458 Move the current documentation of how to do a release to the top
17461 * gst/gstbin.c: (gst_bin_class_init),
17462 (gst_bin_handle_message_func):
17463 Allow multiple state-recalculation threads. (Closes #328873)
17465 2006-02-19 Julien MOUTTE <julien@moutte.net>
17467 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17468 * gst/gstpad.c: (gst_pad_set_event_function),
17469 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17470 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17471 2 strings. You can't use the STR_NULL macro on that.
17473 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17475 * gst/gstpad.c: (gst_pad_set_event_function),
17476 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17477 (gst_pad_set_getcaps_function)
17478 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17479 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17480 So now, we can use --gst-debug-level=5 on Windows
17481 * win32/common/libgstcontroller.def:
17482 Added export of gst_controller_init
17483 * win32/vs6/libgstcontroller.dsp:
17484 Fixed Release post build configuration
17486 2006-02-17 Wim Taymans <wim@fluendo.com>
17488 * tests/check/gst/gstquery.c: (GST_START_TEST):
17489 Added another check.
17491 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17493 * plugins/elements/gsttypefindelement.c: (find_peek):
17494 We can do peeks at non-zero offsets, as long as they
17495 fall within the buffer we have.
17497 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17499 * tests/check/Makefile.am:
17500 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17501 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17502 (parse_suite), (main):
17503 Add testsuite for parse launch syntax
17505 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17507 * plugins/elements/gsttypefindelement.c:
17508 (gst_type_find_element_chain):
17509 When typefinding is unsuccessful in the chain function, don't
17510 error out immediately. Only error out with NO_CAPS_FOUND if
17511 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17512 otherwise simply wait for more data so we can try typefinding
17513 again with more data later. Also, don't attempt to typefind
17514 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17515 this should improve typefinding from network sources where the
17516 size of the first buffer can be somewhat random.
17518 2006-02-14 Wim Taymans <wim@fluendo.com>
17520 * docs/gst/gstreamer-sections.txt:
17521 * gst/gstpadtemplate.c:
17522 * gst/gstpadtemplate.h:
17523 Fix padtemplate docs, fixes #328805.
17525 2006-02-14 Wim Taymans <wim@fluendo.com>
17527 * tools/gst-launch.c: (main):
17528 NO_PREROLL is not an ERROR so don't send confusing messages
17531 2006-02-14 Wim Taymans <wim@fluendo.com>
17533 Patch by: Torsten Schoenfeld
17535 * gst/gstregistry.c: (gst_registry_get_default),
17536 (_gst_registry_cleanup):
17537 Protect default registry with lock and ref/sink it.
17540 2006-02-14 Wim Taymans <wim@fluendo.com>
17543 * gst/gstquery.c: (gst_query_list_add_format),
17544 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17545 (gst_query_parse_formats_nth):
17546 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17549 2006-02-14 Wim Taymans <wim@fluendo.com>
17551 * docs/gst/gstreamer-sections.txt:
17552 Reworked query docs.
17554 * gst/gstquery.c: (gst_query_new_formats),
17555 (gst_query_list_add_format), (gst_query_set_formats),
17556 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17557 (gst_query_parse_formats_nth):
17559 Flesh out formats query, added some new methods.
17560 Fix part of #324398.
17562 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17563 Added query creation tests.
17565 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17567 * gst/gstpad.c: (fixate_value):
17568 Add a default fixation for fraction lists.
17570 2006-02-13 Wim Taymans <wim@fluendo.com>
17572 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17573 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17576 Detect and warn for obvious deadlocks. fixes #320340
17577 Fix error case where lock was not released.
17579 * tests/check/Makefile.am:
17580 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17581 (task_func), (gst_element_suite), (main):
17584 2006-02-13 Wim Taymans <wim@fluendo.com>
17586 * docs/gst/gstreamer-sections.txt:
17588 Add new functions to docs.
17590 2006-02-13 Wim Taymans <wim@fluendo.com>
17592 * docs/design/part-TODO.txt:
17593 Updated TODO list, basesrc supports seeking to non-bytes
17596 * docs/design/part-element-sink.txt:
17599 * gst/gstbin.c: (bin_replace_message),
17600 (gst_bin_handle_message_func):
17601 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17602 * gst/gstevent.c: (gst_event_finalize):
17603 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17604 (gst_pad_send_event):
17605 Use shiny new _TYPE_NAME macros.
17607 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17608 Move debug statement up.
17610 * gst/gstelement.c: (gst_element_set_locked_state):
17611 Add some debugging.
17613 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17615 * docs/gst/gstreamer-sections.txt:
17616 * gst/gstmessage.h:
17618 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17619 macros (#330906). Also, document the already existing
17620 GST_QUERY_TYPE macro.
17622 2006-02-13 Wim Taymans <wim@fluendo.com>
17624 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17625 (event_probe), (GST_START_TEST):
17626 Only events up to the pipeline EOS are counted, there are
17627 some more when going to NULL currently which we don't care
17630 2006-02-13 Wim Taymans <wim@fluendo.com>
17632 * gst/gstpad.c: (gst_pad_send_event):
17633 Correctly check flushing and emit probes. fixes #330125
17635 2006-02-10 Andy Wingo <wingo@pobox.com>
17637 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17639 (gst_bus_init): Cache the location of the private data in the
17640 instance structure.
17641 (gst_bus_enable_sync_message_emission)
17642 (gst_bus_disable_sync_message_emission): Implement new public
17644 (gst_bus_post): Emit the sync-message signal if the user asked for
17647 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17648 location of the bus-private structure.
17649 (gst_bus_enable_sync_message_emission)
17650 (gst_bus_disable_sync_message_emission): API addition
17652 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17654 Patch by: Vincent Torri
17656 * docs/pwg/building-boiler.xml:
17657 PWG patch from #326800
17659 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17662 * docs/Makefile.am:
17663 * docs/design/Makefile.am:
17666 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17671 === release 0.10.3 ===
17673 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17676 releasing 0.10.3, "Like a virgin"
17678 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17681 2nd prerelease of 0.10.3
17682 Bump libtool versioning.
17684 2006-02-07 Andy Wingo <wingo@pobox.com>
17686 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17687 update last_stop if we're in TIME format and the timestamp is
17690 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17691 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17692 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17693 If we get a new newsegment with a different format, adapt
17696 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17697 of 0. Not a problem, really.
17699 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17702 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17707 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17710 project files updated to the default vs7 configuration
17711 * win32/common/libgstbase.def:
17712 * win32/common/libgstreamer.def:
17714 removed empty lines,
17715 sorted all exported symbols alphabetically
17716 * win32/common/dirent.c:
17717 * win32/common/dirent.h:
17718 * win32/common/gchar.h:
17719 use windows line end.
17721 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17723 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17724 Send EOS event when stopping.
17726 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17729 Tell folks what to do if the plugin-foobar.xml file
17730 hasn't been generated for a newly-added plugin.
17732 2006-02-05 Julien MOUTTE <julien@moutte.net>
17734 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17735 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17736 (gst_collect_pads_start), (gst_collect_pads_stop),
17737 (gst_collect_pads_event): Collectpads now holds a reference
17738 to the GstPad that was added. Indeed we don't want to look
17739 at pads that might just go away with no warning...
17741 2006-02-05 Julien MOUTTE <julien@moutte.net>
17743 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17744 (gst_collect_pads_start), (gst_collect_pads_stop),
17745 (gst_collect_pads_event), (gst_collect_pads_chain):
17746 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17747 Mark Nauwelaerts's patch on bug #328491.
17749 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17751 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17753 Add some simple tests for gst_parse_bin_from_description() and
17754 gst_bin_find_unconnected_pad() (#329069).
17756 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17758 * tools/gst-launch.c: (event_loop), (main):
17759 Catch errors during preroll (#320084).
17761 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17763 * plugins/elements/gsttypefindelement.c:
17764 (gst_type_find_element_activate):
17765 Post TYPE_NOT_FOUND error message when typefinding
17766 is unsuccessful in the activate function as well.
17768 2006-02-02 Wim Taymans <wim@fluendo.com>
17770 * docs/design/part-element-sink.txt:
17773 2006-02-02 Wim Taymans <wim@fluendo.com>
17775 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17776 (gst_base_sink_render_object),
17777 (gst_base_sink_queue_object_unlocked):
17778 Only keep track of prerollable items when we are
17780 Before rendering after preroll, always check if we
17782 Added some more debugging.
17784 2006-02-02 Wim Taymans <wim@fluendo.com>
17786 * gst/gstelement.c: (gst_element_continue_state),
17787 (gst_element_set_state_func), (gst_element_change_state):
17788 Fixed #326576, been running this for quite some time with
17789 no regressions at all.
17791 2006-02-02 Wim Taymans <wim@fluendo.com>
17794 Added more suppressions
17796 2006-02-02 Wim Taymans <wim@fluendo.com>
17798 * docs/design/part-element-sink.txt:
17801 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17802 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17803 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17804 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17805 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17806 (gst_base_sink_preroll_object),
17807 (gst_base_sink_queue_object_unlocked),
17808 (gst_base_sink_queue_object), (gst_base_sink_event),
17809 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17810 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17811 (gst_base_sink_get_position), (gst_base_sink_change_state):
17812 * libs/gst/base/gstbasesink.h:
17813 Totally refactored matching the design doc.
17814 Use two segments, one to clip incomming buffers and another to
17816 Handle queueing correctly, bypass the queue when playing.
17817 Make EOS cancelable.
17818 Handle errors correctly when operating in pull based mode.
17820 * tests/check/elements/fakesink.c: (GST_START_TEST),
17822 Added new check for sinks.
17824 2006-02-02 Wim Taymans <wim@fluendo.com>
17826 * gst/gstsegment.c: (gst_segment_clip):
17827 No reason to refuse to clip when start == -1
17829 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17832 * docs/manual/intro-basics.xml:
17833 * docs/manual/intro-preface.xml:
17834 * docs/manual/manual.xml:
17835 * docs/pwg/advanced-dparams.xml:
17836 * docs/pwg/intro-basics.xml:
17837 * docs/pwg/intro-preface.xml:
17838 * docs/pwg/pwg.xml:
17839 describe dparams (controller) for plugins
17840 unify docs a little more
17842 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17844 * docs/gst/gstreamer-sections.txt:
17845 * gst/gstutils.c: (element_find_unconnected_pad),
17846 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17848 Add new API: gst_parse_bin_from_description() and
17849 gst_bin_find_unconnected_pad() (#329069).
17851 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17853 * docs/manual/README:
17854 uncover a nasty detail of the docs build
17856 2006-01-31 Wim Taymans <wim@fluendo.com>
17858 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17859 Don't cache duration messages if we're not going to use or
17862 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17864 * docs/manual/advanced-dparams.xml:
17865 * docs/pwg/advanced-dparams.xml:
17869 * libs/gst/controller/lib.c: (gst_controller_init):
17872 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17874 * gst/gstelement.c: (gst_element_message_full):
17875 also show file/line/func if no additional debug was given
17877 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17879 * win32/vs7/grammar.vcproj:
17880 activate copy of autogenerated files for Release mode
17882 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17884 * win32/common/libgstreamer.def:
17885 export gst_value_compare
17887 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17889 * plugins/elements/Makefile.am:
17890 * plugins/elements/gstelements.c:
17891 * plugins/elements/gstfdsink.c: (_do_init),
17892 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17893 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17894 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17895 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17896 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17897 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17898 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17899 * plugins/elements/gstfdsink.h:
17900 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17902 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17904 * docs/manual/advanced-dparams.xml:
17905 describe controller
17906 * docs/manual/advanced-position.xml:
17907 * docs/manual/basics-init.xml:
17908 * docs/manual/manual.xml:
17909 * docs/manual/titlepage.xml:
17910 * docs/pwg/pwg.xml:
17911 * docs/pwg/titlepage.xml:
17912 cleanup xml (more to come)
17913 * libs/gst/controller/gstcontroller.c:
17916 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17918 * win32/vs6/grammar.dsp:
17919 add autogen of gstmarshal.c,h for Release mode
17921 2006-01-30 Wim Taymans <wim@fluendo.com>
17923 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17924 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17925 (gst_base_sink_handle_object), (gst_base_sink_event),
17926 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17927 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17928 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17929 (gst_base_sink_deactivate), (gst_base_sink_activate),
17930 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17931 (gst_base_sink_query), (gst_base_sink_change_state):
17932 Basesink cleanups, remove some old code.
17933 Handle the case where a subclass can preroll in the render
17934 method (mostly audiosinks).
17935 Handle more events.
17936 Remove some locks around variables that are now protected
17937 with the PREROLL_LOCK (clock_id, flushing, ..).
17938 Optimize position query some more, do correct locking.
17939 Remove old code to push queue in state change, this is not
17940 needed anymore since preroll blocks on all prerollable items
17942 Almost implemented as described in design doc.
17944 2006-01-30 Wim Taymans <wim@fluendo.com>
17946 * tests/check/gst/gstbin.c: (GST_START_TEST):
17947 Wait for refcount to settle down before checking.
17949 2006-01-30 Wim Taymans <wim@fluendo.com>
17951 * docs/design/part-element-sink.txt:
17952 Pseudo code overview of desired sink behaviour regarding
17955 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17956 * win32/vs6/grammar.dsp:
17957 fix some bugs in Release mode for autogenerated files
17959 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17960 * win32/common/libgstbase.def:
17961 * win32/common/libgstreamer.def:
17962 export some new symbols: gst_base_src_set_format,
17963 gst_iterator_next, gst_structure_set_valist
17965 2006-01-29 Julien MOUTTE <julien@moutte.net>
17967 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17968 Set pad functions unconditionally. Fixes #329105.
17970 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17972 add vs8 project files created by Sergey Scobich
17974 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17976 * gst/gstutils.c: (gst_element_unlink_pads):
17977 Don't leak pad references.
17979 * tests/check/elements/fakesink.c: (GST_START_TEST):
17980 * tests/check/generic/sinks.c: (GST_START_TEST):
17981 * tests/check/generic/states.c: (GST_START_TEST):
17982 * tests/check/gst/gstbin.c: (GST_START_TEST):
17983 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17984 * tests/check/gst/gstelement.c: (GST_START_TEST):
17985 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17986 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17987 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17988 Fix a bunch of leaks. Make generic/sinks.c
17989 use a bit less cpu by slowing the buffer rate
17990 between fakesrc and fakesink.
17992 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17994 * gst/gstelement.c: (gst_element_send_event):
17997 * gst/gstiterator.c:
17998 * gst/gstiterator.h:
17999 * gst/gstpad.c: (gst_pad_send_event):
18000 * gst/gststructure.c:
18004 * libs/gst/base/gstadapter.c:
18005 doc fixes, to link to function, just write gst_cool_function(), don't
18008 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18010 * plugins/elements/gsttee.c: (gst_tee_do_push),
18011 (gst_tee_handle_buffer):
18012 Always prefer an actual return value from a src
18013 pad in place of NOT_LINKED. This means we return
18014 WRONG_STATE when all src pads are WRONG_STATE
18015 instead of NOT_LINKED.
18017 Lock when replacing the last message to prevent
18018 racing with the get_property method.
18022 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18024 * tests/check/Makefile.am:
18025 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18027 Add a very simple check that should have caught the memleak I fixed
18028 last night (if not for the slice allocator hiding it)
18030 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18032 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18033 (gst_bin_remove_func), (gst_bin_handle_message_func),
18034 (bin_query_duration_fold), (bin_query_generic_fold):
18035 Clean up references to the clock provider when disposed or when
18036 handling a clock-lost message from it.
18038 Unref sinks when performing a query via gst_iterator_fold, as the
18039 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18041 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18042 (gst_clock_set_master):
18043 Drop our reference to the master clock, if any, when we are disposed.
18045 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18046 Chain up in dispose.
18048 2006-01-26 Wim Taymans <wim@fluendo.com>
18050 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18051 Add some debugging.
18053 2006-01-26 Julien MOUTTE <julien@moutte.net>
18055 * plugins/elements/gsttee.c: (gst_tee_do_push),
18056 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18057 handles pad being NOT_LINKED or in WRONG_STATE.
18059 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18064 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18067 remove obsolete entry
18069 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18071 * docs/gst/gstreamer-sections.txt:
18072 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18073 (gst_bin_iterate_sources), (gst_bin_send_event):
18075 * gst/gstelement.c: (gst_element_send_event):
18077 * gst/gstpad.c: (gst_pad_send_event):
18078 added code for downstream events, reviewed docs in gstevent.c
18080 2006-01-25 Julien MOUTTE <julien@moutte.net>
18082 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18083 We only query position using the clock in the playing state.
18084 Query peer in the other cases.
18085 * win32/common/config.h: Updates.
18087 2006-01-24 Wim Taymans <wim@fluendo.com>
18089 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18090 A clock entry that is scheduled for the exact time of the
18091 clock is still in time.
18093 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18094 (gst_base_sink_do_sync):
18095 Add some more debug info.
18097 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18100 Add new vs7 project files and solution.
18102 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18105 all files removed as they were out-dated.
18107 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18109 * docs/random/release:
18111 * gst/gstbin.c: (gst_bin_init):
18112 * gst/gstbus.c: (gst_bus_new):
18114 * gst/gstpipeline.c: (gst_pipeline_init):
18115 use gst_bus_new(), improve logging, fix docs
18116 * win32/common/config.h:
18117 update for cvs build
18119 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18122 up required version of automake to 1.7
18124 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18126 * win32/common/libgstreamer.def:
18127 export gst_buffer_is_metadata_writable
18129 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18131 * docs/gst/gstreamer-sections.txt:
18133 Add gst_event_replace() (#327001)
18135 2006-01-20 Wim Taymans <wim@fluendo.com>
18137 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18138 Make it actually compile too..
18140 2006-01-20 Wim Taymans <wim@fluendo.com>
18143 Clarify behaviour of _is_equal() when passing NULL parameters.
18145 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18146 (gst_pad_set_caps):
18147 Cleanups. Don't unref NULL caps.
18148 When setting the same caps, protect caps of the pad with
18150 Use full functionality of _is_equal() when comparing caps.
18152 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18155 Don't loop infinitely if there are no buffers to present. Partially
18156 fixes #327197, but collectpads is just broken for reusing elements
18157 to do multiple encodes atm.
18159 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18161 * tools/gst-inspect.c: (print_element_features):
18162 * tools/gst-xmlinspect.c: (main):
18163 URL_HANDLER is not a plugin feature we can search for in
18166 2006-01-19 Edward Hervey <edward@fluendo.com>
18168 * gst/gstelement.c: (gst_element_pads_activate):
18169 When activating, do src pads first, then sink pads.
18170 When de-activating, do sink pads first, then src pads.
18172 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18174 * docs/gst/gstreamer-sections.txt:
18175 Add gst_index_add_associationv to the docs
18177 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18182 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18183 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18184 Do some refactoring. Doesn't actually change functionality,
18185 but makes landing the DRAIN event easier later.
18187 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18189 * docs/pwg/advanced-scheduling.xml:
18190 Update from 0.9.x to 0.10 API and make example a bit
18193 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18195 * docs/gst/gstreamer-sections.txt:
18196 Add gst_buffer_(is|make)_metadata_writable methods.
18198 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18200 * docs/design/part-sparsestreams.txt:
18201 Update sparse streams doc, hopefully for greater clarity
18203 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18205 * docs/design/part-events.txt:
18206 Remove mention of FILLER events.
18209 * docs/design/part-sparsestreams.txt:
18210 Write some things about using NEWSEGMENT to keep sparse streams
18213 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18215 * gst/gstbin.c: (gst_bin_dispose):
18216 Guard gst_object_unref call against a NULL object (dispose
18217 can theoretically be called multiple times).
18219 2006-01-18 Wim Taymans <wim@fluendo.com>
18221 * gst/gstbin.c: (gst_bin_element_set_state):
18222 * gst/gstclock.c: (gst_clock_id_wait):
18223 Added some more debug info.
18225 * libs/gst/base/gstadapter.c:
18228 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18229 (gst_base_sink_do_sync), (gst_base_sink_chain):
18230 Added some comments.
18232 2006-01-18 Wim Taymans <wim@fluendo.com>
18234 * tests/check/Makefile.am:
18235 * tests/check/elements/fakesink.c: (chain_async_buffer),
18236 (chain_async), (chain_async_return), (GST_START_TEST),
18237 (fakesink_suite), (main):
18238 Added fakesink test that checks prerolling and clipping
18241 * tests/check/gst/gstutils.c: (GST_START_TEST):
18242 Make check run faster so that buildbots don't timeout.
18244 2006-01-18 Wim Taymans <wim@fluendo.com>
18246 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18247 (gst_base_sink_do_sync):
18249 When the sink finishes blocking on the preroll buffer, it can
18250 immediatly render it instead of rendering when the next buffer
18253 2006-01-18 Wim Taymans <wim@fluendo.com>
18255 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18256 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18257 (gst_base_sink_chain):
18259 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18260 Don't store _last_stop if the buffer is dropped.
18262 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18264 * plugins/elements/gsttypefindelement.c:
18265 (gst_type_find_element_class_init):
18266 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18267 object method handler that sets the caps on the pad and we want
18268 that to happen before we emit the signal (fixes e.g. feeding a
18269 plain text file to decodebin).
18271 2006-01-18 Christian Schaller <Christian@fluendo.com>
18273 * gst/gstplugin.c: Add MPL and Proprietary as license options
18275 2006-01-18 Andy Wingo <wingo@pobox.com>
18277 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18278 symbol was exported before, it appears this was just an oversight.
18280 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18282 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18283 prototype to gint. OK since this prototype was not in the header.
18285 2006-01-17 Andy Wingo <wingo@pobox.com>
18287 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18288 registry while we remove plugins.
18290 * tools/gst-inspect.c (print_element_info): Don't unref the
18291 factory arg, that should be the responsibility of whatever code
18292 received the ref. Fixes a double-free when called from
18293 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18294 (main): Unref the factory if we have one.
18295 (print_element_list): No change -- relies on the
18296 plugin_feature_list_free to free the list of features.
18298 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18300 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18301 (gst_buffer_make_metadata_writable):
18303 * libs/gst/base/gstbasetransform.c:
18304 (gst_base_transform_prepare_output_buf):
18305 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18306 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18307 Replace gst_buffer_(make|is)_metadata_writable patch now
18308 that the release is out.
18310 2006-01-17 Andy Wingo <wingo@pobox.com>
18312 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18313 in the present tense without reference to versions.
18315 * gst/gstregistry.c (gst_registry_add_plugin)
18316 (gst_registry_remove_plugin, gst_registry_remove_feature)
18317 (gst_registry_find_feature, gst_registry_get_feature_list)
18318 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18319 (gst_registry_lookup, gst_registry_scan_path)
18320 (_gst_registry_remove_cache_plugins)
18321 (gst_registry_get_feature_list_by_plugin): Add argument
18324 === release 0.10.2 ===
18326 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18329 releasing 0.10.2, "If man is five"
18331 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18335 * libs/gst/base/gstbasetransform.c:
18336 (gst_base_transform_prepare_output_buf):
18337 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18338 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18339 Back out patch until after the release.
18341 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18343 * gst/gstminiobject.c:
18344 Spelling fix in docs.
18345 * ChangeLog - remove conflict indicator
18347 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18349 Reviewed By: Andy Wingo
18351 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18352 (gst_buffer_make_metadata_writable):
18354 Add gst_buffer_(is|make)_metadata_writable as analogues of
18355 gst_buffer_(is|make)_writable.
18357 * libs/gst/base/gstbasetransform.c:
18358 (gst_base_transform_prepare_output_buf):
18359 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18360 Use name gst_buffer_(is|make)_metadata_writable functions.
18362 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18363 Test gst_buffer_(is|make)_metadata_writable
18367 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18369 * docs/manual/Makefile.am:
18370 don't do parallel make
18373 * win32/common/config.h.in:
18374 add generations for HOST_CPU and GST_MAJORMINOR
18375 * win32/common/config.h:
18376 commit generated result
18378 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18380 * docs/manual/appendix-integration.xml:
18381 Update GNOME integration section to use gst_init_get_option_group()
18382 instead of the old popt stuff (#322911). Also, GNOME applications
18383 should now use gconf*sink and gconf*src instead of the old gconf
18386 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18389 * docs/gst/gstreamer-docs.sgml:
18390 * docs/gst/gstreamer-sections.txt:
18391 * docs/libs/gstreamer-libs-sections.txt:
18392 add new API entries to the docs
18393 * libs/gst/controller/Makefile.am:
18394 * libs/gst/controller/gstcontroller.c:
18395 * libs/gst/controller/gstcontroller.h:
18396 * libs/gst/controller/gstcontrollerprivate.h:
18397 * libs/gst/controller/gsthelper.c:
18398 * libs/gst/controller/gstinterpolation.c:
18399 move private structs to private header
18401 gstreamer-0.7 -> gstreamer-0.10
18402 * tests/check/libs/struct_i386.h:
18403 remove private structs
18405 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18407 * plugins/indexers/Makefile.am:
18408 Fixes as part of #317048
18410 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18412 * plugins/indexers/Makefile.am:
18413 fix #316086 - compilation when mmap is missing
18415 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18417 * libs/gst/base/gstbasesink.c:
18418 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18419 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18420 * win32/common/config.h:
18421 added some defines GST_MAJORMINOR and HOST_CPU
18422 * win32/common/libgstbase.def:
18423 * win32/common/libgstreamer.def:
18424 added some exported functions.
18426 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18428 * libs/gst/controller/gstcontroller.c:
18429 (gst_controlled_property_set_interpolation_mode),
18430 (gst_controlled_property_new):
18431 * libs/gst/controller/gstcontroller.h:
18432 * libs/gst/controller/gstinterpolation.c:
18433 (interpolate_none_get_string_value_array):
18434 make G_TYPE_STRING controlable
18436 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18439 * tools/gst-feedback.1.in:
18440 * tools/gst-inspect.1.in:
18441 * tools/gst-launch.1.in:
18442 * tools/gst-md5sum.1.in:
18443 * tools/gst-typefind.1.in:
18444 * tools/gst-xmlinspect.1.in:
18445 * tools/gst-xmllaunch.1.in:
18446 cleanup man-pages, remove reference to gst-register, document env-vars
18448 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18450 * gst/gstbuffer.c: (gst_buffer_span):
18451 gst_buffer_span should copy the timestamp of the first buffer
18452 if they were both originally overlapping subbuffers of the
18453 same parent, using the same logic as the 'slow copy' case.
18455 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18457 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18458 Need to awaken ALL the pads when we pop a buffer, otherwise
18459 collectpads only works when there is 2 input streams.
18461 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18463 * docs/random/ensonic/media-device-daemon.txt:
18466 fix doc example, add clarification
18467 * tools/gst-launch.1.in:
18468 add initial info about GST_PLUGIN_PATH, needs more work
18470 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18472 * docs/manual/basics-bins.xml:
18473 * docs/manual/basics-elements.xml:
18474 * docs/manual/intro-basics.xml:
18475 Some more minor docs additions and updates.
18477 2006-01-11 Wim Taymans <wim@fluendo.com>
18479 * docs/manual/basics-bins.xml:
18480 * docs/manual/basics-elements.xml:
18481 Some small fixes as pointed out by Ser-ver on IRC.
18483 2006-01-10 Edward Hervey <edward@fluendo.com>
18485 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18486 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18487 the single-segment mode.
18489 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18491 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18493 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18494 (gst_base_src_perform_seek), (gst_base_src_send_event),
18495 (gst_base_src_set_property), (gst_base_src_get_property),
18496 (gst_base_src_loop), (gst_base_src_start),
18497 (gst_base_src_activate_push):
18498 * libs/gst/base/gstbasesrc.h:
18499 Name (private) union; makes Sun's Forte compiler happy (#324900).
18501 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18504 gst-register is gone.
18506 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18508 * gst/gstvalue.c: (_gst_value_initialize):
18509 make the G_TYPE_DATE instantiation work if debug is disabled
18511 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18513 * gst/gstmessage.c: (gst_message_parse_tag),
18514 (gst_message_parse_error), (gst_message_parse_warning):
18515 Don't crash when return location for error/warning debug
18516 string is NULL; add fact that return locations can be
18517 NULL to docs where appropriate.
18519 2006-01-05 Wim Taymans <wim@fluendo.com>
18521 * gst/gstplugin.c: (gst_plugin_load_file):
18522 Replace strdup by g_strdup.
18524 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18526 * docs/pwg/advanced-types.xml:
18529 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18531 submitted by: Abel Cheung
18535 Added Chinese (traditional) translation
18537 2006-01-04 Wim Taymans <wim@fluendo.com>
18539 * docs/manual/basics-pads.xml:
18540 * docs/plugins/Makefile.am:
18541 * docs/plugins/gstreamer-plugins-docs.sgml:
18542 * docs/plugins/gstreamer-plugins-sections.txt:
18543 * docs/pwg/advanced-clock.xml:
18544 * docs/pwg/advanced-scheduling.xml:
18545 * docs/pwg/advanced-types.xml:
18546 * plugins/elements/gstfdsink.c:
18547 * plugins/elements/gstfdsrc.c:
18548 * plugins/elements/gstfdsrc.h:
18549 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18550 * plugins/elements/gstidentity.h:
18551 * plugins/elements/gstqueue.h:
18552 * plugins/elements/gsttee.c:
18553 * plugins/elements/gsttee.h:
18554 * plugins/elements/gsttypefindelement.c:
18555 (gst_type_find_element_class_init):
18556 * plugins/elements/gsttypefindelement.h:
18557 Small updates to various docs.
18558 Added core plugins to docs.
18560 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18563 add a suppression for liboil's uninitialized variable
18565 2006-01-02 James Livingston <jrl at ids dot org dot au>
18567 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18570 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18571 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18572 compiler switch is being used (#325429).
18574 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18576 * gst/gstbin.c: (gst_bin_query):
18577 Disable duration query caching in bins until it gets
18578 fixed (see #324807).
18580 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18582 * tools/gst-inspect.c: (print_element_properties_info):
18583 Handle properties of POINTER and BOXED type.
18585 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18587 * gst/gst.c: (init_post):
18588 Init tags stuff and some other things before loading
18589 any static plugins (there may be other static plugins
18590 than just the GStreamer ones, and they may want to
18591 register their own tags or formats or whatever, and
18592 preferably without segfaulting).
18594 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18595 Print at least a warning in the debug logs if we drop a
18596 query just because we don't know how to adjust the value
18597 in the particular format.
18599 2005-12-24 David Schleef <ds@schleef.org>
18601 * tools/gstreamer-completion:
18602 Replacement for gst-complete written in sh and sed. Only
18603 completes names of features, but that's 90% of what I want
18604 it for. Properties are not available in registry.xml. (Maybe
18607 === release 0.10.1 ===
18609 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18612 releasing 0.10.1, "Nollaig chridheil"
18614 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18616 * docs/faq/cvs.xml:
18617 Add missing quote, should be make ERROR_CFLAGS="".
18619 2005-12-20 Wim Taymans <wim@fluendo.com>
18621 * docs/design/part-trickmodes.txt:
18622 More documentation on trickmodes.
18624 2005-12-20 Edward Hervey <edward@fluendo.com>
18626 * gst/gstcaps.c: (gst_static_caps_get_type):
18628 API addition: GST_TYPE_STATIC_CAPS
18629 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18630 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18631 * gst/gstpadtemplate.h:
18632 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18633 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18636 2005-12-18 Wim Taymans <wim@fluendo.com>
18638 * libs/gst/base/gstadapter.c:
18639 * libs/gst/base/gstadapter.h:
18640 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18641 (gst_base_sink_get_position):
18642 * libs/gst/base/gstbasesink.h:
18643 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18644 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18645 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18646 (gst_base_src_send_event), (gst_base_src_update_length),
18647 (gst_base_src_get_range), (gst_base_src_loop),
18648 (gst_base_src_start):
18649 * libs/gst/base/gstbasesrc.h:
18650 * libs/gst/base/gstbasetransform.h:
18651 * libs/gst/base/gstcollectpads.h:
18652 * libs/gst/base/gstpushsrc.c:
18653 * libs/gst/base/gstpushsrc.h:
18654 * libs/gst/dataprotocol/dataprotocol.c:
18655 * libs/gst/dataprotocol/dataprotocol.h:
18656 * libs/gst/net/gstnetclientclock.h:
18657 * libs/gst/net/gstnettimeprovider.h:
18658 Documentation updates.
18660 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18662 * docs/manual/basics-helloworld.xml:
18663 Remove superfluous closing bracket in helloworld example.
18665 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18667 * tools/gst-launch.1.in:
18668 Update gst-launch man page; add a section with useful
18669 environment variables. Fixes #323882.
18671 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18674 * gst/gst_private.h:
18675 change some char* into char[]
18677 2005-12-16 Wim Taymans <wim@fluendo.com>
18679 * gst/gstregistryxml.c: (load_feature):
18681 Don't use g_object_unref on GstObjects so that we avoid
18682 leaks on unsafe glibs.
18684 2005-12-16 Wim Taymans <wim@fluendo.com>
18686 * gst/gstbin.c: (gst_bin_recalc_state):
18689 2005-12-16 Wim Taymans <wim@fluendo.com>
18691 * common/check.mak:
18692 Added make forever target for check.
18694 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18696 * gst/gst.c: (init_post):
18697 make the registry cache file HOST_CPU-dependent
18699 2005-12-16 Andy Wingo <wingo@pobox.com>
18701 * plugins/elements/gstbufferstore.c
18702 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18705 * tests/check/gst/gstobject.c
18706 (test_fake_object_name_threaded_unique): Pay attention to
18707 g_list_sort return value.
18709 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18711 * tools/gst-feedback-m.m:
18712 Update for 0.9/0.10 (fixes #323870).
18714 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18716 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18717 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18719 * tests/check/gst/gstminiobject.c: (my_foo_init),
18720 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18721 (test_value_collection), (gst_mini_object_suite):
18722 Add test to ensure refcounts end up as expected when passing
18723 GstMiniObjects through g_object_get() and g_object_set().
18725 2005-12-14 Julien MOUTTE <julien@moutte.net>
18727 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18728 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18729 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18730 of collectpads. This version removes a lot of races without
18731 touching API/ABI. Yay !
18733 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18735 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18736 Don't allow activation of a srcpad in pull_range if it has no
18738 Change some debug statements to be a little clearer
18740 * plugins/elements/gsttypefindelement.c:
18741 (gst_type_find_handle_src_query):
18742 Check that we have a peer before executing queries thereupon.
18744 * tests/examples/metadata/read-metadata.c: (message_loop):
18745 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18746 immediately return us any available message with 0 timeout.
18748 2005-12-12 Michael Smith <msmith@fluendo.com>
18750 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18751 Don't unref factories after calling them.
18752 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18753 * plugins/elements/gsttypefindelement.c:
18754 (gst_type_find_element_chain):
18755 Free lists of factories after using them. Fixing typefinding memory
18758 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18760 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18761 (gst_plugin_feature_load):
18762 more meaningful debug output
18764 * tests/Makefile.am:
18765 * tests/old/examples/Makefile.am:
18766 make make distcheck happy again
18768 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18770 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18771 Catch the special case where we are operating chain-based,
18772 but the downstream peer pad has no chain function. Emit a
18773 custom error message in this case instead of letting the
18774 core generate one implying that this is some sort of core
18775 bug. It's not, it just means that whatever got plugged
18776 into the pipeline downstream when we announced the type
18777 can only operate pull-based, while our source can only
18778 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18779 Error string has not been marked for translation yet, as
18780 it probably needs some more work first.
18782 (gst_type_find_element_get_best_possibility):
18783 Add helper function to find the best of all available
18784 found possibilities that qualify given the min. threshold.
18786 (gst_type_find_element_handle_event):
18787 Fix the case where we get an EOS while still in TYPEFIND
18788 mode (we want to chose the best of all possible types,
18789 not just the first type that happens to be in our unsorted
18790 list of possible types).
18792 (gst_type_find_element_chain):
18793 Make sure we return GST_FLOW_ERROR when we errored out
18794 in stop_typefinding(); also, don't just find the best of
18795 all found type entries and then use the last examined
18796 type entry, but actually use the best entry.
18798 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18800 * tests/examples/typefind/typefind.c: (type_found):
18801 * tests/examples/xml/runxml.c: (xml_loaded):
18802 More gcc4 fixes and a mem leak fix.
18804 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18806 * tests/examples/xml/createxml.c: (object_saved):
18809 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18811 * tests/Makefile.am:
18812 enable the examples even more
18814 2005-12-12 Andy Wingo <wingo@pobox.com>
18816 * libs/gst/net/gstnettimeprovider.c
18817 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18818 (gst_net_time_provider_set_property)
18819 (gst_net_time_provider_get_property):
18820 API addition: Export "active" as a GObject property.
18821 (gst_net_time_provider_thread): Only respond to time queries if
18822 the time provider is active.
18824 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18825 NetTimeProvider, preserving binary compat.
18827 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18829 * tests/examples/controller/audio-example.c: (main):
18830 * tests/examples/launch/Makefile.am:
18831 convert comments again
18833 2005-12-12 Wim Taymans <wim@fluendo.com>
18835 * libs/gst/base/gstpushsrc.c:
18838 2005-12-12 Wim Taymans <wim@fluendo.com>
18840 * docs/libs/gstreamer-libs-sections.txt:
18841 Added new symbol to docs.
18843 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18844 (gst_base_src_init), (gst_base_src_set_format),
18845 (gst_base_src_default_query), (gst_base_src_query),
18846 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18847 (gst_base_src_perform_seek), (gst_base_src_send_event),
18848 (gst_base_src_default_event), (gst_base_src_event_handler),
18849 (gst_base_src_set_property), (gst_base_src_get_property),
18850 (gst_base_src_wait), (gst_base_src_do_sync),
18851 (gst_base_src_update_length), (gst_base_src_get_range),
18852 (gst_base_src_check_get_range), (gst_base_src_loop),
18853 (gst_base_src_default_negotiate), (gst_base_src_start),
18854 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18855 (gst_base_src_change_state):
18856 * libs/gst/base/gstbasesrc.h:
18857 Implement seeking to other formats than _BYTES.
18858 Implement more seeking methods correctly.
18860 Added query vmethod.
18861 Added do_seek vmethod to make life easier for subclasses
18863 API addition: gst_base_src_set_format()
18865 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18867 * tests/examples/Makefile.am:
18870 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18873 * docs/random/ensonic/media-device-daemon.txt:
18874 * tests/examples/controller/.cvsignore:
18875 * tests/examples/controller/Makefile.am:
18876 * tests/examples/controller/audio-example.c: (main):
18877 * tests/examples/helloworld/.cvsignore:
18878 * tests/examples/helloworld/Makefile.am:
18879 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18880 * tests/examples/launch/.cvsignore:
18881 * tests/examples/launch/Makefile.am:
18882 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18883 * tests/examples/metadata/.cvsignore:
18884 * tests/examples/metadata/Makefile.am:
18885 * tests/examples/metadata/read-metadata.c: (message_loop),
18886 (make_pipeline), (print_tag), (main):
18887 * tests/examples/queue/.cvsignore:
18888 * tests/examples/queue/Makefile.am:
18889 * tests/examples/queue/queue.c: (event_loop), (main):
18890 * tests/examples/typefind/.cvsignore:
18891 * tests/examples/typefind/Makefile.am:
18892 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18894 * tests/examples/xml/.cvsignore:
18895 * tests/examples/xml/Makefile.am:
18896 * tests/examples/xml/createxml.c: (object_saved), (main):
18897 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18898 * tests/old/examples/Makefile.am:
18899 * tests/old/examples/TODO:
18900 * tests/old/examples/controller/.cvsignore:
18901 * tests/old/examples/controller/Makefile.am:
18902 * tests/old/examples/controller/audio-example.c:
18903 * tests/old/examples/helloworld/.cvsignore:
18904 * tests/old/examples/helloworld/Makefile.am:
18905 * tests/old/examples/helloworld/helloworld.c:
18906 * tests/old/examples/launch/.cvsignore:
18907 * tests/old/examples/launch/Makefile.am:
18908 * tests/old/examples/launch/mp3parselaunch.c:
18909 * tests/old/examples/launch/mp3play:
18910 * tests/old/examples/manual/Makefile.am:
18911 * tests/old/examples/metadata/Makefile.am:
18912 * tests/old/examples/metadata/read-metadata.c:
18913 * tests/old/examples/queue/.cvsignore:
18914 * tests/old/examples/queue/Makefile.am:
18915 * tests/old/examples/queue/queue.c:
18916 * tests/old/examples/typefind/.cvsignore:
18917 * tests/old/examples/typefind/Makefile.am:
18918 * tests/old/examples/typefind/typefind.c:
18919 * tests/old/examples/xml/.cvsignore:
18920 * tests/old/examples/xml/Makefile.am:
18921 * tests/old/examples/xml/createxml.c:
18922 * tests/old/examples/xml/runxml.c:
18923 applied some simple fixing to some examples
18924 re-enabled the working examples
18926 2005-12-12 Wim Taymans <wim@fluendo.com>
18928 * gst/gstsegment.c: (gst_segment_init),
18929 (gst_segment_set_last_stop), (gst_segment_set_seek),
18930 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18931 (gst_segment_to_running_time):
18932 Added more documentation.
18933 Make sure the last_pos value is updated properly.
18934 Make sure to_stream_time and to_running_time don't
18935 operate on wrong values.
18937 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18940 2005-12-12 Michael Smith <msmith@fluendo.com>
18942 * plugins/elements/gsttypefindelement.c: (free_entry),
18943 (gst_type_find_element_chain):
18944 Now that we're not leaking factories, make sure we keep references
18945 to them while we need them.
18947 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18949 * tests/check/gst/struct_i386.h:
18950 ifdef out the XML structs
18952 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18954 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18955 floor is not needed, F is always positive; this obviates the
18956 need for adding -lm when building without libxml
18958 2005-12-12 Wim Taymans <wim@fluendo.com>
18960 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18961 Take current playback rate into account when reporting
18964 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18966 * docs/manual/mime-world.fig:
18967 Let's try this again, this time with a file that is
18968 actually in XFig format.
18970 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18972 * docs/manual/mime-world.fig:
18973 Add audioconvert element to diagram so that it
18974 matches the text and the code (fixes #319526).
18976 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18978 * docs/pwg/building-chainfn.xml:
18979 * docs/pwg/building-pads.xml:
18980 * docs/pwg/building-state.xml:
18981 * docs/pwg/other-source.xml:
18982 Update state change stuff for 0.10 (fixes #322969).
18984 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18986 * docs/manual/advanced-dataaccess.xml:
18987 * docs/manual/appendix-checklist.xml:
18988 * docs/manual/appendix-programs.xml:
18989 * docs/manual/basics-pads.xml:
18990 * docs/manual/highlevel-components.xml:
18991 * docs/manual/manual.xml:
18992 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18993 add converters in front of pipelines; remove curly
18994 brackets for threads stuff, they no longer exist; use
18995 GST_TYPE_FRACTION for framerates; update some pieces of
18996 code to 0.10, but there's plenty more to do.
18998 * docs/manual/appendix-porting.xml:
18999 Expand on asynchroneous state changes; s/0.9/0.10/;
19000 mention disappearance of gst_init_get_popt_table()
19003 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19005 * docs/faq/using.xml:
19006 Spider no longer exists, and neither does gst-launch-ext.
19007 Update examples to use decodebin and playbin and put
19008 converters in front of sinks (fixes #323726).
19010 2005-12-09 Michael Smith <msmith@fluendo.com>
19012 * plugins/elements/gsttypefindelement.c: (find_peek),
19013 (gst_type_find_element_chain):
19014 Fix leaking element factories in typefinding.
19015 Fix problem where we forgot about a probable type on non-seekable
19016 files, and thus later mis-typefound it.
19018 2005-12-09 Michael Smith <msmith@fluendo.com>
19020 * common/m4/gst-makecontext.m4:
19021 * common/m4/gst-mcsc.m4:
19023 * win32/common/config.h:
19024 * win32/common/config.h.in:
19025 Remove makecontext stuff; not used in 0.10 and causes problems on
19026 HPUX according to bug #322441
19028 2005-12-07 Wim Taymans <wim@fluendo.com>
19030 * tests/check/Makefile.am:
19031 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19033 * tests/check/libs/struct_i386.h:
19034 Added ABI check for libs
19036 2005-12-07 Wim Taymans <wim@fluendo.com>
19038 * tests/check/Makefile.am:
19039 And add the struct_i386.h to dist.
19041 2005-12-07 Wim Taymans <wim@fluendo.com>
19043 * tests/check/Makefile.am:
19044 * tests/check/gst/.cvsignore:
19045 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19047 * tests/check/gst/struct_i386.h:
19048 Added check for ABI compatibility.
19050 2005-12-07 Wim Taymans <wim@fluendo.com>
19052 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19053 (gst_fake_src_get_times), (gst_fake_src_create):
19054 Fix broken sync option, fixes #323259
19056 2005-12-07 Wim Taymans <wim@fluendo.com>
19061 * gst/gstcaps.c: (gst_caps_is_equal):
19062 Don't assert on NULL <--> X. Fixes #323260
19064 * gst/gstminiobject.c: (gst_mini_object_replace):
19065 If we're doing atomic operations, we might just as well use
19066 the proper way to get an atomic pointer.
19068 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19069 Clean up debugging.
19071 2005-12-07 Michael Smith <msmith@fluendo.com>
19073 * gst/parse/grammar.y:
19074 Remove handling of { } for threads.
19076 2005-12-06 David Schleef <ds@schleef.org>
19078 * libs/gst/base/gstbasetransform.c: speling fix.
19080 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19082 * docs/libs/tmpl/gstdataprotocol.sgml:
19083 * docs/random/omega/testing/gstobject.c:
19086 * gst/gstelement.c:
19087 * gst/gstelementfactory.c:
19090 * gst/gstghostpad.c:
19092 * gst/gstpadtemplate.c:
19093 * gst/gstregistryxml.c:
19094 * gst/gsttaglist.c:
19095 * gst/gsttagsetter.c:
19096 * gst/gsttypefind.c:
19098 * libs/gst/base/gstbasesrc.c:
19099 * libs/gst/net/gstnetclientclock.c:
19100 * libs/gst/net/gstnettimeprovider.c:
19101 * plugins/elements/gstfakesrc.c:
19102 * plugins/elements/gstfdsrc.c:
19103 * plugins/elements/gstfilesrc.c:
19104 * plugins/elements/gstidentity.c:
19105 * plugins/elements/gstqueue.c:
19106 * plugins/elements/gsttypefindelement.c:
19107 * plugins/indexers/gstfileindex.c:
19108 * plugins/indexers/gstmemindex.c:
19109 * tests/check/gst/gsttag.c:
19110 * tests/old/examples/cutter/cutter.c:
19111 * tests/old/examples/mixer/mixer.c:
19112 * tests/old/examples/xml/runxml.c: (main):
19113 * tests/old/testsuite/caps/normalisation.c:
19114 * tests/old/testsuite/debug/global.c:
19115 * tests/old/testsuite/parse/parse1.c:
19116 * tools/gst-xmlinspect.c:
19117 * win32/common/dirent.c:
19120 === release 0.10.0 ===
19122 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19125 releasing 0.10.0, "Maroilles"
19127 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19129 submitted by: Funda Wang <fundawang@linux.net.cn>
19133 added Chinese (Traditional) translation
19135 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19137 * docs/gst/gstreamer-sections.txt:
19138 * docs/libs/tmpl/gstdataprotocol.sgml:
19139 * docs/random/thomasvs/TODO:
19144 2005-12-05 Andy Wingo <wingo@pobox.com>
19146 patch by: Wim Taymans <wim@fluendo.com>
19148 * libs/gst/base/gstbasetransform.c
19149 (gst_base_transform_prepare_output_buf)
19150 (gst_base_transform_buffer_alloc):
19151 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19152 alloc_buffer_and_set_caps.
19154 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19155 set_caps on the source pad.
19156 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19157 alloc_buffer used to do. Fixes #322874.
19159 * docs/gst/gstreamer-sections.txt:
19160 * docs/design/part-negotiation.txt:
19161 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19164 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19166 patch by: Sebastien Moutte
19169 * win32/common/config.h.in:
19170 * win32/vs6/libgstcontroller.dsp:
19173 2005-12-05 Wim Taymans <wim@fluendo.com>
19175 * gst/gstcaps.c: (gst_caps_is_equal):
19176 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19177 (gst_fake_src_create):
19178 Back out previous code changes, leave doc updates, file bugs
19181 2005-12-05 Wim Taymans <wim@fluendo.com>
19183 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19184 (gst_fake_src_get_times), (gst_fake_src_create):
19185 * plugins/elements/gstfakesrc.h:
19186 Fix broken sync code.
19188 2005-12-05 Wim Taymans <wim@fluendo.com>
19190 * gst/gstcaps.c: (gst_caps_is_equal):
19191 Comparing NULL against !NULL yields different caps, not a
19194 2005-12-05 Wim Taymans <wim@fluendo.com>
19196 * gst/gstpipeline.c:
19197 Fix small typo in docs.
19199 2005-12-05 Andy Wingo <wingo@pobox.com>
19201 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19203 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19204 registries/plugins with a MAJORMINOR one.
19205 (plugin_desc): Rename library from gstcoreleements to
19206 staticelements. Fixes #323222.
19208 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19211 Change debug category to 'collectpads' from 'collect_pads'
19214 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19216 patch by: Sebastien Moutte
19218 * libs/gst/controller/gstinterpolation.c:
19219 use convert function for uint64/double
19220 * win32/vs6/libgstcontroller.dsp:
19223 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19225 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19226 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19228 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19229 add tests that seem to show that the guint64/gdouble conversions
19232 2005-12-02 Wim Taymans <wim@fluendo.com>
19234 * gst/gstregistry.c: (gst_registry_add_path):
19235 * gst/gstregistry.h:
19236 * gst/gstregistryxml.c:
19239 2005-12-02 Wim Taymans <wim@fluendo.com>
19241 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19242 (gst_util_uint64_scale_int):
19245 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19246 Add debug log line.
19248 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19251 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * win32/common/config.h:
19255 * win32/vs6/gstreamer.dsw:
19256 * win32/vs6/libgstcoreelements.dsp:
19257 * win32/vs6/libgstelements.dsp:
19258 renamed core elements plugin
19260 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19262 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19264 do piece-wise major/minor comparison so 0.9 < 0.10
19265 also allow .exe extensions for tools
19267 2005-12-02 Michael Smith <msmith@fluendo.com>
19270 Escape a % to make gtkdoc happier; bug 322958.
19272 === release 0.9.7 ===
19274 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19277 releasing 0.9.7, "My Dog Has No Nose"
19279 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19281 * common/gst-xmlinspect.py:
19283 * docs/libs/tmpl/gstdataprotocol.sgml:
19284 * docs/random/release:
19303 * win32/common/config.h:
19304 * win32/common/config.h.in:
19305 * win32/vs6/gst_inspect.dsp:
19306 * win32/vs6/gst_launch.dsp:
19307 * win32/vs6/libgstbase.dsp:
19308 * win32/vs6/libgstelements.dsp:
19309 * win32/vs6/libgstreamer.dsp:
19310 * win32/vs7/GStreamer.vcproj:
19311 * win32/vs7/gst-inspect.vcproj:
19312 * win32/vs7/gst-launch.vcproj:
19313 * win32/vs7/libgstbase.vcproj:
19314 bump GST_MAJORMINOR to 0.10
19315 reset libtool version
19317 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19321 Added Bulgarian translation by (Alexander Shopov)
19323 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19325 * tests/check/gst/gstplugin.c:
19328 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19330 * common/gst-xmlinspect.py:
19331 * common/gtk-doc-plugins.mak:
19333 * docs/Makefile.am:
19334 * docs/gst/Makefile.am:
19335 * docs/gst/gstreamer-docs.sgml:
19336 * docs/gst/gstreamer-sections.txt:
19337 * docs/gst/gstreamer.types:
19338 * docs/gst/gstreamer.types.in:
19339 * docs/plugins/Makefile.am:
19340 * docs/plugins/gstreamer-plugins-docs.sgml:
19341 * docs/plugins/gstreamer-plugins-sections.txt:
19342 * docs/plugins/gstreamer-plugins.types:
19343 * docs/plugins/inspect.stamp:
19344 * docs/plugins/inspect/plugin-coreelements.xml:
19345 * docs/plugins/inspect/plugin-coreindexers.xml:
19346 * docs/plugins/scanobj-build.stamp:
19347 * gstreamer.spec.in:
19348 * plugins/elements/Makefile.am:
19349 * plugins/elements/gstelements.c:
19350 * plugins/elements/gstfakesink.c:
19351 * plugins/elements/gstfakesrc.c:
19352 * plugins/elements/gstfilesink.c:
19353 * plugins/elements/gstfilesrc.c:
19354 * plugins/elements/gstqueue.c:
19355 * plugins/indexers/Makefile.am:
19356 * plugins/indexers/gstindexers.c:
19357 document core plugins in a separate document just like all the
19359 rename these plugins to something starting with core
19361 2005-12-01 Andy Wingo <wingo@pobox.com>
19363 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19364 padding here before, but it missed the commit.
19366 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19368 * libs/gst/controller/gstinterpolation.c:
19369 whitespace prices have crashed, we should feel free to use some now
19370 use gst_guint64_to_gdouble
19372 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19374 * libs/gst/controller/gstcontroller.c:
19375 * libs/gst/controller/gsthelper.c:
19376 * libs/gst/controller/gstinterpolation.c:
19377 * libs/gst/controller/lib.c:
19378 wrap config.h include
19380 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19382 * docs/gst/gstreamer-sections.txt:
19385 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19387 * plugins/elements/gstelements.c:
19388 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19389 (gst_fd_sink__class_init), (gst_fd_sink__init),
19390 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19391 (gst_fd_sink__get_property):
19392 * plugins/elements/gstfdsink.h:
19393 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19394 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19395 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19396 (gst_fd_src_unlock), (gst_fd_src_set_property),
19397 (gst_fd_src_get_property), (gst_fd_src_create),
19398 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19399 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19400 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19401 (gst_fd_src_uri_handler_init):
19402 * plugins/elements/gstfdsrc.h:
19403 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19406 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19408 * docs/gst/Makefile.am:
19409 * docs/gst/gstreamer.types.in:
19413 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19419 * gst/gstregistry.h:
19420 * tests/benchmarks/complexity.c:
19421 * tests/benchmarks/mass-elements.c:
19422 * tests/check/Makefile.am:
19423 * tools/Makefile.am:
19424 * tools/gst-inspect.c:
19425 * tools/gst-xmlinspect.c:
19426 various fixes to make
19427 --disable-nls --disable-registry --disable-loadsave
19428 --disable-parse --disable-gst-debug
19429 work and get the core .so down to 360444 bytes after stripping
19431 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19436 * docs/random/thomasvs/TODO:
19437 * tests/Makefile.am:
19441 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19443 * win32/GStreamer.vcproj:
19446 * win32/Makefile.inspect:
19447 * win32/Makefile.launch:
19448 * win32/Makefile.register:
19449 * win32/README.txt:
19450 * win32/gst-inspect.vcproj:
19451 * win32/gst-launch.vcproj:
19452 * win32/gst-register.vcproj:
19453 * win32/gstelements.vcproj:
19454 * win32/gstgetbits.def:
19455 * win32/gstgetbits.vcproj:
19456 * win32/gstreamer-dbg.def:
19457 * win32/gstreamer.def:
19458 * win32/libgstbase.def:
19459 * win32/libgstbase.vcproj:
19460 * win32/link_oldruntime.c:
19464 * win32/msvc71.sln:
19465 move even more stuff, win32/ is nice and clean now
19467 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19469 * libs/gst/control/.cvsignore:
19474 * win32/gstbytestream.def:
19475 * win32/gstbytestream.vcproj:
19476 * win32/gstconfig.h:
19477 * win32/gstenumtypes.c:
19478 * win32/gstenumtypes.h:
19479 * win32/gstoptimalscheduler.vcproj:
19480 * win32/gstversion.h:
19482 * win32/testsuite/bins.vcproj:
19483 * win32/testsuite/bytestream.vcproj:
19484 * win32/testsuite/caps.vcproj:
19485 * win32/testsuite/cleanup.vcproj:
19486 * win32/testsuite/clock.vcproj:
19487 * win32/testsuite/debug.vcproj:
19488 * win32/testsuite/dlopen.vcproj:
19489 * win32/testsuite/dynparams.vcproj:
19490 * win32/testsuite/elements.vcproj:
19491 * win32/testsuite/ghostpads.vcproj:
19492 * win32/testsuite/indexers.vcproj:
19493 * win32/testsuite/negotiation.vcproj:
19494 * win32/testsuite/parse.vcproj:
19495 * win32/testsuite/plugin.vcproj:
19496 * win32/testsuite/refcounting.vcproj:
19497 * win32/testsuite/schedulers.vcproj:
19498 * win32/testsuite/states.vcproj:
19499 * win32/testsuite/tags.vcproj:
19500 * win32/testsuite/threads.vcproj:
19501 remove old win32 stuff that isn't maintained and should be
19504 2005-11-30 Andy Wingo <wingo@pobox.com>
19506 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19507 loading the gst.interfaces python module bork.
19509 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19510 available since GLib 2.2. Fixes #318031.
19512 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19515 * check/.cvsignore:
19516 * check/Makefile.am:
19517 * check/elements/.cvsignore:
19518 * check/elements/fakesrc.c:
19519 * check/elements/fdsrc.c:
19520 * check/elements/identity.c:
19521 * check/generic/.cvsignore:
19522 * check/generic/states.c:
19523 * check/gst-libs/.cvsignore:
19524 * check/gst-libs/controller.c:
19525 * check/gst-libs/gdp.c:
19526 * check/gst/.cvsignore:
19527 * check/gst/capslist.h:
19529 * check/gst/gstbin.c:
19530 * check/gst/gstbuffer.c:
19531 * check/gst/gstbus.c:
19532 * check/gst/gstcaps.c:
19533 * check/gst/gstelement.c:
19534 * check/gst/gstevent.c:
19535 * check/gst/gstghostpad.c:
19536 * check/gst/gstiterator.c:
19537 * check/gst/gstmessage.c:
19538 * check/gst/gstminiobject.c:
19539 * check/gst/gstobject.c:
19540 * check/gst/gstpad.c:
19541 * check/gst/gstpipeline.c:
19542 * check/gst/gstplugin.c:
19543 * check/gst/gstsegment.c:
19544 * check/gst/gststructure.c:
19545 * check/gst/gstsystemclock.c:
19546 * check/gst/gsttag.c:
19547 * check/gst/gstutils.c:
19548 * check/gst/gstvalue.c:
19549 * check/net/.cvsignore:
19550 * check/net/gstnetclientclock.c:
19551 * check/net/gstnettimeprovider.c:
19552 * check/pipelines/.cvsignore:
19553 * check/pipelines/cleanup.c:
19554 * check/pipelines/simple_launch_lines.c:
19555 * check/pipelines/stress.c:
19556 * check/states/.cvsignore:
19557 * check/states/sinks.c:
19559 * examples/Makefile.am:
19560 * examples/appreader/.cvsignore:
19561 * examples/appreader/Makefile.am:
19562 * examples/appreader/appreader.c:
19563 * examples/controller/.cvsignore:
19564 * examples/controller/Makefile.am:
19565 * examples/controller/audio-example.c:
19566 * examples/cutter/.cvsignore:
19567 * examples/cutter/Makefile.am:
19568 * examples/cutter/cutter.c:
19569 * examples/cutter/cutter.h:
19570 * examples/events/Makefile.am:
19571 * examples/events/seek.c:
19572 * examples/helloworld/.cvsignore:
19573 * examples/helloworld/Makefile.am:
19574 * examples/helloworld/helloworld.c:
19575 * examples/helloworld2/.cvsignore:
19576 * examples/helloworld2/Makefile.am:
19577 * examples/helloworld2/helloworld2.c:
19578 * examples/launch/.cvsignore:
19579 * examples/launch/Makefile.am:
19580 * examples/launch/mp3parselaunch.c:
19581 * examples/launch/mp3play:
19582 * examples/manual/.cvsignore:
19583 * examples/manual/Makefile.am:
19584 * examples/manual/extract.pl:
19585 * examples/metadata/Makefile.am:
19586 * examples/metadata/read-metadata.c:
19587 * examples/mixer/.cvsignore:
19588 * examples/mixer/Makefile.am:
19589 * examples/mixer/mixer.c:
19590 * examples/mixer/mixer.h:
19591 * examples/pingpong/.cvsignore:
19592 * examples/pingpong/Makefile.am:
19593 * examples/pingpong/pingpong.c:
19594 * examples/plugins/.cvsignore:
19595 * examples/plugins/Makefile.am:
19596 * examples/plugins/example.c:
19597 * examples/plugins/example.h:
19598 * examples/pwg/.cvsignore:
19599 * examples/pwg/Makefile.am:
19600 * examples/pwg/extract.pl:
19601 * examples/queue/.cvsignore:
19602 * examples/queue/Makefile.am:
19603 * examples/queue/queue.c:
19604 * examples/queue2/.cvsignore:
19605 * examples/queue2/Makefile.am:
19606 * examples/queue2/queue2.c:
19607 * examples/queue3/.cvsignore:
19608 * examples/queue3/Makefile.am:
19609 * examples/queue3/queue3.c:
19610 * examples/queue4/.cvsignore:
19611 * examples/queue4/Makefile.am:
19612 * examples/queue4/queue4.c:
19613 * examples/retag/.cvsignore:
19614 * examples/retag/Makefile.am:
19615 * examples/retag/retag.c:
19616 * examples/retag/transcode.c:
19617 * examples/thread/.cvsignore:
19618 * examples/thread/Makefile.am:
19619 * examples/thread/thread.c:
19620 * examples/typefind/.cvsignore:
19621 * examples/typefind/Makefile.am:
19622 * examples/typefind/typefind.c:
19623 * examples/xml/.cvsignore:
19624 * examples/xml/Makefile.am:
19625 * examples/xml/createxml.c:
19626 * examples/xml/runxml.c:
19627 * tests/Makefile.am:
19628 * tests/check/Makefile.am:
19629 * testsuite/.cvsignore:
19630 * testsuite/Makefile.am:
19632 * testsuite/caps/.cvsignore:
19633 * testsuite/caps/Makefile.am:
19634 * testsuite/caps/app_fixate.c:
19635 * testsuite/caps/audioscale.c:
19636 * testsuite/caps/caps.c:
19637 * testsuite/caps/caps.h:
19638 * testsuite/caps/caps_strings:
19639 * testsuite/caps/compatibility.c:
19640 * testsuite/caps/deserialize.c:
19641 * testsuite/caps/enumcaps.c:
19642 * testsuite/caps/eratosthenes.c:
19643 * testsuite/caps/filtercaps.c:
19644 * testsuite/caps/fixed.c:
19645 * testsuite/caps/fraction-convert.c:
19646 * testsuite/caps/fraction-multiply-and-zero.c:
19647 * testsuite/caps/intersect2.c:
19648 * testsuite/caps/intersection.c:
19649 * testsuite/caps/normalisation.c:
19650 * testsuite/caps/random.c:
19651 * testsuite/caps/renegotiate.c:
19652 * testsuite/caps/sets.c:
19653 * testsuite/caps/simplify.c:
19654 * testsuite/caps/string-conversions.c:
19655 * testsuite/caps/structure.c:
19656 * testsuite/caps/subtract.c:
19657 * testsuite/caps/union.c:
19658 * testsuite/debug/.cvsignore:
19659 * testsuite/debug/Makefile.am:
19660 * testsuite/debug/category.c:
19661 * testsuite/debug/commandline.c:
19662 * testsuite/debug/global.c:
19663 * testsuite/debug/output.c:
19664 * testsuite/debug/printf_extension.c:
19665 * testsuite/dlopen/.cvsignore:
19666 * testsuite/dlopen/Makefile.am:
19667 * testsuite/dlopen/dlopen_gst.c:
19668 * testsuite/dlopen/loadgst.c:
19669 * testsuite/elements/.cvsignore:
19670 * testsuite/elements/Makefile.am:
19671 * testsuite/elements/gst-inspect-check.in:
19672 * testsuite/elements/struct_i386.h:
19673 * testsuite/elements/struct_size.c:
19674 * testsuite/indexers/.cvsignore:
19675 * testsuite/indexers/Makefile.am:
19676 * testsuite/indexers/cache1.c:
19677 * testsuite/indexers/indexdump.c:
19678 * testsuite/parse/.cvsignore:
19679 * testsuite/parse/Makefile.am:
19680 * testsuite/parse/parse1.c:
19681 * testsuite/parse/parse2.c:
19682 * testsuite/plugin/.cvsignore:
19683 * testsuite/plugin/Makefile.am:
19684 * testsuite/plugin/README:
19685 * testsuite/plugin/dynamic.c:
19686 * testsuite/plugin/linked.c:
19687 * testsuite/plugin/loading.c:
19688 * testsuite/plugin/registry.c:
19689 * testsuite/plugin/static.c:
19690 * testsuite/plugin/static2.c:
19691 * testsuite/plugin/testplugin.c:
19692 * testsuite/plugin/testplugin2.c:
19693 * testsuite/plugin/testplugin2_s.c:
19694 * testsuite/plugin/testplugin_s.c:
19695 * testsuite/refcounting/.cvsignore:
19696 * testsuite/refcounting/Makefile.am:
19697 * testsuite/refcounting/bin.c:
19698 * testsuite/refcounting/element.c:
19699 * testsuite/refcounting/element_pad.c:
19700 * testsuite/refcounting/mainloop.c:
19701 * testsuite/refcounting/mem.c:
19702 * testsuite/refcounting/mem.h:
19703 * testsuite/refcounting/object.c:
19704 * testsuite/refcounting/pad.c:
19705 * testsuite/refcounting/sched.c:
19706 * testsuite/refcounting/thread.c:
19707 * testsuite/states/.cvsignore:
19708 * testsuite/states/Makefile.am:
19709 * testsuite/states/bin.c:
19710 * testsuite/states/locked.c:
19711 * testsuite/states/parent.c:
19712 * testsuite/threads/.cvsignore:
19713 * testsuite/threads/159566.c:
19714 * testsuite/threads/159852.c:
19715 * testsuite/threads/Makefile.am:
19716 * testsuite/threads/queue.c:
19717 * testsuite/threads/signals.c:
19718 * testsuite/threads/staticrec.c:
19719 * testsuite/threads/thread.c:
19720 * testsuite/threads/threadb.c:
19721 * testsuite/threads/threadc.c:
19722 * testsuite/threads/threadd.c:
19723 * testsuite/threads/threade.c:
19724 * testsuite/threads/threadf.c:
19725 * testsuite/threads/threadg.c:
19726 * testsuite/threads/threadh.c:
19727 * testsuite/threads/threadi.c:
19728 move all of these under tests
19730 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19733 * tests/Makefile.am:
19736 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19738 * docs/gst/gstreamer-sections.txt:
19739 * tests/sched/.cvsignore:
19740 * tests/sched/Makefile.am:
19741 * tests/sched/cases/(fs-fs).xml:
19742 * tests/sched/cases/(fs-i-fs).xml:
19743 * tests/sched/cases/(fs-i-i-fs).xml:
19744 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19745 * tests/sched/dynamic-pipeline.c:
19746 * tests/sched/interrupt1.c:
19747 * tests/sched/interrupt2.c:
19748 * tests/sched/interrupt3.c:
19749 * tests/sched/runtestcases:
19750 * tests/sched/runxml.c:
19751 * tests/sched/sched-stress.c:
19752 * tests/sched/sort.c:
19753 * tests/sched/testcases:
19754 * tests/sched/testcases1.tc:
19755 * tests/seeking/.cvsignore:
19756 * tests/seeking/Makefile.am:
19757 * tests/seeking/seeking1.c:
19758 * tests/threadstate/.cvsignore:
19759 * tests/threadstate/Makefile.am:
19760 * tests/threadstate/test1.c:
19761 * tests/threadstate/test2.c:
19762 * tests/threadstate/threadstate1.c:
19763 * tests/threadstate/threadstate2.c:
19764 * tests/threadstate/threadstate3.c:
19765 * tests/threadstate/threadstate4.c:
19766 * tests/threadstate/threadstate5.c:
19767 remove obsolete tests
19769 * tests/bench-complexity.scm:
19770 * tests/bench-mass_elements.scm:
19771 * tests/complexity.c:
19772 * tests/complexity.gnuplot:
19773 * tests/instantiate/.cvsignore:
19774 * tests/instantiate/Makefile.am:
19775 * tests/instantiate/caps.c:
19776 * tests/mass_elements.c:
19777 * tests/network-clock-utils.scm:
19778 * tests/network-clock.scm:
19780 First pass at cleaning up tests/ dir before moving the rest
19781 Combined with CVS surgery
19783 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19786 queue has moved, update
19788 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19790 * docs/gst/gstreamer-sections.txt:
19791 remove double entries from the docs
19792 * gst/gst_private.h:
19793 * gst/gstinfo.c: (_gst_debug_init):
19794 remove the THREAD debug category
19798 * docs/gst/gstreamer.types:
19799 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19800 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19801 completely move queue and fix up debugging categories
19803 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19805 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19806 make initialization portable, using LL is not
19808 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19810 * win32/common/gstconfig.h:
19813 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19815 * win32/common/libgstreamer.def:
19816 rename symbols; sort base section
19818 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19820 * gst/gstclock.c: (do_linear_regression):
19821 remove crack non-portable handrolled DEBUG macro
19823 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19825 * docs/random/release:
19827 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19828 (gst_object_flags_get_type), (register_gst_bin_flags),
19829 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19830 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19831 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19832 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19833 (gst_caps_flags_get_type), (register_gst_clock_return),
19834 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19835 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19836 (gst_clock_flags_get_type), (register_gst_state),
19837 (gst_state_get_type), (register_gst_state_change_return),
19838 (gst_state_change_return_get_type), (register_gst_state_change),
19839 (gst_state_change_get_type), (register_gst_element_flags),
19840 (gst_element_flags_get_type), (register_gst_core_error),
19841 (gst_core_error_get_type), (register_gst_library_error),
19842 (gst_library_error_get_type), (register_gst_resource_error),
19843 (gst_resource_error_get_type), (register_gst_stream_error),
19844 (gst_stream_error_get_type), (register_gst_event_type_flags),
19845 (gst_event_type_flags_get_type), (register_gst_event_type),
19846 (gst_event_type_get_type), (register_gst_seek_type),
19847 (gst_seek_type_get_type), (register_gst_seek_flags),
19848 (gst_seek_flags_get_type), (register_gst_format),
19849 (gst_format_get_type), (register_gst_index_certainty),
19850 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19851 (gst_index_entry_type_get_type),
19852 (register_gst_index_lookup_method),
19853 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19854 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19855 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19856 (gst_index_flags_get_type), (register_gst_debug_level),
19857 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19858 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19859 (gst_iterator_result_get_type), (register_gst_iterator_item),
19860 (gst_iterator_item_get_type), (register_gst_message_type),
19861 (gst_message_type_get_type), (register_gst_mini_object_flags),
19862 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19863 (gst_pad_link_return_get_type), (register_gst_flow_return),
19864 (gst_flow_return_get_type), (register_gst_activate_mode),
19865 (gst_activate_mode_get_type), (register_gst_pad_direction),
19866 (gst_pad_direction_get_type), (register_gst_pad_flags),
19867 (gst_pad_flags_get_type), (register_gst_pad_presence),
19868 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19869 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19870 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19871 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19872 (gst_plugin_flags_get_type), (register_gst_rank),
19873 (gst_rank_get_type), (register_gst_query_type),
19874 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19875 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19876 (gst_tag_flag_get_type), (register_gst_task_state),
19877 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19878 (gst_alloc_trace_flags_get_type),
19879 (register_gst_type_find_probability),
19880 (gst_type_find_probability_get_type), (register_gst_uri_type),
19881 (gst_uri_type_get_type), (register_gst_parse_error),
19882 (gst_parse_error_get_type):
19883 * win32/common/gstenumtypes.h:
19884 * win32/common/gstversion.h:
19885 update visual studio generated files
19887 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19889 * win32/vs6/libgstbase.dsp:
19890 * win32/vs6/libgstelements.dsp:
19891 update project files for new locations
19893 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19898 reinstate and update
19903 * docs/random/LICENSE:
19906 2005-11-30 Edward Hervey <edward@fluendo.com>
19908 * gst/gsttypefind.c: (gst_type_find_register):
19909 * gst/gsttypefind.h:
19910 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19911 (gst_type_find_factory_dispose):
19912 * gst/gsttypefindfactory.h:
19913 Fix memory leak in GstTypeFindFactory.
19915 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19918 * plugins/elements/Makefile.am:
19919 * plugins/elements/gstelements.c:
19920 * plugins/elements/gstqueue.c:
19921 move queue from core to the elements plugin
19923 2005-11-29 Andy Wingo <wingo@pobox.com>
19925 * libs/gst/base/gstbasetransform.h:
19926 * libs/gst/base/gstbasesrc.h:
19927 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19929 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19930 of pointers by which to pad very extensible base classes (like the
19931 ones in libs/gst/base).
19933 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19935 * docs/gst/gstreamer-docs.sgml:
19936 * docs/gst/gstreamer-sections.txt:
19937 * docs/libs/gstreamer-libs-docs.sgml:
19938 * docs/libs/gstreamer-libs-sections.txt:
19939 moving documentation from core to lib
19941 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19943 * check/Makefile.am:
19945 * docs/gst/Makefile.am:
19947 * gst/base/.cvsignore:
19948 * gst/base/Makefile.am:
19950 * gst/base/gstadapter.c:
19951 * gst/base/gstadapter.h:
19952 * gst/base/gstbasesink.c:
19953 * gst/base/gstbasesink.h:
19954 * gst/base/gstbasesrc.c:
19955 * gst/base/gstbasesrc.h:
19956 * gst/base/gstbasetransform.c:
19957 * gst/base/gstbasetransform.h:
19958 * gst/base/gstcollectpads.c:
19959 * gst/base/gstcollectpads.h:
19960 * gst/base/gstpushsrc.c:
19961 * gst/base/gstpushsrc.h:
19962 * gst/base/gsttypefindhelper.c:
19963 * gst/base/gsttypefindhelper.h:
19964 * gst/check/Makefile.am:
19965 * gst/check/gstcheck.c:
19966 * gst/check/gstcheck.h:
19967 * gst/net/Makefile.am:
19968 * gst/net/gstnet.h:
19969 * gst/net/gstnetclientclock.c:
19970 * gst/net/gstnetclientclock.h:
19971 * gst/net/gstnettimepacket.c:
19972 * gst/net/gstnettimepacket.h:
19973 * gst/net/gstnettimeprovider.c:
19974 * gst/net/gstnettimeprovider.h:
19975 * libs/gst/Makefile.am:
19976 * libs/gst/base/Makefile.am:
19977 * libs/gst/base/gstbasetransform.c:
19978 * libs/gst/check/Makefile.am:
19979 * plugins/elements/Makefile.am:
19981 CVS surgery + support to move base, check, and net out of gst
19984 2005-11-29 Andy Wingo <wingo@pobox.com>
19986 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19988 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19991 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19993 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19995 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19997 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19998 padding; reduces object size by about 30%. We don't expect
19999 anything else to go into gstobject.
20001 * gst/gstminiobject.h (struct _GstMiniObject)
20002 (struct _GstMiniObjectClass): Only one pointer of padding; the
20003 payload is only a pointer and two ints anyway. For the class there
20004 are only two methods as well.
20006 * gst/gstelement.h (struct _GstElementClass): Removed
20007 the state_changed signal callback, it is not used.
20009 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20011 * docs/gst/gstreamer.types:
20012 fix includes, though they are a little dinky
20014 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20016 * check/Makefile.am:
20017 look in the right place for elements, a lot more chance of
20020 remove indexers and elements subdirs
20021 * plugins/Makefile.am:
20022 make indexers conditional
20024 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20028 * plugins/elements/Makefile.am:
20029 * plugins/elements/gstcapsfilter.c:
20030 * plugins/elements/gstfilesink.c:
20031 * plugins/elements/gstfilesrc.c:
20032 * plugins/elements/gstidentity.c:
20033 * plugins/indexers/Makefile.am:
20034 do CVS surgery and related build fixery to move elements
20035 and indexers in a new gstreamer/plugins directory, out of the
20038 2005-11-29 Andy Wingo <wingo@pobox.com>
20040 * check/Makefile.am:
20041 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20042 * pkgconfig/gstreamer-net.pc.in:
20043 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20046 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20048 * tools/Makefile.am:
20049 * tools/gst-complete.1.in:
20050 * tools/gst-complete.c:
20051 * tools/gst-compprep.1.in:
20052 * tools/gst-compprep.c:
20053 removing -compprep and -complete
20055 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20057 * gst/gstevent.c: (gst_event_new_new_segment),
20058 (gst_event_parse_new_segment):
20060 fix #320529 - clean up new_segment API and structure.
20061 Let's hope everyone was using the methods, and not the structure.
20063 2005-11-29 Edward Hervey <edward@fluendo.com>
20065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20066 (gst_base_sink_event), (gst_base_sink_do_sync),
20067 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20068 Properly handle non GST_FORMAT_TIME segment
20069 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20070 Properly handle non GST_FORMAT_TIME segment
20071 * gst/gstsegment.c:
20072 This function is valid if the accumulator is 0 and the format
20073 is different from the requested format.
20075 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20077 * docs/gst/gstreamer-sections.txt:
20078 Add gst_query_new_seeking and gst_query_parse_seeking to the
20081 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20083 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20084 Treat a pad alloc with new caps the same as if we were not
20085 negotiated, in order to allow a changing upstream output
20086 to produce a new format of data.
20088 2005-11-29 Edward Hervey <edward@fluendo.com>
20090 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20091 (gst_base_transform_event), (gst_base_transform_eventfunc):
20092 The event virtual method is now properly implemented, with a default
20094 Sub classes should call the parent_class event method. They should
20095 return FALSE if they had a problem handling the given event, or don't
20096 want GstBaseTransform to send that even downstream
20097 * gst/elements/gstidentity.c: (gst_identity_class_init),
20098 (gst_identity_init), (gst_identity_event),
20099 (gst_identity_transform_ip), (gst_identity_set_property),
20100 (gst_identity_get_property):
20101 * gst/elements/gstidentity.h:
20102 Added the single-segment boolean property.
20103 If set to TRUE, it will output a single segment of data, starting from
20104 0, will eat up all incoming newsegment, and modify the timestamp of the
20105 buffers accordingly
20107 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20109 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20110 Don't ref NULL target pad (#322751). Improve docs.
20112 2005-11-29 Michael Smith <msmith@fluendo.com>
20114 * gst/gstregistryxml.c: (load_plugin):
20115 Don't crash if we failed to load a feature from a plugin.
20117 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20119 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20121 use more check API and less GLib API
20123 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20126 don't run checks if we don't have check
20127 * common/check.mak:
20128 remove the registry when running make torture
20129 * docs/gst/gstreamer-sections.txt:
20130 remove second multiply
20131 * gst/gstqueue.c: (gst_queue_loop):
20132 fix a compile warning when disabling debug
20134 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20137 Hey! Let's print the pad name if the pointer != NULL instead
20138 of when it == NULL :-)
20140 2005-11-28 Wim Taymans <wim@fluendo.com>
20142 * check/gst/gstutils.c: (GST_START_TEST):
20143 Updated check, add some scaling accuracy checking code.
20145 * gst/gstutils.c: (gst_util_div128_64),
20146 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20147 (gst_util_uint64_scale_int):
20148 Fix 6 times faster division code. Optimize for common
20149 1/1 and less common X/1 cases.
20151 2005-11-28 Wim Taymans <wim@fluendo.com>
20153 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20156 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20157 (do_linear_regression), (gst_clock_add_observation):
20159 Release lock when the clock cannot be slaved.
20160 Catch the case where the regression returned an invalid denominator.
20162 * gst/gstutils.c: (gst_util_div128_64_iterate),
20163 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20164 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20165 Add protentially more performant non-iterative 128/64 divide function
20166 that unfortunatly does not work yet.
20167 Shortcut the trivial 0/X = 0 case.
20168 Remove the warnings on overflow.
20170 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20172 * gst/gstplugin.c: (gst_plugin_register_func):
20173 everything causing a plugin not to load should be at least a WARNING
20175 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20177 * docs/random/ensonic/dparams.txt:
20178 some TODOs for the next dev cycle
20179 * libs/gst/controller/gstcontroller.c:
20180 (gst_controlled_property_set_interpolation_mode),
20181 (gst_controlled_property_new):
20182 * libs/gst/controller/gstcontroller.h:
20183 use base type to assign acccessor functions
20185 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20187 * check/Makefile.am:
20188 Oops, that should have been top_srcdir
20190 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20192 * check/Makefile.am:
20193 * check/elements/fdsrc.c: (GST_START_TEST):
20194 Use a cmdline define to specify the location of a file to use for
20195 testing, to avoid breaking distcheck.
20197 2005-11-28 Andy Wingo <wingo@pobox.com>
20199 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20201 2005-11-28 Edward Hervey <edward@fluendo.com>
20203 * tools/gst-launch.c: (main):
20204 Clarify the output strings, makes it easier to translate.
20207 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20210 don't try and build net if we don't even have <sys/socket.h>
20212 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20214 * check/Makefile.am:
20215 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20216 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20217 Add tests for fdsrc seekability
20219 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20220 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20221 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20222 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20223 * gst/elements/gstfdsrc.h:
20224 fdsrc should not be a 'live' source.
20225 Implement seeking on seekable fd's.
20227 * gst/gstquery.c: (gst_query_new_seeking),
20228 (gst_query_parse_seeking):
20230 Implement SEEKING query functions:
20231 *_new_seeking and *_parse_seeking
20233 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20235 * gst/gstelement.c: (gst_element_dispose):
20238 * gst/gstiterator.c:
20239 * gst/gststructure.c:
20242 * libs/gst/controller/gstcontroller.c:
20243 (gst_controlled_property_set_interpolation_mode):
20244 * libs/gst/controller/gstcontroller.h:
20245 * libs/gst/controller/gstinterpolation.c:
20246 (interpolate_none_get_enum_value_array):
20247 support controlling enums
20249 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20252 Improve documentation for gst_value_union().
20255 Change return value for union, intersect and subtract functions
20256 from gint to gboolean.
20258 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20260 * gst/gstvalue.c: (gst_value_serialize_any_list),
20261 (gst_value_transform_any_list_string),
20262 (gst_value_deserialize_list), (gst_value_deserialize_array),
20263 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20264 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20265 (gst_value_set_fraction_range_full),
20266 (gst_value_deserialize_fraction_range),
20267 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20268 (gst_value_deserialize_boolean),
20269 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20270 (gst_value_serialize_float), (gst_value_deserialize_float),
20271 (gst_string_wrap), (gst_value_deserialize_string),
20272 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20273 (gst_value_union_int_range_int_range),
20274 (gst_value_intersect_int_range_int_range),
20275 (gst_value_intersect_double_range_double_range),
20276 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20277 (gst_value_subtract_int_range_int_range),
20278 (gst_value_subtract_double_double_range),
20279 (gst_value_subtract_double_range_double_range),
20280 (gst_value_deserialize_fraction):
20282 Use gint, gdouble and gchar in our API instead of int, double and
20283 char (and make usage in gstvalue.c more consistent).
20285 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20287 * check/Makefile.am:
20288 * libs/gst/controller/Makefile.am:
20289 * libs/gst/dataprotocol/Makefile.am:
20290 fix up Makefile.am and remove GST_ENABLE_NEW
20292 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20296 * gst/base/Makefile.am:
20297 * gst/check/Makefile.am:
20298 * gst/elements/Makefile.am:
20299 * gst/net/Makefile.am:
20300 update LDFLAGS use some more
20302 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20304 * common/m4/gst-doc.m4:
20307 2005-11-26 Edward Hervey <edward@fluendo.com>
20309 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20310 This shouldn't issue a g_warning since it returns NULL if it
20311 couldn't find the plugin, and all functions using this behave
20312 properly on a NULL return. Switching to a GST_WARNING.
20314 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20316 * gst/gstbin.c: (gst_bin_handle_message_func):
20317 Don't leak clock messages.
20319 2005-11-25 Wim Taymans <wim@fluendo.com>
20321 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20322 (gst_util_uint64_scale_int):
20323 Optimisations, remove unneeded vars.
20325 2005-11-25 Wim Taymans <wim@fluendo.com>
20327 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20328 Added more checks for the high precision uint64 cases.
20330 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20331 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20332 Implement high precision (guint64 * guint64) / guint64.
20334 2005-11-24 Wim Taymans <wim@fluendo.com>
20336 * gst/base/gstbasesrc.c: (gst_base_src_query):
20337 Fix wrong percentage query.
20339 * gst/gstutils.c: (gst_util_uint64_scale),
20340 (gst_util_uint64_scale_int):
20341 Add some more common cases that can be handled
20342 efficiently to _scale.
20344 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20346 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20347 (gst_mini_object_suite):
20348 don't use check calls from threads; check probably isn't
20349 threadsafe and using a lock to make it threadsafe would
20350 defeat the purpose of this check
20351 * gst/check/gstcheck.c:
20352 * gst/check/gstcheck.h:
20353 use GST_DEBUG some more
20355 2005-11-24 Wim Taymans <wim@fluendo.com>
20357 * gst/gstutils.c: (gst_util_uint64_scale),
20358 (gst_util_uint64_scale_int):
20359 Chain trivial case to _scale_int.
20361 2005-11-24 Wim Taymans <wim@fluendo.com>
20363 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20364 Added test for scaling.
20369 * gst/gstutils.c: (gst_util_uint64_scale_int):
20370 Implemented high precision scaling code.
20372 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20375 do not crash on pad==NULL
20377 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20379 Patch by: Stefan Kost
20381 * common/gtk-doc.mak:
20382 * docs/gst/Makefile.am:
20383 * docs/libs/Makefile.am:
20384 Fix distcheck issues for the libraries docs build
20387 2005-11-24 Michael Smith <msmith@fluendo.com>
20389 * docs/manual/basics-helloworld.xml:
20390 Fix bug #315027: memory leak in example code in docs.
20392 2005-11-24 Michael Smith <msmith@fluendo.com>
20394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20395 Unlock the PREROLL_LOCK in a failure case.
20397 2005-11-24 Wim Taymans <wim@fluendo.com>
20399 * docs/gst/gstreamer-sections.txt:
20400 * gst/base/gstadapter.h:
20401 * gst/base/gstbasesink.h:
20402 * gst/base/gstbasesrc.h:
20403 * gst/base/gstbasetransform.h:
20404 * gst/base/gstpushsrc.h:
20405 * gst/elements/gstfakesink.h:
20406 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20407 * gst/elements/gstfakesrc.h:
20408 * gst/elements/gstfilesink.h:
20409 * gst/elements/gstfilesrc.h:
20412 * gst/gstbuffer.c: (_gst_buffer_copy):
20415 * gst/gstchildproxy.c:
20417 * gst/gstelement.c:
20418 * gst/gstelementfactory.c:
20419 * gst/gstelementfactory.h:
20421 * gst/gstghostpad.h:
20423 * gst/gstinterface.h:
20424 * gst/gstminiobject.c:
20425 * gst/gstminiobject.h:
20428 * gst/gstpadtemplate.h:
20429 * gst/gstpipeline.h:
20430 * gst/gstpluginfeature.h:
20433 * gst/gsttaglist.c:
20434 * gst/gsttaglist.h:
20435 * gst/gsttagsetter.c:
20436 * gst/gsttagsetter.h:
20439 * gst/gsttypefind.h:
20442 * gst/net/gstnetclientclock.c:
20443 * gst/net/gstnetclientclock.h:
20444 * gst/net/gstnettimepacket.c:
20445 * gst/net/gstnettimeprovider.c:
20446 * gst/net/gstnettimeprovider.h:
20449 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20451 * configure.ac: back to HEAD
20453 === release 0.9.6 ===
20455 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20458 releasing 0.9.6, "Always On Time"
20460 2005-11-23 Wim Taymans <wim@fluendo.com>
20462 * docs/gst/gstreamer-sections.txt:
20463 * gst/glib-compat.c:
20464 * gst/gsttagsetter.c:
20466 * gst/net/gstnetclientclock.c:
20467 * gst/net/gstnettimepacket.h:
20470 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20472 * docs/faq/using.xml:
20473 * docs/libs/tmpl/gstcontrol.sgml:
20474 * docs/manual/advanced-dparams.xml:
20475 * docs/manual/appendix-checklist.xml:
20476 * docs/manual/basics-elements.xml:
20477 * docs/pwg/other-source.xml:
20478 * docs/random/moving-plugins:
20480 * tools/gst-launch.1.in:
20481 remove mentions of sinesrc
20483 2005-11-23 Michael Smith <msmith@fluendo.com>
20485 * docs/gst/gstreamer-sections.txt:
20486 Update for new API and API changes.
20488 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20490 Documentation typo fix.
20491 * gst/net/gstnettimepacket.c:
20492 Documentation fixes for arguments.
20494 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20496 * gst/gststructure.c: (gst_structure_get_fraction),
20497 (gst_structure_parse_value),
20498 (gst_structure_fixate_field_nearest_fraction):
20499 * gst/gststructure.h:
20500 * gst/gstutils.c: (gst_util_uint64_scale_int):
20502 * scripts/update-funcnames:
20504 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20505 Make gst_structure_fixate_field_nearest_fraction take a numerator
20506 and denominator argument instead of a GValue
20507 add gst_structure_get_fraction helper function.
20509 2005-11-23 Wim Taymans <wim@fluendo.com>
20511 * docs/design/part-TODO.txt:
20514 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20515 * gst/net/gstnetclientclock.h:
20516 Use parent fields for timeout and window_size.
20518 2005-11-23 Andy Wingo <wingo@pobox.com>
20520 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20521 rate_num/rate_denom change.
20523 * gst/net/gstnetclientclock.c
20524 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20525 OBJECT_LOCK. Don't call add_observation with the lock.
20527 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20529 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20531 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20532 deal with rate as a fraction whose numerator and denominator are
20533 GstClockTime values.
20534 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20535 master; the other fields are protected by the SLAVE_LOCK.
20536 (do_linear_regression): Note that this must be called with the
20538 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20539 OBJECT_LOCK. Call set_calibration instead of touching the
20540 variables directly.
20541 (gst_clock_set_property, gst_clock_get_property): Protect
20542 master/slave parameters with the SLAVE_LOCK.
20544 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20545 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20546 note that all of the instance variables that add_observation and
20547 the set_master functions use are protected by that lock and not
20549 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20551 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20552 the caller to take the object lock.
20554 2005-11-23 Wim Taymans <wim@fluendo.com>
20556 * gst/gsterror.c: (_gst_core_errors_init):
20558 Add error for clock stuff.
20560 * gst/gstpipeline.c: (gst_pipeline_change_state),
20561 (gst_pipeline_set_clock):
20562 Post clock error when clock cannot be used in a pipeline.
20564 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20566 * docs/gst/gstreamer-sections.txt:
20567 make two symbols from gstinfo private for the docs
20568 * gst/base/gstcollectpads.h:
20570 fix doc typos, update docs
20572 2005-11-22 Wim Taymans <wim@fluendo.com>
20574 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20575 (gst_base_sink_wait), (gst_base_sink_do_sync),
20576 (gst_base_sink_handle_event):
20577 * gst/base/gstbasesink.h:
20578 No need to store the clock, the parent element class already
20581 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20582 Updates for clock_set returning a gboolean
20584 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20585 (gst_clock_id_wait_async), (gst_clock_class_init),
20586 (gst_clock_init), (gst_clock_finalize),
20587 (gst_clock_get_internal_time), (gst_clock_get_time),
20588 (gst_clock_slave_callback), (gst_clock_set_master),
20589 (gst_clock_get_master), (do_linear_regression),
20590 (gst_clock_add_observation), (gst_clock_set_property),
20591 (gst_clock_get_property):
20593 Implement master/slave. When setting a clock as a slave, a
20594 periodic timeout is scheduled to sample master and slave times.
20595 Then the slave clock is recalibrated to match offset and rate
20596 of the master clock.
20597 Update logging a bit.
20598 Add flag so that a clock can state that is cannot be slaved to
20601 * gst/gstelement.c: (gst_element_set_clock):
20602 * gst/gstelement.h:
20603 The set clock returns a gboolean for when an element cannot
20604 deal with the selected clock in the pipeline.
20606 * gst/gstpipeline.c: (gst_pipeline_change_state),
20607 (gst_pipeline_set_clock):
20608 * gst/gstpipeline.h:
20609 Handle the case where the selected clock cannot be set on
20612 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20613 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20614 (gst_net_client_clock_set_property),
20615 (gst_net_client_clock_get_property),
20616 (gst_net_client_clock_observe_times):
20617 * gst/net/gstnetclientclock.h:
20618 Use regression code in GstClock parent, remove duplicated
20621 2005-11-22 Michael Smith <msmith@fluendo.com>
20623 * gst/gstutils.c: (gst_util_clock_time_scale):
20625 * docs/gst/gstreamer-sections.txt:
20626 Rename method to have extra underscore.
20628 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20630 * gst/elements/Makefile.am:
20631 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20632 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20633 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20634 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20635 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20636 * gst/elements/gstfakesrc.h:
20637 * gst/gstqueue.c: (queue_leaky_get_type):
20638 correctly fix GEnumValues so that nick is the short lowercase
20640 * tools/gst-inspect.c: (print_element_properties_info):
20641 also show the nick, since it's useful to use from parse_launch
20645 2005-11-22 Michael Smith <msmith@fluendo.com>
20647 * gst/gstutils.c: (gst_util_clocktime_scale):
20649 * docs/gst/gstreamer-sections.txt:
20650 Add util method for scaling a clocktime by a fraction. Useful
20651 implementation is left as an exercise for the reader.
20653 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20655 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20656 If needed, allocate storage in the destination value during
20659 2005-11-22 Edward Hervey <edward@fluendo.com>
20661 * docs/gst/gstreamer-sections.txt:
20664 * gst/gsturitype.c:
20665 * gst/gsturitype.h:
20666 * gst/gstutils.c: (gst_util_set_object_arg):
20667 * tools/gst-compprep.c: (main):
20668 * tools/gst-inspect.c: (print_element_properties_info):
20669 Removed GstURI, closes bug #321061
20671 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20673 * check/gst/gststructure.c: (GST_START_TEST):
20674 * gst/gststructure.c: (gst_structure_parse_value):
20675 Oops, broke automatic string type parsing.
20676 Add a test to catch it in future.
20678 2005-11-22 Andy Wingo <wingo@pobox.com>
20680 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20681 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20682 Actually rename the function implementations. Grr.
20684 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20686 * check/gst/capslist.h:
20688 * check/gst/gststructure.c: (GST_START_TEST),
20689 (gst_structure_suite):
20690 Test automatic value type detection in gst_structure_from_string.
20691 * gst/gststructure.c: (gst_structure_parse_value):
20692 Add fraction as a type we try and guess automatically in
20693 caps/structure strings.
20695 2005-11-22 Andy Wingo <wingo@pobox.com>
20697 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20699 * gst/gsttagsetter.h:
20700 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20701 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20702 (gst_tag_setter_add_tag_valist)
20703 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20704 _add_values, _add_valist, and _add_valist_values. Since this is an
20705 interface the function suffixes should be more explicit so
20706 language binding don't end up with element.add_valist ->
20707 gst_tag_setter_add_valist, for example. Fixes #322069.
20709 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20711 * check/gst/gstcaps.c: (GST_START_TEST):
20712 Extend caps string tests to check that a caps to string
20713 conversion is reversible and produces the same caps.
20715 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20716 Output "fraction" as the generic type fraction range, so caps
20717 serialisation and deserialisation works.
20718 * check/gst/capslist.h:
20719 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20720 Support 'MIN' and 'MAX' for deserialising fractions.
20722 2005-11-22 Andy Wingo <wingo@pobox.com>
20724 * gst/gstevent.h (gst_event_new_new_segment)
20725 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20726 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20727 Renamed from *_newsegment, *_buffersize, *_notarget.
20729 * scripts/update-funcnames: New script, performs the changes
20732 2005-11-22 Wim Taymans <wim@fluendo.com>
20734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20735 Make sure the GstFlowReturn is returned.
20737 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20738 (gst_bus_add_signal_watch):
20740 add gst_bus_add_signal_watch_full.
20742 * gst/gstplugin.c: (gst_plugin_load_file):
20743 Small style cleanup.
20745 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20747 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20748 Block the fakesrc srcpad when we send an event, to avoid
20749 contention on the stream_lock causing random test failures.
20751 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20753 * check/gst/gstvalue.c: (GST_START_TEST):
20754 * gst/gstvalue.c: (gst_value_fraction_subtract):
20757 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20760 include "gstchildproxy.h"
20761 * gst/gstchildproxy.h:
20762 * libs/gst/controller/gstcontroller.h:
20763 use G_GNUC_NULL_TERMINATED
20765 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20767 * check/gst/capslist.h:
20768 * check/gst/gstcaps.c: (GST_START_TEST):
20769 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20770 * gst/gststructure.c: (gst_structure_parse_range),
20771 (gst_structure_fixate_field_nearest_fraction):
20772 * gst/gststructure.h:
20773 * gst/gstvalue.c: (gst_value_init_fraction_range),
20774 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20775 (gst_value_collect_fraction_range),
20776 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20777 (gst_value_set_fraction_range_full),
20778 (gst_value_get_fraction_range_min),
20779 (gst_value_get_fraction_range_max),
20780 (gst_value_serialize_fraction_range),
20781 (gst_value_transform_fraction_range_string),
20782 (gst_value_compare_fraction_range),
20783 (gst_value_deserialize_fraction_range),
20784 (gst_value_intersect_fraction_fraction_range),
20785 (gst_value_intersect_fraction_range_fraction_range),
20786 (gst_value_subtract_fraction_fraction_range),
20787 (gst_value_subtract_fraction_range_fraction),
20788 (gst_value_subtract_fraction_range_fraction_range),
20789 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20790 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20791 (gst_value_transform_string_fraction), (_gst_value_initialize):
20793 Implement fraction ranges and extend GstFraction to support
20794 arithmetic subtraction, as well as deserialization from integer
20795 strings such as "100"
20796 Add a testsuite as for int and double range set operations
20798 2005-11-21 Andy Wingo <wingo@pobox.com>
20800 * gst/gsttaglist.h:
20802 * gst/gststructure.h: Add glib-compat.h.
20804 2005-11-21 Wim Taymans <wim@fluendo.com>
20806 * gst/gstbin.c: (gst_bin_change_state_func):
20809 2005-11-21 Wim Taymans <wim@fluendo.com>
20811 * gst/gstsegment.h:
20812 And add a nice define too.
20814 2005-11-21 Wim Taymans <wim@fluendo.com>
20816 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20817 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20818 (gst_segment_set_duration), (gst_segment_set_last_stop),
20819 (gst_segment_set_seek), (gst_segment_set_newsegment),
20820 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20821 (gst_segment_clip):
20822 * gst/gstsegment.h:
20823 Make binding friendly.
20825 2005-11-21 Andy Wingo <wingo@pobox.com>
20827 * gst/gsttagsetter.h:
20828 * gst/gsttaglist.h:
20829 * gst/gststructure.h:
20831 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20834 * gst/gsterror.c (_gst_core_errors_init):
20835 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20838 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20839 (noinst_HEADERS): noinst the -private.
20841 2005-11-21 Michael Smith <msmith@fluendo.com>
20844 * gst/gstregistry.h:
20845 Remove unimplemented declarations for which we can see no sensible
20848 2005-11-21 Andy Wingo <wingo@pobox.com>
20850 * gst/gst.h: Include glib-compat.h.
20852 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20854 * gst/glib-compat.c: Include the public and the private header.
20856 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20860 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20862 * check/gst/gstevent.c (create_custom_events): Check that
20863 FLUSH_STOP is serialized.
20865 * check/elements/identity.c (event_func):
20866 * check/elements/fakesrc.c (event_func): No stream lock, the core
20869 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20870 stream lock taking, yay.
20872 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20873 ensure that core takes the stream lock.
20875 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20878 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20879 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20880 it already. For the flush start we do take it though so we get the
20881 right preroll state change messages.
20883 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20884 the stream lock here, the core does it for us.
20886 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20887 GST_STREAM_GET_LOCK.
20888 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20889 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20890 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20891 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20892 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20893 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20895 * gst/gstpad.c: Update for stream lock name change.
20897 * gst/base/gstbasesink.c: Update for preroll lock name change.
20899 2005-11-21 Wim Taymans <wim@fluendo.com>
20901 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20902 (gst_clock_get_master):
20904 * gst/gstsystemclock.c: (gst_system_clock_init):
20905 Convert Clock flags to object flags.
20906 Added methods to manage master/slave clocks.
20908 2005-11-21 Wim Taymans <wim@fluendo.com>
20910 * check/gst/gstsegment.c: (GST_START_TEST):
20911 * docs/design/part-TODO.txt:
20912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20913 (gst_base_sink_event), (gst_base_sink_do_sync),
20914 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20915 (gst_base_sink_query), (gst_base_sink_change_state):
20916 * gst/base/gstbasesink.h:
20917 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20918 (gst_base_src_default_newsegment),
20919 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20920 (gst_base_src_get_range), (gst_base_src_loop),
20921 (gst_base_src_change_state):
20922 * gst/base/gstbasesrc.h:
20923 * gst/base/gstbasetransform.c:
20924 (gst_base_transform_prepare_output_buf),
20925 (gst_base_transform_event), (gst_base_transform_change_state):
20926 * gst/base/gstbasetransform.h:
20927 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20928 (gst_collect_pads_event):
20929 * gst/base/gstcollectpads.h:
20930 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20931 (gst_fake_src_create):
20932 * gst/elements/gstfakesrc.h:
20933 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20934 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20935 (gst_segment_set_last_stop), (gst_segment_set_seek),
20936 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20937 (gst_segment_to_running_time), (gst_segment_clip):
20938 * gst/gstsegment.h:
20939 More segment updates, replace code in plugins with segment
20942 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20944 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20945 Don't ignore sscanf results
20947 2005-11-21 Andy Wingo <wingo@pobox.com>
20949 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20952 * *.c: Ran scripts/update-macros. Oh yes.
20954 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20955 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20958 * scripts/update-macros: New script. Run it on your files to
20959 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20962 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20964 * docs/gst/Makefile.am:
20965 * docs/gst/gstreamer-docs.sgml:
20966 * docs/gst/gstreamer-sections.txt:
20967 * docs/gst/gstreamer.types:
20969 more docs fixes, add new api to the docs
20971 2005-11-21 Andy Wingo <wingo@pobox.com>
20973 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20974 state_broadcast call.
20976 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20978 2005-11-21 Julien MOUTTE <julien@moutte.net>
20980 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20981 function calls for arrays.
20983 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20985 * docs/random/ensonic/media-device-daemon.txt:
20986 wild idea, can this be done?
20987 * docs/gst/gstreamer-sections.txt:
20992 * gst/gstpluginfeature.c:
20996 doc fixes and additions
20998 2005-11-21 Andy Wingo <wingo@pobox.com>
21000 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
21001 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
21002 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
21003 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21004 private to the basesrc implementation.
21006 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21007 behalf of event function if necessary. It should no longer be
21008 necessary to take the stream lock in pad's event functions. Fixes
21011 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21012 * docs/gst/gstreamer-sections.txt:
21013 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21014 (gst_structure_fixate_field_nearest_double),
21015 (gst_structure_fixate_field_boolean):
21016 * gst/gststructure.h:
21017 * win32/common/libgstreamer.def:
21018 * win32/gstreamer.def:
21020 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21023 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21025 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21026 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21027 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21028 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21029 (gst_fdsrc_uri_handler_init):
21030 * gst/elements/gstfdsrc.h:
21031 Port fd:// URI handler from 0.8 to fdsrc
21033 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21035 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21036 (gst_value_serialize_fourcc):
21038 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21039 consistent with our other format defines (#320324).
21041 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21043 * gst/gstvalue.c: (gst_value_is_fixed):
21044 Revert previous commit. Value lists are by definition
21045 not fixed, as they are a list of possible values.
21047 2005-11-21 Andy Wingo <wingo@pobox.com>
21049 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21050 during the stable series if we need it. Fixes #319178.
21052 * gst/gstevent.c (gst_event_new_filler): Removed.
21054 * check/gst/gstevent.c: Update comment about filler events.
21056 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21058 * gst/gstvalue.c: (gst_value_is_fixed):
21059 Should handle both value arrays and value lists.
21061 2005-11-21 Andy Wingo <wingo@pobox.com>
21063 patch by: Alessandro Dessina <alessandro nnva org>
21065 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21066 functions to access arrays. Fixes #321962.
21068 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21070 * docs/gst/gstreamer.types:
21071 gst_collectpads_get_type => gst_collect_pads_get_type.
21073 * gst/base/gstbasetransform.c:
21074 Remove unused SIGNAL_HANDOFF enum.
21076 2005-11-21 Andy Wingo <wingo@pobox.com>
21078 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21079 the event type (upstream, downstream, serialized). Renamed
21080 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21081 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21082 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21084 * gst/gstevent.c: Update for new CUSTOM event names.
21086 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21089 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21092 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21094 * docs/gst/gstreamer-sections.txt:
21095 * win32/common/libgstbase.def:
21096 * win32/libgstbase.def:
21097 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21098 (gst_collect_pads_class_init), (gst_collect_pads_init),
21099 (gst_collect_pads_finalize), (gst_collect_pads_new),
21100 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21101 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21102 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21103 (gst_collect_pads_start), (gst_collect_pads_stop),
21104 (gst_collect_pads_peek), (gst_collect_pads_pop),
21105 (gst_collect_pads_available), (gst_collect_pads_read),
21106 (gst_collect_pads_flush), (gst_collect_pads_event),
21107 (gst_collect_pads_chain):
21108 * gst/base/gstcollectpads.h:
21109 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21110 unimplemented functions as unimplemented. Add padding to
21111 GstCollectData. (#320766, #320423)
21113 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21115 * gst/gstmessage.c:
21116 Improve docs for DURATION message (usage of duration parameter)
21119 2005-11-20 Wim Taymans <wim@fluendo.com>
21121 * check/Makefile.am:
21122 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21126 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21127 (gst_segment_set_seek), (gst_segment_set_newsegment),
21128 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21129 (gst_segment_clip):
21130 * gst/gstsegment.h:
21131 Added segment helper structure and methods. Not fully implemented
21133 Added segment check.
21135 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21137 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21138 Add a deserialisation test for fractions
21139 * examples/metadata/read-metadata.c: (message_loop),
21140 (make_pipeline), (main):
21141 Fix up metadata reading sample.
21142 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21144 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21145 Don't try and fixate empty caps
21146 * gst/gst_private.h:
21147 Wrap in G_BEGIN_DECLS/G_END_DECLS
21148 * gst/gstvalue.c: (gst_value_collect_fraction),
21149 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21150 (gst_value_transform_string_fraction),
21151 (gst_value_compare_fraction):
21152 Add some extra guards to ensure that we don't end up
21153 with an invalid denominator of 0 in a gstfraction and
21154 that fractions always get reduced.
21156 2005-11-20 Wim Taymans <wim@fluendo.com>
21158 * docs/gst/gstreamer-sections.txt:
21160 * gst/gstelement.c:
21169 2005-11-20 Wim Taymans <wim@fluendo.com>
21171 * docs/design/part-TODO.txt:
21173 Make a proper enum of the flag.
21175 2005-11-19 Wim Taymans <wim@fluendo.com>
21177 * docs/design/part-TODO.txt:
21178 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21179 (gst_format_to_quark), (gst_format_register):
21181 * gst/gstquery.c: (_gst_query_initialize),
21182 (gst_query_type_get_name), (gst_query_type_to_quark),
21183 (gst_query_type_register):
21185 Add type to quark and type to string conversions.
21187 2005-11-19 Andy Wingo <wingo@pobox.com>
21189 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21192 2005-11-19 Wim Taymans <wim@fluendo.com>
21194 * docs/design/part-TODO.txt:
21195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21196 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21197 (gst_bin_handle_message_func):
21199 Make message handling overridable.
21201 2005-11-19 Andy Wingo <wingo@pobox.com>
21203 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21206 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21208 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21209 is a GstClockTime. Fixes #321710.
21211 * gst/gstclock.h (GstClock): Remove offset property. Add
21212 internal_calibration and external_calibration. Fix padding. Pad
21213 also by GstClockTime so we don't run into problems.
21215 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21216 (gst_clock_get_rate_offset): Remove.
21217 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21220 * gst/gstutils.c (g_static_rec_cond_wait)
21221 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21223 * gst/gstbin.c: Remove terrible continue_state prototype.
21225 * gst/gstelement.h (gst_element_continue_state): Make public.
21227 * gst/gstelement.h:
21228 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21229 by continue_state. Fixes #319389.
21231 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21232 Really fixes #168438. However I don't see anywhere where the
21233 filter function is called... stupid GStreamer...
21235 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21236 don't have a dispose function, so it won't get called when the
21237 object is unreffed, but oh well!
21239 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21240 allows a destroy function to be set so user_data can be freed.
21242 (gst_index_set_filter): Call gst_index_set_filter_full.
21244 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21246 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21247 string should produce an error, given the lack of a way to
21248 represent NULL strings. Fixes #165650.
21251 * gst/gstvalue.c (gst_value_array_append_value)
21252 (gst_value_array_prepend_value, gst_value_array_get_size)
21253 (gst_value_array_get_value): New API, copied from
21254 gst_value_list_*, only operates on arrays.
21255 (gst_value_list_append_value, gst_value_list_prepend_value)
21256 (gst_value_list_concat, gst_value_list_get_size)
21257 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21259 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21260 init_list, because it works on both.
21261 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21262 (gst_value_copy_list_or_array): Renamed from copy_list.
21263 (gst_value_free_list_or_array): Renamed from free_list.
21264 (gst_value_collect_list_or_array): Renamed from collect_list.
21265 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21266 (gst_value_list_or_array_peek_pointer): Renamed from
21268 (_gst_value_array_value_table, _gst_value_list_value_table):
21269 Update value table functions.
21270 (gst_value_compare_list_or_array): Renamed from compare_list.
21272 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21275 * gst/gsttaglist.c:
21276 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21277 GstTagList*. Fixes #143472.
21279 * gst/gststructure.h: Clarify what the foreach/map functions can
21280 or can't do to their arguments.
21282 2005-11-18 Wim Taymans <wim@fluendo.com>
21284 * gst/gstclock.c: (gst_clock_set_calibration),
21285 (gst_clock_get_calibration):
21287 Calibration can be set with internal time equal to current
21290 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21296 2005-11-18 Andy Wingo <wingo@pobox.com>
21299 * pkgconfig/gstreamer-net.pc.in:
21300 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21301 * pkgconfig/Makefile.am: Add net pkgconfig files.
21303 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21306 * gst/gstghostpad.c:
21312 2005-11-18 Andy Wingo <wingo@pobox.com>
21314 * gst/net/gstnetclientclock.c: Turn off debugging.
21316 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21317 times connverge somewhat. Can't make a real test.
21319 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21320 integer arithmetic. Return the minimum of the domain, which can be
21321 set as "internal" for gst_clock_set_calibration.
21322 (gst_net_client_clock_observe_times): Call _set_calibration.
21323 (gst_net_client_clock_new): Call _set_calibration instead of
21326 * check/net/gstnetclientclock.c (test_functioning): Use the right
21330 * gst/gstclock.c (gst_clock_get_calibration)
21331 (gst_clock_set_calibration): New functions, obsolete the ones I
21332 added yesterday. Doh. Precision issues mean we have to extrapolate
21333 from a point in the more recent past than 1970.
21334 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21336 (gst_clock_adjust_unlocked): Use the right calibration data.
21338 2005-11-18 Edward Hervey <edward@fluendo.com>
21340 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21341 Also reset the ->current_* values in READY->PAUSED
21343 2005-11-18 Andy Wingo <wingo@pobox.com>
21345 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21346 Whoops, check the right fd. Also add some debugging.
21347 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21348 (do_linear_regression): Add a crapload of debugging. Subtract off
21349 the minimum values from the input series to discard unneeded bits.
21350 Use only int arithmetic. There is still double arithmetic when
21351 calculating the intercept that needs fixing. Return boolean to
21352 indicate success; FALSE would mean the domain or range is too
21353 great. Still needs fixes.
21355 2005-11-18 Wim Taymans <wim@fluendo.com>
21357 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21358 For the current position in stream time, we need to subtract
21361 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21362 Release lock before calling the callback function of async
21365 2005-11-18 Andy Wingo <wingo@pobox.com>
21367 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21368 Port goes all the way to MAXUINT16.
21370 * gst/net/gstnettimeprovider.c: Make the port range the same as
21371 for the kernel: 0 assigns, otherwise ports are less than
21374 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21377 * check/net/gstnetclientclock.c (test_functioning): Add the start
21380 2005-11-18 Wim Taymans <wim@fluendo.com>
21382 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21383 (gst_bin_remove_func), (bin_bus_handler):
21385 Removing a clock provider from a bin, triggers a clock lost message
21386 so that a new clock will be selected.
21387 Adding a clock to a bin triggers a clock provider message.
21388 Make sure we reselect a clock when we received a clock lost message.
21389 Keep a reference to the element that provided the clock.
21391 2005-11-18 Andy Wingo <wingo@pobox.com>
21393 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21394 the clock initially so it produces values around the base time.
21395 (gst_net_client_clock_class_init): Typo fix.
21396 (gst_net_client_clock_thread): Add note on when the socket gets
21399 2005-11-17 Wim Taymans <wim@fluendo.com>
21401 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21402 Free remote and local time arrays.
21404 2005-11-17 Wim Taymans <wim@fluendo.com>
21406 * gst/net/gstnetclientclock.c: (do_linear_regression),
21407 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21408 Fix compilation, uninitialized vars and a forgotten continue.
21410 2005-11-17 Andy Wingo <wingo@pobox.com>
21412 * check/Makefile.am (check_PROGRAMS):
21413 * check/net/gstnetclientclock.c: Add a most minimal test for the
21414 net client clock. More to come later.
21416 * gst/net/gstnet.h:
21417 * gst/net/Makefile.am: Add netclientclock.
21419 * gst/net/gstnetclientclock.h:
21420 * gst/net/gstnetclientclock.c: New files, implement an untested
21421 GstClock that takes its time from a network time provider.
21422 Implements the algorithm in network-clock.scm.
21424 * tests/network-clock.scm (*window-size*): Rename from
21426 * tests/network-clock.scm (network-time):
21427 * tests/network-clock-utils.scm (q-push): Update callers.
21429 2005-11-17 Wim Taymans <wim@fluendo.com>
21431 * gst/gstbin.c: (gst_bin_provide_clock_func),
21432 (gst_bin_sort_iterator_new):
21433 And unref the child too..
21435 2005-11-17 Wim Taymans <wim@fluendo.com>
21437 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21438 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21439 Refactor the sort iterator so it can be used while holding the
21441 Make clock selection select a clock closest to the source.
21443 2005-11-17 Michael Smith <msmith@fluendo.com>
21445 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21446 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21448 Anonymous structs are a gcc (and some other compilers) extension, so
21449 don't use them. Since this is only for ABI-compatibility, and our
21450 API/ABI freeze is over in a few days, this whole thing will only
21451 last a few days, so don't bother trying to think up a meaningful
21452 name for the struct.
21454 2005-11-17 Andy Wingo <wingo@pobox.com>
21456 * gst/gstclock.h (GstClock): Add rate and offset properties,
21457 preserving ABI stability. Add rate/offset accessors. Will file bug
21458 for the freeze break.
21460 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21461 and offset, trying to keep precision and avoiding
21462 underflow/overflow.
21463 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21464 functions. Make gst_clock_set_time_adjust obsolete.
21465 (gst_clock_set_time_adjust): Note that this function is obsolete.
21466 Will file bug soon.
21468 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21469 greppable by using GST_PADDING-1+1.
21471 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21473 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21475 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21476 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21478 * gst/gstpadtemplate.h:
21479 * gst/gstpluginfeature.h:
21480 Don't use c++ style comments in headers (#321638).
21482 2005-11-16 Andy Wingo <wingo@pobox.com>
21484 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21487 * check/net/gstnettimeprovider.c: Check to see that the time
21488 provider actually provides times. Works, yo!
21490 2005-11-16 Wim Taymans <wim@fluendo.com>
21492 * check/Makefile.am:
21495 * check/elements/fakesrc.c: (GST_START_TEST):
21496 Set element to NULL before disposing it.
21498 2005-11-16 Andy Wingo <wingo@pobox.com>
21500 * gst/net/Makefile.am:
21501 * gst/net/gstnet.h:
21502 * gst/net/gstnettimeprovider.c:
21503 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21504 provider, include it from gstnet.h, and add it to the build.
21506 * gst/net/gstnettimepacket.h:
21507 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21508 sending and receiving.
21510 2005-11-16 Wim Taymans <wim@fluendo.com>
21512 * check/Makefile.am:
21513 Enable valgrind check.
21515 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21516 (gst_fake_src_alloc_buffer):
21519 2005-11-16 Wim Taymans <wim@fluendo.com>
21521 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21522 Call parent finalize too.
21524 2005-11-16 Wim Taymans <wim@fluendo.com>
21526 * check/Makefile.am:
21527 Enable valgrind check that should work fine now.
21529 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21530 * gst/gstqueue.c: (gst_queue_init):
21531 Fix memleaks in pad allocation.
21533 2005-11-16 Andy Wingo <wingo@pobox.com>
21535 * gst/net/Makefile.am:
21536 * gst/net/gstnet.h: New part of core to hold network elements and
21537 objects. Put in core because it exposes API that applications want
21538 to use. The library is named libgstnet-tempname right now because
21539 of the existing libgstnet in gst-plugins-base. Solution is
21540 probably to rename the one in plugins-base; will file a bug for
21543 * gst/net/gstnettimeprovider.c:
21544 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21545 get_time call over the network.
21548 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21550 * check/Makefile.am:
21551 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21552 get additions shortly.
21554 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21556 * gst/gstpad.c: (gst_pad_new_from_static_template):
21558 add gst_pad_new_from_static_template functions
21559 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21560 (gst_check_setup_sink_pad):
21561 * gst/elements/gsttee.c: (gst_tee_init):
21564 2005-11-16 Wim Taymans <wim@fluendo.com>
21566 * gst/gstpad.c: (gst_pad_pause_task):
21567 Removed warning, it's not really an error either.
21569 2005-11-16 Wim Taymans <wim@fluendo.com>
21571 * gst/base/gstbasetransform.c:
21572 (gst_base_transform_prepare_output_buf),
21573 (gst_base_transform_event):
21574 Check if the caps are NULL, this can happen if the element
21575 is shutting down and the pad caps are set to NULL.
21577 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21579 * gst/elements/gsttee.c: (gst_tee_init):
21580 fix pad template leak in tee
21582 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21584 * gst/glib-compat.c: (g_value_dup_gst_object):
21585 * gst/glib-compat.h:
21586 * gst/gstpad.c: (gst_pad_set_property):
21587 use gst_object_ref when setting the pad template; this will
21588 trigger the pad template leaks on GLib 2.6 and the slaves
21590 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21592 * gst/glib-compat.c: (gst_flags_get_first_value):
21593 * gst/glib-compat.h:
21594 * gst/gstregistryxml.c:
21595 remove functions copied from GLib 2.6
21597 2005-11-16 Michael Smith <msmith@fluendo.com>
21600 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21601 do, but only breaks with newer valgrind versions. We're not a
21602 valgrind tool, we have no link-time dependencies on libcoregrind.
21604 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21606 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21608 * gst/gstmessage.h:
21611 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot 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 * gst/gstregistryxml.c: (load_feature):
21617 Revert all these unrefs, they don't even pass make check !
21619 2005-11-15 Johan Dahlin <johan@gnome.org>
21621 * gst/base/gstbasesrc.c: (gst_base_src_init):
21622 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21623 * gst/gstqueue.c: (gst_queue_init):
21624 Free pad templates, fixes a couple of leaks.
21626 2005-11-15 Daniel Fischer <dan at f3c dot com>
21628 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21630 * gst/gstpad.c: (gst_pad_get_property):
21631 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21632 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21635 2005-11-15 Wim Taymans <wim@fluendo.com>
21640 2005-11-15 Andy Wingo <wingo@pobox.com>
21642 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21644 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21645 using GST_CLOCK_TIME_NONE to disable base time management.
21646 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21647 time if it was NONE before.
21648 (gst_pipeline_change_state): Only munge the base time if
21649 stream_time != GST_CLOCK_TIME_NONE.
21651 * check/gst/gstpipeline.c (test_base_time): Punt around the
21652 problem of the probe not being called, because that's not the
21653 issue I'm looking at. Add a check that setting stream_time to NONE
21654 disables base time management.
21656 2005-11-15 Wim Taymans <wim@fluendo.com>
21658 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21659 segment_stop == -1 at startup.
21661 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21662 (gst_base_transform_change_state):
21663 Init segment values at start.
21665 2005-11-15 Wim Taymans <wim@fluendo.com>
21667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21668 0 segment values are 0 in any format.
21670 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21671 * gst/base/gstbasetransform.h:
21672 Parse newsegment correctly in basetransform
21674 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21675 Sync to clock using updated segment values.
21677 2005-11-15 Andy Wingo <wingo@pobox.com>
21679 * check/gst/gstpipeline.c (test_base_time): Add check that the
21680 base time and stream time are reset correctly.
21682 2005-11-15 Wim Taymans <wim@fluendo.com>
21684 * docs/design/part-TODO.txt:
21685 Some more TODO items.
21687 2005-11-15 Andy Wingo <wingo@pobox.com>
21689 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21690 error if the user selected "no clock" as the clocking method.
21692 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21693 timestamps with live capture.
21695 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21696 is 0 but we are a live source, timestamp the buffers using the
21699 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21701 * docs/gst/gstreamer-sections.txt:
21703 * gst/gstghostpad.c:
21708 2005-11-14 Wim Taymans <wim@fluendo.com>
21711 add suppressions from Wim's Debian machine
21713 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21716 add suppressions from Andy's AMD64 Ubuntu machine
21718 2005-11-14 Andy Wingo <wingo@pobox.com>
21720 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21721 STATE_LOCK not necessary. Fixes #311489.
21723 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21726 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21727 this function is not implemented.
21729 2005-11-14 Julien MOUTTE <julien@moutte.net>
21731 * gst/base/gstbasetransform.c:
21732 (gst_base_transform_prepare_output_buf):
21733 Ref the source pad caps while we need them.
21736 2005-11-11 Wim Taymans <wim@fluendo.com>
21738 * docs/gst/gstreamer-sections.txt:
21739 Added some docs for GstCollectData.
21741 * gst/base/gstadapter.c:
21742 Some small code example fix.
21744 * gst/base/gstcollectpads.c:
21745 * gst/base/gstcollectpads.h:
21746 Document some more.
21748 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21750 * configure.ac: back to HEAD
21752 === release 0.9.5 ===
21754 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21757 releasing 0.9.5, "Bike Lunch Day"
21759 2005-11-11 Wim Taymans <wim@fluendo.com>
21761 * gst/gstbuffer.c: (_gst_buffer_copy):
21764 * gst/gstcaps.c: (gst_caps_is_equal):
21766 Make _is_equal fast in the trivial cases.
21768 * gst/gstminiobject.c:
21769 * gst/gstminiobject.h:
21770 More docs. Spifify .h file.
21775 2005-11-11 Wim Taymans <wim@fluendo.com>
21777 * gst/base/gstbasetransform.c:
21778 (gst_base_transform_prepare_output_buf),
21779 (gst_base_transform_handle_buffer):
21781 If we're processing a buffer and need to allocate an output
21782 buffer, we cannot accept a format change. If we did get a
21783 format change, we have to alloc a buffer ourselves of the
21786 2005-11-11 Wim Taymans <wim@fluendo.com>
21788 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21789 While checking the flag for reentrancy in the gstcaps function
21790 is nice to detect recursive invocations, it also makes it
21791 impossible to call getcaps from multiple threads, which must be
21792 possible. So, checking for recursive calls has to go.
21794 2005-11-11 Michael Smith <msmith@fluendo.com>
21796 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21797 Don't sync on buffers that fall partially outside our current
21798 segment. Prevents an assertion failure/abort playing some files.
21800 2005-11-10 Andy Wingo <wingo@pobox.com>
21802 * check/gst/gstbin.c (test_message_state_changed_children): Style
21805 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21806 gst_bus_poll with the signal watch. Ensures that poll and a signal
21807 watch see the same messages.
21809 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21810 a poll and a watch at the same time get the same messages.
21812 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21814 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21815 * gst/gstcaps.c: (gst_caps_intersect):
21816 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21817 and it's not needed.
21819 2005-11-10 Wim Taymans <wim@fluendo.com>
21821 * docs/design/part-TODO.txt:
21824 2005-11-10 Wim Taymans <wim@fluendo.com>
21826 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21827 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21828 (gst_base_src_do_sync), (gst_base_src_get_range):
21829 Implement clock sync in base class.
21831 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21833 patch by: Tim-Philipp Müller <tim at centricular dot net>
21835 * gst/gststructure.c: (gst_structure_parse_field),
21836 (gst_structure_from_string):
21837 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21838 so that gst_parse_launch() can deal with spaces in filtered link
21839 caps (fixes #164479)
21840 * check/gst/capslist.h:
21841 * check/gst/gststructure.c: (GST_START_TEST):
21842 add unit tests for this change
21844 2005-11-10 Wim Taymans <wim@fluendo.com>
21846 * docs/gst/gstreamer-sections.txt:
21847 * gst/gstelement.c:
21848 * gst/gstelement.h:
21849 Fix docs, move some STATE macros to private.
21851 2005-11-10 Wim Taymans <wim@fluendo.com>
21853 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21854 Added check for bug #317341
21858 Some more spiffifying.
21860 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21861 Call peer linkfunction if we are a source pad. Totally fixes
21865 Update docs, source pads should call the peer linkfunction
21866 so they can atomically perform the pad link.
21868 2005-11-09 Wim Taymans <wim@fluendo.com>
21872 Uber-spiffy-spiffify some more.
21874 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21876 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21877 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21878 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21879 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21880 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21881 * gst/gstpad.c: (gst_pad_init):
21882 Use GST_DEBUG_FUNCPTR() more extensively.
21884 2005-11-09 Wim Taymans <wim@fluendo.com>
21886 * gst/gstobject.c: (gst_object_class_init):
21888 Documentation fixes.
21890 2005-11-09 Edward Hervey <edward@fluendo.com>
21892 * gst/gsttypefindfactory.c:
21895 2005-11-09 Edward Hervey <edward@fluendo.com>
21897 * gst/base/gsttypefindhelper.c:
21898 * gst/gsttypefind.c:
21899 * gst/gsttypefind.h:
21902 2005-11-09 Wim Taymans <wim@fluendo.com>
21904 * gst/gstiterator.c:
21911 2005-11-09 Wim Taymans <wim@fluendo.com>
21917 2005-11-09 Wim Taymans <wim@fluendo.com>
21919 * docs/gst/gstreamer-sections.txt:
21920 Moved the message async delivery private lock and cond
21921 to the private section.
21923 * gst/gstmessage.c:
21924 * gst/gstmessage.h:
21927 2005-11-09 Edward Hervey <edward@fluendo.com>
21929 * docs/gst/gstreamer-sections.txt:
21932 Document GstURIHandler
21934 2005-11-09 Wim Taymans <wim@fluendo.com>
21936 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21937 (gst_iterator_find_custom):
21938 * gst/gstiterator.h:
21941 2005-11-09 Wim Taymans <wim@fluendo.com>
21944 Document another field.
21946 * gst/gststructure.c:
21947 * gst/gststructure.h:
21950 2005-11-09 Wim Taymans <wim@fluendo.com>
21953 Documented structs.
21955 2005-11-09 Wim Taymans <wim@fluendo.com>
21957 * docs/gst/gstreamer-sections.txt:
21958 Added some new macros.
21965 2005-11-09 Wim Taymans <wim@fluendo.com>
21967 * docs/design/part-TODO.txt:
21968 Some more items for the TODO
21974 2005-11-09 Andy Wingo <wingo@pobox.com>
21976 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21977 to work on something else now tho...
21979 * gst/base/gstadapter.c: More adapter docs.
21981 * gst/elements/gstfilesink.c (gst_file_sink_start)
21982 (gst_file_sink_stop): New functions, replace the state change
21984 (gst_file_sink_class_init): Hook up the start and stop functions.
21985 (gst_file_sink_base_init): Don't set the state change handler any
21986 more. It was a bit ugly too, being set from here...
21987 (gst_file_sink_get_property, gst_file_sink_set_property):
21989 (gst_file_sink_set_location): More robust check that doesn't call
21990 GST_STATE. Ugggggg.
21992 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21994 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21995 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21997 2005-11-08 Wim Taymans <wim@fluendo.com>
21999 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22000 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22001 (gst_base_sink_chain), (gst_base_sink_change_state):
22002 * gst/base/gstbasesink.h:
22003 * gst/base/gstbasesrc.h:
22004 * gst/gstelement.h:
22006 Avoid excessive typechecking in macros.
22008 * gst/gstminiobject.c: (gst_mini_object_get_type),
22009 (gst_mini_object_init), (gst_mini_object_new),
22010 (gst_mini_object_free):
22011 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22012 (gst_object_finalize):
22013 Remove cruft code, optimize alloc_trace.
22015 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
22017 * docs/faq/gst-uninstalled:
22018 fix up PS1 for systems that try to reset it
22020 2005-11-07 Wim Taymans <wim@fluendo.com>
22022 * gst/base/gstbasesrc.c: (gst_base_src_init),
22023 (gst_base_src_get_range):
22024 Set the segment_end to -1 initially. Fixed typefind.
22026 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
22028 * gst/base/gstadapter.c:
22029 Debug category should be 'adapter', not 'GstAdapter'.
22031 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22032 (gst_collectpads_class_init), (gst_collectpads_init),
22033 (gst_collectpads_peek), (gst_collectpads_pop),
22034 (gst_collectpads_event), (gst_collectpads_chain):
22035 Add debug category and some debugging output. Use boilerplate
22036 macros. Remove some extraneous words from docs.
22038 2005-11-05 Andy Wingo <wingo@pobox.com>
22040 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22043 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22045 * docs/gst/gstreamer-sections.txt:
22048 * gst/gstminiobject.h:
22053 2005-11-04 Wim Taymans <wim@fluendo.com>
22055 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22056 Small update to stop at the configured segment_end
22059 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22061 * gst/gstregistry.c:
22062 * gst/gstregistry.h:
22065 2005-11-04 Edward Hervey <edward@fluendo.com>
22067 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22068 Check if we are doing a segment seek and have arrived at the
22069 end of that segment.
22071 2005-11-04 Wim Taymans <wim@fluendo.com>
22073 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22074 Don't leak a mutex unlock in case of an error.
22079 2005-11-04 Wim Taymans <wim@fluendo.com>
22081 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22083 Get the context to wake up only once.
22085 2005-11-03 Wim Taymans <wim@fluendo.com>
22087 * check/states/sinks.c: (GST_START_TEST):
22088 Uncomment fixed check.
22090 * docs/design/part-TODO.txt:
22093 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22094 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22095 (gst_base_sink_get_position):
22096 If we are going to PLAYING, post the right pending state
22097 when we post the intermediate paused message.
22099 * gst/gstelement.c: (gst_element_continue_state),
22100 (gst_element_set_state_func), (gst_element_change_state):
22101 Don't post state changes that were between the same state
22102 and were not ASYNC.
22104 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22106 * docs/gst/gstreamer-sections.txt:
22109 * gst/gstminiobject.h:
22112 more docs and doc style fixes
22114 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22116 * docs/gst/gstreamer-sections.txt:
22117 * gst/gstelement.c:
22118 * gst/gstminiobject.c:
22121 2005-11-03 Andy Wingo <wingo@pobox.com>
22123 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22124 state-changed messages actually have the right order and the right
22127 2005-11-03 Wim Taymans <wim@fluendo.com>
22129 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22130 Added some more checks. Specifically the case where NO_PREROLL
22131 elements are in the pipeline.
22133 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22134 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22135 (gst_base_sink_get_position):
22136 Post READY->PAUSED state change messages too.
22137 Fix bug where VOID was posted as pending state...
22139 * gst/gstbin.c: (gst_bin_recalc_state):
22140 use _element_continue_state() to continue the state change.
22142 * gst/gstelement.c: (gst_element_continue_state),
22143 (gst_element_commit_state), (gst_element_set_state_func),
22144 (gst_element_change_state), (gst_element_change_state_func):
22145 Lots of state change cleanups, assign the STATE_RETURN in
22146 a new continue_state() function that also propagates the
22147 last return value from a state change to the app.
22148 Update some debug statements with proper category.
22150 2005-11-03 Wim Taymans <wim@fluendo.com>
22152 * docs/design/part-events.txt:
22153 * docs/design/part-gstpipeline.txt:
22154 * docs/design/part-messages.txt:
22155 * docs/design/part-overview.txt:
22156 * docs/design/part-seeking.txt:
22157 * docs/design/part-states.txt:
22158 * docs/design/part-trickmodes.txt:
22159 * docs/manual/advanced-position.xml:
22160 Small docs updates.
22163 People think !! is ugly, this looks better.
22165 * gst/gstpad.c: (gst_pad_set_blocked_async):
22166 Remove !! since it's fixed elsewhere now.
22168 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22170 * gst/gstminiobject.h:
22172 Add !! to _FLAG_IS_SET macros to make the result boolean.
22174 2005-11-03 Edward Hervey <edward@fluendo.com>
22176 * gst/gstpad.c: (gst_pad_set_blocked_async):
22177 comparing a flag and a gboolean rarely returns coherent results...
22178 Added two characters (!!) to make that work correctly.
22180 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22182 * gst/gstbus.c: (gst_bus_class_init):
22185 * gst/gstqueue.c: (gst_queue_loop):
22186 Don't assume a miniobject that isn't a buffer is an
22187 event (it could be that there is a refcounting
22188 problem somewhere and the pointer is stale and
22189 refers to an already destroyed miniobject).
22191 2005-11-03 Julien MOUTTE <julien@moutte.net>
22193 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22195 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22197 * docs/manual/advanced-position.xml:
22198 Update seek example and explanations to current 0.9 API.
22200 * gst/elements/gsttypefindelement.c:
22201 (gst_type_find_element_activate):
22202 Remove FIXME comment now that the found caps
22205 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22207 * gst/gstregistryxml.c: (load_feature):
22208 Add another GST_STR_NULL instance
22210 2005-11-02 Edward Hervey <edward@fluendo.com>
22212 * gst/gstpad.c: (handle_pad_block):
22213 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22215 2005-11-02 Wim Taymans <wim@fluendo.com>
22220 * gst/gstelement.c: (gst_element_commit_state):
22221 Remove unused value.
22223 * gst/gstiterator.c:
22224 Mention that the returned element is reffed in the docs.
22226 2005-11-02 Wim Taymans <wim@fluendo.com>
22228 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22229 (gst_pad_push), (gst_pad_push_event):
22230 Unlock blocked pads when they are flushed.
22232 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22235 * docs/gst/gstreamer-sections.txt:
22238 * gst/gstregistry.c: (gst_registry_scan_path_level):
22239 fix for a nasty little missed situation where an installed plug-in
22240 which was in the cache did not get overridden by an uninstalled one
22241 which was earlier in the plugin path because the newly created plugin
22242 for the uninstalled one (not in the registry) didn't get its
22243 ->registered set to TRUE
22245 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22247 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22248 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22249 (gst_collectpads_is_active), (gst_collectpads_collect),
22250 (gst_collectpads_collect_range), (gst_collectpads_start),
22251 (gst_collectpads_stop), (gst_collectpads_peek),
22252 (gst_collectpads_pop), (gst_collectpads_available),
22253 (gst_collectpads_read), (gst_collectpads_flush):
22254 Guard public API with assertions.
22257 Fix docs for gst_pad_set_link_function().
22259 2005-11-02 Johan Dahlin <johan@gnome.org>
22261 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22262 Unref found_caps after we used it.
22264 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22266 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22267 Don't try to ref NULL.
22269 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22271 * win32/common/config.h.in:
22272 provide a GST_FUNCTION that just gives a string for now
22274 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22276 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22277 (gst_object_flags_get_type), (register_gst_bin_flags),
22278 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22279 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22280 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22281 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22282 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22283 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22284 (gst_clock_flags_get_type), (register_gst_state),
22285 (gst_state_get_type), (register_gst_state_change_return),
22286 (gst_state_change_return_get_type), (register_gst_state_change),
22287 (gst_state_change_get_type), (register_gst_element_flags),
22288 (gst_element_flags_get_type), (register_gst_core_error),
22289 (gst_core_error_get_type), (register_gst_library_error),
22290 (gst_library_error_get_type), (register_gst_resource_error),
22291 (gst_resource_error_get_type), (register_gst_stream_error),
22292 (gst_stream_error_get_type), (register_gst_event_type),
22293 (gst_event_type_get_type), (register_gst_seek_type),
22294 (gst_seek_type_get_type), (register_gst_seek_flags),
22295 (gst_seek_flags_get_type), (register_gst_format),
22296 (gst_format_get_type), (register_gst_index_certainty),
22297 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22298 (gst_index_entry_type_get_type),
22299 (register_gst_index_lookup_method),
22300 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22301 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22302 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22303 (gst_index_flags_get_type), (register_gst_debug_level),
22304 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22305 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22306 (gst_iterator_result_get_type), (register_gst_iterator_item),
22307 (gst_iterator_item_get_type), (register_gst_message_type),
22308 (gst_message_type_get_type), (register_gst_mini_object_flags),
22309 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22310 (gst_pad_link_return_get_type), (register_gst_flow_return),
22311 (gst_flow_return_get_type), (register_gst_activate_mode),
22312 (gst_activate_mode_get_type), (register_gst_pad_direction),
22313 (gst_pad_direction_get_type), (register_gst_pad_flags),
22314 (gst_pad_flags_get_type), (register_gst_pad_presence),
22315 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22316 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22317 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22318 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22319 (gst_plugin_flags_get_type), (register_gst_rank),
22320 (gst_rank_get_type), (register_gst_query_type),
22321 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22322 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22323 (gst_tag_flag_get_type), (register_gst_task_state),
22324 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22325 (gst_alloc_trace_flags_get_type),
22326 (register_gst_type_find_probability),
22327 (gst_type_find_probability_get_type), (register_gst_uri_type),
22328 (gst_uri_type_get_type), (register_gst_parse_error),
22329 (gst_parse_error_get_type):
22330 * win32/common/gstversion.h:
22331 update win32 copies
22333 2005-11-01 Luca Ognibene <luogni@tin.it>
22336 fix docs. popt is dead, long live GOption.
22338 2005-10-31 Wim Taymans <wim@fluendo.com>
22343 2005-10-31 Andy Wingo <wingo@pobox.com>
22347 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22349 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22350 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22351 the possibility of deadlocks here if code calling notify() or
22352 set() has a lock that can be taken in another notify handler (ABBA
22353 with class lock and e.g. python GIL state lock).
22355 2005-10-28 Julien MOUTTE <julien@moutte.net>
22357 * gst/gstbus.c: Doc updates.
22359 2005-10-28 Wim Taymans <wim@fluendo.com>
22361 * docs/design/part-TODO.txt:
22362 * gst/gstiterator.c:
22363 * gst/gstsystemclock.c:
22364 * gst/gstsystemclock.h:
22367 2005-10-28 Edward Hervey <edward@fluendo.com>
22369 * docs/gst/gstreamer-docs.sgml:
22370 * docs/gst/gstreamer-sections.txt:
22371 the GstURIType documentation page is private, it only defines GstURIType
22372 which should be defined in the GstURIHandler page
22374 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22376 * gst/gstbin.c: (gst_bin_class_init):
22379 Documentation updates.
22381 2005-10-28 Wim Taymans <wim@fluendo.com>
22383 * docs/gst/gstreamer-sections.txt:
22386 Documented the clocks.
22388 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22390 * docs/gst/gstreamer-sections.txt:
22391 move some macros to private sections
22392 * gst/gstminiobject.c:
22393 * gst/gstminiobject.h:
22394 add descriptions provided by ds and some more
22396 mark macro as to be removed
22398 2005-10-28 Wim Taymans <wim@fluendo.com>
22400 * docs/design/part-TODO.txt:
22401 Add an item to TODO.
22403 * gst/gstiterator.c: (gst_iterator_fold),
22404 (gst_iterator_find_custom):
22405 * gst/gstiterator.h:
22408 2005-10-28 Wim Taymans <wim@fluendo.com>
22410 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22411 (gst_base_transform_init):
22414 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22415 An EOS event marks the queue as completely filled.
22417 2005-10-27 Wim Taymans <wim@fluendo.com>
22419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22420 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22421 Some more debugging.
22423 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22424 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22425 (gst_base_transform_event), (gst_base_transform_getrange),
22426 (gst_base_transform_chain):
22427 * gst/base/gstbasetransform.h:
22429 Protect transform and concurrent buffer alloc with a new lock.
22430 Try not to break ABI/API.
22432 2005-10-27 Wim Taymans <wim@fluendo.com>
22434 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22435 (gst_base_src_init), (gst_base_src_query),
22436 (gst_base_src_default_newsegment),
22437 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22438 (gst_base_src_send_event), (gst_base_src_event_handler),
22439 (gst_base_src_pad_get_range), (gst_base_src_loop),
22440 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22441 (gst_base_src_start), (gst_base_src_deactivate),
22442 (gst_base_src_activate_push), (gst_base_src_change_state):
22443 Move some stuff around and cleanup things.
22445 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22447 * gst/base/gstbasesrc.c: (gst_base_src_query):
22448 Add missing break statements.
22450 2005-10-27 Wim Taymans <wim@fluendo.com>
22452 * check/gst/gstbin.c: (GST_START_TEST):
22453 An extra refcount is taken in basesrc.
22455 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22456 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22457 (gst_base_src_loop):
22458 Small cleanups, check for flushing after being unlocked from the
22459 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22460 Don't send out EOS when going to READY.
22462 2005-10-27 Wim Taymans <wim@fluendo.com>
22464 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22465 (gst_base_sink_get_position):
22468 * gst/gstbin.c: (message_check), (bin_replace_message),
22469 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22470 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22471 (bin_query_duration_init), (bin_query_duration_fold),
22472 (bin_query_duration_done), (bin_query_generic_fold),
22474 * tools/gst-launch.c: (main):
22477 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22479 * examples/controller/audio-example.c: (main):
22480 * examples/queue/queue.c: (event_loop):
22481 * gst/base/gstbasetransform.h:
22482 * gst/gstelement.c: (gst_element_send_event):
22484 * gst/gstpad.c: (gst_pad_send_event):
22487 changing log priority in error situations
22489 2005-10-25 Wim Taymans <wim@fluendo.com>
22491 * gst/gstbin.c: (message_check), (bin_replace_message),
22492 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22493 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22494 (bin_query_duration_init), (bin_query_duration_fold),
22495 (bin_query_duration_done), (bin_query_generic_fold),
22497 Some doc and debug updates.
22498 Cache previously requested query DURATION for speed. invalidate
22499 cached duration if element posts a DURATION message.
22501 2005-10-25 Wim Taymans <wim@fluendo.com>
22503 * docs/design/part-TODO.txt:
22506 * gst/gstbin.c: (message_check), (bin_replace_message),
22507 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22508 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22509 (bin_query_duration_init), (bin_query_duration_fold),
22510 (bin_query_duration_done), (bin_query_generic_fold),
22512 Handle SEGMENT_START/DONE messages correctly.
22513 More evolved query algorithm that handles duration queries
22516 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22517 (gst_element_get_state_func), (gst_element_abort_state),
22518 (gst_element_commit_state), (gst_element_lost_state):
22519 Some more debugging.
22521 * gst/gstmessage.h:
22524 2005-10-25 Wim Taymans <wim@fluendo.com>
22526 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22527 Don't use invalid stream_time.
22529 * gst/gstevent.c: (gst_event_new_newsegment):
22530 stream_time in newsegment cannot be undefined.
22532 2005-10-24 Wim Taymans <wim@fluendo.com>
22537 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22539 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22541 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22543 * docs/libs/tmpl/gstdparam.sgml:
22544 * docs/libs/tmpl/gstdplinint.sgml:
22545 * docs/libs/tmpl/gstdpman.sgml:
22546 * docs/libs/tmpl/gstdpsmooth.sgml:
22547 * docs/libs/tmpl/gstunitconvert.sgml:
22550 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22555 === release 0.9.4 ===
22557 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22560 releasing 0.9.4, "Tyrannosaurus Rex"
22562 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22564 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22565 (gst_file_sink_get_current_offset):
22566 Use fseeko() and ftello() if available. When falling back on
22567 lseek() to get the current offset, fflush() first to make sure
22568 everything is up-to-date and we get the right offset.
22570 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22572 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22573 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22574 * gst/gsterror.c: (_gst_stream_errors_init):
22576 * gst/gstqueue.c: (gst_queue_loop):
22578 remove prematurely added error category and clean up the instances
22580 2005-10-21 Wim Taymans <wim@fluendo.com>
22582 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22583 (gst_base_sink_get_position), (gst_base_sink_query),
22584 (gst_base_sink_change_state):
22585 Simply set the right flag when going to playing, that's all
22586 we need to do instead of calling a function inside the object
22587 lock (that could take the lock as well and deadlock)
22589 2005-10-21 Wim Taymans <wim@fluendo.com>
22591 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22592 (gst_base_src_loop):
22593 Don't warn, the peer element knows what to do best when
22594 the seek failed, it might try something else.
22596 2005-10-21 Wim Taymans <wim@fluendo.com>
22598 * gst/base/gstbasesrc.c: (gst_base_src_init),
22599 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22602 2005-10-21 Wim Taymans <wim@fluendo.com>
22604 * docs/design/part-segments.txt:
22607 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22608 Correctly set caps, even on the subbufer.
22610 2005-10-21 Wim Taymans <wim@fluendo.com>
22612 * docs/gst/gstreamer-docs.sgml:
22613 * docs/gst/gstreamer-sections.txt:
22614 * gst/gstelement.h:
22617 * gst/gstmessage.h:
22620 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22624 And 2% more doc coverage.
22626 2005-10-21 Andy Wingo <wingo@pobox.com>
22628 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22629 position reporting.
22631 2005-10-20 Wim Taymans <wim@fluendo.com>
22633 * gst/gsterror.c: (gst_error_get_message):
22636 * gst/gststructure.c:
22641 2005-10-20 Wim Taymans <wim@fluendo.com>
22646 Another 1% more coverage.
22648 2005-10-20 Wim Taymans <wim@fluendo.com>
22650 * docs/gst/gstreamer-sections.txt:
22651 * gst/gstelement.c: (gst_element_get_state_func),
22652 (gst_element_abort_state), (gst_element_commit_state),
22653 (gst_element_lost_state):
22655 * gst/gstquery.c: (gst_query_set_position),
22656 (gst_query_parse_position), (gst_query_set_duration),
22657 (gst_query_parse_duration), (gst_query_new_convert):
22659 Yay! 1% more docs coverage.
22661 2005-10-20 Wim Taymans <wim@fluendo.com>
22664 * gst/gstquery.c: (gst_query_set_position),
22665 (gst_query_parse_position), (gst_query_set_duration),
22666 (gst_query_parse_duration), (gst_query_new_convert):
22668 * gst/gstutils.c: (gst_element_query_convert):
22670 Docs and consistency fixes.
22672 2005-10-20 Wim Taymans <wim@fluendo.com>
22678 2005-10-20 Wim Taymans <wim@fluendo.com>
22680 * gst/gstbin.c: (message_check), (bin_replace_message),
22681 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22682 (update_degree), (gst_bin_sort_iterator_next),
22683 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22684 Reworked the message handling a bit, cache the messages instead of
22685 only the senders. alows us to do more in the future.
22687 2005-10-20 Wim Taymans <wim@fluendo.com>
22689 * docs/design/part-TODO.txt:
22692 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22693 (gst_base_sink_query):
22694 Don't use clock time to report position when in EOS.
22696 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22698 * tools/gst-inspect.c: (print_interfaces),
22699 (print_element_properties_info), (print_element_info):
22700 Fix interface output with gst-inspect -a; don't print
22701 newlines after double/float properties.
22703 2005-10-20 Wim Taymans <wim@fluendo.com>
22705 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22706 (gst_base_sink_query):
22707 Speed up current position calculation.
22709 * gst/base/gstbasesrc.c: (gst_base_src_query),
22710 (gst_base_src_default_newsegment):
22711 Correctly set stream position in newsegment.
22713 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22714 (update_degree), (gst_bin_sort_iterator_next),
22715 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22716 * gst/gstmessage.c: (gst_message_new_custom):
22717 Clean up debugging info
22719 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22720 (gst_queue_loop), (gst_queue_handle_src_query):
22723 2005-10-19 Wim Taymans <wim@fluendo.com>
22725 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22726 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22727 Fix query handling again.
22729 2005-10-19 Wim Taymans <wim@fluendo.com>
22731 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22732 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22733 * gst/base/gstbasesrc.c: (gst_base_src_query):
22734 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22735 * gst/elements/gsttypefindelement.c:
22736 (gst_type_find_handle_src_query), (find_element_get_length),
22737 (gst_type_find_element_activate):
22740 * gst/gstquery.c: (gst_query_new_position),
22741 (gst_query_set_position), (gst_query_parse_position),
22742 (gst_query_new_duration), (gst_query_set_duration),
22743 (gst_query_parse_duration), (gst_query_set_segment),
22744 (gst_query_parse_segment):
22746 Bundling query position/duration is not a good idea since duration
22747 does not change much and we don't want to recalculate it for every
22748 position query, so they are separated again..
22749 Base value in segment query is not needed.
22751 * gst/gstqueue.c: (gst_queue_handle_src_query):
22752 * gst/gstutils.c: (gst_element_query_position),
22753 (gst_element_query_duration), (gst_pad_query_position),
22754 (gst_pad_query_duration):
22756 Updates for query API change.
22757 Added some docs here and there.
22759 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22761 * check/gst/gstbin.c: (GST_START_TEST):
22762 * check/gst/gstghostpad.c: (GST_START_TEST):
22763 * check/pipelines/cleanup.c: (GST_START_TEST):
22764 wait on thread to die so we can check refcount correctly
22766 2005-10-18 Wim Taymans <wim@fluendo.com>
22768 * check/pipelines/stress.c: (GST_START_TEST):
22769 Make check a little more time consuming.
22771 2005-10-18 Wim Taymans <wim@fluendo.com>
22773 * check/Makefile.am:
22774 * check/pipelines/stress.c: (GST_START_TEST),
22775 (simple_launch_lines_suite), (main):
22776 Small state change torture test.
22778 * docs/design/part-states.txt:
22779 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22780 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22781 (gst_base_sink_change_state):
22782 Never take state lock from streaming thread, clean up ugly
22783 hacks. Unfortunatly core does not yet support nice ways to
22784 async commit state.
22786 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22788 Start state recalc if a STATE_DIRTY message is posted, but only
22789 on the toplevel bin.
22791 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22792 (gst_element_get_state_func), (gst_element_abort_state),
22793 (gst_element_commit_state), (gst_element_lost_state),
22794 (gst_element_set_state_func), (gst_element_change_state):
22795 * gst/gstelement.h:
22796 State variables are now protected with the LOCK, the state
22797 lock is only used to serialize _set_state().
22799 2005-10-18 Wim Taymans <wim@fluendo.com>
22801 * check/gst/gstbin.c: (GST_START_TEST):
22802 * check/gst/gstmessage.c: (GST_START_TEST):
22803 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22804 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22806 * gst/gstelement.c: (gst_element_abort_state),
22807 (gst_element_commit_state), (gst_element_lost_state):
22808 * gst/gstmessage.c: (gst_message_new_state_changed),
22809 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22810 (gst_message_new_segment_done), (gst_message_new_duration),
22811 (gst_message_parse_state_changed),
22812 (gst_message_parse_segment_start),
22813 (gst_message_parse_segment_done), (gst_message_parse_duration):
22814 * gst/gstmessage.h:
22815 * tools/gst-launch.c: (event_loop):
22816 Seriously, this is better than a previous commit as we only need
22817 to notify the fact that an element changed state in a streaming
22818 thread, marking the state of the parents dirty, hence the
22819 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22822 2005-10-18 Wim Taymans <wim@fluendo.com>
22824 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22825 (gst_bin_recalc_func):
22826 * gst/gstelement.c: (gst_element_set_clock),
22827 (gst_element_abort_state), (gst_element_lost_state):
22828 Cleanups, prepare for state change fixes.
22830 2005-10-18 Wim Taymans <wim@fluendo.com>
22833 * gst/gstelement.c: (gst_element_class_init),
22834 (gst_element_set_state), (gst_element_set_state_func):
22835 * gst/gstelement.h:
22836 Pending ABI changes.
22837 GThreadPool in GstBinClass to monitor async state changes.
22838 state_cookie in GstElement to detect concurrent gst/set state.
22839 set_state is now virtual too in case a very complicated element
22840 has to be constructed.
22842 2005-10-18 Wim Taymans <wim@fluendo.com>
22844 * check/gst/gstbin.c: (GST_START_TEST):
22845 * check/gst/gstmessage.c: (GST_START_TEST):
22846 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22847 * gst/gstbin.c: (bin_bus_handler):
22848 * gst/gstelement.c: (gst_element_commit_state),
22849 (gst_element_lost_state):
22850 * gst/gstmessage.c: (gst_message_new_state_changed),
22851 (gst_message_new_segment_start), (gst_message_new_segment_done),
22852 (gst_message_new_duration), (gst_message_parse_state_changed),
22853 (gst_message_parse_segment_start),
22854 (gst_message_parse_segment_done), (gst_message_parse_duration):
22855 * gst/gstmessage.h:
22856 * tools/gst-launch.c: (event_loop):
22857 Make messages future proof.
22858 state-change gets a flag if it was a message comming from the
22860 segment-start/stop can also be specified in other formats.
22861 A message to notify an app that a pipeline changed playback
22863 Also fix a GstMessage leak in -launch
22865 2005-10-18 Andy Wingo <wingo@pobox.com>
22867 * gst/gstelement.c (gst_element_dispose): More helpful message.
22869 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22871 reviewed by: <delete if not using a buddy>
22873 * common/gtk-doc.mak:
22875 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22877 * gst/gstregistry.c: (gst_registry_scan_path_level):
22878 unref a plug-in we get that was already initialized
22880 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22882 * docs/gst/gstreamer-sections.txt:
22883 * docs/libs/gstreamer-libs-sections.txt:
22884 * gst/gstelement.h:
22885 add new api entries
22886 hide internal macro
22888 2005-10-17 Andy Wingo <wingo@pobox.com>
22890 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22893 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22895 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22897 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22898 (gst_element_get_state_func): Better debug message.
22899 (gst_element_commit_state): s/INFO/DEBUG/.
22900 (gst_element_lost_state, gst_element_change_state):
22902 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22903 (gst_message_new_custom): s/INFO/LOG/.
22905 2005-10-17 Michael Smith <msmith@fluendo.com>
22907 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22908 Check if end time is valid using end time, not start time.
22910 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22912 * check/gst-libs/controller.c: (GST_START_TEST),
22913 (gst_controller_suite):
22914 * libs/gst/controller/gstcontroller.c:
22915 (gst_controlled_property_set_interpolation_mode):
22916 * libs/gst/controller/gstcontroller.h:
22917 * libs/gst/controller/gstinterpolation.c:
22918 * testsuite/controller/.cvsignore:
22919 * testsuite/controller/Makefile.am:
22920 * testsuite/controller/interpolator.c:
22921 merge controller testsuites
22923 remove mem-chunk from docs
22925 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22927 * gst/gstmemchunk.c:
22928 * gst/gstmemchunk.h:
22929 * gst/gsttrashstack.c:
22930 * gst/gsttrashstack.h:
22931 out. get out. you're fired. to the Attic !
22933 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22935 * gst/gstcaps.c: (gst_caps_intersect):
22936 fix signedness issues in a (hopefully) correct way
22937 * gst/gstelement.c: (gst_element_pads_activate):
22939 * gst/gstobject.c: (gst_object_set_parent):
22942 2005-10-17 Julien MOUTTE <julien@moutte.net>
22944 * gst/gstvalue.h: Fix prototypes.
22946 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22948 * docs/gst/gstreamer-sections.txt:
22949 * gst/gst.c: (gst_version_string):
22951 * gst/gstversion.h.in:
22952 * win32/common/libgstreamer.def:
22953 add gst_version_string ()
22955 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22959 * gst/gst.c: (init_post):
22960 * win32/common/config.h.in:
22962 * gst/gstcaps.c: (gst_caps_intersect):
22963 use gint64, the range could be bigger than a guint
22965 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22968 document potential problem in 2038
22970 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22972 * gst/gstcaps.c: (gst_caps_intersect):
22973 Fix guint j diving under 0
22975 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22978 * win32/common/config.h:
22979 * win32/common/config.h.in:
22980 check for process.h, declares getpid() on Windows
22982 include process.h if we have it
22983 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22984 * gst/gstmemchunk.h:
22985 fix signedness issues
22986 * win32/common/libgstreamer.def:
22989 2005-10-16 Julien MOUTTE <julien@moutte.net>
22991 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22992 fix. Because of unsigned ints, caps intersection was going nuts and
22993 trying to access structures with G_MAXUINT index. That fixes
22994 videotestsrc ! ffmpegcolorspace ! fakesink
22995 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22998 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23001 use the gettext macro
23002 * gst/elements/gstelements.c:
23004 * gst/indexers/gstindexers.c:
23005 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23006 * win32/common/config.h:
23008 * win32/common/config.h.in:
23009 add the template to generate config.h
23010 * win32/common/gstenumtypes.c:
23011 * win32/common/gstversion.h:
23014 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23016 * gst/gst.c: (gst_version):
23017 * gst/gstversion.h.in:
23020 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23023 Oops, add missing closing bracket.
23025 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23028 use common m4's for argument checking
23030 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23032 * docs/gst/gstreamer-sections.txt:
23034 Add GST_EVENT_TYPE_NAME() macro.
23036 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23039 * gst/gstpluginfeature.c:
23041 privatize more symbols
23043 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23046 add srcdir, builddir includes to GST_ALL_CFLAGS, since
23047 everything that uses GStreamer API should have the includes
23049 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23051 * docs/gst/gstreamer-sections.txt:
23052 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23054 give each value a _get_type, removes the DATA exports
23056 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23060 remove _gst_registry_auto_load, not used anymore
23061 * gst/gstbin.c: (gst_bin_get_type):
23063 * gst/gstelement.c: (gst_element_get_type):
23064 * gst/gstelement.h:
23065 * gst/gstobject.c: (gst_object_get_type):
23067 * gst/gstpad.c: (gst_pad_get_type):
23069 make _get_type functions similar, fixes data export from library
23071 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23074 correctly make conditionals
23075 * gst/elements/Makefile.am:
23076 * gst/elements/gstelements.c:
23077 fix typo causing fdsrc not to build
23079 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23081 * testsuite/Makefile.am:
23082 * testsuite/bytestream/.cvsignore:
23083 * testsuite/bytestream/Makefile.am:
23084 * testsuite/bytestream/filepadsink.c:
23085 * testsuite/bytestream/gstbstest.c:
23086 * testsuite/bytestream/test1.c:
23087 * testsuite/bytestream/testfile1:
23088 * testsuite/caps/normalisation.c:
23089 * testsuite/caps/random.c: (main):
23090 * testsuite/cleanup/.cvsignore:
23091 * testsuite/cleanup/Makefile.am:
23092 * testsuite/cleanup/cleanup1.c:
23093 * testsuite/cleanup/cleanup2.c:
23094 * testsuite/cleanup/cleanup3.c:
23095 * testsuite/cleanup/cleanup4.c:
23096 * testsuite/cleanup/cleanup5.c:
23097 * testsuite/controller/interpolator.c:
23098 * testsuite/debug/printf_extension.c: (main):
23099 * testsuite/elements/tee.c:
23100 * testsuite/negotiation/.cvsignore:
23101 * testsuite/negotiation/Makefile.am:
23102 * testsuite/negotiation/pad_link.c:
23103 * testsuite/pad/Makefile.am:
23104 * testsuite/pad/chainnopull.c:
23105 * testsuite/pad/getnopush.c:
23106 * testsuite/pad/link.c:
23107 * testsuite/refcounting/sched.c: (create_pipeline):
23108 * testsuite/registry/Makefile.am:
23109 * testsuite/registry/gst-print-formats.c:
23110 * testsuite/schedulers/.cvsignore:
23111 * testsuite/schedulers/142183-2.c:
23112 * testsuite/schedulers/142183.c:
23113 * testsuite/schedulers/143777-2.c:
23114 * testsuite/schedulers/143777.c:
23115 * testsuite/schedulers/147713.c:
23116 * testsuite/schedulers/147819.c:
23117 * testsuite/schedulers/147894-2.c:
23118 * testsuite/schedulers/147894.c:
23119 * testsuite/schedulers/Makefile.am:
23120 * testsuite/schedulers/group_link.c:
23121 * testsuite/schedulers/queue_link.c:
23122 * testsuite/schedulers/relink.c:
23123 * testsuite/schedulers/unlink.c:
23124 * testsuite/schedulers/unref.c:
23125 * testsuite/schedulers/useless_iteration.c:
23126 * testsuite/states/bin.c:
23127 clean out/remove some stuff from the testsuite directories
23129 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23132 check for some headers
23133 * gst/elements/Makefile.am:
23134 * gst/elements/gstelements.c:
23135 don't compile fdsrc without sys/socket.h
23136 * gst/indexers/Makefile.am:
23137 * gst/indexers/gstindexers.c: (plugin_init):
23138 don't compile fileindex without mmap
23140 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23147 * check/Makefile.am:
23148 * docs/gst/Makefile.am:
23149 * examples/helloworld/Makefile.am:
23151 * gst/base/Makefile.am:
23152 * gst/check/Makefile.am:
23153 * gst/elements/Makefile.am:
23154 * gst/indexers/Makefile.am:
23155 * gst/parse/Makefile.am:
23156 * libs/gst/controller/Makefile.am:
23157 * libs/gst/dataprotocol/Makefile.am:
23158 * examples/helloworld/helloworld.c: (event_loop):
23159 compile fixes, though it's not being compiled currently
23161 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23163 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23164 Add some simple tests for the new taglist date API.
23166 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23168 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23169 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23170 Beautify 'last-message' output: print 'none' for buffer timestamps
23171 and durations if none is set; improve alignment with next messages.
23173 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23175 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23176 * gst/gstpluginfeature.h:
23177 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23178 * gst/gstregistry.h:
23179 * docs/gst/gstreamer-sections.txt:
23180 Add new API to check plugin feature version requirements.
23182 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23183 Some basic tests for the above.
23185 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23187 * gst/gststructure.c: (gst_structure_to_string):
23188 guard against NULL printf - happens when for example
23189 a message structure with GstClock gets serialized
23191 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23193 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23194 Fix presumable copy'n'pasto.
23196 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23198 * gst/elements/gstfakesrc.h:
23199 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23200 * gst/elements/gsttypefindelement.c:
23201 fix some signedness
23202 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23203 I wonder if this could actually write +2GB files before
23205 2005-10-13 Andy Wingo <wingo@pobox.com>
23207 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23208 Fix Timmeke Waymans bug.
23209 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23210 string of the proper length to gst_caps_from_string. There's a
23211 potential for, before this fix, that this could cause someone
23212 connecting over the network to cause a segfault if the payload is
23213 not NUL-terminated.
23215 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23217 * docs/design/draft-push-pull.txt:
23218 * docs/design/part-overview.txt:
23219 * docs/random/TODO-pre-0.9:
23220 * docs/random/old/ChangeLog.gstreamer:
23221 * gst/base/gstpushsrc.c:
23225 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23227 * gst/glib-compat.c: (gst_flags_get_first_value):
23228 * gst/glib-compat.h:
23229 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23230 (gst_value_compare_double), (gst_value_serialize_flags):
23231 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23234 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23237 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23239 * tools/gst-launch.c: (event_loop):
23240 print out clock nicely
23242 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23244 * docs/gst/gstreamer-sections.txt:
23245 * gst/gsttaglist.h:
23246 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23247 (gst_tag_list_get_date_index):
23248 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23249 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23251 2005-10-13 Julien MOUTTE <julien@moutte.net>
23253 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23254 (gst_collectpads_chain):
23255 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23258 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23260 * docs/gst/gstreamer-sections.txt:
23263 * tools/gst-inspect.c: (main):
23264 * tools/gst-launch.c: (main):
23265 * tools/gst-run.c: (main):
23266 * tools/gst-xmlinspect.c: (main):
23267 fix GOption context leaks
23270 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23274 * win32/common/config.h:
23276 * win32/vs6/grammar.dsp:
23277 * win32/vs6/libgstelements.dsp:
23278 * win32/vs6/libgstreamer.dsp:
23281 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23283 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23284 * gst/base/gstbasesrc.c: (gst_base_src_query):
23285 fix more guint64<->gdouble conversions
23287 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23290 add win32-update target
23291 * win32/common/gstconfig.h:
23292 * win32/common/gstenumtypes.c:
23293 * win32/common/gstenumtypes.h:
23294 * win32/common/gstversion.h:
23295 add files that visual studio can't generate
23297 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23300 add a win32-update target
23303 2005-10-12 Wim Taymans <wim@fluendo.com>
23305 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23306 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23307 * gst/gstelement.c: (gst_element_commit_state),
23308 (gst_element_set_state):
23309 Protect flags with proper lock.
23310 unref provided cached clock in dispose.
23312 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23315 * gst/gstminiobject.h:
23317 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23318 removed unused flags from miniobject
23321 2005-10-12 Wim Taymans <wim@fluendo.com>
23323 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23324 (gst_file_sink_event), (gst_file_sink_render):
23325 Flush before seeking.
23327 2005-10-12 Andy Wingo <wingo@pobox.com>
23329 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23330 always been the case.
23332 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23334 * check/gst/gstbin.c: (GST_START_TEST):
23335 * docs/gst/gstreamer-sections.txt:
23336 * gst/base/gstbasesink.c: (gst_base_sink_init):
23337 * gst/base/gstbasesrc.c: (gst_base_src_init),
23338 (gst_base_src_get_range), (gst_base_src_check_get_range),
23339 (gst_base_src_start), (gst_base_src_stop):
23340 * gst/base/gstbasesrc.h:
23341 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23342 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23343 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23347 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23349 * gst/gstelement.c: (gst_element_is_locked_state),
23350 (gst_element_set_locked_state), (gst_element_commit_state),
23351 (gst_element_set_state):
23352 * gst/gstelement.h:
23353 * gst/gstindex.c: (gst_index_init):
23355 * gst/gstminiobject.h:
23356 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23357 (gst_object_set_parent):
23359 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23360 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23362 * gst/gstpadtemplate.h:
23363 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23364 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23365 * gst/gstpipeline.h:
23366 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23367 (gst_file_index_commit):
23368 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23369 * testsuite/pad/link.c: (gst_test_src_init),
23370 (gst_test_filter_init), (gst_test_sink_init):
23371 * testsuite/states/locked.c: (main):
23372 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23373 moved bitshift from macro to enum definition
23375 2005-10-12 Wim Taymans <wim@fluendo.com>
23377 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23378 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23379 (gst_file_sink_render):
23380 Some more debugging info.
23382 2005-10-12 Wim Taymans <wim@fluendo.com>
23384 * docs/design/part-states.txt:
23385 * tools/gst-launch.c: (main):
23387 Revert non-intentional change.
23389 2005-10-12 Wim Taymans <wim@fluendo.com>
23391 * check/gst/gstbin.c: (GST_START_TEST):
23392 * check/gst/gstelement.c: (GST_START_TEST):
23393 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23394 * check/gst/gstghostpad.c: (GST_START_TEST):
23395 * check/gst/gstpipeline.c: (GST_START_TEST):
23396 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23397 * check/states/sinks.c: (GST_START_TEST):
23398 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23399 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23400 (gst_bin_remove_func), (gst_bin_get_state_func),
23401 (gst_bin_recalc_state), (gst_bin_change_state_func),
23403 * gst/gstelement.c: (gst_element_get_state_func),
23404 (gst_element_get_state), (gst_element_abort_state),
23405 (gst_element_commit_state), (gst_element_set_state),
23406 (gst_element_change_state), (gst_element_change_state_func):
23407 * gst/gstelement.h:
23408 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23409 (gst_pipeline_provide_clock_func):
23410 * gst/gstutils.c: (gst_element_link_pads_filtered):
23411 * tools/gst-launch.c: (main):
23412 * tools/gst-typefind.c: (main):
23413 Use GstClockTime in _get_state() instead of GTimeVal.
23414 Remove old code in gstutils.c
23416 2005-10-12 Andy Wingo <wingo@pobox.com>
23418 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23421 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23422 there is no task. Shouldn't affect any code, as nothing in our
23423 plugins checks this return value.
23424 (gst_pad_stop_task): Also take the stream lock if the pad has no
23425 task. Docs updated.
23427 2005-10-12 Wim Taymans <wim@fluendo.com>
23429 * gst/gstpad.c: (pre_activate), (post_activate),
23430 (gst_pad_activate_pull), (gst_pad_activate_push):
23431 Cleanup activation code. Reset old state if
23434 2005-10-12 Wim Taymans <wim@fluendo.com>
23436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23437 (gst_base_sink_change_state):
23438 No need to prerol after receiving EOS.
23440 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23441 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23442 * gst/elements/gstidentity.c: (gst_identity_event):
23443 Print events more verbosely.
23445 2005-10-12 Wim Taymans <wim@fluendo.com>
23447 * check/Makefile.am:
23448 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23449 * check/states/sinks2.c:
23450 Moved sinks2 testcode in sinks check.
23452 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23453 (gst_bin_remove_func), (gst_bin_recalc_state),
23454 (gst_bin_change_state_func), (bin_bus_handler):
23455 Fix potential race condition when _get_state() iterated over an
23456 ASYNC element right before it posted a state completion.
23459 Do proper cast here.
23461 * gst/gstevent.c: (gst_event_new_newsegment),
23462 (gst_event_parse_newsegment):
23463 A playback rate of 0.0 is not allowed.
23465 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23467 * win32/common/config.h:
23468 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23469 (_trewinddir), (_ttelldir), (_tseekdir):
23470 * win32/common/dirent.h:
23471 * win32/common/gtchar.h:
23472 * win32/common/libgstbase.def:
23473 * win32/common/libgstreamer.def:
23474 * win32/vs6/grammar.dsp:
23475 * win32/vs6/gst_inspect.dsp:
23476 * win32/vs6/gst_launch.dsp:
23477 * win32/vs6/gstreamer.dsw:
23478 * win32/vs6/libgstbase.dsp:
23479 * win32/vs6/libgstelements.dsp:
23480 * win32/vs6/libgstreamer.dsp:
23481 Visual Studio 6 project files, and a new common directory.
23484 2005-10-11 Wim Taymans <wim@fluendo.com>
23486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23487 (gst_base_sink_do_sync), (gst_base_sink_query),
23488 (gst_base_sink_change_state):
23489 * gst/base/gstbasesink.h:
23490 Correctly parse newsegment info.
23492 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23494 * gst/gst.c: (init_post):
23495 split plugin paths correctly
23497 2005-10-11 Wim Taymans <wim@fluendo.com>
23499 * check/gst/gstevent.c: (GST_START_TEST):
23500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23501 (gst_base_sink_change_state):
23502 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23503 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23504 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23505 * gst/gstevent.c: (gst_event_new_newsegment),
23506 (gst_event_parse_newsegment):
23508 Added extra flag to newsegment for future API freeze.
23509 Updated check and base elements.
23511 2005-10-11 Julien MOUTTE <julien@moutte.net>
23513 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23514 (gst_collectpads_add_pad), (gst_collectpads_pop),
23515 (gst_collectpads_event), (gst_collectpads_chain):
23516 * gst/base/gstcollectpads.h: Handle EOS correctly.
23518 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23520 * tools/gst-launch.c: (main):
23521 more null protecting
23523 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23525 * gst/gst-i18n-lib.h:
23526 check for ENABLE_NLS, not GETTEXT_PACKAGE
23527 * gst/gstregistry.c: (gst_registry_add_plugin),
23528 (gst_registry_scan_path_level),
23529 (_gst_registry_remove_cache_plugins):
23530 protect possibly NULL strings
23531 * gst/parse/types.h:
23532 config.h already included before
23533 * tools/gst-inspect.c: (main):
23534 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23535 check for ENABLE_NLS, not GETTEXT_PACKAGE
23536 * tools/gst-launch.c: (main):
23537 check for ENABLE_NLS, not GETTEXT_PACKAGE
23539 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23542 if we don't have glib, fail before testing 2.8
23543 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23544 fix a leak, should fix plugins-base testsuite
23546 2005-10-11 Andy Wingo <wingo@pobox.com>
23548 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23549 take the mode we're going to as an arg. Go head and set the mode
23550 and flushing flags now, so that if the activate function starts a
23551 thread all the flags will be in the right state.
23552 (post_activate): Renamed also. Just handle making sure streaming
23553 finishes for the deactivation case, and setting the deactivated
23555 (gst_pad_set_active): Complain loudly if deactivation fails.
23556 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23557 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23558 remove the terrible hack.
23560 2005-10-11 Wim Taymans <wim@fluendo.com>
23562 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23563 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23564 (gst_bin_recalc_state), (gst_bin_change_state_func),
23565 (gst_bin_dispose), (bin_bus_handler):
23567 Prepare to make current EOS message queue more generic.
23570 * gst/gstevent.c: (gst_event_new_newsegment),
23571 (gst_event_parse_newsegment):
23573 Rename base to stream_time.
23575 * gst/gstmessage.h:
23578 2005-10-11 Wim Taymans <wim@fluendo.com>
23580 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23581 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23582 (gst_bin_change_state_func), (bin_bus_handler):
23584 Work on proper clock selection.
23586 2005-10-11 Edward Hervey <edward@fluendo.com>
23588 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23589 * libs/gst/controller/gstcontroller.h:
23590 Added GList* version of _remove_properties() in order to be able to wrap
23593 2005-10-11 Wim Taymans <wim@fluendo.com>
23595 * docs/design/part-states.txt:
23598 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23599 (gst_bin_change_state_func), (bin_bus_handler):
23600 Doc updates. Don't distribute the same clock over and over again.
23606 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23607 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23608 (gst_pad_send_event):
23610 Make probe emission threadsafe again.
23611 Register quarks and move _get_name() from utils.
23614 * gst/gstpipeline.c: (gst_pipeline_class_init),
23615 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23616 Only redistribute the clock of it changed.
23618 * gst/gstsystemclock.h:
23623 Moved the _flow_get_name() to GstPad.
23625 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23627 * check/gst-libs/gdp.c: (GST_START_TEST):
23628 * check/gst/gstcaps.c: (GST_START_TEST):
23629 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23630 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23631 (gst_dp_packet_from_caps):
23632 fix more valgrind warnings before turning up the heat
23634 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23636 * gst/parse/grammar.y:
23637 some cleanup before the hacking
23639 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23641 * gst/base/gstbasesrc.c: (gst_base_src_query):
23643 * gst/gstutils.c: (gst_guint64_to_gdouble),
23644 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23646 externalize, basesrc uses it
23647 obviously the implementation needs testing
23649 2005-10-10 Wim Taymans <wim@fluendo.com>
23651 * tests/sched/Makefile.am:
23652 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23653 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23655 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23657 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23658 apparently converting from guint64 to double is not implemented
23661 2005-10-10 Wim Taymans <wim@fluendo.com>
23663 * check/Makefile.am:
23664 * check/generic/states.c: (GST_START_TEST):
23665 * check/gst/gstbin.c: (GST_START_TEST):
23666 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23667 * check/states/sinks.c: (GST_START_TEST):
23668 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23670 Check fixes, use API as stated in design docs, remove hacks.
23672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23673 (gst_base_sink_change_state):
23674 Catch stopping our task while we're shutting down.
23676 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23677 (gst_bin_remove_func), (gst_bin_get_state_func),
23678 (gst_bin_recalc_state), (gst_bin_change_state_func),
23681 * gst/gstelement.c: (gst_element_init),
23682 (gst_element_get_state_func), (gst_element_abort_state),
23683 (gst_element_commit_state), (gst_element_lost_state),
23684 (gst_element_set_state), (gst_element_change_state),
23685 (gst_element_change_state_func):
23686 * gst/gstelement.h:
23687 New state change algorithm (see #318116)
23689 * gst/gstpipeline.c: (gst_pipeline_class_init),
23690 (gst_pipeline_init), (gst_pipeline_set_property),
23691 (gst_pipeline_get_property), (do_pipeline_seek),
23692 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23693 * gst/gstpipeline.h:
23694 Remove crude state change hacks.
23697 Remove crude hacks.
23699 * tools/gst-launch.c: (main):
23700 Fixes for state change. Needs some more work to fully use the
23703 2005-10-10 Andy Wingo <wingo@pobox.com>
23705 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23707 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23708 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23711 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23713 * gst/gstiterator.c: (gst_iterator_new):
23714 Fix my previous commit: GTypes passed to gst_iterator_new()
23715 can be fundamental types.
23717 2005-10-10 Wim Taymans <wim@fluendo.com>
23719 * gst/gstelement.c: (gst_element_iterate_pad_list),
23720 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23721 (gst_element_iterate_sink_pads):
23722 Use src/sink pads lists for the respective iterators instead
23725 2005-10-10 Andy Wingo <wingo@pobox.com>
23727 Merged in popt removal + GOption addition patch from Ronald, bug
23730 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23731 GstElement macros around, remove popt-related symbols, add goption
23734 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23736 * docs/gst/Makefile.am:
23737 * docs/libs/Makefile.am: No POPT_CFLAGS.
23739 * examples/manual/Makefile.am:
23740 * docs/manual/basics-init.xml: Doc updates with an example.
23742 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23743 (gst_init), (parse_one_option), (parse_goption_arg):
23744 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23745 bit of hand merging and debugging to get the GOption stuff working
23748 * tests/Makefile.am:
23749 * tools/Makefile.am:
23750 * tools/gst-inspect.c: (main):
23751 * tools/gst-launch.c: (main):
23752 * tools/gst-run.c: (main):
23753 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23755 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23757 * gst/gstiterator.c: (gst_iterator_new):
23758 Add assertions to make sure passed GType is likely to really
23759 be a GType (as the compiler won't catch it if the size and
23760 GType arguments get mixed up, see #318447).
23762 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23764 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23766 * gst/gstbin.c: (gst_bin_iterate_sorted):
23767 Pass GType and size arguments to gst_iterator_new() in the right
23768 order (maybe we should make _new() take the GType as first argument
23769 just like _new_list()?) (#318447).
23772 2005-10-10 Wim Taymans <wim@fluendo.com>
23774 * gst/gstelement.c: (gst_element_finalize):
23775 And free the GStaticRecMutex too
23777 2005-10-10 Andy Wingo <wingo@pobox.com>
23779 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23780 Allocate and free the mutex properly.
23782 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23784 (GstElement): The state_lock is now recursive. Rebuild your
23785 plugins, suckers. Old macros adapted.
23787 * docs/gst/gstreamer-sections.txt: Doc updates.
23790 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23791 (g_static_rec_cond_wait): Ported from state changes patch, while
23792 we wait on bug #317802 to be solved in a well-distributed GLib.
23794 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23795 gst_element_change_state, variable name changes.
23796 (gst_element_change_state): Split out of gst_element_set_state in
23797 preparation for the state change merge. Doesn't pay attention to
23798 the 'transition' argument.
23799 (gst_element_set_state): Updates, hopefully purely cosmetic.
23800 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23801 state change patch.
23802 (gst_element_get_state_func): Renamed from get_state, cosmetic
23805 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23807 * gst/elements/gstelements.c:
23808 * win32/GStreamer.vcproj:
23810 * win32/dirent.c: (_tseekdir):
23811 * win32/gst-inspect.vcproj:
23812 * win32/gst-launch.vcproj:
23813 * win32/gstconfig.h:
23814 * win32/gstelements.vcproj:
23815 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23816 * win32/gstreamer.def:
23817 * win32/msvc71.sln:
23818 updates for the win32 build (patch from Sebastien Moutte)
23820 2005-10-10 Andy Wingo <wingo@pobox.com>
23822 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23823 gst_bin_get_state, cleaned up (but no logic changes).
23824 (bin_element_is_sink): Comment updates.
23825 (sink_iterator_filter): Remove needless cast.
23826 (gst_bin_iterate_sinks): Doc update.
23827 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23828 cleaned up (but no logic changes).
23830 * check/states/sinks.c (test_src_sink): Cleanups from the state
23832 (test_livesrc_sink): Sync on the state.
23834 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23835 the state change patch.
23837 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23840 * check/gst/gstbin.c: Merge in some style fixes and additional
23841 checks from Wim's state change patch.
23843 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23845 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23846 (gst_type_find_helper):
23847 Check whether we have the requested data already in our list of
23848 cached buffers before pulling a new buffer; also make the buffer
23849 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23851 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23856 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23857 don't use long long, it's not portable. Replacing with
23858 gint64 seems to work; let's hope no skeletons fall out of the closet.
23860 2005-10-10 Andy Wingo <wingo@pobox.com>
23862 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23864 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23866 * docs/gst/gstreamer-sections.txt:
23871 * gst/gstmessage.c: (gst_message_parse_state_changed):
23874 more docs, fix compilation
23876 2005-10-09 Philippe Khalaf <burger@speedy.org>
23877 * gst/gstmessage.c:
23878 Fixed a few forgotten variables on previous commit
23880 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23882 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23883 Fix evil typefind crasher: getrange() might return a short
23884 buffer at the end of a file, but gst_type_find_peek() must
23885 either return the full data as requested or NULL, but
23886 never a short buffer.
23888 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23890 * gst/gstmessage.c: (gst_message_new_state_changed),
23891 (gst_message_parse_state_changed):
23892 * gst/gstmessage.h:
23893 don't use "new", it's a C++ keyword
23895 2005-10-08 Wim Taymans <wim@fluendo.com>
23897 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23898 * gst/gstelement.c: (gst_element_post_message):
23899 * gst/gstpipeline.c: (gst_pipeline_change_state):
23900 Small docs and debug updates.
23902 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23904 * docs/gst/gstreamer-sections.txt:
23905 * gst/gstelementfactory.c:
23907 * gst/gsttaglist.c:
23910 2005-10-08 Wim Taymans <wim@fluendo.com>
23912 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23913 (gst_bin_dispose), (bin_bus_handler):
23914 Fix typos, add comments.
23915 Clear EOS list when going to PAUSED from any direction and do it
23916 in a threadsafe way.
23917 Get base time in a threadsafe way too.
23918 Fix confusing debug in the change_state function.
23919 Various other small cleanups.
23921 * gst/gstelement.c: (gst_element_post_message):
23922 Fix very verbose bus posting code.
23924 * gst/gstpipeline.c: (gst_pipeline_class_init),
23925 (gst_pipeline_set_property), (gst_pipeline_get_property),
23926 (gst_pipeline_change_state):
23927 Small ARG_ -> PROP_ cleanup
23929 2005-10-08 Wim Taymans <wim@fluendo.com>
23931 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23932 Do a less CPU demanding EOS check because we can.
23934 2005-10-08 Wim Taymans <wim@fluendo.com>
23936 * libs/gst/dataprotocol/dataprotocol.c:
23937 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23938 (gst_dp_packet_from_event):
23939 * libs/gst/dataprotocol/dataprotocol.h:
23940 * libs/gst/dataprotocol/dp-private.h:
23941 It's about time we bump the version number.
23942 Since event types don't fit in the guint8 anymore describing
23943 the payload type, make payload type 16 bits wide.
23945 2005-10-08 Wim Taymans <wim@fluendo.com>
23947 * docs/design/part-TODO.txt:
23948 * docs/design/part-clocks.txt:
23949 * docs/design/part-events.txt:
23950 * docs/design/part-gstbin.txt:
23951 * docs/design/part-gstelement.txt:
23952 * docs/design/part-gstpipeline.txt:
23953 * docs/design/part-live-source.txt:
23954 * docs/design/part-messages.txt:
23955 * docs/design/part-overview.txt:
23956 * docs/design/part-states.txt:
23959 2005-10-08 Wim Taymans <wim@fluendo.com>
23963 Fix event quark registration.
23964 Add some space between events so we can insert them in the
23967 2005-10-08 Wim Taymans <wim@fluendo.com>
23969 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23970 (gst_base_sink_handle_buffer):
23971 Better log message.
23974 * gst/gstelement.h:
23977 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23978 (gst_queue_set_property), (gst_queue_get_property):
23980 Remove old unused properties.
23982 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23983 * docs/gst/gstreamer-sections.txt:
23984 * gst/gstmessage.c:
23985 * gst/gstmessage.h:
23986 * gst/gstminiobject.c:
23987 * gst/gstminiobject.h:
23991 lots of new docs and doc fixes
23993 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23995 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23997 * gst/gstregistry.c: (gst_registry_lookup_locked),
23998 (gst_registry_scan_path_level):
23999 * gst/gstregistryxml.c: (load_plugin):
24000 Only ever load one plugin for a given plugin basename.
24001 This ensures correct overriding of GST_PLUGIN_PATH over
24002 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24003 system installed plugins.
24005 2005-10-08 Wim Taymans <wim@fluendo.com>
24007 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24008 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24009 Prepare for doing QOS.
24011 2005-10-08 Wim Taymans <wim@fluendo.com>
24013 * check/gst/gstbin.c: (GST_START_TEST):
24014 * check/pipelines/cleanup.c: (GST_START_TEST):
24015 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24016 Allow new clock message too.
24018 2005-10-08 Wim Taymans <wim@fluendo.com>
24020 * gst/gstmessage.c: (gst_message_new_error),
24021 (gst_message_new_warning), (gst_message_new_tag),
24022 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24023 (gst_message_new_clock_lost), (gst_message_new_new_clock),
24024 (gst_message_new_segment_start), (gst_message_new_segment_done),
24025 (gst_message_parse_state_changed),
24026 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24027 (gst_message_parse_new_clock):
24028 * gst/gstmessage.h:
24029 Also carry the clock in question.
24031 2005-10-08 Wim Taymans <wim@fluendo.com>
24033 * gst/gstmessage.c: (gst_message_new_custom),
24034 (gst_message_new_eos), (gst_message_new_error),
24035 (gst_message_new_warning), (gst_message_new_tag),
24036 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24037 (gst_message_new_new_clock), (gst_message_new_segment_start),
24038 (gst_message_new_segment_done), (gst_message_parse_state_changed),
24039 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24040 * gst/gstmessage.h:
24042 Added clock related messages.
24044 * gst/gstpipeline.c: (gst_pipeline_change_state):
24045 Post message when the clock changed.
24047 * tools/gst-launch.c: (event_loop):
24050 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
24052 * tools/gst-inspect.c: (print_element_properties_info):
24053 Can't pass NULL strings to g_print() on windows.
24055 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24057 * docs/Makefile.am:
24058 * docs/gst/Makefile.am:
24059 * docs/gst/gstreamer-docs.sgml:
24060 * docs/gst/running.xml:
24061 * docs/version.entities.in:
24062 add a chapter on running GStreamer.
24063 document GST_DEBUG and GST_PLUGIN* env vars
24065 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24070 remove PLUGINS_BUILDDIR stuff
24071 * gst/gst.c: (init_post):
24072 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24074 remove, it was condescending and not needed
24076 2005-10-08 Wim Taymans <wim@fluendo.com>
24078 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24079 (gst_base_sink_handle_object), (gst_base_sink_event),
24080 (gst_base_sink_wait), (gst_base_sink_handle_event),
24081 (gst_base_sink_change_state):
24082 * gst/base/gstbasesink.h:
24083 Repost EOS message while going to PLAYING if still EOS.
24084 Make sure that when receiving a FLUSH_START we don't attempt
24085 to sync on the clock anymore.
24087 2005-10-08 Wim Taymans <wim@fluendo.com>
24089 * tools/gst-launch.c: (event_loop):
24090 Better message printout.
24092 2005-10-08 Wim Taymans <wim@fluendo.com>
24094 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24095 (gst_bin_child_proxy_get_children_count):
24096 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24097 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24098 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24099 (gst_child_proxy_set_valist):
24100 * gst/parse/grammar.y:
24101 Make ChildProxy threadsafe and fix mem leaks.
24103 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24105 * gst/gst.c: (init_post):
24106 debug the GST_PLUGIN_ env vars
24108 2005-10-08 Wim Taymans <wim@fluendo.com>
24110 * check/gst/gstbin.c: (GST_START_TEST):
24111 * check/gst/gstmessage.c: (GST_START_TEST):
24112 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24113 * gst/gstelement.c: (gst_element_commit_state),
24114 (gst_element_lost_state):
24115 * gst/gstmessage.c: (gst_message_new_state_changed),
24116 (gst_message_parse_state_changed):
24117 * gst/gstmessage.h:
24118 * tools/gst-launch.c: (event_loop):
24119 Added extra field to STATE_CHANGE message with the pending
24120 state, which will be different from the new state soon.
24122 2005-10-08 Wim Taymans <wim@fluendo.com>
24124 * gst/gstbus.c: (gst_bus_pop):
24126 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24127 Small cleanups and doc updates.
24129 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24131 * gst/gst.c: (init_pre):
24132 * gst/gstbin.c: (gst_bin_add_func):
24133 log distributing clocks and base time
24134 * gst/gstregistry.c: (gst_registry_add_plugin),
24135 (gst_registry_scan_path_level), (gst_registry_scan_path):
24136 clean up the debugging output a little
24137 * gst/gstutils.c: (gst_element_state_get_name):
24138 warn about a memleak (I've actually seen this be used, though
24139 it was probably a bug)
24141 2005-10-07 Wim Taymans <wim@fluendo.com>
24143 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24144 (gst_base_src_init), (gst_base_src_default_newsegment),
24145 (gst_base_src_newsegment), (gst_base_src_do_seek),
24146 (gst_base_src_loop), (gst_base_src_start):
24147 * gst/base/gstbasesrc.h:
24148 Make the newsegment event customizable by subclasses.
24150 2005-10-07 Wim Taymans <wim@fluendo.com>
24152 * gst/gstevent.c: (gst_event_new_buffersize),
24153 (gst_event_parse_buffersize):
24155 New event for future idea.
24157 2005-10-07 Andy Wingo <wingo@pobox.com>
24159 * gst/gstelement.c (gst_element_post_message): Doc update.
24161 * docs/gst/gstreamer-sections.txt: Update.
24163 * gst/gstmessage.c (gst_message_new_application): Made into a
24164 function like honest API calls.
24165 (gst_message_new_element): New message type.
24167 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24169 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24170 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24173 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24174 NO_PREROLL from gst_element_change_state to fall through.
24176 2005-10-07 Wim Taymans <wim@fluendo.com>
24178 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24179 (gst_ghost_pad_do_activate_push):
24180 Activating a ghostpad with no internal pad in push mode
24183 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24186 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24187 Fixes compilation on Windows.
24189 2005-10-07 Michael Smith <msmith@fluendo.com>
24191 * tools/gst-inspect.c:
24192 Print out feature and plugin count at the end when printing out
24195 2005-10-04 Michael Smith <msmith@fluendo.com>
24197 * gst/gsterror.c: (_gst_stream_errors_init):
24198 Add another error string used in a few existing plugins.
24201 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24202 * tools/gst-inspect.c: (print_element_info):
24203 When a feature disappears from a plugin (and the feature exists in
24204 the cached registry file), things went horribly wrong. This isn't a
24205 complete fix, we should actually be removing the 'missing' features
24206 from the features list when we load the actual plugin. That's not
24209 2005-10-04 Johan Dahlin <johan@gnome.org>
24211 * check/gst/gstiterator.c: (GST_START_TEST):
24212 * gst/gstbin.c: (gst_bin_iterate_elements),
24213 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24214 * gst/gstelement.c: (gst_element_iterate_pads):
24215 * gst/gstformat.c: (gst_format_iterate_definitions):
24216 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24217 (gst_iterator_new_list), (gst_iterator_filter):
24218 * gst/gstiterator.h:
24219 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24220 Add a GType to GstIterator, update callsites and tests.
24222 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24224 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24225 give events a chance to be handled by event probes when the pad
24228 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24230 * gst/gstevent.c: (gst_event_type_get_name),
24231 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24233 add string representations for event types
24235 2005-10-06 Wim Taymans <wim@fluendo.com>
24237 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24238 Don't use NULL pointers.
24240 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24242 * gst/gst_private.h:
24244 * gst/gstelement.c:
24246 * gst/gstpluginfeature.c:
24247 widen the debug category in output to fit the biggest one we have
24248 add a bus category and use it
24249 play with the colors
24250 fix up some categories
24252 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24254 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24255 add push activation of sink ghost pads.
24256 Andye, please verify
24258 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24260 * gst/gstutils.c: (gst_element_link_pads):
24261 fix a bug in the case where neither element has a pad
24262 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24263 add a test for that case
24265 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24267 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24268 emit have-data before checking for peers. This allows
24269 for probe handlers to connect elements. This helps autopluggers.
24270 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24272 add six checks, linked/unlinked with no/true/false probe
24274 2005-10-04 Wim Taymans <wim@fluendo.com>
24276 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24277 (gst_fake_sink_event), (gst_fake_sink_preroll),
24278 (gst_fake_sink_render), (gst_fake_sink_change_state):
24279 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24280 (gst_fake_src_get_property), (gst_fake_src_create),
24281 (gst_fake_src_stop):
24282 * gst/elements/gstidentity.c: (gst_identity_stop):
24283 Protect last_message with lock.
24285 2005-10-04 Edward Hervey <edward@fluendo.com>
24288 Added precision in the comments for GST_FORMAT_DEFAULT
24290 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24292 * tools/gst-launch.c: (main):
24293 Don't try to run erroneous pipelines.
24295 2005-10-04 Julien MOUTTE <julien@moutte.net>
24297 * gst/gstbus.c: We don't need this header.
24299 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24302 back to development
24304 === release 0.9.3 ===
24306 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24310 Releasing 0.9.3, "Unregistered"
24312 2005-10-03 Andy Wingo <wingo@pobox.com>
24314 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24315 whereby calling a pad's activatepush() function can start a thread
24316 that starts to push or pull before the pad gets the FLUSHING flag
24317 unset. Hack around it by holding the stream lock until the flag is
24318 set. Need to replace this with a proper solution. Together with
24319 the ghost pad fixes, this fixes mp3 playing/tagreading.
24321 * docs/design/part-gstghostpad.txt: Add a note about activation of
24322 proxy pads outside of ghost pads.
24324 * gst/gstghostpad.c: Implement the ghost pad activation design.
24326 2005-10-02 Andy Wingo <wingo@pobox.com>
24328 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24329 It is volatile, after all.
24331 * docs/design/part-gstghostpad.txt: Flesh out activation with
24334 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24337 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24340 Fix (unused) AM_CONDITIONAL tests.
24342 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24344 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24346 * gst/gstutils.c: (gst_pad_query_convert):
24347 Add assertion that makes sure src_val is >=0, just like
24348 gst_query_new_convert() has. (#315895)
24350 2005-09-30 Edward Hervey <edward@fluendo.com>
24352 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24353 Let's not iterate pads we're not interested in, it avoids getting
24354 sky-high refcounts on sinkpad.
24356 2005-09-30 Wim Taymans <wim@fluendo.com>
24358 * gst/gstelement.c: (gst_element_set_state),
24359 (gst_element_change_state):
24360 Small tweak, element in ASYNC remains ASYNC.
24362 2005-09-30 Wim Taymans <wim@fluendo.com>
24364 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24365 Only error is an error.
24367 * gst/gstbin.c: (gst_bin_change_state):
24370 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24371 Also call pad_block in pad alloc.
24373 * gst/gstutils.c: (gst_flow_get_name):
24376 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24378 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24379 (gst_base_src_get_range):
24380 Fix documentation typos. Add some more debug info.
24382 2005-09-29 David Schleef <ds@schleef.org>
24384 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24385 more end-user friendly.
24386 * tools/gst-inspect.c: (main): Check if command-line argument is
24387 a file and attempt to load that file as a plugin.
24389 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24391 * check/gst/gstbin.c:
24392 * check/states/sinks.c:
24393 fix tests for the new warning
24394 * check/gst/gstpipeline.c:
24395 add a test for pipeline and bus interaction
24396 * gst/gstelement.c:
24397 elements should be NULL if they get disposed; add a warning if not
24399 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24402 for 2.6 refcounting, make debug log more correct by printing
24403 the actual refcounts at the time of swap (Wim)
24405 2005-09-29 Andy Wingo <wingo@pobox.com>
24407 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24408 removes signal watches previously added via
24409 gst_bus_add_signal_watch.
24410 (gst_bus_add_signal_watch): Don't return the source id, just store
24411 it on the bus if there wasn't an id already.
24413 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24414 add_signal_watch and remove_signal_watch.
24416 2005-09-29 Edward Hervey <edward@fluendo.com>
24418 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24419 Better if we actually iterate the list :)
24421 2005-09-29 Wim Taymans <wim@fluendo.com>
24423 * check/gst/gstbin.c: (GST_START_TEST):
24424 Change for new bus API.
24426 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24427 (send_messages), (GST_START_TEST), (gstbus_suite):
24428 Change for new bus signal API.
24430 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24431 (gst_bus_source_prepare), (gst_bus_source_check),
24432 (gst_bus_create_watch), (gst_bus_add_watch_full),
24433 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24434 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24436 Remove support for multiple GSources operating on different
24437 message types as it is too complex and unneeded when using
24439 Added support for receiving signals from the bus.
24441 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24443 * docs/libs/tmpl/gstdataprotocol.sgml:
24444 * docs/manual/advanced-dataaccess.xml:
24445 * gst/elements/gstcapsfilter.c:
24447 rename filter-caps to caps property
24449 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24451 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24452 More robust fraction string parsing.
24454 * docs/pwg/appendix-porting.xml:
24455 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24457 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24459 * gst/gstcaps.c: (gst_caps_do_simplify):
24460 Thou shalt not free a structure and then continue using it
24461 in the next loop iteration.
24463 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24465 Add test case for caps simplification.
24467 2005-09-29 Wim Taymans <wim@fluendo.com>
24469 * check/gst/gstbin.c: (GST_START_TEST):
24472 2005-09-29 Wim Taymans <wim@fluendo.com>
24474 * check/gst/gstbin.c: (GST_START_TEST):
24477 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24478 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24479 (find_element), (gst_bin_sort_iterator_next),
24480 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24481 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24482 (gst_bin_change_state), (gst_bin_dispose):
24483 A bin does not have a bus, it gets the bus from the parent.
24485 * gst/gstelement.c: (gst_element_requires_clock),
24486 (gst_element_provides_clock), (gst_element_is_indexable),
24487 (gst_element_is_locked_state), (gst_element_change_state),
24488 (gst_element_set_bus_func):
24491 * gst/gstpipeline.c: (gst_pipeline_class_init),
24492 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24493 The pipeline provides a bus.
24495 2005-09-28 Johan Dahlin <johan@gnome.org>
24497 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24498 gst_structure_get_enum instead of gst_structure_get_int
24500 * gst/gststructure.c (gst_structure_get_enum): Impl.
24502 * gst/gststructure.h (gst_structure_get_enum): Add
24504 * docs/gst/gstreamer-sections.txt: Ditto
24506 * gst/gstmessage.c (gst_message_new_state_changed): Use
24507 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24508 which does introspection.
24509 Reviewed by Christian Schaller
24511 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24513 * gst/gstinfo.c: (gst_debug_log_default):
24514 don't do dummy g_strdup()s
24515 * libs/gst/controller/gstcontroller.c:
24516 (on_object_controlled_property_changed),
24517 (gst_controlled_property_new), (gst_controller_new_valist),
24518 (gst_controller_new_list),
24519 (gst_controller_remove_properties_valist), (gst_controller_set),
24520 (gst_controller_get), (gst_controller_sync_values),
24521 (gst_controller_get_value_array), (_gst_controller_class_init),
24522 (gst_controller_get_type):
24523 * libs/gst/controller/gstcontroller.h:
24524 * libs/gst/controller/gstinterpolation.c:
24525 (gst_controlled_property_find_timed_value_node):
24526 convert // to /**/ comments
24528 2005-09-28 Wim Taymans <wim@fluendo.com>
24530 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24531 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24532 (gst_bus_sync_signal_handler):
24534 Added async-message and sync-message signals to the bus.
24535 Added helper BusFunc to emit signals for all posted messages.
24537 * gst/gstmessage.c: (gst_message_type_get_name),
24538 (gst_message_type_to_quark), (gst_message_get_type):
24539 * gst/gstmessage.h:
24540 Register quarks for message names.
24542 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24544 * docs/libs/gstreamer-libs-sections.txt:
24545 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24546 (gst_controller_new_list):
24547 * libs/gst/controller/gstcontroller.h:
24548 added another constructor for language bindings
24550 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24552 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24556 * gst/gstinfo.c: (_gst_debug_init):
24557 slightly more readable color for refcount debugging
24559 2005-09-28 Wim Taymans <wim@fluendo.com>
24561 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24562 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24563 (find_element), (gst_bin_sort_iterator_next),
24564 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24565 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24566 (gst_bin_change_state), (gst_bin_dispose):
24567 Small doc fixes. get_clock -> provide_clock.
24569 * gst/gstelement.c: (gst_element_class_init),
24570 (gst_element_provides_clock), (gst_element_provide_clock),
24571 (gst_element_get_clock), (gst_element_commit_state),
24572 (gst_element_lost_state):
24573 * gst/gstelement.h:
24574 Make get/set_clock() symetric. Add provide_clock vmethod since
24575 that is actually what this function does.
24577 * gst/gstpipeline.c: (gst_pipeline_class_init),
24578 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24579 (gst_pipeline_get_clock):
24580 get_clock -> provide_clock.
24582 2005-09-28 Andy Wingo <wingo@pobox.com>
24584 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24585 lieu of real docs...
24587 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24589 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24591 * gst/elements/gstcapsfilter.c:
24592 * gst/elements/gstfakesink.c:
24593 * gst/elements/gstfakesrc.c:
24594 * gst/elements/gstfdsink.c:
24595 * gst/elements/gstfdsrc.c:
24596 * gst/elements/gstfilesink.c:
24597 * gst/elements/gstfilesrc.c:
24598 * gst/elements/gstidentity.c:
24599 * gst/elements/gsttee.c:
24600 * gst/elements/gsttypefindelement.c:
24601 Make element details static.
24603 2005-09-28 Wim Taymans <wim@fluendo.com>
24605 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24606 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24607 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24608 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24609 (gst_bin_change_state), (gst_bin_dispose):
24610 Some documentation updates.
24611 Clean up dispose handlers.
24613 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24614 * gst/gstpad.c: (gst_pad_dispose):
24615 Clean up dispose handler.
24617 * gst/gstpipeline.c: (gst_pipeline_change_state):
24618 Removed spurious UNLOCK.
24620 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24622 * docs/gst/gstreamer-sections.txt:
24623 * gst/base/gstbasesrc.h:
24624 * gst/gstelement.h:
24628 * gst/gstpipeline.c:
24629 * gst/gstpipeline.h:
24632 added two new functions to the docs
24633 documents all undocumented GstXXXFlags
24634 completed some incomplete docs
24636 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24638 * gst/gstbin.c: (gst_bin_dispose):
24639 * gst/gstelement.c: (gst_element_dispose):
24640 remove now useless and leaky resurrection code in dispose
24641 * gst/base/gstbasesrc.c: (gst_base_src_init):
24642 * gst/gstelementfactory.c: (gst_element_factory_create):
24643 * gst/gstobject.c: (gst_object_set_parent):
24646 2005-09-27 Wim Taymans <wim@fluendo.com>
24648 * docs/design/part-TODO.txt:
24651 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24652 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24653 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24654 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24655 (gst_bin_change_state):
24656 * gst/gstelement.h:
24657 Remove element variable, we keep element info in the iterator now.
24659 2005-09-27 Andy Wingo <wingo@pobox.com>
24661 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24664 2005-09-27 Wim Taymans <wim@fluendo.com>
24666 * check/gst/gstbin.c: (GST_START_TEST):
24667 Enable check that works now.
24669 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24670 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24671 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24672 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24673 (gst_bin_change_state):
24675 Redid the state change algorithm using a topological sort algo.
24676 Handles all cases correctly.
24677 Exposed iterator for state change order.
24679 * gst/gstelement.h:
24680 Temp storage for state changes. Need to get rid of this soon.
24682 2005-09-27 Wim Taymans <wim@fluendo.com>
24684 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24685 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24686 (link_fold_func), (gst_pad_proxy_setcaps):
24687 Leak fixes, the fold functions need to unref the passed object and
24688 _get_parent_*() returns ref to parent.
24690 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24692 * check/gst/gstbuffer.c: (test_make_writable):
24693 Plug leak in test case and fix 'make check-valgrind'
24695 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24697 * gst/gstbuffer.c: (gst_subbuffer_init):
24698 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24699 works correctly in all circumstances (we could have just copied
24700 the parent buffer's readonly flag, but conceptually it seems
24701 cleaner to mark all subbuffers as read-only). (based on patch
24702 by Alessandro Decina, #314710).
24704 * check/gst/gstbuffer.c: (create_read_only_buffer),
24705 (test_make_writable), (test_subbuffer_make_writable),
24707 Add some tests for gst_buffer_make_writable().
24709 2005-09-27 Wim Taymans <wim@fluendo.com>
24711 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24712 use gst_object_has_ancestor().
24714 * gst/gstobject.c: (gst_object_has_ancestor):
24716 gst_object_has_ancestor() copied from gstbin.c as it is a
24719 * tests/instantiate/create.c: (create_all_elements):
24720 * tests/lat.c: (handoff_src), (handoff_sink):
24721 * tests/sched/runxml.c: (main):
24722 * tests/seeking/seeking1.c: (main):
24723 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24725 Fix compilation of some tests.
24727 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24730 Remove comment. GST_TYPE_G_ERROR is here to stay,
24731 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24732 (#316961, #300610).
24734 2005-09-26 Wim Taymans <wim@fluendo.com>
24736 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24737 Added check that shows error in state change order.
24739 2005-09-26 Wim Taymans <wim@fluendo.com>
24741 * gst/gstbin.c: (gst_bin_change_state):
24742 Make state change function use 3 queues again, we were
24743 adding elements in the wrong order.
24745 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24748 * gst/gstpad.c: (gst_pad_dispose):
24749 Added some debug info first.
24751 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24753 * docs/design/draft-push-pull.txt:
24754 * docs/design/part-events.txt:
24755 * docs/design/part-overview.txt:
24756 * docs/design/part-scheduling.txt:
24757 Replace all _pull_region() with _pull_range()
24759 2005-09-26 Andy Wingo <wingo@pobox.com>
24761 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24763 * check/gst-libs/controller.c: Update for controller api change.
24766 * tests/Makefile.am:
24767 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24768 over by GLib bug 118439.
24770 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24771 routines to a function.
24773 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24775 * libs/gst/controller/gsthelper.c:
24776 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24777 (gst_object_sync_values): Renamed from sink_values. Ugh.
24779 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24781 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24782 Renamed from controller_key, as it is exported.
24784 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24786 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24791 * gst/gstpadtemplate.h:
24794 * gst/gstqueryutils.c:
24795 * gst/gstqueryutils.h:
24796 remove queryutils headers after moving the two used functions
24797 to gstquery. also fixes build problem for gstsiddec
24799 2005-09-26 Michael Smith <msmith@fluendo.com>
24801 * tools/gst-launch.1.in:
24802 Correct documentation in manpage of debug syntax
24804 2005-09-26 Wim Taymans <wim@fluendo.com>
24806 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24807 (gst_base_src_is_seekable), (gst_base_src_change_state):
24808 Some more debugging info.
24810 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24812 * docs/gst/gstreamer-sections.txt:
24813 * gst/base/gstbasetransform.h:
24817 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24819 * docs/gst/.cvsignore:
24820 * docs/gst/tmpl/.cvsignore:
24821 * docs/gst/tmpl/gstpipeline.sgml:
24822 * docs/gst/tmpl/gstplugin.sgml:
24823 * gst/gstpipeline.c:
24826 inlined the last two docs files
24827 removed the tmpl directory from cvs (no more conflicts here!)
24829 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24831 * docs/gst/gstreamer-sections.txt:
24832 * docs/gst/tmpl/.cvsignore:
24833 * docs/gst/tmpl/gstpad.sgml:
24834 * docs/gst/tmpl/gstpadtemplate.sgml:
24836 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24837 (gst_pad_finalize), (gst_pad_set_pad_template):
24839 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24840 (gst_pad_template_class_init), (gst_pad_template_init),
24841 (gst_pad_template_dispose), (name_is_valid),
24842 (gst_static_pad_template_get), (gst_pad_template_new),
24843 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24844 (gst_pad_template_pad_created):
24845 * gst/gstpadtemplate.h:
24846 inlined two more docs
24847 factored gstpadtemplate out of gstpad
24849 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24851 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24852 (test_children_state_change_order_semi_sink):
24853 Fix test case: we can't rely on a fixed state change order when
24854 going from READY => PAUSED because the sink might commit its
24855 new state first when the first buffer created by the source
24856 reaches the sink before the source has finished its change state.
24857 (Test case still fails at times, see #316856, comment 5 onwards)
24859 2005-09-24 Wim Taymans <wim@fluendo.com>
24861 * docs/design/part-events.txt:
24862 * docs/design/part-gstbus.txt:
24863 * docs/design/part-gstpipeline.txt:
24864 * docs/design/part-messages.txt:
24865 * docs/design/part-overview.txt:
24866 * docs/design/part-segments.txt:
24870 * gst/gstelement.c:
24873 * gst/gstiterator.c:
24874 Various documentation updates.
24876 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24879 Well, that's embarassing. Luckily we weren't using
24880 GST_CLOCK_DIFF anywhere.
24882 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24884 * common/gtk-doc.mak:
24885 don't fail on building XML, FC4 slave shows a bunch of doc
24886 missing bits that I don't get
24888 * gst/gstpipeline.c:
24889 * gst/gststructure.c:
24892 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24894 * docs/design/part-gstbin.txt:
24895 * docs/design/part-gstbus.txt:
24897 Add blurb about how the bus goes into flushing mode and
24898 drops all messages when its bin goes from READY into NULL
24901 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24903 * docs/gst/gstreamer-sections.txt:
24904 * gst/gststructure.c: (gst_structure_get_clock_time):
24905 * gst/gststructure.h:
24906 add a method to get a GstClockTime out of a structure
24908 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24910 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24911 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24912 Added test to check state change order in bins (can still be made
24913 to fail here under heavy disk load; bails out with 'Push on pad
24914 fakesink:sink0, but it was not activated in push mode').
24916 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24917 Fix state change order when there is only a semi sink (#316856)
24919 * gst/gstbus.c: (gst_bus_class_init):
24920 Use _class_peek_parent(), not _class_ref(); fix docs to say
24921 'default main context' instead of 'mainloop' where that is
24924 * gst/gstelement.c: (gst_element_commit_state),
24925 (gst_element_set_state):
24926 Fix typos in debug messages
24928 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24931 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24932 * gst/gstpluginfeature.c:
24934 various doc updates
24935 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24936 change an assert into an error until it gets fixed properly
24938 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24940 * docs/gst/gstreamer-sections.txt:
24941 * docs/gst/tmpl/.cvsignore:
24942 * docs/gst/tmpl/gstelement.sgml:
24943 * docs/gst/tmpl/gstinfo.sgml:
24944 * docs/gst/tmpl/gstobject.sgml:
24945 * gst/gstelement.c:
24946 * gst/gstelement.h:
24949 * gst/gstobject.c: (gst_object_class_init):
24951 inlined 3 more biiiig doc files and added some missing docs on the fly
24953 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24955 * check/gst/.cvsignore:
24956 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24957 * gst/gstregistryxml.c: (load_plugin),
24958 (gst_registry_xml_save_plugin):
24959 put back source in registry. add checks for find_plugin.
24960 * testsuite/states/bin.c: (assert_state), (empty_bin),
24961 (test_adding_one_element), (main):
24962 * testsuite/states/locked.c: (main):
24963 some compile/run fixes
24965 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24967 * check/gst/gstvalue.c: (GST_START_TEST):
24968 fix leaks in the test itself
24970 2005-09-22 Wim Taymans <wim@fluendo.com>
24972 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24973 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24974 (gst_base_sink_query):
24975 Prepare for more accurate position reporting and query
24978 * gst/gstelement.c: (gst_element_send_event),
24979 (gst_element_set_state):
24982 2005-09-22 Wim Taymans <wim@fluendo.com>
24984 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24985 (gst_query_parse_segment):
24987 More documentation.
24988 Add segment query for future use.
24990 2005-09-22 Wim Taymans <wim@fluendo.com>
24992 * gst/gstbin.c: (gst_bin_add_func):
24993 Some more debug info.
24995 * gst/gstelement.c: (gst_element_send_event):
24996 Simplify send_event
24998 * gst/gstelement.h:
24999 Don't know how flags got broken.
25004 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25006 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25007 Add simplistic test suite for GST_TYPE_DATE serialisation and
25010 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25012 * docs/gst/gstreamer-sections.txt:
25013 * gst/gststructure.c: (gst_structure_set_valist),
25014 (gst_structure_get_date):
25015 * gst/gststructure.h:
25016 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25017 (gst_date_copy), (gst_value_compare_date),
25018 (gst_value_serialize_date), (gst_value_deserialize_date),
25019 (gst_value_transform_date_string),
25020 (gst_value_transform_string_date), (_gst_value_initialize):
25022 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25023 bunch of utility functions along with a hack that checks that
25024 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25025 is required. Part of the grand scheme in #170777.
25027 2005-09-22 Andy Wingo <wingo@pobox.com>
25029 * gst/gstconfig.h.in: Psych out gtk-doc.
25031 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25033 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25035 * tools/gst-inspect.c (print_element_list): Plug some
25036 inconsequential leaks.
25038 * gst/gstregistry.c (gst_registry_get_default): Doc.
25040 * check/gst/gstplugin.c:
25041 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25042 * gst/gstelementfactory.c (gst_element_factory_create):
25043 * gst/gstindexfactory.c (gst_index_factory_create): Update for
25046 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25047 (gst_plugin_feature_load): Doc, don't eat refs.
25049 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25050 (gst_plugin_list_free): Doc.
25051 (gst_plugin_load_file): Doc updates.
25053 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25054 accessors returning refcounted objects, return a ref.
25056 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25057 accessor for caps. IDEMPOTENCE. Oh yes.
25059 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25061 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25063 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25064 (_gst_debug_register_funcptr):
25065 Add mutex to serialise access to the hash table with
25066 the function pointer => function name string mapping;
25067 make that hash table static scope (#316809).
25069 * gst/registries/.cvsignore:
25070 Remove left-over file.
25072 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25074 * docs/pwg/appendix-porting.xml:
25075 And something about newsegment events and caps-on-buffers to
25076 the porting guide (feel free to improve).
25078 2005-09-21 Andy Wingo <wingo@pobox.com>
25080 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25081 data and event probes on the same pad.
25082 (test_buffer_probe_once): Test that removing probes from within
25083 the probe functions works.
25085 2005-09-21 Andy Wingo <wingo@pobox.com>
25087 * check/gst/gstutils.c: New file.
25088 (test_buffer_probe_n_times): A simple buffer probe test. More to
25091 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25092 have-data::buffer, not have-data.
25093 (gst_pad_add_event_probe): Likewise for have-data::event.
25094 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25095 peer' isn't quite right yet though.
25096 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25097 (gst_pad_remove_data_probe): Change to take the guint handler_id
25098 as their arg, not the function+data, which is more glib-like.
25100 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25101 the signal emission to indicate if the data is a buffer or an
25103 (gst_pad_get_type): Initialize buffer and event quarks.
25104 (gst_pad_class_init): have-data is now a detailed signal, yes it
25107 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25109 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25110 * gst/gstutils.c: (gst_util_set_value_from_string),
25111 (gst_util_set_object_arg):
25112 Don't put functional code in g_return_if_fail() or
25113 g_return_val_if_fail() statements, otherwise things will
25114 break when G_DISABLE_CHECKS is defined during compilation.
25116 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25118 * docs/gst/tmpl/.cvsignore:
25119 * docs/gst/tmpl/gstvalue.sgml:
25122 inlied another one and added some obvious docs
25124 2005-09-21 Wim Taymans <wim@fluendo.com>
25126 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25127 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25128 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25129 (gst_fdsrc_get_property), (gst_fdsrc_create):
25130 * gst/elements/gstfdsrc.h:
25131 Properly implement fdsrc. Removed signal and timeout,
25132 better implemented somewhere else.
25134 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25136 * docs/gst/tmpl/.cvsignore:
25137 * docs/gst/tmpl/gstimplementsinterface.sgml:
25138 * gst/gstinterface.c:
25141 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25143 * docs/gst/gstreamer-sections.txt:
25144 * docs/gst/tmpl/.cvsignore:
25145 * docs/gst/tmpl/gstenumtypes.sgml:
25146 remove obsolete doc file
25148 2005-09-21 David Schleef <ds@schleef.org>
25150 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25151 little beer, fix a little leak.
25153 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25155 * docs/gst/gstreamer-docs.sgml:
25156 * docs/gst/gstreamer-sections.txt:
25157 * docs/gst/tmpl/.cvsignore:
25161 * gst/gstelement.h:
25162 * gst/gstindex.c: (gst_index_class_init):
25164 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25165 (gst_index_factory_class_init), (gst_index_factory_init),
25166 (gst_index_factory_finalize), (gst_index_factory_new),
25167 (gst_index_factory_destroy), (gst_index_factory_find),
25168 (gst_index_factory_create), (gst_index_factory_make):
25169 * gst/gstindexfactory.h:
25170 * gst/gstpluginfeature.c:
25171 * gst/gstpluginfeature.h:
25172 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25173 more docs inlined, splitted gstindex.{c,h}
25175 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25177 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25180 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25182 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25183 Set sync to FALSE by default.
25185 2005-09-20 Wim Taymans <wim@fluendo.com>
25187 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25188 (gst_base_sink_init):
25189 Make sync property settable from subclass.
25191 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25192 (gst_fake_sink_change_state):
25193 Set sync to FALSE by default.
25195 2005-09-20 Wim Taymans <wim@fluendo.com>
25197 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25198 * tools/gst-launch.c: (main):
25199 The timeout handler should have lower priority than the source
25200 so we don't timeout before popping a message with 0 timeout.
25201 Dump error messages after failed state change.
25203 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25205 * tools/gst-inspect.c: (print_element_properties_info):
25208 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25210 * check/gst/gstevent.c:
25211 * gst/elements/gstfakesink.c:
25212 * gst/elements/gstfakesink.h:
25213 remove the sync property from fakesink.
25214 has the side effect of setting sync TRUE
25215 for fakesink, which is a change. Anyone who knows how
25216 to fix this nicely in a GObject-y way, feel free.
25218 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25220 * docs/gst/gstreamer-docs.sgml:
25221 remove probe refsection
25223 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25225 * check/Makefile.am:
25226 disable valgrinding the controller test again
25227 * docs/gst/gstreamer-sections.txt:
25228 update for api-changes
25230 2005-09-20 Wim Taymans <wim@fluendo.com>
25232 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25233 (gst_base_sink_set_property), (gst_base_sink_get_property),
25234 (gst_base_sink_do_sync):
25235 * gst/base/gstbasesink.h:
25236 Added sync property to basesink to disable clock sync.
25238 2005-09-20 Andy Wingo <wingo@pobox.com>
25240 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25241 eating the caller's refcount.
25243 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25244 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25247 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25248 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25249 of GLib 2.8 public, so we can know which refcount to check in
25252 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25253 (gst_object_init): Only set the gst refcount if we're going ahead
25254 with the refcount hack.
25256 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25258 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25259 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25260 more leaks plumbed, added more debug-logging
25264 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25266 * gst/gstmessage.c:
25267 remove include of gstmemchunk.h
25269 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25271 * gst/gstclock.c: (_gst_clock_id_free):
25272 Commit from the Political Party For More Atomic CVS Commits,
25273 so that people don't waste too much of their day fishing
25274 out obvious leaks out of massive commits.
25275 Oh, and fix a pretty damn obvious leak in the memchunk
25278 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25280 * check/Makefile.am:
25281 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25282 plug mem-leak, re-add to valgrindable tests
25284 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25287 unbreak the build for those who have chronic arthritis
25288 and typing "make check" is just too taxing on the hands
25290 2005-09-20 Andy Wingo <wingo@pobox.com>
25292 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25293 really want it out, you should fix plugins at the same time.
25295 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25298 * docs/gst/gstreamer-sections.txt:
25300 added missing symbols to api docs
25301 disable ref-count hack if we have glib >= 2.8
25303 2005-09-19 David Schleef <ds@schleef.org>
25305 * docs/gst/Makefile.am: Ignore a few more internal headers
25306 * docs/gst/gstreamer-docs.sgml: Remove old sections
25307 * docs/gst/gstreamer-sections.txt: Remove old sections
25308 * docs/gst/tmpl/gstobject.sgml: update
25309 * docs/gst/tmpl/gstplugin.sgml: update
25310 * docs/gst/tmpl/gstpluginfeature.sgml: update
25311 * docs/random/ds/0.9-suggested-changes: update.
25312 * gst/Makefile.am: remove memchunk and trashstack, since they're
25314 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25315 * gst/gst.h: don't include some headers
25316 * gst/gstchildproxy.c: add gstmarshal.h
25317 * gst/gstclock.c: Don't use memchunks
25318 * gst/gstminiobject.c: Add some docs
25319 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25320 * gst/gstobject.h: same
25321 * gst/gstplugin.c: include gstmacros.h
25322 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25323 * gst/gstquery.c: don't use memchunks
25324 * gst/gstregistry.c: rename gst_registry_deinit()
25325 * gst/gstregistry.h: same
25327 2005-09-19 David Schleef <ds@schleef.org>
25329 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25330 * docs/libs/gstreamer-libs-sections.txt:
25331 * docs/libs/tmpl/gstgetbits.sgml:
25332 * docs/libs/tmpl/gstputbits.sgml:
25334 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25336 * win32/gstenumtypes.c:
25337 * win32/gstenumtypes.h:
25340 2005-09-19 Wim Taymans <wim@fluendo.com>
25342 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25343 Automatically PAUSE and RESUME a pipeline when a flushing seek
25346 2005-09-19 Andy Wingo <wingo@pobox.com>
25348 * gst/gstregistry.h: Spacing fixen.
25350 2005-09-19 Wim Taymans <wim@fluendo.com>
25352 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25353 Handle state change failure more correctly.
25355 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25357 * check/Makefile.am:
25358 * check/pipelines/cleanup.c: (run_pipeline):
25359 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25361 enable cleanup again after fixing the leak
25363 some more info on docs
25365 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25367 * check/Makefile.am:
25368 re-enable tests now that leaks are plugged
25370 * check/gst/gstbin.c:
25371 * check/gst/gstpipeline.c:
25372 add some more tests while fixing leaks
25373 * common/check.mak:
25374 make sure binaries are uptodate when valgrinding/gdbing
25376 * gst/gstelementfactory.c:
25377 remove a ref too many, and add a FIXME for when we get
25378 round to disposing of classes
25380 fix the refcounting when loading a plugin from a file and
25381 the code pretends that the pointer is the same even though
25382 of course it can change
25383 * gst/gstpluginfeature.c:
25384 unref plugins marked cached (a bit confusing as a name)
25385 as the docs state should be done
25386 various doc additions to explain refcounting
25387 * gst/gstregistry.c:
25388 * gst/gstregistryxml.c:
25391 2005-09-19 Wim Taymans <wim@fluendo.com>
25393 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25394 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25395 (send_messages), (GST_START_TEST), (gstbus_suite):
25396 * check/gst/gstpipeline.c: (GST_START_TEST):
25397 * check/pipelines/cleanup.c: (run_pipeline):
25398 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25400 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25401 (gst_bus_source_check), (gst_bus_source_dispatch),
25402 (gst_bus_create_watch), (gst_bus_add_watch_full),
25403 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25405 * tools/gst-launch.c: (event_loop):
25406 * tools/gst-md5sum.c: (event_loop):
25407 GstBusHandler -> GstBusFunc, return value has the same meaning as
25408 any other GSource (FALSE == remove source).
25409 _add_watch() and _add_watch_full() now take a MessageType mask to
25410 only handle specific types of messages.
25411 _poll() returns the GstMessage instead of the message type to avoid
25413 _have_pending() takes a MessageType mask now too.
25414 Added testsuite for multiple bus watches.
25415 Fix testsuites and applications for new bus API.
25417 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25419 * check/Makefile.am:
25420 mark a bunch of the tests as to fix until we fix them
25422 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25424 * common/check.mak:
25425 use GST_PLUGIN settings for valgrind tests as well, so we're
25426 valgrinding the correct thing
25427 * gst/gst.c: (init_post):
25430 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25432 * gst/gst.c: (init_post), (gst_deinit):
25433 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25434 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25435 * gst/gstindex.c: (gst_index_factory_class_init),
25436 (gst_index_factory_finalize):
25437 * gst/gstobject.c: (gst_object_dispose):
25438 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25439 (gst_plugin_load_file), (gst_plugin_desc_free):
25440 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25441 (gst_plugin_feature_finalize):
25442 * gst/gstregistry.c: (gst_registry_class_init),
25443 (gst_registry_init), (gst_registry_finalize),
25444 (gst_registry_get_default), (gst_registry_deinit):
25445 * gst/gstregistry.h:
25446 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25447 various cleanups and memleak plugging. make valgrind is happy now.
25449 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25451 * common/check.mak:
25452 add a check-valgrind target
25454 2005-09-18 David Schleef <ds@schleef.org>
25456 * tools/gst-inspect.c: Revert the GOption code.
25458 2005-09-17 David Schleef <ds@schleef.org>
25460 * check/Makefile.am: Fix environment variables.
25461 * check/gst/gstplugin.c: Fix for API changes.
25462 * tools/gst-inspect.c: Fix for API changes.
25463 * tools/gst-xmlinspect.c: Fix for API changes.
25464 * gst/gstelementfactory.c:
25467 * gst/gstpluginfeature.c:
25468 * gst/gstpluginfeature.h:
25469 * gst/gstregistry.c:
25470 * gst/gstregistry.h:
25471 * gst/gstregistryxml.c:
25472 * gst/gsttypefind.c:
25473 * gst/gsttypefindfactory.c:
25474 * gst/indexers/gstfileindex.c:
25475 * gst/indexers/gstmemindex.c:
25476 * gst/schedulers/Makefile.am:
25477 Change registry to keep track of both plugins and features,
25478 removing the feature tracking from plugins themselves.
25480 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25482 * check/Makefile.am:
25483 * tools/gst-register.1.in:
25484 remove gst-register
25486 2005-09-15 David Schleef <ds@schleef.org>
25488 * check/gst/gstplugin.c:
25489 * gst/gstelementfactory.c:
25491 * gst/gstpluginfeature.c:
25492 * gst/gstregistry.c:
25493 Getting tired of debugging. Disabled all the unreffing of
25494 plugins and features, which fixes the segfaults, but of
25495 course leaks like crazy. At least playbin works.
25497 2005-09-15 David Schleef <ds@schleef.org>
25499 * check/gst/gstplugin.c: (register_check_elements),
25500 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25502 * gst/elements/gsttypefindelement.c: Fix refcounting.
25503 * gst/gsttypefind.c:
25504 * gst/gsttypefindfactory.c:
25505 * gst/gsttypefindfactory.h:
25507 2005-09-15 David Schleef <ds@schleef.org>
25509 * gst/gstindex.c: get refcounting correct.
25510 * gst/gstregistry.c: Handle the case where a feature/plugin is
25513 2005-09-15 David Schleef <ds@schleef.org>
25515 * check/Makefile.am:
25516 * check/gst/gstplugin.c: Add test
25517 * gst/gstplugin.c: Fix problems noticed by testsuite
25519 * gst/gstregistry.c:
25520 * gst/gstregistry.h:
25522 2005-09-15 David Schleef <ds@schleef.org>
25524 * gst/gstplugin.c: Implement semi-decent recounting and locking
25525 in plugins and plugin features.
25527 * gst/gstpluginfeature.c:
25528 * gst/gstpluginfeature.h:
25529 * gst/gstregistry.c:
25531 2005-09-15 Michael Smith <msmith@fluendo.com>
25533 * gst/gstregistry.c: (gst_registry_get_feature_list):
25534 Implement this. Makes oggdemux work; decodebin still broken.
25536 2005-09-14 David Schleef <ds@schleef.org>
25538 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25540 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25541 * gst/check/Makefile.am:
25542 * libs/gst/controller/Makefile.am:
25543 * libs/gst/dataprotocol/Makefile.am:
25545 2005-09-14 David Schleef <ds@schleef.org>
25547 * configure.ac: Remove getbits library. Nothing uses it, and
25548 it should be in something like liboil if someone did want
25550 * libs/gst/Makefile.am:
25551 * libs/gst/getbits/Makefile.am:
25552 * libs/gst/getbits/gbtest.c:
25553 * libs/gst/getbits/getbits.c:
25554 * libs/gst/getbits/getbits.h:
25555 * libs/gst/getbits/gstgetbits_generic.c:
25556 * libs/gst/getbits/gstgetbits_i386.s:
25557 * libs/gst/getbits/gstgetbits_inl.h:
25559 2005-09-14 David Schleef <ds@schleef.org>
25561 * gst/Makefile.am: Dist glib-compat.h
25563 2005-09-14 David Schleef <ds@schleef.org>
25565 * configure.ac: Remove gst/registries, since it's no longer used.
25566 * gst/registries/Makefile.am:
25567 * gst/registries/gstlibxmlregistry.c:
25568 * gst/registries/gstlibxmlregistry.h:
25569 * gst/registries/gstxmlregistry.c:
25570 * gst/registries/gstxmlregistry.h:
25571 * gst/registries/registrytest.c:
25573 2005-09-14 David Schleef <ds@schleef.org>
25575 * gst/glib-compat.h:
25576 * gst/gstregistryxml.c:
25577 Convergence is near. Seriously.
25579 2005-09-14 David Schleef <ds@schleef.org>
25581 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25582 * gst/glib-compat.h:
25583 Attempt #4 to appease the buildbots.
25585 2005-09-14 David Schleef <ds@schleef.org>
25587 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25590 2005-09-14 David Schleef <ds@schleef.org>
25592 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25595 2005-09-14 David Schleef <ds@schleef.org>
25597 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25600 2005-09-14 David Schleef <ds@schleef.org>
25602 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25603 * gst/glib-compat.h: Add some functions that are in newer versions
25604 of glib than we care to require.
25605 * gst/gstregistryxml.c: Use them.
25607 2005-09-14 David Schleef <ds@schleef.org>
25609 * po/POTFILES.in: remove gst-register.c
25611 2005-09-14 David Schleef <ds@schleef.org>
25613 * docs/gst/gstreamer-docs.sgml:
25614 * docs/gst/gstreamer-sections.txt:
25615 * docs/gst/gstreamer.types:
25616 * docs/gst/tmpl/gstelement.sgml:
25617 * docs/gst/tmpl/gstplugin.sgml:
25618 * docs/gst/tmpl/gstpluginfeature.sgml:
25619 Documentation updates for registry changes.
25621 2005-09-14 David Schleef <ds@schleef.org>
25623 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25624 because we don't require glib-2.8.
25626 2005-09-14 David Schleef <ds@schleef.org>
25628 * gst/gstregistryxml.c: Added. Essentially moved out of the
25629 registries directory.
25631 2005-09-14 David Schleef <ds@schleef.org>
25633 * check/Makefile.am:
25634 * check/generic/states.c:
25638 * gst/gst_private.h:
25639 * gst/gstelementfactory.c:
25644 * gst/gstpluginfeature.c:
25645 * gst/gstpluginfeature.h:
25646 * gst/gstregistry.c:
25647 * gst/gstregistry.h:
25648 * gst/gstregistrypool.c: remove
25649 * gst/gstregistrypool.h: remove
25650 * gst/gsttypefind.c:
25651 * gst/gsttypefindfactory.c:
25653 * tools/Makefile.am:
25654 * tools/gst-compprep.c:
25655 * tools/gst-inspect.c:
25656 * tools/gst-register.c: remove
25657 * tools/gst-xmlinspect.c:
25658 Registry rewrite. Changes registry from being a file created
25659 by a tool into a simple cache file created automatically by
25660 libgstreamer. Removed gst-register (because it's no longer
25661 needed). Remove registry pools, because we only have one
25662 registry implementation (XML). Fix up other subsystems as
25665 2005-09-13 Michael Smith <msmith@fluendo.com>
25667 * gst/gstconfig.h.in:
25668 Don't Use windows linking attributes for MinGW. Fixes #316157
25670 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25672 * gst/gstutils.c: (set_state_async_thread_func),
25673 (gst_element_set_state_async):
25674 Apparently people think it's better if this function doesn't
25675 try to set the state to whatever state was asked for on the first
25676 call to this function for any object. Seriously.
25678 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25680 * check/gst/gstpipeline.c: (GST_START_TEST):
25681 * docs/gst/gstreamer-sections.txt:
25682 * gst/gstutils.c: (set_state_async_thread_func),
25683 (gst_element_set_state_async):
25685 add a "gst_element_set_state_async" method that
25686 sets the state and starts a thread to make sure the state
25687 change completes as best as it can
25689 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25691 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25692 codify design+behaviour in testsuite after discussion
25694 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25696 * docs/gst/tmpl/gstelement.sgml:
25697 * docs/manual/appendix-quotes.xml:
25699 * gst/gstelement.c: (gst_element_set_state):
25702 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25704 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25705 (gst_base_transform_prepare_output_buf),
25706 (gst_base_transform_handle_buffer):
25707 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25708 (gst_capsfilter_prepare_buf):
25709 Remove the requirement for sub-classes to call the parent
25710 implementation of prepare_output_buffer with a wrapper function.
25712 * gst/gsttaglist.h:
25713 * gst/gsttagsetter.h:
25714 Fix #define wrapper
25716 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25718 * docs/gst/gstreamer-sections.txt:
25721 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25723 * docs/gst/gstreamer-sections.txt:
25724 * docs/gst/tmpl/gstelement.sgml:
25725 * docs/gst/tmpl/gstplugin.sgml:
25726 * gst/gstminiobject.c:
25728 docs now stop throwing warnings
25730 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25732 * docs/gst/gstreamer-sections.txt:
25733 * docs/gst/gstreamer.types:
25734 * docs/gst/tmpl/gstpad.sgml:
25735 * docs/gst/tmpl/gsttypes.sgml:
25736 * gst/base/gstadapter.h:
25737 * gst/base/gstbasesink.h:
25738 * gst/base/gstbasesrc.h:
25744 * gst/gstelement.h:
25746 * gst/gstmessage.h:
25748 * gst/gststructure.c:
25749 * gst/registries/gstlibxmlregistry.h:
25750 various documentation fixes
25752 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25754 * docs/gst/gstreamer-sections.txt:
25755 * docs/gst/tmpl/gstvalue.sgml:
25756 rearrange gstvalue section
25757 * gst/gstutils.c: (gst_element_state_get_name):
25759 * gst/gstvalue.c: (_gst_value_initialize):
25763 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25765 * check/gst-libs/controller.c:
25766 Header include fix.
25767 * gst/base/gstbasetransform.c:
25768 (gst_base_transform_default_prepare_buf),
25769 (gst_base_transform_handle_buffer):
25770 * gst/base/gstbasetransform.h:
25771 Some more basetransform changes and fixes to enable sub-classes
25772 that modify buffer metadata only.
25773 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25774 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25775 (gst_capsfilter_prepare_buf):
25776 If the output pad has fixed allowed caps and input buffers
25777 don't have any, set the fixed caps on outgoing buffers.
25779 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25780 * check/elements/identity.c: (GST_START_TEST):
25781 Make the error a little clearer when the test fails because
25782 identity made a copy of the buffer.
25783 * docs/gst/gstreamer-sections.txt:
25784 New symbols in gstbasetransform.h
25785 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25786 (gst_base_transform_init), (gst_base_transform_transform_size),
25787 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25788 (gst_base_transform_default_prepare_buf),
25789 (gst_base_transform_get_unit_size),
25790 (gst_base_transform_buffer_alloc),
25791 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25792 (gst_base_transform_change_state),
25793 (gst_base_transform_set_passthrough),
25794 (gst_base_transform_set_in_place),
25795 (gst_base_transform_is_in_place):
25796 * gst/base/gstbasetransform.h:
25797 Change BaseTransform to separate in_place operate from same_caps
25798 output. in_place implies that the element can perform the transform
25799 on incoming buffers in-place, even if the caps on the output are
25801 Sub-class elements can now implement special buffer allocation
25802 methods for outgoing buffers if they wish to.
25803 Big documentation addition.
25804 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25805 * gst/elements/gstelements.c:
25806 Changes for basetransform modifications.
25807 * gst/elements/Makefile.am:
25808 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25809 Compile fix. Extra debug output.
25811 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25813 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25815 add tests for valid pad naming
25816 * gst/check/gstcheck.c: (gst_check_log_message_func),
25817 (gst_check_log_critical_func):
25819 remove printing of code, it is fragile when the code contains
25820 % and the line number is enough info
25821 * gst/check/gstcheck.h:
25822 * gst/gstpad.c: (gst_pad_template_new):
25825 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25828 say what CHECK flags we use
25829 * docs/libs/gstreamer-libs.types:
25830 * libs/gst/controller/Makefile.am:
25831 * libs/gst/controller/gst-controller.c:
25832 * libs/gst/controller/gst-controller.h:
25833 * libs/gst/controller/gst-helper.c:
25834 * libs/gst/controller/gst-interpolation.c:
25835 * libs/gst/controller/gstcontroller.c:
25836 * libs/gst/controller/gsthelper.c:
25837 * libs/gst/controller/gstinterpolation.c:
25838 * tools/gst-inspect.c: (print_plugin_info):
25839 we don't use dashes in header names
25841 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25843 * check/Makefile.am:
25844 * check/gst/.cvsignore:
25845 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25846 (gst_pipeline_suite), (main):
25847 adding a test for pipelines and state changes
25848 * gst/gstutils.c: (get_state_func):
25850 * gstreamer.spec.in:
25853 2005-09-08 Michael Smith <msmith@fluendo.com>
25855 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25856 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25857 (gst_file_src_is_seekable), (gst_file_src_get_size),
25858 (gst_file_src_start):
25859 * gst/elements/gstfilesrc.h:
25860 Various fixes for unseekable, unmmapable, and non-normal files, so
25861 that fallback to read() rather than mmap() works.
25862 * gst/gstevent.c: (gst_event_new_newsegment):
25863 Allow newsegment events with segment_start == segment_end, as will
25864 correctly happen if you use filesrc on a zero-size file, for
25867 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25869 * gst/gstplugin.c: (gst_plugin_load_file):
25870 Call g_module_close when we don't load the module
25872 * gst/registries/gstlibxmlregistry.c:
25873 (gst_xml_registry_get_property):
25874 Port leak fix from 0.8
25876 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25878 * docs/gst/gstreamer-docs.sgml:
25879 * docs/gst/tmpl/.cvsignore:
25880 * docs/gst/tmpl/gsttrace.sgml:
25881 * docs/gst/tmpl/gsttrashstack.sgml:
25884 * gst/gstelement.h:
25886 * gst/gstmessage.c:
25887 * gst/gstmessage.h:
25890 * gst/gsttaginterface.c:
25891 * gst/gsttaginterface.h:
25892 * gst/gsttaglist.c:
25893 * gst/gsttaglist.h:
25894 * gst/gsttagsetter.c:
25895 * gst/gsttagsetter.h:
25898 * gst/gsttrashstack.c:
25899 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25900 inlined docs for gsttrace, gsttrashstack
25902 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25905 * gst/elements/gstbufferstore.h:
25906 * gst/elements/gsttypefindelement.c:
25907 * gst/elements/gsttypefindelement.h:
25909 * gst/gsttypefind.c:
25910 * gst/gsttypefind.h:
25911 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25912 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25913 (gst_type_find_factory_dispose),
25914 (gst_type_find_factory_unload_thyself),
25915 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25916 (gst_type_find_factory_get_caps),
25917 (gst_type_find_factory_get_extensions),
25918 (gst_type_find_factory_call_function):
25919 * gst/gsttypefindfactory.h:
25920 * gst/registries/gstlibxmlregistry.c:
25921 * gst/registries/gstxmlregistry.c:
25922 splitted gsttypefind into gsttypefind, gsttypefindfactory
25924 2005-09-07 Andy Wingo <wingo@pobox.com>
25926 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25927 condition whereby the pad's task function is entered before the
25928 pad_mode variable was set.
25930 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25932 * gst/gstpad.c: (gst_pad_alloc_buffer):
25933 Catch misbehaving pad_alloc functions that don't
25934 set up caps and do it for them.
25936 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25938 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25939 test for pipe!=NULL
25940 * docs/gst/tmpl/.cvsignore:
25941 * docs/gst/tmpl/gstmemchunk.sgml:
25942 * docs/gst/tmpl/gstparse.sgml:
25943 * docs/gst/tmpl/gsttaglist.sgml:
25944 * docs/gst/tmpl/gsttagsetter.sgml:
25945 * docs/gst/tmpl/gsttypefind.sgml:
25946 * docs/gst/tmpl/gsttypefindfactory.sgml:
25947 * gst/gstmemchunk.c:
25950 * gst/gsttaginterface.c:
25951 * gst/gsttypefind.c:
25952 * gst/gsttypefind.h:
25955 === release 0.9.2 ===
25957 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25962 releasing 0.9.2, "South"
25964 2005-09-05 Andy Wingo <wingo@pobox.com>
25966 * gst/registries/gstxmlregistry.h:
25967 * gst/registries/gstxmlregistry.c: Um... resurrect...
25969 * gst/registries/gstxmlregistry.h:
25970 * gst/registries/gstxmlregistry.c: and update to newer API.
25971 Incidentally they should be a bit faster now that they don't have
25974 2005-09-05 Andy Wingo <wingo@pobox.com>
25976 * gst/registries/gstxmlregistry.h:
25977 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25978 replaced by the libxml registry a while back
25980 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25982 * docs/gst/tmpl/gstplugin.sgml:
25983 * gst/elements/gstelements.c:
25985 * gst/gstplugin.c: (gst_plugin_register_func),
25986 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25987 (gst_plugin_get_source):
25989 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25990 (gst_xml_registry_save_plugin):
25991 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25992 (gst_xml_registry_save_plugin):
25993 * tools/gst-inspect.c: (print_plugin_info):
25994 add a "source" plugin description field, to represent the source
25995 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25996 will set it to PACKAGE, which is automake's idea of the name of
25997 the source project.
25999 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
26004 * docs/Makefile.am:
26005 * docs/faq/Makefile.am:
26006 * docs/gst/tmpl/gstelement.sgml:
26007 * docs/gst/tmpl/gsttypes.sgml:
26008 * docs/htmlinstall.mak:
26009 * docs/manual/Makefile.am:
26010 * docs/pwg/Makefile.am:
26011 reorganize doc build a little
26012 split out docbook and gtk-doc stuff
26013 have two separate --enable's and enable them through autogen
26014 but disable by default in configure (to be similar to other
26016 * gstreamer.spec.in:
26017 clean up docs install
26035 translation updates
26037 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
26039 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26042 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26043 (gst_fake_sink_change_state):
26044 Make state change function thread-safe.
26046 * gst/gstpad.c: (gst_pad_alloc_buffer):
26047 Set offset on generic buffer allocated by fallback.
26049 2005-09-03 Stefan Kost <ensonic@users.sf.net>
26051 * docs/gst/gstreamer-sections.txt:
26052 * docs/gst/tmpl/gstelement.sgml:
26054 * libs/gst/controller/gst-controller.c:
26055 (gst_controlled_property_set_interpolation_mode),
26056 (gst_controlled_property_new),
26057 (gst_controller_find_controlled_property):
26058 run the wingo-magic script against the docs
26060 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26062 * docs/gst/gstreamer-docs.sgml:
26063 * docs/gst/gstreamer-sections.txt:
26064 * docs/gst/tmpl/.cvsignore:
26065 * docs/gst/tmpl/gstelementdetails.sgml:
26066 * docs/gst/tmpl/gstelementfactory.sgml:
26069 * gst/gstelementfactory.c:
26070 * gst/gstelementfactory.h:
26071 merged elementdetails docs into elementfactory docs
26074 2005-09-02 Andy Wingo <wingo@pobox.com>
26076 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26077 consider this enum an enum and not a flags.
26079 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26081 * docs/gst/gstreamer-docs.sgml:
26082 * docs/gst/tmpl/.cvsignore:
26083 * docs/gst/tmpl/gstghostpad.sgml:
26084 * docs/gst/tmpl/gstiterator.sgml:
26085 * docs/gst/tmpl/gstmacros.sgml:
26086 * docs/gst/tmpl/gstrealpad.sgml:
26087 * docs/gst/tmpl/gstregistry.sgml:
26088 * docs/gst/tmpl/gstregistrypool.sgml:
26089 * docs/gst/tmpl/gststructure.sgml:
26090 * docs/gst/tmpl/gstsystemclock.sgml:
26091 * docs/gst/tmpl/gsttrace.sgml:
26092 * gst/gstghostpad.c:
26094 * gst/gstmemchunk.c:
26095 * gst/gstmemchunk.h:
26097 * gst/gstregistry.c:
26098 * gst/gstregistrypool.c:
26099 * gst/gststructure.c:
26100 * gst/gstsystemclock.c:
26103 2005-09-02 Andy Wingo <wingo@pobox.com>
26105 * gst/gstelement.h (GstState): Renamed from GstElementState,
26106 changed to be a normal enum instead of flags.
26107 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26108 munged to be GST_STATE_CHANGE_*.
26109 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26110 work with the new state representation.
26111 (GstStateChange): New enumeration of possible state transitions.
26112 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26113 (GstElementClass::change_state): Pass the GstStateChange along as
26114 an argument. Helps language bindings, so they don't have to use
26115 tricky lock-needing macros like GST_STATE_CHANGE ().
26117 * scripts/update-states (file): New script. Run it on a file to
26118 update it for state naming and API changes. Updates files in
26121 * All files updated for the new API.
26123 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26125 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26126 * gst/gstutils.c: (gst_util_set_value_from_string),
26127 (gst_util_set_object_arg):
26128 fix a bunch of unchecked return values
26129 * tools/gst-complete.c: (main):
26130 * gstreamer.spec.in:
26133 2005-09-01 Wim Taymans <wim@fluendo.com>
26135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26136 (gst_base_sink_event), (gst_base_sink_do_sync),
26137 (gst_base_sink_handle_event):
26138 * gst/base/gstbasesink.h:
26139 Handle newsegments more correctly.
26144 * gst/gstevent.c: (gst_event_new_newsegment):
26145 A newsegment cannot have a start_time of -1
26147 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26149 * win32/gstenumtypes.c:
26150 * win32/gstenumtypes.h:
26153 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26155 * libs/gst/controller/gst-controller.c:
26156 (gst_controlled_property_set_interpolation_mode),
26157 (gst_controlled_property_new):
26158 fixed boolean again
26160 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26162 * docs/faq/gst-uninstalled:
26167 * gst/gstutils.c: (gst_element_link_filtered):
26169 add gst_element_link_filtered
26171 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26173 * docs/gst/gstreamer-docs.sgml:
26174 * docs/gst/gstreamer-sections.txt:
26175 * docs/gst/tmpl/.cvsignore:
26176 * docs/gst/tmpl/gsterror.sgml:
26177 * docs/gst/tmpl/gstfilter.sgml:
26178 * docs/gst/tmpl/gsturihandler.sgml:
26179 * docs/gst/tmpl/gsturitype.sgml:
26180 * docs/gst/tmpl/gstutils.sgml:
26181 * docs/gst/tmpl/gstxml.sgml:
26186 * gst/gsturitype.c:
26189 inlined more docs, fixed double id-ref
26191 2005-08-31 Wim Taymans <wim@fluendo.com>
26193 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26194 (gst_base_transform_handle_buffer):
26195 Passthrough elements don't need the caps as they don't care.
26197 2005-08-31 Wim Taymans <wim@fluendo.com>
26199 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26200 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26201 Don't leak refcounts on buffers.
26203 2005-08-31 Wim Taymans <wim@fluendo.com>
26205 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26206 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26207 (gst_base_transform_chain), (gst_base_transform_change_state):
26208 * gst/base/gstbasetransform.h:
26209 Handle the case where we are not negotiated more gracefully.
26211 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26213 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26214 (gst_file_src_map_region):
26215 Set READONLY flag on mmap'ed buffers, otherwise
26216 gst_buffer_make_writable() won't work properly (#314708).
26218 2005-08-31 Wim Taymans <wim@fluendo.com>
26220 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26221 passthrough elements can even do inplace on non writable
26222 buffers (as they don't touch them).
26224 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26226 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26227 (gst_test_mono_source_set_property),
26228 (gst_test_mono_source_class_init), (GST_START_TEST),
26229 (gst_controller_suite):
26230 more tests (hehe I have the most)
26232 describe popping messages whenusing mulltiple sources
26233 * libs/gst/controller/gst-controller.c:
26234 (gst_controlled_property_set_interpolation_mode),
26235 (gst_controlled_property_new):
26236 * libs/gst/controller/gst-controller.h:
26237 * libs/gst/controller/gst-interpolation.c:
26238 implement boolean properties
26240 2005-08-31 Wim Taymans <wim@fluendo.com>
26242 * gst/gstminiobject.c: (gst_mini_object_ref):
26243 Cannot assert that the refcount has to be positive
26244 since a disposed object can be resurrected.
26246 2005-08-31 Wim Taymans <wim@fluendo.com>
26248 * gst/gstpad.c: (gst_pad_init):
26249 Revert change, need to first fix badly behaving
26252 2005-08-30 Wim Taymans <wim@fluendo.com>
26254 * check/elements/fakesrc.c: (setup_fakesrc):
26255 * check/elements/identity.c: (setup_identity):
26256 Activate pads before using them.
26258 2005-08-30 Wim Taymans <wim@fluendo.com>
26260 * gst/base/gstadapter.c: (gst_adapter_flush):
26261 Flushing out 0 bytes is ok for this function.
26263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26264 no newsegment gives a warning and sets the start/stop to
26267 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26268 (gst_base_transform_set_passthrough):
26271 * gst/gstminiobject.c: (gst_mini_object_ref):
26272 Check refcount here too.
26274 * gst/gstpad.c: (gst_pad_init):
26275 Pads are initially flushing and refusing data.
26277 * gst/gstutils.c: (gst_element_link_pads_filtered):
26278 When adding a capsfilter element make sure it has the
26279 same state as the parent bin.
26281 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26283 * docs/gst/tmpl/.cvsignore:
26284 * docs/gst/tmpl/gstformat.sgml:
26285 * docs/gst/tmpl/gstversion.sgml:
26289 * gst/gstversion.h.in:
26290 more docs and two more inlined
26292 2005-08-30 Wim Taymans <wim@fluendo.com>
26294 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26295 Don't sync to clock.
26297 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26299 * docs/gst/gstreamer-sections.txt:
26300 ultral33t func10ns deserve to appear in the docs actually
26301 * docs/gst/tmpl/.cvsignore:
26302 * docs/gst/tmpl/gstcompat.sgml:
26303 * docs/gst/tmpl/gstconfig.sgml:
26304 * gst/check/gstcheck.c:
26306 * gst/gstconfig.h.in:
26309 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26311 * docs/gst/tmpl/.cvsignore:
26312 * docs/gst/tmpl/gstquery.sgml:
26313 * docs/gst/tmpl/gstutils.sgml:
26316 inlined and extended docs
26318 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26320 * check/gst-libs/controller.c: (GST_START_TEST),
26321 (gst_controller_suite):
26323 * docs/gst/tmpl/gstutils.sgml:
26324 * docs/libs/gstreamer-libs-sections.txt:
26325 * docs/libs/tmpl/gstdataprotocol.sgml:
26327 * examples/controller/audio-example.c: (main):
26328 controller example works now
26331 * tools/gst-inspect.c: (print_element_properties_info):
26332 show param spec flags
26334 2005-08-29 Andy Wingo <wingo@pobox.com>
26336 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26338 2005-08-28 Andy Wingo <wingo@pobox.com>
26340 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26341 as having two arguments instead of just one. Allows superclasses
26342 to access information on subclasses -- see the terrible for() loop
26343 in gtype.c:g_type_create_instance for the reason why. All callers
26346 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26348 * docs/design/part-messages.txt:
26350 * docs/gst/tmpl/.cvsignore:
26351 * docs/gst/tmpl/gstcaps.sgml:
26352 * docs/gst/tmpl/gstclock.sgml:
26358 * gst/gstmessage.c:
26359 added descriptions for bus and message
26360 inline caps and clock docs
26362 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26364 * gst/gstmessage.c:
26365 * gst/gstmessage.h:
26368 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26370 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26373 2005-08-26 Andy Wingo <wingo@pobox.com>
26375 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26376 element_set_state's return val.
26377 (test_2_elements): Add test that's been disabled for months.
26379 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26380 can-activate-pull properties.
26382 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26383 can-activate-pull properties. Implement is_seekable so fakesrc can
26384 operate in pull mode.
26386 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26388 (gst_base_sink_activate, gst_base_sink_activate_pull)
26389 (gst_base_sink_activate_push): Make activation mode choosing work.
26391 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26392 is right. Make pull mode work. Post an eos before pausing in pull
26394 (gst_base_sink_change_state): Pay attention to the core's
26395 change_state() return val.
26397 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26398 has-getrange properties. Cleanups.
26400 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26401 has_getrange and replace with can_activate_pull and
26404 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26405 locking comments. Remove has_loop, has_chain and replace with
26406 can_activate_pull and can_activate_push.
26408 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26411 * examples/Makefile.am:
26412 * examples/metadata/Makefile.am:
26413 * examples/metadata/read-metadata.c: (message_loop),
26414 (have_pad_handler), (make_pipeline), (print_tag), (main):
26415 Add metadata reading example that loops over a list of filenames,
26416 dumping any tags found.
26418 * gst/gstbus.c: (gst_bus_dispose):
26419 * gst/gstelement.c: (gst_element_dispose):
26420 Release a few potentially-held references in dispose.
26422 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26424 * docs/gst/tmpl/gstminiobject.sgml:
26425 do *not* add tmpl/*.sgml files to CVS!
26427 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26429 * libs/gst/bytestream/.cvsignore:
26430 * libs/gst/bytestream/Makefile.am:
26431 * libs/gst/bytestream/adapter.c:
26432 * libs/gst/bytestream/adapter.h:
26433 * libs/gst/bytestream/bytestream.c:
26434 * libs/gst/bytestream/bytestream.h:
26435 * libs/gst/bytestream/filepad.c:
26436 * libs/gst/bytestream/filepad.h:
26437 removing obsolete files
26439 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26441 * docs/gst/gstreamer-docs.sgml:
26442 * docs/libs/gstreamer-libs-docs.sgml:
26443 disabed additional index entries again, as this makes docs-gen just
26444 slow and they aren't useful yet
26445 * docs/libs/gstreamer-libs-sections.txt:
26446 little -section.txt cleanup for libs
26448 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26450 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26451 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26452 fix up some debugging
26453 (gst_base_transform_get_unit_size),
26454 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26455 (gst_base_transform_handle_buffer):
26456 * gst/base/gstbasetransform.h:
26457 handle and store timed NEWSEGMENT events so that subclasses that
26458 calculate time by counting samples have a segment_start time they
26459 need to add to their timestamps - see audioresample
26461 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26464 removed ';' from the end of macro defs
26465 * docs/gst/gstreamer-docs.sgml:
26466 * docs/gst/gstreamer-sections.txt:
26467 * docs/gst/tmpl/.cvsignore:
26469 * gst/gstelement.c: (gst_element_class_init),
26470 (gst_element_set_state), (activate_pads),
26471 (gst_element_save_thyself):
26472 * gst/gstevent.c: (gst_event_new_newsegment):
26474 * gst/gstiterator.c:
26475 * gst/gstiterator.h:
26478 * gst/gstutils.c: (gst_pad_query_convert):
26480 fixed parameter name mismatches between source, header and docs
26481 added some more docs, resolved the last batch of unused elements in
26482 docs (now someone needs to doc them)
26484 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26486 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26487 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26488 don't walk through the plugins backwards. Where is all this
26489 reversed logic coming from ?
26491 2005-08-25 Wim Taymans <wim@fluendo.com>
26493 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26494 (gst_base_transform_transform_size),
26495 (gst_base_transform_configure_caps),
26496 (gst_base_transform_get_unit_size),
26497 (gst_base_transform_buffer_alloc),
26498 (gst_base_transform_change_state):
26499 * gst/base/gstbasetransform.h:
26500 Cache caps unit_size.
26501 Make sure we cannot negotiate up and downstream at the
26504 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26506 * gst/gst.c: (init_pre), (init_post):
26507 register the installed plugin path after the env var
26508 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26509 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26510 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26511 directories, so the tests can prefer uninstalled over installed
26513 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26515 * gst/base/gstbasetransform.h:
26520 2005-08-25 Wim Taymans <wim@fluendo.com>
26522 * gst/gstbin.c: (bin_bus_handler):
26523 Be a bit more conservative about the posted message.
26525 * gst/gstbus.c: (gst_bus_post):
26526 Some cleanups, warn wrong return values.
26528 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26530 * check/gst/gstbin.c: (GST_START_TEST):
26531 * gst/gstbin.c: (bin_bus_handler):
26532 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26533 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26534 (gst_message_new_warning), (gst_message_new_tag),
26535 (gst_message_new_state_changed), (gst_message_new_segment_start),
26536 (gst_message_new_segment_done), (gst_message_new_custom):
26537 * gst/gstmessage.h:
26538 * tools/gst-launch.c: (event_loop):
26539 * tools/gst-md5sum.c: (event_loop):
26540 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26542 2005-08-25 Wim Taymans <wim@fluendo.com>
26544 * check/generic/states.c: (GST_START_TEST):
26545 Cleanup can be done at the end.
26547 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26548 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26549 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26550 Oh boy.. Thanks for finding this, Thomas.
26552 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26554 * docs/gst/gstreamer.types:
26555 added missing types
26557 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26559 * docs/gst/gstreamer-docs.sgml:
26560 * docs/gst/gstreamer-sections.txt:
26561 * docs/gst/tmpl/.cvsignore:
26563 * gst/gstiterator.c:
26565 * gst/registries/gstxmlregistry.h:
26566 added missing classes and symbols (123 more to go)
26567 removed removed symbols from section file
26568 fixed many doc-comments
26570 2005-08-24 Wim Taymans <wim@fluendo.com>
26572 * check/generic/states.c: (GST_START_TEST):
26573 Make sure all tasks are stopped.
26575 * check/gst/gstbin.c: (GST_START_TEST):
26576 Unref after usage for proper valgrinding.
26578 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26579 Really wait for the task to stop before destroying the
26582 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26583 (gst_queue_src_activate_push):
26584 Small cleanups. Don't stop the task when we did not start
26587 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26588 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26589 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26592 Protect the stream lock with the object lock.
26593 Disallow setting the stream lock when running.
26594 Add cleanup_all to wait for the threadpool to finish.
26595 Remove code to autoallocate a mutex if none was provided.
26596 Add _join() to wait for a task to stop.
26597 Protect the thread pool with a global lock.
26599 2005-08-24 Wim Taymans <wim@fluendo.com>
26601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26602 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26603 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26604 * gst/base/gstbasesink.h:
26605 Handle newsegment events correctly.
26606 Drop buffers out of the segment range.
26608 2005-08-22 Andy Wingo <wingo@pobox.com>
26610 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26611 macro, implements an interface and gstimplementsinterface for a
26614 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26616 * check/Makefile.am:
26617 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26618 add a test that does a bunch of state changes on elements
26619 needs some fixing for valgrind
26620 * check/states/sinks.c: (gst_object_suite):
26623 add prototype for gst_caps_is_equal_fixed
26625 * gst/gstregistrypool.c:
26628 2005-08-24 Andy Wingo <wingo@pobox.com>
26630 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26631 convert a negative value. Doesn't make much sense. Mostly this is
26632 here to force callers to ensure -1 maps to -1.
26634 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26636 * docs/pwg/advanced-types.xml:
26637 Well done to Michael for catching my deliberate introduction
26638 of this spelling mistake.
26639 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26640 * gst/gstelement.h:
26641 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26642 unlink pads before removing the element from the bin.
26644 2005-08-24 Andy Wingo <wingo@pobox.com>
26646 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26647 the same thing as GST_DEBUG=*:4.
26648 (parse_debug_level, parse_debug_category): New helper parsers.
26650 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26652 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26653 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26654 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26655 (gst_base_transform_buffer_alloc),
26656 (gst_base_transform_handle_buffer):
26657 use gboolean return values and pointers to size so we can use the
26658 full GST_BUFFER_SIZE range (guint) for buffer sizes
26659 use GstPadDirection for transform_caps
26660 * gst/base/gstbasetransform.h:
26661 rename get_size to get_unit_size since that's what it is
26662 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26663 use GstPadDirection for transform_caps
26664 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26666 cleanup and debugging
26668 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26670 * gst/gstelement.c: (gst_element_class_init),
26671 (gst_element_set_state), (activate_pads),
26672 (gst_element_save_thyself):
26673 * tools/gst-compprep.c: (main):
26674 * tools/gst-inspect.c: (print_element_properties_info):
26675 * tools/gst-xmlinspect.c: (print_element_properties):
26676 Fixed long standing mem-leak
26678 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26680 * check/gst/gstbin.c: (GST_START_TEST):
26681 * gst/gstbin.c: (bin_bus_handler):
26682 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26683 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26684 (gst_message_new_warning), (gst_message_new_tag),
26685 (gst_message_new_state_changed), (gst_message_new_segment_start),
26686 (gst_message_new_segment_done), (gst_message_new_custom):
26687 * gst/gstmessage.h:
26688 * tools/gst-launch.c: (event_loop):
26689 * tools/gst-md5sum.c: (event_loop):
26690 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26691 that applications can sensibly post custom messages with references
26692 to their own objects.
26694 2005-08-24 Andy Wingo <wingo@pobox.com>
26696 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26699 2005-08-24 Wim Taymans <wim@fluendo.com>
26701 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26702 (gst_base_transform_transform_caps),
26703 (gst_base_transform_transform_size),
26704 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26705 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26706 (gst_base_transform_handle_buffer):
26707 * gst/base/gstbasetransform.h:
26708 Many fixes and new features added by Thomas. Can now also do
26709 transforms with variable sizes and a custom fixate_caps function.
26711 2005-08-24 Wim Taymans <wim@fluendo.com>
26713 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26717 Cast to ClockTime before formatting to time.
26722 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26724 * check/gst-libs/controller.c: (GST_START_TEST),
26725 (gst_controller_suite):
26726 * docs/gst/tmpl/gstcaps.sgml:
26727 * docs/gst/tmpl/gstghostpad.sgml:
26728 * docs/gst/tmpl/gstquery.sgml:
26729 * docs/gst/tmpl/gstutils.sgml:
26730 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26731 (gst_object_sink_values), (gst_object_get_value_arrays),
26732 (gst_object_get_value_array):
26733 gracefully handle helper method calls to objects that are not beeing
26734 controlled, added test case for that
26736 2005-08-23 Wim Taymans <wim@fluendo.com>
26738 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26739 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26740 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26741 (gst_event_parse_qos), (gst_event_new_seek),
26742 (gst_event_parse_seek):
26744 Some more debugging output and doc cleanups.
26746 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26747 Fix possible deadlock.
26749 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26751 * docs/gst/gstreamer-docs.sgml:
26752 * docs/gst/gstreamer-sections.txt:
26753 * docs/gst/gstreamer.types:
26754 * docs/gst/tmpl/.cvsignore:
26757 * gst/gstelement.c:
26759 added 100 symbols from gstreamer-unused.txt to the right sections
26760 fixed more broken comments
26761 added GstBus to docs
26763 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26765 * docs/gst/gstreamer-sections.txt:
26766 * docs/gst/tmpl/.cvsignore:
26767 * docs/gst/tmpl/gstbin.sgml:
26768 * docs/gst/tmpl/gstbuffer.sgml:
26769 * gst/base/gstbasesrc.c:
26770 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26773 * tools/gst-launch.1.in:
26774 inlined more doc comments, added missing comments and fixed comments
26777 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26779 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26783 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26785 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26786 * gst/gststructure.h:
26787 add a fixate function for booleans; add a FIXME that these func
26788 names should probably be gst_structure_fixate_*
26790 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26792 * docs/gst/gstreamer-docs.sgml:
26793 * docs/gst/gstreamer-sections.txt:
26795 * gst/gstbin.c: (gst_bin_get_type),
26796 (gst_bin_child_proxy_get_child_by_index),
26797 (gst_bin_child_proxy_get_children_count),
26798 (gst_bin_child_proxy_init):
26799 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26800 (gst_child_proxy_get_child_by_index),
26801 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26802 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26803 (gst_child_proxy_get), (gst_child_proxy_set_property),
26804 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26805 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26806 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26807 * gst/gstchildproxy.h:
26808 * gst/parse/grammar.y:
26809 * tools/gst-inspect.c: (print_interfaces),
26810 (print_element_properties_info), (print_element_info):
26811 ported gstchildproxy over from 0.8
26812 ported gst-inspect fixes and enhancements over from 0.8
26814 2005-08-22 Wim Taymans <wim@fluendo.com>
26816 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26817 (gst_base_transform_handle_buffer):
26818 Also call the transform function if we have ANY caps.
26820 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26823 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26825 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26826 Don't pretend to handle seek events if the source is not seekable
26828 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26830 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26831 Remove extra parameter to debug output
26833 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26834 (gst_base_src_do_seek), (gst_base_src_activate_push):
26835 Fix seek event handling.
26837 * gst/gstpipeline.c: (gst_pipeline_change_state):
26838 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26839 (gst_queue_src_activate_push):
26840 Don't start the src pad task on FLUSH_STOP if the pad
26844 2005-08-22 Wim Taymans <wim@fluendo.com>
26846 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26847 Added check for gst_static_caps_get() refcounting.
26849 2005-08-22 Wim Taymans <wim@fluendo.com>
26851 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26852 Make _static_caps_get() refcounting sane.
26854 * gst/gstelement.c: (gst_element_set_state):
26855 Add g_return_val_if_fail() to protect against segfaults.
26857 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26859 * docs/gst/tmpl/gstevent.sgml:
26862 inlined remaining docs, added missing doc comments
26864 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26866 * check/gst/gstbin.c: (GST_START_TEST):
26867 since we don't know when preroll is done, use refcount range
26869 * gst/check/gstcheck.h:
26870 add macro for checking refcount range
26872 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26874 * check/Makefile.am:
26875 clean up environment for when registry gets built versus
26876 when actual tests are run; valgrind seems to not report
26877 leaks if GST_PLUGIN_PATH is set to some specific values
26878 * check/gst/gstbin.c: (GST_START_TEST):
26879 add more refcounting checks; maybe this exposes a
26881 * common/check.mak:
26882 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26883 * gst/check/gstcheck.h:
26884 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26885 (gst_bin_change_state):
26886 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26887 add/fix debugging/whitespace
26889 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26891 * check/gst/gstevent.c: (event_probe), (test_event),
26893 Er, don't call gst_bin_watch_for_state_change you idiot.
26895 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26897 * check/Makefile.am:
26898 Use CHECK_CFLAGS and CHECK_LIBS
26899 * check/gst/gstevent.c: (event_probe), (test_event),
26902 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26903 (gst_base_src_start), (gst_base_src_stop),
26904 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26905 (gst_base_src_change_state):
26906 Sprinkle gst_base_src_stop liberally around error paths to fix
26907 problems reusing a source after failed state changes.
26908 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26909 (helper_find_suggest), (gst_type_find_helper):
26910 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26912 * docs/gst/tmpl/gstevent.sgml:
26913 Migrate part of the docs from the SGML file. Wait for ensonic to
26914 tell me how I did it wrong ;)
26915 * tools/gst-typefind.c: (main):
26916 Extra robustness to state changes between files.
26918 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26920 * check/Makefile.am:
26921 don't valgrind the controller test - it's leaking - Stefan, HELP
26922 * gst/check/gstcheck.c: (gst_check_message_error),
26923 (gst_check_chain_func), (gst_check_setup_element),
26924 (gst_check_teardown_element), (gst_check_setup_src_pad),
26925 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26926 (gst_check_teardown_sink_pad):
26927 * gst/check/gstcheck.h:
26928 add a bunch of methods to set up elements, and src and sink pads
26929 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26930 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26933 * gst/gstmessage.c:
26935 whitespace/doc fixes
26937 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26939 * gst/gstelement.h:
26940 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26941 be handled by the application and not always printed as well
26943 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26945 * check/Makefile.am:
26947 * gst/check/gstcheck.c: (gst_check_message_error):
26948 * gst/check/gstcheck.h:
26949 add a fail_unless_equals_int
26950 add fail_unless for error messages
26952 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26954 * check/Makefile.am:
26956 * common/Makefile.am:
26957 * common/check.mak:
26959 factor out some of the common stuff so we can use it
26961 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26963 * check/Makefile.am:
26964 * check/gst/gstiterator.c: (GST_START_TEST):
26965 * check/gst/gstsystemclock.c: (GST_START_TEST),
26966 (gst_systemclock_suite):
26967 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26969 valgrind more tests
26971 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26973 * check/elements/.cvsignore:
26974 * check/elements/gstfakesrc.c:
26975 rename to name of element
26976 * check/elements/identity.c: (chain_func), (event_func),
26977 (setup_identity), (cleanup_identity), (GST_START_TEST),
26978 (identity_suite), (main):
26979 add a test for identity
26980 * check/Makefile.am:
26981 * pkgconfig/Makefile.am:
26982 * pkgconfig/gstreamer-check.pc.in:
26983 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26987 move the check stuff to a library that gets installed
26988 * check/gst-libs/controller.c: (GST_START_TEST):
26989 * check/gst-libs/gdp.c:
26990 * check/gst/gst.c: (GST_START_TEST):
26991 * check/gst/gstbin.c:
26992 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26993 * check/gst/gstbus.c:
26994 * check/gst/gstcaps.c: (GST_START_TEST):
26995 * check/gst/gstelement.c:
26996 * check/gst/gstghostpad.c:
26997 * check/gst/gstiterator.c:
26998 * check/gst/gstmessage.c:
26999 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27000 * check/gst/gstobject.c:
27001 * check/gst/gstpad.c: (GST_START_TEST):
27002 * check/gst/gststructure.c: (GST_START_TEST):
27003 * check/gst/gstsystemclock.c: (GST_START_TEST),
27004 (gst_systemclock_suite):
27005 * check/gst/gsttag.c: (gst_tag_suite):
27006 * check/gst/gstvalue.c:
27007 * check/pipelines/cleanup.c:
27008 * check/pipelines/simple_launch_lines.c:
27009 * check/states/sinks.c:
27010 change include statement
27012 * docs/gst/gstreamer-sections.txt:
27013 * docs/gst/tmpl/gstpad.sgml:
27014 document more pad stuff
27015 * gst/gstminiobject.c: (gst_mini_object_ref),
27016 (gst_mini_object_unref):
27019 2005-08-19 Stefan Kost <ensonic@users.sf.net>
27021 * docs/gst/tmpl/gst.sgml:
27023 eliminate another tmpl file, fix spelling in the long-description
27025 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27027 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27028 (test_event), (timediff), (gstevents_suite):
27029 Should fix build on 64-bit arch's
27031 2005-08-18 Andy Wingo <wingo@pobox.com>
27033 Make sure that when a pipeline goes to PLAYING, that data has
27034 actually hit the sink.
27036 * check/states/sinks.c (test_sink): A sink that doesn't get any
27037 data shouldn't return SUCCESS for going to either PLAYING or
27038 PAUSED. Test also the return values on the way back down.
27040 * gst/gstelement.c (gst_element_set_state): When changing the
27041 state of an element currently changing state asynchronously, go to
27042 lost-state after commiting the pending state. Makes future calls
27043 to get_state continue to return ASYNC.
27045 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27046 ASYNC when going to PLAYING if we still don't have preroll, as can
27047 happen with live sources.
27049 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27051 * docs/pwg/advanced-types.xml:
27052 Hack long paragraph into 2 chunks as a workaround for buggy
27053 jadetex version in sid and breezy that loops infinitely and
27056 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27058 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27059 (test_event), (timediff), (gstevents_suite):
27060 Provide more error margin in clock measurements to allow for
27061 g_get_current_time inaccuracies.
27063 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27065 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27066 (test_event), (timediff), (gstevents_suite):
27067 Fix error message output so I might be able to tell why the
27068 test works here but fails on the build farm.
27070 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27072 * check/Makefile.am:
27073 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27074 (test_event), (timediff), (gstevents_suite), (main):
27077 * docs/design/part-seeking.txt:
27078 Spelling correction
27080 * docs/gst/tmpl/gstevent.sgml:
27081 * docs/gst/tmpl/gstfakesrc.sgml:
27084 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27085 Treat a buffer-without-newsegment the same as a receiving
27086 a newsegment not in time format, and disable syncing to the clock
27089 * gst/gstbus.c: (gst_bus_set_sync_handler):
27090 Assert if anyone tries to replace the existing sync_handler for bus,
27091 as only the owner should be setting it.
27094 Have a fixed set of custom event enums with events identified by
27095 their structure name (as in 0.8), rather than a free-for-all
27096 allowing collisions between enum values from different plugins.
27098 * gst/gstpad.c: (gst_pad_class_init):
27101 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27102 Handle out-of-band downstream events from the sending thread.
27104 2005-08-17 Andy Wingo <wingo@pobox.com>
27106 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27107 play-timeout==0 to mean no timeout at all. In that case, don't
27108 bother with a get_state or a warning, just return directly, even
27111 * gst/base/gstbasetransform.c: Debug changes.
27114 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27115 ensure bins post state change messages. A bit of a hack but I can't
27116 think of a way to avoid it.
27118 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27120 2005-08-16 Andy Wingo <wingo@pobox.com>
27122 * gst/base/gstadapter.h:
27123 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27124 peek() but you own the data. Not terribly efficient atm.
27126 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27128 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27129 (gst_element_found_tags):
27131 Add two utility functions for tag handling.
27133 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27135 * docs/manual/advanced-dataaccess.xml:
27136 * docs/manual/basics-helloworld.xml:
27137 Fix docs to use _bin_add() before _link(), which fixes the examples
27138 with recent core versions (reported by Madhan Raj M
27139 <raj_madan@rediffmail.com>, #313199).
27141 2005-08-16 Wim Taymans <wim@fluendo.com>
27143 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27144 Added subtract checks.
27146 * docs/design/part-events.txt:
27147 Some more docs about newsegment
27149 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27152 * gst/gstcaps.c: (gst_caps_to_string):
27153 Add comments, cleanups.
27155 * gst/gstelement.c: (gst_element_save_thyself):
27158 * gst/gstvalue.c: (gst_value_collect_int_range),
27159 (gst_string_unwrap), (gst_value_union_int_int_range),
27160 (gst_value_union_int_range_int_range),
27161 (gst_value_intersect_int_int_range),
27162 (gst_value_intersect_int_range_int_range),
27163 (gst_value_intersect_double_double_range),
27164 (gst_value_intersect_double_range_double_range),
27165 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27166 (gst_value_subtract_int_range_int),
27167 (gst_value_subtract_double_range_double),
27168 (gst_value_subtract_double_range_double_range),
27169 (gst_value_subtract_from_list), (gst_value_subtract_list),
27170 (gst_value_can_compare), (gst_value_compare_fraction):
27171 Cleanups, add comments, remove unneeded asserts.
27173 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27175 * tools/gst-launch.c: (event_loop):
27176 don't convert NULL structures to strings
27178 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27180 * docs/gst/gstreamer-sections.txt:
27181 made some defines private
27182 * docs/gst/tmpl/gstconfig.sgml:
27183 * docs/gst/tmpl/gstqueue.sgml:
27184 * docs/gst/tmpl/gsttaglist.sgml:
27185 * docs/gst/tmpl/gsttypes.sgml:
27186 * docs/gst/tmpl/gstutils.sgml:
27187 * docs/pwg/appendix-porting.xml:
27188 * gst/base/gstbasesink.h:
27189 * gst/base/gstbasesrc.c:
27190 * gst/base/gstbasesrc.h:
27191 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27192 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27193 * gst/gstelement.c: (gst_element_class_init):
27194 * gst/gstpad.c: (gst_pad_class_init):
27195 * gst/gstqueue.c: (gst_queue_class_init):
27196 * gst/gstxml.c: (gst_xml_class_init):
27197 documented all undocumented signal inline
27198 * libs/gst/controller/gst-controller.h:
27201 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27203 * docs/pwg/appendix-porting.xml:
27204 Document _set_link_function -> _set_setcaps_function.
27206 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27208 * check/Makefile.am:
27209 add a .check target for running the check
27210 * check/gst-libs/controller.c: (GST_START_TEST):
27212 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27213 complete checks for gstbuffer; would be nice if I could get the
27214 gcov stuff to work so I can see if I actually completed gstbuffer.c
27215 * check/gstcheck.h:
27216 add ASSERT_BUFFER_REFCOUNT
27218 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27220 * docs/gst/gstreamer-sections.txt:
27221 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27223 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27224 spew out a warning if a tag that is already registered
27225 is re-registered, unless it is re-registered with a
27226 different type (#308438).
27228 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27230 * docs/pwg/appendix-porting.xml:
27231 * docs/pwg/building-state.xml:
27232 Add some paragraphs about state changes in 0.9 to the PWG
27233 and the porting guide, in particular about the new meaning
27234 of GST_STATE_PAUSED and how to write state change functions
27235 with concurrent access by multiple threads in mind.
27237 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27239 * docs/gst/gstreamer-docs.sgml:
27240 * docs/libs/gstreamer-libs-docs.sgml:
27241 added deprecation and since indexes
27242 * libs/gst/controller/gst-controller.c:
27243 * libs/gst/controller/gst-helper.c:
27247 2005-08-11 Wim Taymans <wim@fluendo.com>
27249 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27250 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27251 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27252 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27253 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27254 (gst_ghost_pad_set_target):
27255 Actually implement (re)setting the target on a ghostpad
27256 as described in the docs.
27258 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27260 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27261 Check whether GST_DEBUG_NO_COLOR environment variable is
27262 set and disable coloured debug output if that is the case.
27264 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27266 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27267 (gst_type_find_helper):
27268 The memory returned by gst_type_find_peek() needs to
27269 stay valid until the end of a typefind function, and
27270 typefind functions may keep results from different
27271 offsets around, so we can't just unref the buffer from
27272 the previous _peek(), but have to save all buffers
27273 returned by _peek() until typefinding is done and only
27276 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27278 * docs/gst/gstreamer-sections.txt:
27280 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27282 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27284 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27285 Fix a pretty good memleak.
27287 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27289 * gst/gstiterator.h:
27290 Fix wrong include and 'make distcheck'.
27292 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27294 * gst/gstbin.c: (bin_bus_handler):
27295 Use gst_element_post_message() instead.
27297 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27299 * gst/base/gstadapter.h:
27300 * gst/base/gstbasesink.h:
27301 * gst/base/gstbasesrc.h:
27302 * gst/base/gstbasetransform.h:
27303 * gst/base/gstcollectpads.h:
27304 * gst/base/gstpushsrc.h:
27305 * gst/gstiterator.h:
27306 Add padding to our base elements' class and instance structs and
27307 to GstIterator (you will need to rebuild all plugins and apps!)
27309 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27311 * gst/gstbin.c: (bin_bus_handler):
27312 Make default message forwarding from child->bus to bin->bus
27313 threadsafe and make it not emit warnings if the parent has no bus.
27315 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27317 * gst/gstelement.c: (activate_pads):
27318 On paused->ready, set pad->caps to NULL, as is the documented
27319 behaviour in this state change. Fixes playback of series of
27320 media files when visualization is enabled in Totem.
27322 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27324 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27325 Allow NULL as filter-caps (which means "any").
27327 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27329 * docs/libs/gstreamer-libs-sections.txt:
27330 * libs/gst/controller/gst-controller.c:
27331 * libs/gst/controller/gst-controller.h:
27332 * libs/gst/controller/gst-helper.c:
27333 adding more entries to the docs and fix small doc-bugs
27335 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27337 * docs/gst/gstreamer-docs.sgml:
27338 * docs/gst/gstreamer-sections.txt:
27339 * docs/gst/gstreamer.types:
27340 * docs/gst/tmpl/gstbasesink.sgml:
27341 * docs/gst/tmpl/gstbasesrc.sgml:
27342 * docs/gst/tmpl/gstbasetransform.sgml:
27343 * docs/gst/tmpl/gstfakesrc.sgml:
27344 * gst/base/gstcollectpads.c:
27345 * gst/base/gstcollectpads.h:
27346 * libs/gst/controller/gst-controller.c:
27347 * libs/gst/controller/gst-controller.h:
27348 * libs/gst/controller/gst-helper.c:
27349 * libs/gst/controller/gst-interpolation.c:
27350 * libs/gst/controller/lib.c:
27351 added long/short desc for controller docs
27352 added collectpads base class docs
27353 added correct includes to base-class docs
27355 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27357 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27358 (gst_test_mono_source_set_property),
27359 (gst_test_mono_source_class_init), (GST_START_TEST),
27360 (gst_controller_suite):
27361 * docs/gst/gstreamer-docs.sgml:
27362 * docs/gst/gstreamer-sections.txt:
27363 * docs/gst/gstreamer.types:
27364 * docs/libs/gstreamer-libs-docs.sgml:
27365 * docs/libs/gstreamer-libs-sections.txt:
27366 * gst/base/gstadapter.c:
27367 * libs/gst/controller/gst-controller.c:
27368 (gst_controlled_property_new), (gst_controlled_property_free),
27369 (gst_controller_new_valist),
27370 (gst_controller_remove_properties_valist),
27371 (gst_controller_sink_values), (_gst_controller_finalize):
27372 * libs/gst/controller/gst-controller.h:
27373 * libs/gst/controller/gst-helper.c:
27374 (gst_object_control_properties), (gst_object_uncontrol_properties),
27375 (gst_object_get_controller), (gst_object_set_controller),
27376 (gst_object_sink_values), (gst_object_get_value_arrays),
27377 (gst_object_get_value_array):
27378 more tests (and fixes) for the controller
27379 more docs for the controller
27380 integrated companies docs for the adapter
27382 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27384 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27385 (GST_START_TEST), (fakesrc_suite):
27386 add tests for sizetype
27388 2005-08-04 Andy Wingo <wingo@pobox.com>
27390 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27391 fixes buffer_alloc proxying among other things.
27393 * gst/base/gstbasetransform.c:
27394 * gst/base/gstbasetransform.h:
27395 Revert patch to gstbasetransform from 7-28 removing
27398 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27399 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27400 Semantics changed, should return not the size of the output buffer
27401 but the byte size of a buffer with a given caps.
27403 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27405 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27406 out) are not the pad caps until setcaps finishes.
27407 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27408 not-in-place case as well. Deal with changing from in-place to
27409 not-in-place within calling pad_alloc_buffer. Still a bit
27410 concerned about the overhead here...
27412 2005-08-03 Andy Wingo <wingo@pobox.com>
27414 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27415 fixating is an error.
27417 2005-08-04 Edward Hervey <edward@fluendo.com>
27419 * gst/base/gstadapter.h:
27420 Added gst_adapter_get_type() to the header
27422 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27424 * check/Makefile.am:
27425 * check/gst-libs/controller.c:
27426 * libs/gst/controller/gst-controller.c:
27427 (gst_controller_new_valist):
27428 added check test suite for the controller
27429 * gst/base/gstpushsrc.c:
27432 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27434 * docs/gst/Makefile.am:
27435 * docs/gst/gstreamer-docs.sgml:
27436 * docs/gst/gstreamer-sections.txt:
27437 * docs/gst/gstreamer.types:
27438 * docs/gst/tmpl/gstfakesrc.sgml:
27440 * gst/base/gstbasesink.c:
27441 * gst/base/gstbasesink.h:
27442 * gst/base/gstbasesrc.c:
27443 * gst/base/gstbasesrc.h:
27444 * gst/base/gstbasetransform.c:
27445 * gst/base/gstpushsrc.c:
27446 * gst/base/gstpushsrc.h:
27447 add short/long description docs to base classes
27448 add pushsrc to the docs
27449 remove consolidated doc fragments
27451 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27454 * docs/libs/Makefile.am:
27455 * docs/libs/gstreamer-libs-docs.sgml:
27456 * docs/libs/gstreamer-libs-sections.txt:
27457 * docs/libs/gstreamer-libs.types:
27458 * examples/Makefile.am:
27459 * examples/controller/.cvsignore:
27460 * examples/controller/Makefile.am:
27461 * examples/controller/audio-example.c: (main):
27462 * libs/gst/Makefile.am:
27463 * libs/gst/controller/.cvsignore:
27464 * libs/gst/controller/Makefile.am:
27465 * libs/gst/controller/gst-controller.c:
27466 (on_object_controlled_property_changed), (gst_timed_value_compare),
27467 (gst_timed_value_find),
27468 (gst_controlled_property_set_interpolation_mode),
27469 (gst_controlled_property_new), (gst_controlled_property_free),
27470 (gst_controller_find_controlled_property),
27471 (gst_controller_new_valist), (gst_controller_new),
27472 (gst_controller_remove_properties_valist),
27473 (gst_controller_remove_properties), (gst_controller_set),
27474 (gst_controller_set_from_list), (gst_controller_unset),
27475 (gst_controller_get), (gst_controller_get_all),
27476 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27477 (gst_controller_get_value_array),
27478 (gst_controller_set_interpolation_mode),
27479 (_gst_controller_finalize), (_gst_controller_init),
27480 (_gst_controller_class_init), (gst_controller_get_type):
27481 * libs/gst/controller/gst-controller.h:
27482 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27483 (g_object_uncontrol_properties), (g_object_get_controller),
27484 (g_object_set_controller), (g_object_sink_values),
27485 (g_object_get_value_arrays), (g_object_get_value_array):
27486 * libs/gst/controller/gst-interpolation.c:
27487 (gst_controlled_property_find_timed_value_node),
27488 (interpolate_none_get), (interpolate_trigger_get),
27489 (interpolate_trigger_get_value_array):
27490 * libs/gst/controller/lib.c: (gst_controller_init):
27491 * pkgconfig/Makefile.am:
27492 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27493 * pkgconfig/gstreamer-control.pc.in:
27494 * testsuite/Makefile.am:
27495 * testsuite/controller/.cvsignore:
27496 * testsuite/controller/Makefile.am:
27497 * testsuite/controller/interpolator.c: (main):
27498 added controller code
27499 removed dparam pc files
27501 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27502 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27503 (gst_collectpads_stop):
27504 Broadcast the condition when shutting down, to make sure we wake all
27505 threads up. Shut down pads on finalize, for safety.
27507 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27508 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27509 (gst_base_transform_handle_buffer),
27510 (gst_base_transform_change_state):
27511 Handle PAUSED->READY->PAUSED transition after negotiation
27513 * gst/gstmessage.c: (gst_message_init):
27514 Extra piece of debug for new messages.
27516 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27519 * docs/gst/tmpl/gstbasesrc.sgml:
27520 * docs/gst/tmpl/gstelement.sgml:
27521 * docs/gst/tmpl/gstevent.sgml:
27522 * docs/gst/tmpl/gstfakesrc.sgml:
27523 * docs/gst/tmpl/gstformat.sgml:
27524 * docs/gst/tmpl/gstghostpad.sgml:
27525 * docs/gst/tmpl/gstpad.sgml:
27526 * docs/gst/tmpl/gstquery.sgml:
27527 * docs/gst/tmpl/gststructure.sgml:
27528 * docs/gst/tmpl/gsttaglist.sgml:
27529 * docs/gst/tmpl/gstvalue.sgml:
27530 * docs/libs/gstreamer-libs-docs.sgml:
27531 * docs/libs/gstreamer-libs-sections.txt:
27532 * docs/libs/gstreamer-libs.types:
27533 * libs/gst/Makefile.am:
27534 * libs/gst/control/.cvsignore:
27535 * libs/gst/control/Makefile.am:
27536 * libs/gst/control/control.c:
27537 * libs/gst/control/control.h:
27538 * libs/gst/control/dparam.c:
27539 * libs/gst/control/dparam.h:
27540 * libs/gst/control/dparam_smooth.c:
27541 * libs/gst/control/dparam_smooth.h:
27542 * libs/gst/control/dparamcommon.h:
27543 * libs/gst/control/dparammanager.c:
27544 * libs/gst/control/dparammanager.h:
27545 * libs/gst/control/dplinearinterp.c:
27546 * libs/gst/control/dplinearinterp.h:
27547 * libs/gst/control/unitconvert.c:
27548 * libs/gst/control/unitconvert.h:
27549 * testsuite/Makefile.am:
27550 * testsuite/dynparams/.cvsignore:
27551 * testsuite/dynparams/Makefile.am:
27552 * testsuite/dynparams/dparamstest.c:
27553 * tools/Makefile.am:
27554 * tools/gst-inspect.c: (print_element_info), (main):
27555 * tools/gst-xmlinspect.c: (print_element_info), (main):
27556 deactivate and remove dparams (libgstcontrol)
27558 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27560 * gst/elements/gsttypefindelement.c:
27561 (gst_type_find_element_have_type), (gst_type_find_element_init),
27562 (stop_typefinding), (gst_type_find_element_handle_event),
27563 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27564 * gst/elements/gsttypefindelement.h:
27565 Set caps on all outgoing buffers, not just the first one.
27567 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27569 * gst/elements/gsttypefindelement.c:
27570 (gst_type_find_element_have_type),
27571 (gst_type_find_element_check_set_buffer_caps),
27572 (gst_type_find_element_init), (stop_typefinding),
27573 (gst_type_find_element_handle_event),
27574 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27575 * gst/elements/gsttypefindelement.h:
27576 Set caps on first outgoing buffer when we've found the type.
27578 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27580 * docs/gst/gstreamer-docs.sgml:
27581 * docs/gst/gstreamer-sections.txt:
27582 * docs/gst/tmpl/gstscheduler.sgml:
27583 * docs/gst/tmpl/gstschedulerfactory.sgml:
27584 Remove some old cruft from docs.
27586 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27589 Fix inline docs for GstPadLinkReturn.
27591 * gst/gststructure.c: (gst_structure_has_name):
27592 * gst/gststructure.h:
27593 * docs/gst/gstreamer-sections.txt:
27594 New API: gst_structure_has_name().
27596 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27599 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27600 and _LARGEFILE_SOURCE in config.h as required. Do not
27601 export those flags in our .pc files any longer (#142209).
27603 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27605 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27606 (gst_file_sink_do_seek), (gst_file_sink_event),
27607 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27608 Redo seek/tell calls with large file support in mind; add some
27609 debugging messages; add log message that tells us when large
27610 file support is unavailable or not enabled for some reason.
27612 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27613 Add log message that tells us when large file support
27614 is unavailable or not enabled for some reason.
27616 2005-07-29 Wim Taymans <wim@fluendo.com>
27618 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27619 Added test for removing an element with ghostpad from a bin.
27620 Fixed test as current implementation does the right thing.
27622 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27623 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27624 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27625 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27626 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27627 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27628 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27629 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27630 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27631 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27632 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27633 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27634 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27635 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27636 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27637 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27638 * gst/gstghostpad.h:
27639 Clean up ghostpads, remove properties for internal stuff.
27642 Prepare for switching targets, not all use cases work yet.
27644 2005-07-29 Wim Taymans <wim@fluendo.com>
27646 * docs/design/part-gstghostpad.txt:
27649 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27650 (gst_bin_remove_func):
27651 Unlinking pads while holding the bin LOCK is not a good
27654 * gst/gstpad.c: (gst_pad_class_init),
27655 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27656 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27657 No prob setting template after creating the pad.
27659 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27661 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27662 (gst_bus_peek), (gst_bus_source_dispatch),
27663 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27664 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27665 gst_bus_poll may be called from other threads. Handle
27666 this nicely by not making poll_data disappear off the
27667 stack once gst_bus_poll returns.
27668 gst_bus_peek now increments the refcount on the returned
27671 2005-07-29 Wim Taymans <wim@fluendo.com>
27673 * docs/design/part-gstghostpad.txt:
27674 Overview of current GhostPad datastructures and use
27675 cases for changing the target.
27677 2005-07-28 Wim Taymans <wim@fluendo.com>
27679 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27680 Added checks for hierarchy consistency whan adding linked
27683 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27684 Added check to test element scheduling without bin/pipeline.
27686 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27687 First add elements to bin, then link.
27689 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27690 (gst_bin_remove_func):
27691 Unlink pads from elements added/removed from bin to maintain
27692 hierarchy consistency.
27694 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27696 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27697 (gst_base_transform_handle_buffer):
27698 * gst/base/gstbasetransform.h:
27699 Remove broken delay_configure (fixes renegotiation of software
27700 scaling pipelines); remove some leftover printf()s.
27702 2005-07-28 Wim Taymans <wim@fluendo.com>
27704 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27705 Added some more tests for wrong hierarchy
27707 * docs/design/part-overview.txt:
27710 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27713 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27714 (gst_element_dispose):
27715 Some more cleanups.
27717 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27718 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27719 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27720 (gst_pad_set_caps), (gst_pad_send_event):
27721 Check for correct hierarchy when linking pads. Moving to
27722 strict requirement for ghostpads when linking elements in
27726 Clean ups. Added WRONG_HIERARCHY return value.
27728 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27730 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27731 Better debug if no transform is possible.
27733 2005-07-27 Wim Taymans <wim@fluendo.com>
27735 * docs/random/wtay/network-transp:
27736 Some old doc I had.
27738 2005-07-27 Wim Taymans <wim@fluendo.com>
27740 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27741 (gst_dp_event_from_packet):
27742 Fix serialization of seek events.
27744 2005-07-27 Wim Taymans <wim@fluendo.com>
27746 * check/gst-libs/gdp.c: (GST_START_TEST):
27747 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27748 Fix compilation and fix event serialization.
27750 2005-07-27 Wim Taymans <wim@fluendo.com>
27753 * docs/design/part-TODO.txt:
27754 * docs/design/part-events.txt:
27757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27758 (gst_base_sink_event), (gst_base_sink_do_sync),
27759 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27760 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27761 (gst_base_src_do_seek), (gst_base_src_event_handler),
27762 (gst_base_src_loop):
27763 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27764 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27765 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27766 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27767 (gst_base_transform_set_passthrough),
27768 (gst_base_transform_is_passthrough):
27769 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27770 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27776 * gst/gstelement.c: (gst_element_seek):
27777 * gst/gstelement.h:
27778 Update gst_element_seek.
27780 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27781 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27782 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27783 (gst_event_new_eos), (gst_event_new_newsegment),
27784 (gst_event_parse_newsegment), (gst_event_new_tag),
27785 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27786 (gst_event_parse_qos), (gst_event_new_seek),
27787 (gst_event_parse_seek), (gst_event_new_navigation):
27789 Make GstEvent use GstStructure. Add parsing code, make sure the
27790 API is sufficiently generic.
27791 Mark possible directions of events and serialization.
27793 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27794 (_gst_message_copy), (gst_message_new_segment_start),
27795 (gst_message_new_segment_done), (gst_message_new_custom),
27796 (gst_message_parse_segment_start),
27797 (gst_message_parse_segment_done):
27800 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27801 (gst_pad_set_caps), (gst_pad_send_event):
27802 Update for new events.
27803 Catch events sent in wrong directions.
27805 * gst/gstqueue.c: (gst_queue_link_src),
27806 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27807 (gst_queue_handle_src_query):
27812 Remove event code from this file.
27814 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27815 (gst_dp_event_from_packet):
27818 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27820 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27821 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27822 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27823 Make debugging actually useful.
27825 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27827 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27828 (gst_pad_fixate_caps):
27829 Implement default fixation once again, so that gst_pad_fixate()
27830 actually does anything at all. This probably needs to be some
27831 sort of a last resort, and use profile-based fixation first, but
27832 since that doesn't exist yet, this is the best we have. Fixes
27833 visualization in Totem.
27835 2005-07-22 Wim Taymans <wim@fluendo.com>
27837 * docs/design/part-events.txt:
27840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27841 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27842 (gst_base_sink_activate_pull):
27843 Some more comments.
27845 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27846 (gst_fake_src_create):
27847 Fix handoff marshall.
27849 * gst/elements/gstidentity.c: (gst_identity_class_init),
27850 (gst_identity_transform_ip):
27851 We're a real inplace element.
27853 * gst/gstbus.c: (gst_bus_post):
27854 Added some comments.
27856 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27857 * tests/muxing/case1.c: (main):
27858 * tests/sched/dynamic-pipeline.c: (main):
27859 * tests/sched/interrupt1.c: (main):
27860 * tests/sched/interrupt2.c: (main):
27861 * tests/sched/interrupt3.c: (main):
27862 * tests/sched/runxml.c: (main):
27863 * tests/sched/sched-stress.c: (main):
27864 * tests/seeking/seeking1.c: (event_received), (main):
27865 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27867 * tests/threadstate/threadstate3.c: (main):
27868 * tests/threadstate/threadstate4.c: (main):
27869 * tests/threadstate/threadstate5.c: (main):
27872 2005-07-21 Wim Taymans <wim@fluendo.com>
27874 * docs/design/part-seeking.txt:
27875 Some small additions.
27877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27878 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27879 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27880 * gst/base/gstbasesink.h:
27881 discont values are gint64, handle the math correctly.
27883 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27884 Make the basesrc report error if the source pad is not linked.
27886 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27887 (gst_queue_loop), (gst_queue_handle_src_query),
27888 (gst_queue_src_activate_push):
27889 Make queue collect data even if the srcpad is not linked.
27890 Start pushing out data as soon as it is linked.
27892 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27894 Added gst_flow_get_name() to ease error reporting.
27896 2005-07-20 Wim Taymans <wim@fluendo.com>
27898 * gst/gstmessage.c: (gst_message_new_segment_start),
27899 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27900 (gst_message_parse_segment_done):
27901 * gst/gstmessage.h:
27902 Added a bunch of messages for advanced seeking.
27904 * gst/parse/grammar.y:
27905 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27906 (gst_dpman_state_changed):
27907 Fix some new-pad -> pad-added signals
27909 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27911 * docs/manual/appendix-porting.xml:
27912 * docs/pwg/appendix-porting.xml:
27913 Document new-pad/state-change signal renames and the FixedList
27916 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27918 * docs/manual/advanced-autoplugging.xml:
27919 * docs/manual/basics-helloworld.xml:
27920 * docs/manual/basics-pads.xml:
27921 * docs/random/ds/0.9-suggested-changes:
27922 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27923 * gst/gstelement.h:
27927 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27928 (gst_structure_parse_array), (gst_structure_parse_value):
27929 * gst/gstvalue.c: (gst_type_is_fixed),
27930 (gst_value_list_prepend_value), (gst_value_list_append_value),
27931 (gst_value_list_get_size), (gst_value_list_get_value),
27932 (gst_value_transform_array_string), (gst_value_serialize_array),
27933 (gst_value_deserialize_array), (gst_value_intersect_array),
27934 (gst_value_is_fixed), (_gst_value_initialize):
27936 GstElement::new-pad -> pad-added, GstElement::state-change ->
27937 state-changed, GstValueFixedList -> GstValueArray, add format and
27938 flags as their own arguments in gst_element_seek() (should improve
27939 "bindeability"), remove function generators since they don't work
27940 under a whole bunch of compilers (they were deprecated already
27943 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27945 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27946 (_gst_debug_register_funcptr):
27948 Fix illegal cast on some platforms (#309253).
27950 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27952 * gst/gstmessage.c: (gst_message_new_custom):
27953 * gst/gstmessage.h:
27954 Add _new_custom, make _new_application a macro to _new_custom.
27956 2005-07-20 Wim Taymans <wim@fluendo.com>
27958 * gst/base/gstbasesrc.c: (gst_base_src_init),
27959 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27960 * gst/base/gstbasesrc.h:
27961 Add a gboolean to decide when to push out a discont.
27963 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27964 (gst_queue_loop), (gst_queue_handle_src_query),
27965 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27966 (gst_queue_set_property), (gst_queue_get_property):
27969 * tests/threadstate/threadstate1.c: (main):
27970 Make a thread test compile and run... very silly..
27973 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27975 * docs/manual/appendix-porting.xml:
27976 Mention removal of libgstgconf-0.9.la and existence of gconf
27979 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27981 * docs/pwg/advanced-clock.xml:
27982 * docs/pwg/appendix-porting.xml:
27983 * docs/pwg/intro-preface.xml:
27984 * docs/pwg/other-base.xml:
27985 * docs/pwg/other-manager.xml:
27986 * docs/pwg/other-nton.xml:
27987 * docs/pwg/other-ntoone.xml:
27988 * docs/pwg/other-oneton.xml:
27989 * docs/pwg/pwg.xml:
27990 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27991 demuxer), remove n-to-n (was never written), fix some code examples
27992 and links and update the porting section to include all this.
27994 2005-07-19 Wim Taymans <wim@fluendo.com>
27996 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27997 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27998 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27999 (gst_queue_src_activate_push), (gst_queue_change_state),
28000 (gst_queue_get_property):
28002 Propagate GstFlowReturn more intelligently upstream and output
28003 an ERROR/EOS when streaming stopped due to fatal error.
28005 2005-07-19 Wim Taymans <wim@fluendo.com>
28007 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28008 Don't block forever for the state change to complete, the
28009 pipeline already did with a sensible timeout.
28011 2005-07-19 Wim Taymans <wim@fluendo.com>
28013 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28014 Make sure we never call the create function is we
28017 2005-07-19 Andy Wingo <wingo@pobox.com>
28019 * gst/parse/parse.l: Attempt to solve bug #172815.
28021 2005-07-19 Wim Taymans <wim@fluendo.com>
28023 * docs/design/part-clocks.txt:
28024 * docs/design/part-events.txt:
28025 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28026 Small docs updates.
28027 Only update the seeking values when we are not
28030 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28032 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28033 Oops, ignore the result of gst_pad_push_event here.
28035 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28037 * gst/base/gstbasesrc.c: (gst_base_src_loop),
28038 (gst_base_src_activate_push):
28039 Send discont event from the loop function, as pads
28040 aren't activated yet in the activate_push handler.
28042 * gst/gstbin.c: (bin_bus_handler):
28043 Don't leak element name.
28045 2005-07-18 Andy Wingo <wingo@pobox.com>
28047 * configure.ac: Use AS_LIBTOOL_TAGS.
28049 2005-07-18 Wim Taymans <wim@fluendo.com>
28051 * docs/gst/gstreamer.types:
28052 Remove deleted types.
28054 2005-07-18 Wim Taymans <wim@fluendo.com>
28056 * check/elements/gstfakesrc.c: (GST_START_TEST):
28059 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28060 (init_popt_callback):
28062 * gst/gst_private.h:
28063 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28064 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28067 * gst/gstconfig.h.in:
28068 * gst/gstelement.c: (gst_element_class_init),
28069 (gst_element_set_base_time), (gst_element_get_base_time),
28070 (iterator_fold_with_resync), (gst_element_change_state),
28071 (gst_element_dispose), (gst_element_get_bus):
28072 * gst/gstelement.h:
28073 * gst/gstelementfactory.h:
28074 * gst/gsterror.c: (_gst_core_errors_init):
28077 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28079 * gst/gstinfo.c: (_gst_debug_init):
28080 * gst/gstmessage.c: (_gst_message_copy):
28081 * gst/gstmessage.h:
28082 * gst/gstminiobject.h:
28085 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28086 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28089 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28090 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28091 (gst_pipeline_get_last_stream_time):
28092 * gst/gstpipeline.h:
28093 * gst/gstpluginfeature.h:
28095 * gst/gstscheduler.c:
28096 * gst/gstscheduler.h:
28097 * gst/gststructure.h:
28098 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28099 (gst_task_finalize), (gst_task_func), (gst_task_create),
28100 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28101 (gst_task_stop), (gst_task_pause):
28103 * gst/gsttypefind.h:
28105 * gst/registries/gstlibxmlregistry.c: (load_feature),
28106 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28107 * gst/registries/gstxmlregistry.c:
28108 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28109 * gst/schedulers/threadscheduler.c:
28110 * libs/gst/control/dparammanager.h:
28111 * tools/gst-inspect.c: (print_element_list),
28112 (print_plugin_features), (print_element_features):
28113 * tools/gst-xmlinspect.c: (print_element_list),
28114 (print_plugin_info), (main):
28115 Removed plugable schedulers.
28116 Removed Scheduler/Manager from elements.
28117 Removed gsttypes.h, rearranged includes.
28118 Removed dependency pad<->element, element<>pipeline, and
28119 various others, fix includes.
28120 implement gst_pad_get_parent() with gst_object_get_parent()
28121 Make GstTask sefcontained.
28122 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28124 Fix endless loop in iterator_fold_with_resync.
28127 2005-07-18 Wim Taymans <wim@fluendo.com>
28133 2005-07-18 Wim Taymans <wim@fluendo.com>
28136 No more cothreads.h
28138 2005-07-18 Wim Taymans <wim@fluendo.com>
28142 Let's remove these.
28144 2005-07-18 Wim Taymans <wim@fluendo.com>
28146 * docs/design/part-dynamic.txt:
28147 * docs/design/part-events.txt:
28148 * docs/design/part-seeking.txt:
28149 Some more docs in the works.
28151 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28152 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28153 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28154 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28155 (gst_base_transform_handle_buffer),
28156 (gst_base_transform_sink_activate_push),
28157 (gst_base_transform_src_activate_pull),
28158 (gst_base_transform_set_passthrough),
28159 (gst_base_transform_is_passthrough):
28162 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28165 * gst/gstevent.c: (gst_event_finalize):
28168 * gst/gstutils.c: (gst_element_unlink),
28169 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28170 (gst_pad_proxy_setcaps):
28172 Add _get_parent_element() to get a pads parent as an element.
28174 2005-07-18 Wim Taymans <wim@fluendo.com>
28176 * check/gst/gstbin.c: (GST_START_TEST):
28179 2005-07-18 Wim Taymans <wim@fluendo.com>
28181 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28182 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28183 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28184 (gst_base_sink_event), (gst_base_sink_do_sync),
28185 (gst_base_sink_chain), (gst_base_sink_loop),
28186 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28187 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28189 Fix logic for returning ASYNC when not prerolled.
28191 2005-07-18 Wim Taymans <wim@fluendo.com>
28193 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28194 Fix nasty refcount bug.
28196 2005-07-16 Philippe Khalaf <burger@speedy.org>
28198 * gst/elements/gstfdsrc.c:
28199 * gst/elements/gstfdsrc.h:
28200 * gst/elements/gstelements.c:
28201 * gst/elements/Makefile.am:
28202 Ported fdsrc to 0.9.
28204 2005-07-16 Wim Taymans <wim@fluendo.com>
28206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28207 (gst_base_sink_do_sync):
28210 2005-07-16 Wim Taymans <wim@fluendo.com>
28212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28213 (gst_base_sink_event), (gst_base_sink_get_times),
28214 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28215 * gst/base/gstbasesink.h:
28216 Store and use discont values when syncing buffers as described
28219 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28220 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28221 (gst_base_src_activate_push):
28222 Push discont event when starting.
28224 * gst/elements/gstidentity.c: (gst_identity_transform):
28227 * gst/gstbin.c: (gst_bin_change_state):
28228 Small cleanups in base_time distribution.
28230 * gst/gstelement.c: (gst_element_set_base_time),
28231 (gst_element_get_base_time), (gst_element_change_state):
28232 * gst/gstelement.h:
28233 Added methods for the base_time of the element.
28236 * gst/gstpipeline.c: (gst_pipeline_send_event),
28237 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28238 (gst_pipeline_get_last_stream_time):
28239 * gst/gstpipeline.h:
28241 Handle seeking as described in design doc, remove stream_time
28243 Cleanups clock and stream_time selection code. Added accessors
28244 for the stream_time.
28247 2005-07-16 Andy Wingo <wingo@pobox.com>
28249 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28252 2005-07-16 Wim Taymans <wim@fluendo.com>
28254 * check/gst/gstbin.c: (GST_START_TEST):
28255 Make elements silent as the deep_notify refs the
28256 parent, which might make the test fail.
28258 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28259 Don't hold the lock for too long.
28261 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28263 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28264 Don't unref the caps we passed to gst_caps_make_writable() after
28265 passing them. gst_caps_make_writable() will do that for us.
28267 2005-07-15 Andy Wingo <wingo@pobox.com>
28269 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28272 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28273 own marshalling function for the handoff signal. Properly type the
28274 buffer as a buffer. Fixes some warnings. Should do a more general
28276 (gst_identity_class_init): Plug into the right marshaller.
28278 2005-07-15 Wim Taymans <wim@fluendo.com>
28280 * docs/design/part-TODO.txt:
28281 * docs/design/part-clocks.txt:
28282 * docs/design/part-element-sink.txt:
28283 * docs/design/part-events.txt:
28284 * docs/design/part-gstpipeline.txt:
28285 Updated docs, mostly DISCONT related.
28287 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28289 * docs/pwg/building-pads.xml:
28290 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28292 2005-07-15 Andy Wingo <wingo@pobox.com>
28294 * tools/gst-typefind.c: Update, add copyright block.
28296 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28297 Normalize and truncate caps before fixation.
28300 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28301 discards all but the first structure from its argument.
28303 2005-07-15 Wim Taymans <wim@fluendo.com>
28305 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28306 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28307 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28308 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28309 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28310 (gst_base_transform_chain), (gst_base_transform_change_state),
28311 (gst_base_transform_set_passthrough),
28312 (gst_base_transform_is_passthrough):
28313 * gst/base/gstbasetransform.h:
28314 Make passthrough work using the bufferpools.
28315 Changed API a bit, subclasses have to write into a buffer
28316 provided by the base class.
28317 More debug info in nego functions.
28319 * gst/elements/gstidentity.c: (gst_identity_init),
28320 (gst_identity_transform):
28321 Port to new base class.
28323 2005-07-15 Wim Taymans <wim@fluendo.com>
28325 * gst/gstmessage.c: (gst_message_new_state_changed):
28326 * tools/gst-launch.c: (event_loop), (main):
28327 Totally dump messages in -launch with the -m option.
28328 Fix message name for State messages,
28330 2005-07-14 Wim Taymans <wim@fluendo.com>
28332 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28333 Post error messages on errors.
28335 2005-07-14 Wim Taymans <wim@fluendo.com>
28337 * gst/gstcaps.c: (gst_caps_do_simplify):
28341 Define error for stream stopped.
28343 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28344 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28345 Do proper return values.
28347 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28348 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28349 (gst_pad_get_range):
28350 Better return values.
28353 Reorganise return values, add macro to check for fatal errors.
28355 * gst/gstqueue.c: (gst_queue_chain):
28356 Return proper GstFlowReturn values,
28358 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28360 * docs/gst/gstreamer-sections.txt:
28361 * docs/gst/gstreamer.types:
28362 * docs/gst/tmpl/gst.sgml:
28363 * docs/gst/tmpl/gstbasesink.sgml:
28364 * docs/gst/tmpl/gstbasesrc.sgml:
28365 * docs/gst/tmpl/gstbasetransform.sgml:
28366 * docs/gst/tmpl/gstbin.sgml:
28367 * docs/gst/tmpl/gstbuffer.sgml:
28368 * docs/gst/tmpl/gstcaps.sgml:
28369 * docs/gst/tmpl/gstclock.sgml:
28370 * docs/gst/tmpl/gstcompat.sgml:
28371 * docs/gst/tmpl/gstconfig.sgml:
28372 * docs/gst/tmpl/gstelement.sgml:
28373 * docs/gst/tmpl/gstelementdetails.sgml:
28374 * docs/gst/tmpl/gstelementfactory.sgml:
28375 * docs/gst/tmpl/gstenumtypes.sgml:
28376 * docs/gst/tmpl/gsterror.sgml:
28377 * docs/gst/tmpl/gstevent.sgml:
28378 * docs/gst/tmpl/gstfakesink.sgml:
28379 * docs/gst/tmpl/gstfakesrc.sgml:
28380 * docs/gst/tmpl/gstfilesink.sgml:
28381 * docs/gst/tmpl/gstfilesrc.sgml:
28382 * docs/gst/tmpl/gstfilter.sgml:
28383 * docs/gst/tmpl/gstformat.sgml:
28384 * docs/gst/tmpl/gstghostpad.sgml:
28385 * docs/gst/tmpl/gstimplementsinterface.sgml:
28386 * docs/gst/tmpl/gstindex.sgml:
28387 * docs/gst/tmpl/gstindexfactory.sgml:
28388 * docs/gst/tmpl/gstinfo.sgml:
28389 * docs/gst/tmpl/gstiterator.sgml:
28390 * docs/gst/tmpl/gstmacros.sgml:
28391 * docs/gst/tmpl/gstmemchunk.sgml:
28392 * docs/gst/tmpl/gstminiobject.sgml:
28393 * docs/gst/tmpl/gstobject.sgml:
28394 * docs/gst/tmpl/gstpad.sgml:
28395 * docs/gst/tmpl/gstpadtemplate.sgml:
28396 * docs/gst/tmpl/gstparse.sgml:
28397 * docs/gst/tmpl/gstpipeline.sgml:
28398 * docs/gst/tmpl/gstplugin.sgml:
28399 * docs/gst/tmpl/gstpluginfeature.sgml:
28400 * docs/gst/tmpl/gstquery.sgml:
28401 * docs/gst/tmpl/gstqueue.sgml:
28402 * docs/gst/tmpl/gstregistry.sgml:
28403 * docs/gst/tmpl/gstregistrypool.sgml:
28404 * docs/gst/tmpl/gstscheduler.sgml:
28405 * docs/gst/tmpl/gstschedulerfactory.sgml:
28406 * docs/gst/tmpl/gststructure.sgml:
28407 * docs/gst/tmpl/gstsystemclock.sgml:
28408 * docs/gst/tmpl/gsttaglist.sgml:
28409 * docs/gst/tmpl/gsttagsetter.sgml:
28410 * docs/gst/tmpl/gsttrace.sgml:
28411 * docs/gst/tmpl/gsttrashstack.sgml:
28412 * docs/gst/tmpl/gsttypefind.sgml:
28413 * docs/gst/tmpl/gsttypefindfactory.sgml:
28414 * docs/gst/tmpl/gsttypes.sgml:
28415 * docs/gst/tmpl/gsturihandler.sgml:
28416 * docs/gst/tmpl/gsturitype.sgml:
28417 * docs/gst/tmpl/gstutils.sgml:
28418 * docs/gst/tmpl/gstvalue.sgml:
28419 * docs/gst/tmpl/gstversion.sgml:
28420 * docs/gst/tmpl/gstxml.sgml:
28421 * docs/libs/tmpl/gstcontrol.sgml:
28422 * docs/libs/tmpl/gstdataprotocol.sgml:
28423 * docs/libs/tmpl/gstdparam.sgml:
28424 * docs/libs/tmpl/gstdplinint.sgml:
28425 * docs/libs/tmpl/gstdpman.sgml:
28426 * docs/libs/tmpl/gstdpsmooth.sgml:
28427 * docs/libs/tmpl/gstgetbits.sgml:
28428 * docs/libs/tmpl/gstunitconvert.sgml:
28429 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28430 (gst_push_src_base_init), (gst_push_src_class_init),
28431 (gst_push_src_init), (gst_push_src_create):
28432 * gst/base/gstpushsrc.h:
28433 * gst/elements/gstelements.c:
28434 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28435 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28436 (gst_fake_sink_init), (gst_fake_sink_set_property),
28437 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28438 (gst_fake_sink_event), (gst_fake_sink_preroll),
28439 (gst_fake_sink_render), (gst_fake_sink_change_state):
28440 * gst/elements/gstfakesink.h:
28441 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28442 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28443 (gst_fake_src_base_init), (gst_fake_src_class_init),
28444 (gst_fake_src_init), (gst_fake_src_event_handler),
28445 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28446 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28447 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28448 (gst_fake_src_create_buffer), (gst_fake_src_create),
28449 (gst_fake_src_start), (gst_fake_src_stop):
28450 * gst/elements/gstfakesrc.h:
28451 * gst/elements/gstfilesink.c: (_do_init),
28452 (gst_file_sink_base_init), (gst_file_sink_class_init),
28453 (gst_file_sink_init), (gst_file_sink_dispose),
28454 (gst_file_sink_set_location), (gst_file_sink_set_property),
28455 (gst_file_sink_get_property), (gst_file_sink_open_file),
28456 (gst_file_sink_close_file), (gst_file_sink_query),
28457 (gst_file_sink_event), (gst_file_sink_render),
28458 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28459 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28460 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28461 * gst/elements/gstfilesink.h:
28462 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28463 (gst_file_src_class_init), (gst_file_src_init),
28464 (gst_file_src_finalize), (gst_file_src_set_location),
28465 (gst_file_src_set_property), (gst_file_src_get_property),
28466 (gst_file_src_map_region), (gst_file_src_map_small_region),
28467 (gst_file_src_create_mmap), (gst_file_src_create_read),
28468 (gst_file_src_create), (gst_file_src_is_seekable),
28469 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28470 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28471 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28472 (gst_file_src_uri_handler_init):
28473 * gst/elements/gstfilesrc.h:
28474 more autistic cleanliness in functions/names/defines
28476 2005-07-13 Andy Wingo <wingo@pobox.com>
28478 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28479 source couldn't negotiate.
28481 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28485 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28486 function. I am channeling Hades. Put your boots on suckers!!!
28488 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28490 * testsuite/caps/Makefile.am:
28491 * testsuite/caps/value_compare.c:
28492 * testsuite/caps/value_intersect.c:
28493 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28494 move two testsuite apps over to the check dir
28496 2005-07-12 Wim Taymans <wim@fluendo.com>
28498 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28499 Added more debug info in the negotiate process.
28501 * gst/gstmessage.h:
28502 Prepare for segment playback.
28504 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28510 * tools/gst-launch.c: (main):
28511 NULL pipeline on errors.
28513 2005-07-12 Andy Wingo <wingo@pobox.com>
28515 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28516 not it comes from a malloc region. Make sure our copy gets freed.
28518 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28520 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28521 * check/gst/gstmessage.c: (GST_START_TEST):
28522 * check/gst/gststructure.c: (GST_START_TEST),
28523 (gst_structure_suite), (main):
28525 * gst/gstelement.c: (gst_element_message_full):
28526 clean up GError and debug string now that they get copied
28527 * gst/gstmessage.c: (gst_message_new_error),
28528 (gst_message_new_warning), (gst_message_parse_error),
28529 (gst_message_parse_warning):
28530 use GST_TYPE_G_ERROR for structure_new, and take copies of
28531 arguments, so that we don't mess up refcounting
28533 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28535 * check/Makefile.am:
28536 add per-test valgrind targets
28537 * check/gst-libs/gdp.c: (GST_START_TEST),
28538 (gst_data_protocol_suite), (main):
28541 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28543 * check/Makefile.am:
28544 instate more valgrindable tests
28545 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28546 (GST_START_TEST), (fakesrc_suite):
28547 * check/gst/gstpad.c: (GST_START_TEST):
28548 * check/gst/gststructure.c: (GST_START_TEST):
28550 * docs/gst/tmpl/gstminiobject.sgml:
28551 * gst/gstpad.c: (gst_pad_finalize):
28552 fix the static mutex leak
28554 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28556 * check/Makefile.am:
28557 add two more tests for valgrinding
28558 * check/gst/gstvalue.c: (GST_START_TEST):
28559 test refcount of deserialized buffer, found a leak
28560 * docs/gst/gstreamer-docs.sgml:
28561 * docs/gst/gstreamer-sections.txt:
28562 * docs/gst/gstreamer.types:
28563 * docs/gst/tmpl/gstminiobject.sgml:
28564 add miniobject to docs
28565 * gst/gstminiobject.c:
28567 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28568 (gst_string_unwrap):
28569 fix a hard-to-find invalid write for one of the tests
28570 fix a leak for deserialized buffers
28572 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28574 * docs/pwg/advanced-events.xml:
28575 * docs/pwg/advanced-request.xml:
28576 * docs/pwg/advanced-scheduling.xml:
28577 * docs/pwg/appendix-porting.xml:
28578 * docs/pwg/building-boiler.xml:
28579 * docs/pwg/intro-preface.xml:
28580 * docs/pwg/other-ntoone.xml:
28581 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28582 of example code and explanation for pad activation, loop() and
28583 getrange() functions and a bit more. Remove old comments pointing
28585 * examples/pwg/Makefile.am:
28586 Add loop/getrange examples.
28588 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28591 check for valgrind binary + some fixes
28593 valgrind suppressions for the tests
28594 * check/Makefile.am:
28595 add a valgrind: target that valgrinds the unit tests
28596 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28597 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28598 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28599 * check/gst/gstghostpad.c:
28601 * check/gst/gstdata.c:
28603 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28604 (thread_unref), (gst_mini_object_suite), (main):
28606 * gst/gst.c: (gst_deinit):
28608 add a method to clean up.
28609 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28610 (gst_system_clock_obtain):
28611 allow for disposing the system clock.
28612 * tools/gst-launch.c: (main):
28615 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28617 * docs/gst/tmpl/gstbasesrc.sgml:
28618 * docs/gst/tmpl/gstfakesrc.sgml:
28619 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28620 (gst_base_src_init), (gst_base_src_set_property),
28621 (gst_base_src_get_property), (gst_base_src_get_range),
28622 (gst_base_src_start):
28623 * gst/base/gstbasesrc.h:
28624 add num-buffers property
28625 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28626 (gst_fakesrc_init), (gst_fakesrc_set_property),
28627 (gst_fakesrc_get_property), (gst_fakesrc_create),
28628 (gst_fakesrc_start):
28629 remove num-buffers property
28631 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28633 * docs/gst/gstreamer-sections.txt:
28634 * docs/gst/tmpl/gstbasesink.sgml:
28635 * docs/gst/tmpl/gstbasesrc.sgml:
28636 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28637 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28638 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28639 (gst_base_sink_set_property), (gst_base_sink_get_property),
28640 (gst_base_sink_handle_object), (gst_base_sink_event),
28641 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28642 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28643 (gst_base_sink_loop), (gst_base_sink_deactivate),
28644 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28645 (gst_base_sink_change_state):
28646 * gst/base/gstbasesink.h:
28647 * gst/base/gstbasesrc.h:
28648 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28649 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28650 (gst_filesink_init):
28651 more macro splitting
28653 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28655 * gst/gstelement.c: (gst_element_get_bus):
28657 * tools/gst-launch.c: (check_intr), (event_loop):
28660 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28662 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28665 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28667 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28668 (gst_base_src_finalize):
28669 add finalize method and clean up properly
28670 * gst/gstpipeline.c: (gst_pipeline_dispose):
28673 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28675 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28677 add more things to check
28678 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28679 * gst/gstelement.c:
28682 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28684 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28685 (GST_START_TEST), (fakesrc_suite):
28686 * check/gst-libs/gdp.c: (GST_START_TEST):
28687 * check/gst/gst.c: (GST_START_TEST):
28688 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28689 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28690 * check/gst/gstbus.c: (GST_START_TEST):
28691 * check/gst/gstcaps.c: (GST_START_TEST):
28692 * check/gst/gstdata.c: (GST_START_TEST):
28693 * check/gst/gstelement.c: (GST_START_TEST):
28694 * check/gst/gstghostpad.c: (GST_START_TEST):
28695 * check/gst/gstiterator.c: (GST_START_TEST):
28696 * check/gst/gstmessage.c: (GST_START_TEST):
28697 * check/gst/gstobject.c: (GST_START_TEST):
28698 * check/gst/gstpad.c: (GST_START_TEST):
28699 * check/gst/gststructure.c: (GST_START_TEST):
28700 * check/gst/gstsystemclock.c: (GST_START_TEST),
28701 (gst_systemclock_suite):
28702 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28703 * check/gst/gstvalue.c: (GST_START_TEST):
28704 * check/pipelines/cleanup.c: (GST_START_TEST):
28705 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28706 * check/states/sinks.c: (GST_START_TEST):
28707 * check/gstcheck.c: (gst_check_init):
28708 * check/gstcheck.h:
28709 add debugging category
28710 use GST_START_TEST now, so we add a debug line
28712 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28714 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28715 add test for state change message on a bin
28716 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28718 * gst/gstbin.c: (gst_bin_init):
28719 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28720 * gst/gstelement.c: (gst_element_post_message),
28721 (gst_element_set_state):
28722 * gst/gstelementfactory.c: (gst_element_factory_create):
28723 * gst/gstmessage.c: (gst_message_new):
28724 * gst/gstscheduler.c:
28725 various debugging additions and cleanups
28727 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28729 * check/Makefile.am:
28730 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28732 adding tests for elements
28733 * gst/gstelement.c: (gst_element_dispose):
28735 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28737 * gst/registries/gstlibxmlregistry.c: (load_feature):
28738 plug more leaks. A simple gst_init() now is leakfree, yay.
28740 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28742 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28743 (gst_xml_registry_load):
28744 plug another memleak
28746 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28749 use GST_SET_ERROR_CFLAGS
28750 * docs/faq/cvs.xml:
28751 change to ERROR_CFLAGS
28753 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28756 make GST_ERROR_CFLAGS overridable and re-enable Werror
28757 * docs/faq/cvs.xml:
28758 add a note about error CFLAGS
28759 * docs/gst/tmpl/gstfakesrc.sgml:
28760 * gst/elements/gstfakesrc.c:
28761 comment out some unused code
28762 * gst/gst.c: (split_and_iterate):
28763 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28767 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28769 * common/Makefile.am:
28770 * common/gtk-doc.mak:
28771 * docs/gst/Makefile.am:
28772 factor out gtk-doc.mak
28774 2005-07-07 Wim Taymans <wim@fluendo.com>
28776 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28777 (gst_thread_scheduler_dispose):
28778 Unlock the STREAM_LOCK completely.
28780 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28782 * check/Makefile.am:
28783 * check/elements/.cvsignore:
28784 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28785 (START_TEST), (fakesrc_suite), (main):
28786 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28787 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28788 (gst_fakesrc_create), (gst_fakesrc_start):
28789 * gst/elements/gstfakesrc.h:
28790 adding a first element test
28792 2005-07-07 Andy Wingo <wingo@pobox.com>
28794 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28797 2005-07-07 Wim Taymans <wim@fluendo.com>
28803 2005-07-07 Wim Taymans <wim@fluendo.com>
28805 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28806 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28807 Allow subclasses to implement their own negotiation.
28809 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28811 * docs/design/part-gstbin.txt:
28812 * docs/design/part-gstpipeline.txt:
28813 Update design notes to reflect the movement of
28814 responsibility for bus handling from GstPipeline to
28817 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28820 Remove unnecessary queue2/3/4 examples.
28822 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28824 * examples/Makefile.am:
28825 * examples/helloworld/helloworld.c: (event_loop), (main):
28826 * examples/queue/queue.c: (event_loop), (main):
28827 * examples/queue2/queue2.c: (main):
28828 Update a couple of the examples to work again.
28830 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28831 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28832 Spelling corrections and extra debug.
28834 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28835 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28836 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28838 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28839 (gst_pipeline_change_state):
28840 * gst/gstpipeline.h:
28841 Move the bus handler for children to the GstBin, and create a
28842 separate bus for receiving messages from children to the one the
28843 bus sends 'upwards' on.
28845 2005-07-06 Wim Taymans <wim@fluendo.com>
28848 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28849 (gst_base_sink_handle_object), (gst_base_sink_loop),
28850 (gst_base_sink_change_state):
28851 * gst/base/gstbasesink.h:
28852 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28853 (gst_base_src_init), (gst_base_src_setcaps),
28854 (gst_base_src_getcaps), (gst_base_src_loop),
28855 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28856 (gst_base_src_start), (gst_base_src_change_state):
28857 * gst/base/gstbasesrc.h:
28858 Make basesrc negotiate.
28859 Handle the case where preroll fails in basesink.
28862 2005-07-06 Wim Taymans <wim@fluendo.com>
28864 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28865 Implement the fixate function.
28866 Clean up acceptcaps.
28868 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28870 * docs/pwg/building-filterfactory.xml:
28871 * docs/pwg/pwg.xml:
28872 Remove never-written filter-factory chapter; I'll add the various
28873 base classes to part 4 ("other element types") later on.
28875 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28877 * docs/pwg/advanced-negotiation.xml:
28878 * docs/pwg/building-boiler.xml:
28879 * docs/pwg/building-pads.xml:
28880 * docs/pwg/pwg.xml:
28881 * examples/pwg/Makefile.am:
28882 Add a chapter on caps negotiation, simplify the original code
28883 samples a bit w.r.t. caps negotiation, add link to the advanced
28884 section. Add a bunch of examples showing different use cases of
28885 different types of caps negotiation. Upstream renegotiation isn't
28886 fully documented yet since nobody knows how that works.
28888 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28890 * check/gst/gstpad.c:
28891 * check/gstcheck.c:
28892 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28893 if pad has no parent, return NULL as list of internal links
28895 2005-07-05 Andy Wingo <wingo@pobox.com>
28897 * gst/elements/gstfilesrc.c:
28898 * gst/elements/gstfakesrc.c:
28899 * gst/base/gstpushsrc.c:
28900 * gst/base/gstbasesrc.h:
28901 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28903 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28906 better report generation target (lcov needs a patch)
28908 2005-07-05 Andy Wingo <wingo@pobox.com>
28910 * gst/elements, testsuite: Null if we got it...
28912 2005-07-05 Wim Taymans <wim@fluendo.com>
28915 * libs/gst/dataprotocol/Makefile.am:
28916 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28917 * libs/gst/dataprotocol/dataprotocol.h:
28918 * pkgconfig/Makefile.am:
28919 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28920 * pkgconfig/gstreamer-dataprotocol.pc.in:
28921 Ported dataprotol to 0.9.
28922 Added pkgconfig files.
28924 2005-07-05 Andy Wingo <wingo@pobox.com>
28926 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28927 Default to returning TRUE for the case when tranform_caps returns
28928 a fixed caps, like for identity or volume.
28930 * check/gst/gstbus.c (pound_bus_with_messages):
28931 * check/gst/gstmessage.c (START_TEST):
28932 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28933 message API change.
28935 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28936 logic weaks here: always run transform_caps, trying passthrough
28937 operation only if the original caps intersects with the transform.
28939 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28940 source and sink caps.
28942 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28943 Intersect the peer caps with the pad template before going into
28945 (gst_base_transform_transform_caps): More debugging.
28947 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28950 2005-07-04 Edward Hervey <edward@fluendo.com>
28954 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28957 2005-07-04 Andy Wingo <wingo@pobox.com>
28959 * check/gst/gstpad.c: Only set explicit caps on pads.
28961 2005-07-01 Andy Wingo <wingo@pobox.com>
28963 * tests/network-clock.scm: Commentary update.
28965 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28966 Didn't really make sense, not implementable with basetransform,
28968 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28969 attempt at implementing the sync property, needs an unlock method.
28971 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28972 New func, by default returns the same caps (the identity
28974 (gst_base_transform_getcaps): Uses transform_caps to return
28975 something sensible.
28976 (gst_base_transform_setcaps): Complicated logic to get caps on
28977 both pads, even if they are different, and to call set_caps once
28978 for every time both pads get their caps set.
28979 (gst_base_transform_handle_buffer): Give the ref to the transform
28980 function. Allows in-place modification of the buffer.
28982 * gst/base/gstbasetransform.h (transform_caps): New class method.
28983 Given caps on one side, what can I do on the other.
28984 (set_caps): Take two caps, one for each side of the element.
28987 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28988 caps in place. This is safe because we can check the mutability of
28989 the caps, and a good idea because fixate functions are just called
28990 as a matter of last resort. (Not actually implemented.)
28991 (gst_pad_set_caps): If the caps we're setting is actually the same
28992 as the existing pad caps, just update the pointer without calling
28993 setcaps. Assert that caps is either NULL or fixed, as per the
28996 * gst/gstghostpad.c: Update for fixate changes.
28998 2005-07-02 Andy Wingo <wingo@pobox.com>
29001 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29002 two refcounts makes it immutable, which is enough. Doc more.
29004 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
29006 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29007 Put the mini_object into GValue as a mini_object,
29008 not a gpointer, since that's how we declared
29011 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29013 * examples/pwg/Makefile.am:
29014 Fix buildbot again.
29016 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29018 * docs/pwg/building-testapp.xml:
29020 * examples/pwg/Makefile.am:
29023 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29026 * examples/Makefile.am:
29027 * examples/pwg/Makefile.am:
29028 * examples/pwg/extract.pl:
29029 Enable building the PWG examples.
29030 * docs/pwg/advanced-interfaces.xml:
29031 Add URI interface stub.
29032 * docs/pwg/advanced-types.xml:
29033 * docs/pwg/other-autoplugger.xml:
29034 * docs/pwg/appendix-porting.xml:
29035 * docs/pwg/pwg.xml:
29036 Add porting guide (mostly stubs), remove autoplugging (see ADM).
29037 * docs/pwg/building-boiler.xml:
29038 * docs/pwg/building-chainfn.xml:
29039 * docs/pwg/building-pads.xml:
29040 * docs/pwg/building-props.xml:
29041 * docs/pwg/building-state.xml:
29042 * docs/pwg/building-testapp.xml:
29043 Update the building-*.xml parts for 0.9 changes. All examples
29044 code blocks compile in examples/pwg/*.
29046 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29048 * docs/manual/advanced-autoplugging.xml:
29049 * docs/manual/appendix-checklist.xml:
29050 * docs/manual/appendix-integration.xml:
29051 * docs/manual/highlevel-components.xml:
29052 Fix playbin/decodebin examples, update docs a bit, mention bus
29053 instead of signals in various places, mention kmplayer and
29054 kaffeine since they have a working GStreamer backend in the KDE
29057 2005-06-30 Wim Taymans <wim@fluendo.com>
29060 * docs/design/draft-ghostpads.txt:
29061 * docs/design/draft-push-pull.txt:
29062 * docs/design/draft-query.txt:
29063 * docs/design/part-TODO.txt:
29064 * docs/design/part-query.txt:
29065 Added CHANGES-0.9 doc, updated status of other docs.
29070 2005-06-30 Wim Taymans <wim@fluendo.com>
29072 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29073 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29074 (gst_base_sink_change_state):
29075 * gst/base/gstbasesink.h:
29076 Some tweaks, only EOS and a buffer complete a preroll.
29078 2005-06-30 Andy Wingo <wingo@pobox.com>
29080 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29081 activate_push down to the internal pad as well.
29083 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29085 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29087 * gst/gsttaginterface.c:
29088 Some documentation fixes (#307394 and #307397).
29090 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29092 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29094 * gst/gstvalue.c: (gst_value_intersect_list):
29095 Fix memleak (#309125).
29097 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29099 * docs/manual/advanced-dataaccess.xml:
29100 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29101 * docs/manual/basics-pads.xml:
29102 Add reference for filtered caps to above chapter.
29104 2005-06-30 Wim Taymans <wim@fluendo.com>
29106 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29107 (gst_bin_change_state):
29109 Lame attempt at making the state change function a bit
29112 2005-06-30 Wim Taymans <wim@fluendo.com>
29114 * docs/design/part-clocks.txt:
29115 * docs/design/part-element-sink.txt:
29116 * docs/design/part-events.txt:
29117 * docs/design/part-preroll.txt:
29118 * docs/design/part-states.txt:
29119 Some more tweeks and additions to the docs.
29121 2005-06-30 Wim Taymans <wim@fluendo.com>
29123 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29124 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29125 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29126 (gst_pad_check_pull_range), (gst_pad_get_range),
29127 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29129 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29130 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29131 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29132 (gst_pad_remove_buffer_probe):
29133 Removed atomic operations, use existing LOCK.
29134 Move exception handling out of main code path.
29136 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29138 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29139 (silly_return_true_function), (gst_pad_class_init),
29140 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29141 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29142 (gst_pad_send_event):
29143 Fix accumulator, add default value by using _emitv() instead
29144 of _emit() for signal emission.
29146 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29148 * docs/manual/advanced-dataaccess.xml:
29149 * examples/manual/Makefile.am:
29151 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29154 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29156 * gst/elements/gstfilesink.c: (gst_filesink_render):
29157 Simplify code so that we don't have to handle short
29158 writes and return GST_FLOW_ERROR if an error occured.
29160 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29162 * docs/gst/gstreamer-docs.sgml:
29163 Remove probes more.
29165 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29167 * docs/gst/gstreamer-sections.txt:
29168 * docs/gst/tmpl/gstpad.sgml:
29169 * docs/gst/tmpl/gstprobe.sgml:
29171 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29172 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29173 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29174 (gst_pad_push_event), (gst_pad_send_event):
29176 * gst/gstutils.c: (gst_pad_add_data_probe),
29177 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29178 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29179 (gst_pad_remove_buffer_probe):
29181 Remove old probes, add new g-signal-based probes and some utility
29184 2005-06-29 Edward Hervey <edward@fluendo.com>
29186 * gst/gstelementfactory.c:
29189 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29190 the definition to the header file.
29192 2005-06-29 Andy Wingo <wingo@pobox.com>
29194 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29195 plugins from the source directory.
29197 2005-06-29 Wim Taymans <wim@fluendo.com>
29199 * docs/gst/tmpl/gstbuffer.sgml:
29200 * docs/gst/tmpl/gstclock.sgml:
29201 Some fixings for blantently wrong text.
29203 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29205 * check/Makefile.am:
29206 * gst/gst.c: (add_path_func), (init_pre):
29207 * gst/gstregistry.c: (gst_registry_add_path):
29208 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29209 only scan the GST_PLUGIN_PATH locations, and not add
29212 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29214 * docs/gst/gstreamer-sections.txt:
29215 * docs/gst/tmpl/gstbasesrc.sgml:
29216 * gst/gstelement.c:
29217 * gst/gstelement.h:
29222 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29224 * docs/manual/advanced-autoplugging.xml:
29225 Fix autoplugging example.
29227 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29229 * docs/manual/advanced-autoplugging.xml:
29230 * docs/manual/mime-world.fig:
29231 Try to get autoplugging working, fix type detection. Fix text
29232 in hello-world image.
29234 2005-06-29 Wim Taymans <wim@fluendo.com>
29236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29237 (gst_base_sink_change_state):
29241 map SIGNAL and BROADCAST to the right function.
29244 Remove redundant braces.
29246 * gst/gstpad.c: (gst_pad_set_caps):
29247 Don't call setcaps function when reseting caps to NULL.
29249 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29250 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29251 (gst_system_clock_id_unschedule):
29252 Use BROADCAST as this is what we do.
29254 2005-06-29 Wim Taymans <wim@fluendo.com>
29256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29257 We are actually prerolling before commiting the state
29260 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29262 * docs/manual/advanced-clocks.xml:
29263 * docs/manual/advanced-interfaces.xml:
29264 * docs/manual/advanced-metadata.xml:
29265 * docs/manual/advanced-position.xml:
29266 * docs/manual/advanced-schedulers.xml:
29267 * docs/manual/advanced-threads.xml:
29268 * docs/manual/appendix-porting.xml:
29269 * docs/manual/basics-bins.xml:
29270 * docs/manual/basics-bus.xml:
29271 * docs/manual/basics-elements.xml:
29272 * docs/manual/basics-helloworld.xml:
29273 * docs/manual/basics-pads.xml:
29274 * docs/manual/highlevel-components.xml:
29275 * docs/manual/manual.xml:
29276 * docs/manual/thread.fig:
29277 Update (until threads/scheduling) Application Development Manual;
29278 remove GstThread, add GstBus, add simple porting checklist, add
29279 documentation for tag writing, clocks, make all examples until this
29280 part compile and run.
29281 * examples/manual/Makefile.am:
29282 Update from changes to Application Development Manual; add bus
29283 example, remove thread example.
29285 2005-06-28 Wim Taymans <wim@fluendo.com>
29287 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29288 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29289 (gst_bus_source_dispatch):
29290 Add debugging messages.
29291 Make internal methods static.
29292 Handle the case where the bus is flushed in the handler.
29294 * gst/gstelement.c: (gst_element_get_bus):
29295 Fix refcount in _get_bus();
29297 * gst/gstpipeline.c: (gst_pipeline_change_state),
29298 (gst_pipeline_get_clock_func):
29299 Clock refcounting fixes.
29300 Handle the case where preroll timed out more gracefully.
29302 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29303 Clean up the internal thread in dispose. This is needed
29304 for subclasses that actually get disposed.
29306 * gst/schedulers/threadscheduler.c:
29307 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29308 (gst_thread_scheduler_dispose):
29309 Free thread pool in dispose.
29311 2005-06-28 Andy Wingo <wingo@pobox.com>
29313 * tests/network-clock-utils.scm (debug, print-event): New utils.
29315 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29316 (*packet-loss*): Unified loss probability.
29317 (network-time): Report out-of-band events.
29319 * tests/plot-data: Add support for out-of-band events. Hack it
29320 into this script instead of passing it down the pipe; should fix
29323 2005-06-28 Wim Taymans <wim@fluendo.com>
29325 * docs/gst/gstreamer.types:
29326 * docs/gst/tmpl/gstbasesrc.sgml:
29327 * docs/gst/tmpl/gstpad.sgml:
29330 2005-06-28 Wim Taymans <wim@fluendo.com>
29332 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29333 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29334 (gst_proxy_pad_do_fixatecaps):
29335 Correctly proxy the check_pull_range function.
29337 2005-06-28 Andy Wingo <wingo@pobox.com>
29339 * tests/network-clock.scm: Removed need for slib.
29341 2005-06-28 Wim Taymans <wim@fluendo.com>
29343 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29344 (gst_basesink_preroll_queue_flush):
29345 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29346 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29347 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29348 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29349 (gst_proxy_pad_set_property):
29352 * gst/gstqueue.c: (gst_queue_init):
29353 The deprecated pad loop function is removed now.
29355 2005-06-28 Andy Wingo <wingo@pobox.com>
29357 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29358 New parameters, simulate network packet loss.
29360 * tests/network-clock-utils.scm: Initialize the RNG.
29362 2005-06-28 Wim Taymans <wim@fluendo.com>
29364 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29365 (gst_basesink_event), (gst_basesink_deactivate):
29366 Flushing the preroll queue always needs to unlock the waiters.
29368 2005-06-28 Edward Hervey <edward@fluendo.com>
29370 * gst/gstpipeline.c: (gst_pipeline_send_event):
29371 Wheen a seek was successful on a pipeline, set the stream_time to the
29372 seek offset in order to have a synchronized stream_time.
29374 2005-06-28 Wim Taymans <wim@fluendo.com>
29376 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29377 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29378 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29379 (gst_proxy_pad_do_fixatecaps):
29380 Call wrapper function instead of just calling the function
29381 pointers. This takes care of any locking and whatmore.
29383 2005-06-28 Wim Taymans <wim@fluendo.com>
29385 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29386 (gst_pad_pull_range):
29388 CONNECTED -> LINKED.
29390 2005-06-28 Andy Wingo <wingo@pobox.com>
29392 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29393 source-munging commit!!!
29395 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29396 (gst_object_sink): Take gpointer arguments, not GstObject --
29397 avoids casts. Like GLib.
29399 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29402 2005-06-27 Andy Wingo <wingo@pobox.com>
29404 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29407 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29408 returns a sorted copy of the trace list.
29409 (gst_alloc_trace_print_live): New API, only prints traces with
29410 live objects. Sort the list.
29411 (gst_alloc_trace_print_all): Sort the list.
29412 (gst_alloc_trace_print): Align columns.
29414 * gst/elements/gstttypefindelement.c:
29415 * gst/elements/gsttee.c:
29416 * gst/base/gstbasesrc.c:
29417 * gst/base/gstbasesink.c:
29418 * gst/base/gstbasetransform.c:
29419 * gst/gstqueue.c: Adapt for pad activation changes.
29421 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29423 (gst_pipeline_dispose): Drop ref on sched.
29425 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29426 (gst_pad_activate_default): Push mode by default.
29427 (pre_activate_switch, post_activate_switch): New stubs, things to
29428 do before and after switching activation modes on pads.
29429 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29430 the pad's activate function to choose which mode to activate.
29431 Shortcut on deactivation and call the right function directly.
29432 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29434 (gst_pad_activate_push): New API, same for push mode.
29435 (gst_pad_set_activate_function)
29436 (gst_pad_set_activatepull_function)
29437 (gst_pad_set_activatepush_function): Setters for new API.
29439 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29440 Trace all miniobjects.
29441 (gst_mini_object_make_writable): Unref the arg if we copy, like
29442 gst_caps_make_writable.
29444 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29446 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29447 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29448 Adapt for new pad API.
29450 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29452 * gst/gstelement.h:
29453 * gst/gstelement.c (gst_element_iterate_src_pads)
29454 (gst_element_iterate_sink_pads): New API functions.
29456 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29457 should fold into gstiterator.c in some form.
29458 (gst_element_pads_activate): Simplified via use of fold and
29459 delegation of decisions to gstpad->activate.
29461 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29464 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29465 class once in init, like gstmessage. Didn't run into this issue
29466 but it seems correct. Don't initialize a trace, gstminiobject does
29469 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29470 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29472 (assert_live_count): New util function, uses alloc traces to check
29475 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29476 To be modified when unlink drops the internal pad.
29478 2005-06-27 Wim Taymans <wim@fluendo.com>
29480 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29481 (gst_bin_change_state):
29482 Cleanup the get_state() function a little, make sure it
29483 iterates the same set of elements.
29484 Added stub iterate_state_order().
29486 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29488 * docs/gst/gstreamer-docs.sgml:
29489 * docs/gst/gstreamer-sections.txt:
29490 * docs/gst/gstreamer.types:
29491 * docs/gst/tmpl/gstbasesink.sgml:
29492 * docs/gst/tmpl/gstbasesrc.sgml:
29493 * docs/gst/tmpl/gstbasetransform.sgml:
29494 * docs/gst/tmpl/gstelement.sgml:
29495 * docs/gst/tmpl/gstiterator.sgml:
29496 * gst/base/gstbasesrc.c:
29497 * gst/base/gstbasesrc.h:
29498 * gst/base/gstbasetransform.h:
29499 * gst/gstelement.c:
29500 * gst/gstiterator.h:
29501 adding basetransform and iterator docs
29503 2005-06-27 Andy Wingo <wingo@pobox.com>
29505 * docs/design/part-activation.txt: Notes on how activation should
29506 work -- not quite implemented yet.
29508 2005-06-25 Wim Taymans <wim@fluendo.com>
29510 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29511 At least get the chain function correct, needs more
29514 2005-06-25 Wim Taymans <wim@fluendo.com>
29516 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29517 (gst_basesink_handle_object), (gst_basesink_event),
29518 (gst_basesink_do_sync), (gst_basesink_handle_event),
29519 (gst_basesink_change_state):
29521 Right, two problems here: ghostpads don't take locks and
29522 glib _rec_mutex_lock_full() with depth==0 still locks.
29523 Catch illegal locking and g_warn them.
29525 2005-06-25 Wim Taymans <wim@fluendo.com>
29527 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29528 Have to check for completion now...
29530 2005-06-25 Wim Taymans <wim@fluendo.com>
29532 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29533 (gst_basesink_handle_object), (gst_basesink_event),
29534 (gst_basesink_do_sync), (gst_basesink_handle_event),
29535 (gst_basesink_change_state):
29537 Unlock STREAM_LOCK whatever the recursion was.
29539 2005-06-25 Wim Taymans <wim@fluendo.com>
29541 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29542 (gst_basesink_preroll_queue_empty),
29543 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29544 (gst_basesink_event), (gst_basesink_do_sync),
29545 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29546 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29547 (gst_basesink_change_state):
29548 Reworked the base sink, handle event and buffer serialisation
29549 correctly and removed possible deadlock.
29550 Handle EOS correctly.
29552 2005-06-25 Wim Taymans <wim@fluendo.com>
29554 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29555 (gst_pipeline_change_state):
29556 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29557 Allow elements to post EOS in the state change function.
29558 Fix up -launch, make it exit the poll loop when the
29559 pipeline actually changed state.
29560 Fix up warning parsing in -launch.
29562 2005-06-25 Wim Taymans <wim@fluendo.com>
29564 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29565 (gst_tee_sink_activate):
29566 Core takes STREAM_LOCK for us now.
29568 2005-06-25 Wim Taymans <wim@fluendo.com>
29570 * gst/gstelement.c: (gst_element_get_state_func),
29571 (gst_element_set_state):
29572 * gst/gstelement.h:
29573 * gst/gstmessage.c: (gst_message_parse_error),
29574 (gst_message_parse_warning):
29575 Keep track of current target state while performing a state
29576 change so that subclasses can do something interesting.
29577 Fix parsing of warning/error messages when GError is NULL.
29579 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29581 * docs/gst/Makefile.am:
29582 * docs/gst/gstreamer-docs.sgml:
29583 * docs/gst/gstreamer-sections.txt:
29584 * docs/gst/gstreamer.types:
29585 * docs/gst/tmpl/gstbasesink.sgml:
29586 * docs/gst/tmpl/gstbasesrc.sgml:
29587 * docs/gst/tmpl/gstbin.sgml:
29588 * docs/gst/tmpl/gstcompat.sgml:
29589 * docs/gst/tmpl/gstfakesink.sgml:
29590 * docs/gst/tmpl/gstfakesrc.sgml:
29591 * docs/gst/tmpl/gstfilesink.sgml:
29592 * docs/gst/tmpl/gstfilesrc.sgml:
29593 * docs/gst/tmpl/gstindex.sgml:
29594 * docs/manual/appendix-quotes.xml:
29595 * gst/base/gstbasesrc.h:
29596 * gst/elements/gstfakesrc.h:
29597 * gst/gstmessage.h:
29598 start pulling in base classes and elements in our docs
29600 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29602 * docs/gst/Makefile.am:
29603 * docs/libs/Makefile.am:
29604 fixed make distcheck with gtk-doc 1.3
29606 2005-06-23 Wim Taymans <wim@fluendo.com>
29608 * gst/gstelement.c: (gst_element_get_state_func),
29609 (gst_element_set_state), (gst_element_change_state):
29610 When the state did not change, also report NO_PREROLL
29613 2005-06-23 Wim Taymans <wim@fluendo.com>
29615 * gst/gstpad.c: (gst_pad_event_default):
29616 * gst/gstqueue.c: (gst_queue_loop):
29617 No unsafe task pausing please.
29619 2005-06-23 Wim Taymans <wim@fluendo.com>
29621 * gst/schedulers/threadscheduler.c:
29622 (gst_thread_scheduler_task_start),
29623 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29624 Ref the task before pushing it on the threadpool. This
29625 makes sure that we have a ref when the threadfunction is
29628 2005-06-23 Andy Wingo <wingo@pobox.com>
29630 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29631 offset is greater than the file's size.
29633 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29634 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29635 * gst/gstobject.c (gst_object_class_init): Make the class lock
29636 recursive. Wim won't let me drop deep_notify. Decodebin works
29637 again, whoopdy doo.
29639 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29640 internal pad, and hacks accordingly. Doesn't do it on the target
29641 pad because we change its caps. Probably catches all cases of
29643 (gst_ghost_pad_set_property): Connect to notify::caps as
29646 * tests/network-clock.scm (plot-simulation): Pipe data to the
29647 elite python skript.
29649 * tests/network-clock-utils.scm (define-parameter): New macro,
29650 defines a parameter that can be set via the command line.
29651 (set-parameter!, parse-parameter-arguments): Command line args
29654 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29657 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29659 * gst/elements/gsttypefindelement.c:
29660 (gst_type_find_element_handle_event):
29661 Don't restart typefinding on a discont.
29662 * gst/gstelement.c: (gst_element_set_state):
29663 Debug spelling fix.
29664 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29665 Allow changing mode of an active pad.
29666 Debug output fixes.
29667 * gst/registries/gstlibxmlregistry.c: (load_feature):
29668 Don't cast a static pad template to a normal pad template.
29670 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29672 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29673 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29674 remove gst_strtoll completely, since it didn't actually do
29675 anything more than what g_ascii_strtoull already does.
29676 check for range errors when deserializing
29677 do a cast for the unsigned cases; but further fixing needs
29678 a decision on what the interpretation of "(int)" and
29679 deserialization should be for values that fall outside the
29680 type's boundaries (ie, refuse, or interpret as casting)
29682 2005-06-23 Wim Taymans <wim@fluendo.com>
29684 * check/Makefile.am:
29685 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29686 * docs/design/part-live-source.txt:
29687 * docs/design/part-states.txt:
29688 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29689 (gst_basesrc_set_live), (gst_basesrc_is_live),
29690 (gst_basesrc_get_range), (gst_basesrc_activate),
29691 (gst_basesrc_change_state):
29692 * gst/base/gstbasesrc.h:
29693 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29694 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29695 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29696 * gst/gstelement.c: (gst_element_get_state_func),
29697 (gst_element_set_state):
29698 * gst/gstelement.h:
29700 * tools/gst-launch.c: (event_loop), (main):
29701 Added support for live sources and other elements that
29703 Updated design docs, added live-source design doc.
29704 Implemented live source functionality in basesrc
29705 Fix error condition in _bin_get_state()
29706 Implement live source handling in -launch.
29707 Added check for live sources.
29708 Fixed case in GstBin where elements were changed state
29712 2005-06-23 Andy Wingo <wingo@pobox.com>
29714 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29715 borken refcounting.
29717 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29718 gst_caps_replace takes care of this for us.
29720 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29721 gst_pad_set_caps on the target, not just its setcaps() function.
29723 * tests/network-clock.scm:
29724 * tests/network-clock-utils.scm: A network clock simulator.
29725 Something of an algorithmic testbed before doing something in C.
29727 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29729 * check/Makefile.am:
29730 * check/gst/capslist.h:
29731 copy over from 0.8, and add two with bitmasks specified with
29733 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29734 add test to parse everything from capslist.h
29735 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29737 add test for structure deserialization
29738 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29739 add tests for deserialization of strings to int types
29740 * gst/gststructure.c: (gst_structure_nth_field_name):
29741 * gst/gststructure.h:
29742 add a way to get the name of a field referenced by index
29743 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29744 instead of checking if the resulting long long lies between
29745 min and max, we check if the long long would fit into
29746 a number of bytes for the final type.
29747 This fixes cases where a string represents 2^32 - 1, which
29748 when cast to int would be the (valid) -1, but is bigger than
29751 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29753 * gst/parse/grammar.y:
29754 add a log line for type deserialization
29756 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29758 * check/gst/gstvalue.c: (START_TEST):
29759 * gst/gstvalue.c: (gst_value_deserialize):
29760 return long long, not int, so gint64 deserialization actually
29761 works. Is there any flag that makes the compiler check this ?
29764 2005-06-22 Wim Taymans <wim@fluendo.com>
29767 Added convenience macros for setting buffers in GValue.
29769 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29771 * check/gst/.cvsignore:
29772 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29773 add a test deserializing int64, and comment part out because
29776 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29778 * check/Makefile.am:
29779 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29780 * testsuite/Makefile.am:
29781 * testsuite/caps/Makefile.am:
29782 * testsuite/caps/value_serialize.c:
29783 * testsuite/test_gst_init.c:
29784 move a value_serialize test over
29786 2005-06-20 Wim Taymans <wim@fluendo.com>
29791 * gst/gstvalue.c: (gst_value_compare_buffer),
29792 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29793 (gst_value_compare_flags), (gst_value_serialize_flags),
29794 (gst_value_deserialize_flags), (_gst_value_initialize):
29795 Fix serialisation of buffers, they are not boxed types anymore
29797 2005-06-20 Wim Taymans <wim@fluendo.com>
29799 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29800 Testcase to show error in buffer-on-caps serialisation.
29802 2005-06-20 Andy Wingo <wingo@pobox.com>
29804 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29805 will be adding to later.
29807 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29808 if its socks fill with rocks.
29809 (gst_system_clock_obtain): Set the name on object construction.
29810 Avoid double-checked locking.
29812 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29814 * gst/gsturi.c: (gst_element_make_from_uri):
29815 Fix potential endless loop.
29817 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29819 * check/Makefile.am:
29821 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29823 move over from testsuite dir and clean up
29826 * testsuite/Makefile.am:
29827 * testsuite/tags/.cvsignore:
29828 * testsuite/tags/Makefile.am:
29829 * testsuite/tags/merge.c:
29830 remove testsuite/tags
29832 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29834 * docs/gst/gstreamer-sections.txt:
29835 * docs/gst/tmpl/gstenumtypes.sgml:
29836 * win32/gstenumtypes.c:
29837 clean up documentation build a little
29839 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29841 * check/gstcheck.h:
29842 add macros for checking refcounts on objects and caps
29843 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29844 add some more unit tests
29845 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29846 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29847 fix leaked refcounts (I hope :)) so unittest works
29851 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29853 * configure.ac: back to HEAD
29855 === release 0.9.1 ===
29857 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29863 2005-06-17 Andy Wingo <wingo@pobox.com>
29865 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29866 assert; it's always possible that the pad gets deactivated in
29867 between the checks in gstpad.c and the implementation. Rely on
29868 finish_preroll() to return a FLUSHING or similar instead of on the
29871 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29872 clock and post an EOS message if we come out of finish_preroll in
29875 2005-06-16 David Schleef <ds@schleef.org>
29877 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29878 (gst_capsfilter_set_property): Allow NULL as possible value
29879 for filter_caps property, indicating GST_CAPS_ANY.
29881 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29883 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29885 * gst/schedulers/Makefile.am:
29887 * gstreamer.spec.in:
29890 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29892 * gstreamer.spec.in:
29895 2005-06-08 Andy Wingo <wingo@pobox.com>
29897 * gst/gstutils.c: RPAD fixes all around.
29898 (gst_element_link_pads): Refcounting fixes.
29900 * tools/gst-inspect.c:
29901 * tools/gst-xmlinspect.c:
29903 * gst/base/gsttypefindhelper.c:
29904 * gst/base/gstbasesink.c:
29905 * gst/gstqueue.c: RPAD fixes.
29907 * gst/gstghostpad.h:
29908 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29909 pads. The tricky thing is they provide both source and sink
29910 interfaces, since they proxy the internal pad for the external
29911 pad, and vice versa. Implement with lower-level ProxyPad objects,
29912 with the interior proxy pad as a child of the exterior ghost pad.
29913 Should write a doc on this.
29915 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29916 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29919 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29920 pads are real pads. No ghost pads in this file. Not documenting
29921 the myriad s/RPAD/PAD/ and REALIZE fixes.
29922 (gst_pad_class_init): Add properties for "direction" and
29923 "template". Both are construct-only, so they can't change during
29924 the life of the pad. Fixes properly deriving from GstPad.
29925 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29926 derived objects, just set properties when creating the objects via
29928 (gst_pad_get_parent): Implement as a function, return NULL if the
29929 parent is not an element.
29930 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29931 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29933 * gst/gstobject.c (gst_object_class_init): Make name a construct
29934 property. Don't set it in the object init.
29936 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29937 with UNKNOWN direction.
29938 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29939 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29940 (gst_element_remove_pad): Remove ghost-pad special cases.
29941 (gst_element_pads_activate): Remove rpad cruft.
29943 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29944 catch the pad's-parent-not-an-element case.
29946 * gst/gst.h: Include gstghostpad.h.
29948 * gst/gst.c (init_post): No more real, ghost pads.
29950 * gst/Makefile.am: Add gstghostpad.[ch].
29952 * check/Makefile.am:
29953 * check/gst/gstbin.c:
29954 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29955 into a bin creates ghost pads, and that the refcounts are right.
29956 Partly moved from gstbin.c.
29958 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29960 * check/gst-libs/.cvsignore:
29961 * check/gst/.cvsignore:
29962 * check/pipelines/.cvsignore:
29964 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29965 (START_TEST), (cleanup_suite), (main):
29966 add some tests related to cleanup after running pipelines
29968 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29970 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29971 add a testsuite for GstBuffer
29973 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29975 * gst/gstminiobject.h:
29976 add defines for accessing the refcount
29978 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29980 * Makefile.am: added support for html unit test coverage reports
29982 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29984 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29985 Free existing caps if the capsfilter changes. Add a FIXME about
29986 setting those caps on the pads.
29988 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29989 Before adding a ghost pad to a parent bin, check that there isn't
29990 already one for the element on the bin. Prevents infinite recursion
29991 when using decodebin in parse pipelines. Andy says he'll rewrite the
29992 way this works anyway, so ignore the hack.
29994 2005-06-02 Andy Wingo <wingo@pobox.com>
29996 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29997 file size, pass it on to the type find helper.
29999 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30000 segment_start and segment_end properly according to the seek
30001 method. Segment_end is still a bit flaky because offset can be
30002 negative for CUR and END cases, but it takes -1 as an "unset"
30005 2005-06-02 Wim Taymans <wim@fluendo.com>
30007 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30008 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30009 (gst_basesink_activate):
30010 * gst/base/gstbasesink.h:
30011 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30012 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30013 (gst_pad_query), (gst_pad_start_task):
30015 * gst/gstqueue.c: (gst_queue_bufferalloc),
30016 (gst_queue_handle_sink_event), (gst_queue_chain):
30017 Bufferalloc: return GstFlowReturn to more accuratly report
30018 why allocation failed.
30020 2005-06-02 Wim Taymans <wim@fluendo.com>
30022 * gst/gstpipeline.c: (gst_pipeline_send_event):
30023 Take snapshot of state without blocking.
30025 2005-06-02 Wim Taymans <wim@fluendo.com>
30027 * docs/design/part-TODO.txt:
30028 * docs/design/part-caps.txt:
30029 * docs/design/part-clocks.txt:
30030 * docs/design/part-negotiation.txt:
30031 * docs/design/part-preroll.txt:
30034 2005-05-30 Wim Taymans <wim@fluendo.com>
30036 * gst/elements/gstidentity.c: (gst_identity_event),
30037 (gst_identity_transform), (gst_identity_get_property):
30038 Protect last_message property as it is accessed from
30041 2005-05-30 Wim Taymans <wim@fluendo.com>
30043 * gst/gstelement.c: (gst_element_init),
30044 (gst_element_pads_activate), (gst_element_change_state):
30045 Slicker pad activation code.
30047 2005-05-30 Wim Taymans <wim@fluendo.com>
30050 * gst/gstelement.h:
30051 * gst/gstelementfactory.h:
30053 Move elementfactory methods to separate .h file.
30055 2005-05-30 Wim Taymans <wim@fluendo.com>
30057 * docs/design/part-overview.txt:
30058 * gst/gstsystemclock.h:
30059 Small typo fixes, doc updates.
30061 2005-05-30 Wim Taymans <wim@fluendo.com>
30063 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30064 (init_popt_callback):
30065 Remove cpu-opt flag.
30067 2005-05-30 Wim Taymans <wim@fluendo.com>
30069 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30070 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30072 Avoid typechecking in places where not needed.
30073 Added accessor for malloc_data.
30075 2005-05-30 Wim Taymans <wim@fluendo.com>
30077 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30078 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30079 (gst_pad_configure_sink), (gst_pad_configure_src),
30080 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30081 (gst_pad_start_task):
30082 Propagate errors from _set_caps() in configure_src/sink
30083 functions instead of returning TRUE.
30084 FLUSH events can travel up and downstream
30087 2005-05-30 Wim Taymans <wim@fluendo.com>
30089 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30090 (gst_basesink_activate):
30091 Handle EOS in preroll.
30093 2005-05-30 Wim Taymans <wim@fluendo.com>
30095 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30096 (gst_queue_loop), (gst_queue_handle_src_event):
30097 Remove old pieces of code
30098 Flushing the queue in an upstream event is a very bad idea.
30100 2005-05-26 Andy Wingo <wingo@pobox.com>
30102 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30103 gst_value_set_mini_object so as to add a ref on the object (which
30104 will be removed when the value is unset).
30106 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30107 arg type in ::handoff.
30109 * gst/gstelement.c (gst_element_change_state): Also deactivate
30110 pads in READY->NULL, just in case the element didn't make it to
30111 PAUSED. Wingo tested, Wim approved.
30113 2005-05-26 Wim Taymans <wim@fluendo.com>
30115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30116 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30117 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30118 A flushing pad cannot be used to alloc_buffer from.
30120 2005-05-26 Wim Taymans <wim@fluendo.com>
30122 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30123 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30124 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30125 (gst_bus_create_watch), (gst_bus_add_watch_full):
30127 Implement a real GSource and use g_main_context_wakeup() to
30128 signal new messages instead of the socketpair.
30130 2005-05-25 Wim Taymans <wim@fluendo.com>
30132 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30133 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30134 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30135 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30136 (gst_pad_send_event), (gst_pad_start_task):
30137 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30138 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30139 (gst_queue_sink_activate), (gst_queue_src_activate),
30140 (gst_queue_change_state):
30142 Fix state changes for non sinks. We now change sinks, then elements
30143 with unconnected srcpads, then the rest.
30144 More efficient queue unlocking in flush and state changes.
30145 Set the pad activate mode even if it does not have an activate
30148 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30150 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30151 Don't go in pull mode for non-seekable sources.
30152 * gst/elements/gsttypefindelement.h:
30153 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30154 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30155 (free_entry), (stop_typefinding),
30156 (gst_type_find_element_handle_event), (find_peek),
30157 (gst_type_find_element_chain), (do_pull_typefind),
30158 (gst_type_find_element_change_state):
30159 Allow typefinding (w/o seeking) in push-mode, simplified version
30160 of what was in 0.8.
30161 * gst/gstutils.c: (gst_buffer_join):
30163 gst_buffer_join() from 0.8.
30165 2005-05-25 Wim Taymans <wim@fluendo.com>
30167 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30168 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30169 (gst_pad_send_event), (gst_pad_start_task):
30170 Disable attempt at mode switching until it is figured out.
30172 2005-05-25 Wim Taymans <wim@fluendo.com>
30174 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30175 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30176 (gst_basesink_finish_preroll), (gst_basesink_chain),
30177 (gst_basesink_loop), (gst_basesink_activate),
30178 (gst_basesink_change_state):
30179 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30180 (gst_basesrc_get_range), (gst_basesrc_loop),
30181 (gst_basesrc_activate):
30182 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30183 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30184 (gst_real_pad_init), (gst_real_pad_set_property),
30185 (gst_real_pad_get_property), (gst_pad_set_active),
30186 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30187 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30188 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30189 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30190 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30191 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30192 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30193 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30194 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30195 (gst_pad_stop_task):
30197 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30198 (gst_queue_loop), (gst_queue_src_activate):
30199 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30200 (gst_task_get_state):
30202 * gst/schedulers/threadscheduler.c:
30203 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30204 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30206 Remove ACTIVE pad flag, use FLUSHING everywhere
30207 Added _pad_chain(), _pad_get_range() to call chain/getrange
30209 Add locks around IS_FLUSHING when reading.
30210 Take STREAM lock in chain(), get_range() functions so plugins
30211 don't need to take it anymore.
30215 2005-05-25 Wim Taymans <wim@fluendo.com>
30217 * tools/gst-launch.c: (event_loop):
30218 Unref message after using its contents instead of
30221 2005-05-24 Wim Taymans <wim@fluendo.com>
30223 * docs/design/draft-ghostpads.txt:
30224 * docs/design/draft-push-pull.txt:
30225 * docs/design/draft-query.txt:
30226 * docs/design/part-overview.txt:
30227 Docs updates, added general overview doc.
30229 2005-05-21 David Schleef <ds@schleef.org>
30231 * docs/gst/tmpl/old/GstBin.sgml:
30232 * docs/gst/tmpl/old/GstBuffer.sgml:
30233 * docs/gst/tmpl/old/GstCaps.sgml:
30234 * docs/gst/tmpl/old/GstClock.sgml:
30235 * docs/gst/tmpl/old/GstCompat.sgml:
30236 * docs/gst/tmpl/old/GstData.sgml:
30237 * docs/gst/tmpl/old/GstElement.sgml:
30238 * docs/gst/tmpl/old/GstEvent.sgml:
30239 * docs/gst/tmpl/old/GstIndex.sgml:
30240 * docs/gst/tmpl/old/GstStructure.sgml:
30241 * docs/gst/tmpl/old/GstTag.sgml:
30242 * docs/gst/tmpl/old/cothreads.sgml:
30243 * docs/gst/tmpl/old/cothreads_compat.sgml:
30244 * docs/gst/tmpl/old/gettext.sgml:
30245 * docs/gst/tmpl/old/gobject2gtk.sgml:
30246 * docs/gst/tmpl/old/grammar.tab.sgml:
30247 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30248 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30249 * docs/gst/tmpl/old/gst_private.sgml:
30250 * docs/gst/tmpl/old/gstaggregator.sgml:
30251 * docs/gst/tmpl/old/gstarch.sgml:
30252 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30253 * docs/gst/tmpl/old/gstbufferstore.sgml:
30254 * docs/gst/tmpl/old/gstdata_private.sgml:
30255 * docs/gst/tmpl/old/gstdisksink.sgml:
30256 * docs/gst/tmpl/old/gstdisksrc.sgml:
30257 * docs/gst/tmpl/old/gstelementfactory.sgml:
30258 * docs/gst/tmpl/old/gstextratypes.sgml:
30259 * docs/gst/tmpl/old/gstfakesink.sgml:
30260 * docs/gst/tmpl/old/gstfakesrc.sgml:
30261 * docs/gst/tmpl/old/gstfdsink.sgml:
30262 * docs/gst/tmpl/old/gstfdsrc.sgml:
30263 * docs/gst/tmpl/old/gstfilesink.sgml:
30264 * docs/gst/tmpl/old/gstfilesrc.sgml:
30265 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30266 * docs/gst/tmpl/old/gstidentity.sgml:
30267 * docs/gst/tmpl/old/gstindexfactory.sgml:
30268 * docs/gst/tmpl/old/gstmarshal.sgml:
30269 * docs/gst/tmpl/old/gstmd5sink.sgml:
30270 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30271 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30272 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30273 * docs/gst/tmpl/old/gstpipefilter.sgml:
30274 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30275 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30276 * docs/gst/tmpl/old/gstshaper.sgml:
30277 * docs/gst/tmpl/old/gstspider.sgml:
30278 * docs/gst/tmpl/old/gstspideridentity.sgml:
30279 * docs/gst/tmpl/old/gststatistics.sgml:
30280 * docs/gst/tmpl/old/gsttee.sgml:
30281 * docs/gst/tmpl/old/gsttimecache.sgml:
30282 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30283 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30284 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30285 * docs/gst/tmpl/old/types.sgml:
30286 I didn't intend to add these or check them in.
30288 2005-05-19 David Schleef <ds@schleef.org>
30290 * configure.ac: Use -no-common everywhere. In a sane world, it
30291 would be the default in libtool, because without it, you can't
30292 build DLLs on Windows.
30293 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30294 * docs/gst/gstreamer-sections.txt:
30295 * docs/gst/tmpl/gstcpu.sgml:
30296 * docs/gst/tmpl/gstdata.sgml:
30297 * docs/gst/tmpl/gstthread.sgml:
30299 2005-05-19 David Schleef <ds@schleef.org>
30301 * gst/gstminiobject.c: (gst_value_set_mini_object),
30302 (gst_value_take_mini_object), (gst_value_get_mini_object):
30303 * gst/gstminiobject.h: Add GValue set/get functions.
30305 2005-05-19 Wim Taymans <wim@fluendo.com>
30307 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30308 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30309 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30311 * gst/gstbus.c: (gst_bus_post):
30312 * gst/gstelement.c: (gst_element_get_random_pad):
30313 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30314 Make subbufer unref the parent in finalize.
30315 some more debugging info.
30318 2005-05-19 Wim Taymans <wim@fluendo.com>
30320 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30321 (gst_basesink_init), (gst_basesink_finalize),
30322 (gst_basesink_activate), (gst_basesink_change_state):
30323 Don't free preroll queue too early.
30325 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30329 Hi, I'm outdated. Please shoot me.
30331 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30333 * gst/gstpipeline.c: (gst_pipeline_send_event):
30334 Do not access variables after they have been deleted.
30336 2005-05-19 Wim Taymans <wim@fluendo.com>
30338 * tools/gst-inspect.c: (print_plugin_features):
30339 A plugin feature does unfortunatly not use the
30342 2005-05-18 Wim Taymans <wim@fluendo.com>
30344 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30345 Port _span() functions to new subbuffers.
30347 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30349 * gst/gstbin.c: (gst_bin_add_func):
30350 Fix clock settery in bins when adding kids after the clock has
30353 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30355 * gst/elements/gstidentity.c: (gst_identity_class_init):
30356 Workaround until signals support GstMiniObject.
30358 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30361 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30363 2005-05-18 Wim Taymans <wim@fluendo.com>
30365 * gst/base/Makefile.am:
30366 * gst/base/gstadapter.c: (gst_adapter_base_init),
30367 (gst_adapter_class_init), (gst_adapter_init),
30368 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30369 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30370 (gst_adapter_flush), (gst_adapter_available),
30371 (gst_adapter_available_fast):
30372 * gst/base/gstadapter.h:
30373 Ported and added adapter to the base classes.
30375 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30378 * gst/gstmessage.c:
30379 Make sure the class is reffed/unreffed once before threads can be
30380 used. Fixes #304551.
30382 2005-05-17 Wim Taymans <wim@fluendo.com>
30384 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30385 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30386 * gst/gstminiobject.c: (gst_mini_object_get_type),
30387 (gst_mini_object_free):
30388 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30389 (gst_pad_push), (gst_pad_push_event):
30390 * gst/gstqueue.c: (gst_queue_change_state):
30391 Don't queue buffers in basesink when we are flushing.
30392 Unref buffer when flushing in basesink.
30393 Flush queue when going to READY
30394 Unref buffer when _push() returns an error.
30395 Don't free MiniObject instance when refcount is incremented
30396 in _finalize() so that we can recover objects.
30398 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30400 * docs/manual/advanced-schedulers.xml:
30401 * docs/manual/appendix-checklist.xml:
30402 * docs/pwg/advanced-clock.xml:
30403 * docs/pwg/advanced-interfaces.xml:
30404 * docs/pwg/advanced-request.xml:
30405 * docs/pwg/advanced-types.xml:
30406 * docs/pwg/intro-preface.xml:
30407 * examples/plugins/example.c: (gst_example_get_type),
30408 (gst_example_class_init), (gst_example_chain),
30409 (gst_example_set_property), (gst_example_get_property),
30410 (gst_example_change_state), (plugin_init):
30411 * examples/plugins/example.h:
30414 2005-05-17 Wim Taymans <wim@fluendo.com>
30416 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30417 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30418 * gst/gstqueue.c: (gst_queue_change_state):
30419 Clear queue when going to READY.
30420 Remove IN_SETCAPS flag too.
30422 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30424 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30425 Remove implicit cast from gboolean to GstElementStateReturn;
30426 make sure we still return failure in paused => ready case if
30427 the parent class fails to change state and our own stop
30430 2005-05-17 Wim Taymans <wim@fluendo.com>
30432 * tools/gst-launch.c: (event_loop):
30433 Message was unreffed too soon.
30435 2005-05-16 Andy Wingo <wingo@pobox.com>
30437 * gst/gstbin.c (sink_iterator_filter): Err... um...
30439 * check/gst/gstbin.c (test_ghost_pads): New test for the
30440 ghosting-if-elements-not-in-same-bin behavior.
30442 2005-05-16 David Schleef <ds@schleef.org>
30444 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30445 accessing refcount directly.
30447 2005-05-15 David Schleef <ds@schleef.org>
30449 * check/Makefile.am: remove GstData checks
30450 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30451 * gst/Makefile.am: add miniobject, remove data
30452 * gst/gst.h: add miniobject, remove data
30453 * gst/gstdata.c: remove
30454 * gst/gstdata.h: remove
30455 * gst/gstdata_private.h: remove
30456 * gst/gsttypes.h: remove GstEvent and GstMessage
30457 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30458 * gst/gstmarshal.list: change BOXED -> OBJECT
30460 Implement GstMiniObject.
30461 * gst/gstminiobject.c:
30462 * gst/gstminiobject.h:
30464 Modify to be subclasses of GstMiniObject.
30465 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30466 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30467 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30468 (gst_subbuffer_get_type), (gst_subbuffer_init),
30469 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30472 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30473 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30474 (_gst_event_copy), (gst_event_new):
30476 * gst/gstmessage.c: (_gst_message_initialize),
30477 (gst_message_get_type), (gst_message_class_init),
30478 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30479 (gst_message_new), (gst_message_new_error),
30480 (gst_message_new_warning), (gst_message_new_tag),
30481 (gst_message_new_state_changed), (gst_message_new_application):
30482 * gst/gstmessage.h:
30483 * gst/gstprobe.c: (gst_probe_perform),
30484 (gst_probe_dispatcher_dispatch):
30486 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30487 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30488 (_gst_query_copy), (gst_query_new):
30490 Update elements for GstData -> GstMiniObject changes
30492 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30493 (gst_queue_chain), (gst_queue_loop):
30494 * gst/elements/gstbufferstore.c:
30495 (gst_buffer_store_add_buffer_func),
30496 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30497 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30498 (gst_fakesink_render):
30499 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30500 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30501 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30502 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30503 (gst_filesrc_create_read):
30504 * gst/elements/gstidentity.c: (gst_identity_class_init):
30505 * gst/elements/gsttypefindelement.c:
30506 (gst_type_find_element_src_event), (free_entry_buffers),
30507 (gst_type_find_element_handle_event):
30508 * libs/gst/dataprotocol/dataprotocol.c:
30509 (gst_dp_header_from_buffer):
30510 * libs/gst/dataprotocol/dataprotocol.h:
30511 * libs/gst/dataprotocol/dp-private.h:
30513 2005-05-15 David Schleef <ds@schleef.org>
30515 * gst/elements/gstelements.c: Don't include headers that were
30518 2005-05-15 David Schleef <ds@schleef.org>
30520 * gst/elements/Makefile.am: Remove some elements that don't
30521 need to be in the core (or even exist at all).
30522 * gst/elements/gstaggregator.c:
30523 * gst/elements/gstaggregator.h:
30524 * gst/elements/gstmd5sink.c:
30525 * gst/elements/gstmd5sink.h:
30526 * gst/elements/gstmultifilesrc.c:
30527 * gst/elements/gstmultifilesrc.h:
30528 * gst/elements/gstpipefilter.c:
30529 * gst/elements/gstpipefilter.h:
30530 * gst/elements/gstshaper.c:
30531 * gst/elements/gstshaper.h:
30532 * gst/elements/gststatistics.c:
30533 * gst/elements/gststatistics.h:
30534 * po/POTFILES.in: Remove above files.
30536 2005-05-14 Andy Wingo <wingo@pobox.com>
30538 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30539 so as to get the refs right.
30540 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30541 unreffing objects that don't pass the filter.
30543 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30544 gst_element_set_bus.
30545 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30546 normal cases, this will destroy the bus.
30548 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30551 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30554 2005-05-13 Andy Wingo <wingo@pobox.com>
30556 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30557 gst_pad_link, call pad_link_maybe_ghosting,
30558 (pad_link_maybe_ghosting): Links pads, making sure that the
30559 elements being linked are in the same bin.
30560 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30561 Helpers for pad_link_maybe_ghosting.
30563 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30566 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30568 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30570 * docs/design/part-element-source.txt:
30573 2005-05-12 Wim Taymans <wim@fluendo.com>
30575 * gst/base/gstbasesink.c: (gst_basesink_init),
30576 (gst_basesink_activate):
30577 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30578 (gst_basesrc_is_seekable):
30579 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30580 (bin_element_is_sink), (gst_bin_change_state):
30581 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30582 * gst/gstelement.h:
30583 Identify sinks by their flag to avoid overly complicated
30585 Do state changes even for elements not reachable from the
30587 BaseSink is a sink now :)
30588 Some more debugging info in the basesrc.
30591 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30594 Implement _query on a bin, similar to _send_event.
30596 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30598 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30599 Discont event offset format should be GST_FORMAT_BYTES,
30600 not GST_FORMAT_TIME.
30602 2005-05-12 Wim Taymans <wim@fluendo.com>
30604 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30605 Same fix as Ronald's but without the signal.
30607 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30609 * gst/gstutils.c: (gst_element_query_position):
30610 No, an element is not a pad.
30612 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30614 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30615 (gst_bin_get_state):
30616 If a child is removed from a bin while we remove the child from
30617 the bin and while we're retrieving its state, signal this to the
30618 get_state function so we abort the wait (instead of waiting for
30619 a timeout) and can immediately re-iterate over all other elements.
30621 2005-05-12 Wim Taymans <wim@fluendo.com>
30623 * gst/base/Makefile.am:
30624 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30625 (gst_basesrc_start):
30626 * gst/base/gstbasesrc.h:
30627 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30628 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30629 (gst_pushsrc_init), (gst_pushsrc_create):
30630 * gst/base/gstpushsrc.h:
30631 Added is_seekable to BaseSrc
30632 Added simple PushSrc.
30634 2005-05-11 Wim Taymans <wim@fluendo.com>
30636 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30637 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30638 (gst_element_link_pads), (gst_element_query_position),
30639 (gst_element_query_convert), (intersect_caps_func),
30640 (gst_pad_query_position), (gst_pad_query_convert):
30641 Fix refcounting in utils function.
30642 No point in trying to activate a pad when it's added, it could
30643 be added from the state change function and then we deadlock, the
30644 element has to decide what to do.
30646 2005-05-10 Andy Wingo <wingo@pobox.com>
30648 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30649 *all* the arguments.
30651 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30652 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30653 lock (according to the docs -- if this is wrong change the docs).
30655 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30656 flush messages in the NULL state.
30658 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30659 message immediately and return.
30660 (gst_bus_set_flushing): New function. If a bus is flushing, it
30661 flushes out any queued messages and immediately unrefs new
30662 messages. This is so when an element goes to NULL, all of the
30663 unhandled messages coming from it can be freed, and their
30664 references to the element dropped. In other words: message source
30665 ref considered harmful :P
30667 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30668 we're finished with it.
30670 * gst/gstmessage.c (gst_message_new_state_changed):
30672 2005-05-10 Wim Taymans <wim@fluendo.com>
30674 * gst/gstvalue.c: (gst_value_compare_flags),
30675 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30676 (_gst_value_initialize):
30677 Added flags serialize/deserialize/compare code.
30679 2005-05-09 Andy Wingo <wingo@pobox.com>
30681 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30682 Intersect the peer's caps with our caps.
30684 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30686 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30687 * gst/elements/gsttypefindelement.c: (find_peek):
30688 Handle negative offsets better. Fixes decodebin.
30690 2005-05-09 Wim Taymans <wim@fluendo.com>
30692 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30693 (gst_base_transform_event):
30694 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30695 Implement accept_caps.
30696 Fix silly lock/unlock mismatch in base class.
30698 2005-05-09 Wim Taymans <wim@fluendo.com>
30700 * docs/design/draft-push-pull.txt:
30701 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30702 * gst/elements/gstfilesink.c: (gst_filesink_init),
30703 (gst_filesink_query):
30704 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30705 (gst_type_find_handle_src_query), (find_element_get_length):
30706 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30707 * gst/gstelement.h:
30708 * gst/gstmessage.c:
30709 * gst/gstmessage.h:
30710 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30711 (gst_real_pad_get_caps_unlocked),
30712 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30713 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30714 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30715 (gst_real_pad_dispose), (gst_real_pad_finalize),
30716 (gst_pad_load_and_link), (gst_pad_save_thyself),
30717 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30718 (gst_pad_check_pull_range), (gst_pad_pull_range),
30719 (gst_pad_template_get_type), (gst_pad_template_class_init),
30720 (gst_pad_template_init), (gst_pad_template_dispose),
30721 (name_is_valid), (gst_static_pad_template_get),
30722 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30723 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30724 (gst_pad_get_element_private), (gst_pad_start_task),
30725 (gst_pad_pause_task), (gst_pad_stop_task),
30726 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30727 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30728 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30729 (gst_ghost_pad_new):
30731 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30732 (gst_query_new_position), (gst_query_set_position),
30733 (gst_query_parse_position), (gst_query_new_convert),
30734 (gst_query_set_convert), (gst_query_parse_convert):
30736 * gst/gstqueryutils.c:
30737 * gst/gstqueryutils.h:
30738 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30739 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30740 (gst_queue_handle_src_query):
30741 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30742 (gst_element_query_position), (gst_element_query_convert),
30743 (intersect_caps_func), (gst_pad_query_position),
30744 (gst_pad_query_convert):
30746 * tools/gst-inspect.c: (print_pad_info):
30747 * tools/gst-xmlinspect.c: (print_element_info):
30748 Remove old query functions. Ported old code.
30749 Added position/convert helper functions to gstutils.
30750 Reordered gstpad.c code, grouping relevant things.
30751 Remove gst_message_new(), always need to speficy a specific
30755 2005-05-09 Andy Wingo <wingo@pobox.com>
30757 * gst/gstiterator.h: Add some includes.
30759 * gst/gstqueryutils.h: Include more headers.
30762 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30763 some uses of gst_pad_query.
30765 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30766 NULL out parameters.
30767 (gst_query_new_position): New proc, allocates a new position
30770 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30771 gstqueryutils.c to the build.
30773 * gst/gststructure.c (gst_structure_set_valist): Implement with
30774 the generic G_VALUE_COLLECT.
30776 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30778 * gst/Makefile.am: (gst_headers):
30779 Added gstqueryutils.h to the list of headers to install, that was
30780 a 'nachty' move wingo :)
30782 2005-05-06 Andy Wingo <wingo@pobox.com>
30785 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30786 GstData, init a memchunk.
30787 (standard_definitions): Add a few query types, deprecate a few.
30788 (gst_query_get_type): New proc.
30789 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30791 (gst_query_new_application, gst_query_get_structure): New public
30794 * docs/design/draft-query.txt: Removed LINKS from the query types,
30795 because all the rest can be dispatched to other pads -- seemed
30796 ugly to have a query that couldn't be dispatched. internal_links
30797 is fine as a pad method.
30799 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30800 in gstpad.c, but maintain binary compatibility for the moment.
30801 Will fix before 0.9 is out.
30803 * gst/gstqueryutils.c:
30804 * gst/gstqueryutils.h: New files, implement 3 methods for each
30805 query type: parse_query, parse_response, and set. Probably need an
30808 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30810 * gst/elements/gstfilesink.c (gst_filesink_query2):
30811 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30812 query_types, and formats methods.
30814 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30815 (gst_pad_set_query2_function): New functions.
30816 (gst_real_pad_init): Set query2_default as the default query2
30817 function. Basically just dispatches to internally linked pads.
30821 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30822 without using the atomic operations. Only one thread can possibly
30823 be accessing the data at this point. Changed so as to avoid
30824 gst_atomic operations.
30826 2005-05-06 Wim Taymans <wim@fluendo.com>
30828 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30829 Also set caps if we use the fallback buffer alloc.
30831 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30833 * docs/gst/Makefile.am:
30834 * docs/gst/gstreamer-docs.sgml:
30835 * docs/gst/gstreamer-sections.txt:
30836 * docs/gst/tmpl/gstatomic.sgml:
30837 * docs/gst/tmpl/gstmemchunk.sgml:
30838 * testsuite/elements/struct_i386.h:
30839 * win32/GStreamer.vcproj:
30841 Purge GstAtomic stuff from docs and win32 makefiles as well
30843 2005-05-06 Wim Taymans <wim@fluendo.com>
30845 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30846 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30847 * gst/gstpad.c: (gst_pad_peer_get_caps):
30848 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30849 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30850 (gst_queue_src_activate), (gst_queue_change_state):
30852 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30853 (intersect_caps_func):
30854 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30855 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30856 Some fixes for the peer_get_caps() change.
30858 2005-05-06 Wim Taymans <wim@fluendo.com>
30860 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30861 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30862 (gst_basesink_activate):
30863 Actually do something with error codes returned from the push
30866 2005-05-06 Wim Taymans <wim@fluendo.com>
30868 * docs/design/part-element-sink.txt:
30869 * docs/design/part-element-source.txt:
30870 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30871 (gst_basesink_event), (gst_basesink_activate):
30872 * gst/base/gstbasesink.h:
30873 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30874 (gst_basesrc_activate):
30875 * gst/base/gstbasesrc.h:
30876 * gst/gstelement.c: (gst_element_pads_activate):
30877 Some more documentation.
30878 Fixed scheduling decision in _pads_activate().
30880 2005-05-05 Andy Wingo <wingo@pobox.com>
30882 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30885 2005-05-05 Wim Taymans <wim@fluendo.com>
30887 * gst/base/Makefile.am:
30888 * gst/base/gstbasesink.h:
30889 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30890 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30891 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30892 (gst_collectpads_class_init), (gst_collectpads_init),
30893 (gst_collectpads_finalize), (gst_collectpads_new),
30894 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30895 (find_pad), (gst_collectpads_remove_pad),
30896 (gst_collectpads_is_active), (gst_collectpads_collect),
30897 (gst_collectpads_collect_range), (gst_collectpads_start),
30898 (gst_collectpads_stop), (gst_collectpads_peek),
30899 (gst_collectpads_pop), (gst_collectpads_available),
30900 (gst_collectpads_read), (gst_collectpads_flush),
30901 (gst_collectpads_chain):
30902 * gst/base/gstcollectpads.h:
30903 * gst/elements/Makefile.am:
30904 * gst/elements/gstelements.c:
30905 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30906 (gst_fakesink_get_times), (gst_fakesink_event),
30907 (gst_fakesink_preroll), (gst_fakesink_render):
30908 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30909 (gst_filesink_init), (gst_filesink_set_location),
30910 (gst_filesink_open_file), (gst_filesink_close_file),
30911 (gst_filesink_pad_query), (gst_filesink_event),
30912 (gst_filesink_render), (gst_filesink_change_state):
30913 * gst/elements/gstfilesink.h:
30914 Added object to help in making collect pad based elements.
30916 Make event function in sink baseclass return gboolean.
30918 2005-05-05 Wim Taymans <wim@fluendo.com>
30920 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30921 (gst_bin_get_by_name):
30923 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30924 (gst_clock_finalize):
30925 * gst/gstdata.c: (gst_data_replace):
30927 * gst/gstelement.c: (gst_element_request_pad),
30928 (gst_element_pads_activate):
30929 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30930 (gst_object_unref):
30931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30932 (gst_pad_set_checkgetrange_function),
30933 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30934 (gst_pad_check_pull_range), (gst_pad_pull_range),
30935 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30936 (gst_pad_pause_task), (gst_pad_stop_task):
30937 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30938 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30939 Fix name lookup in GstBin.
30940 Added _data_replace() function and _buffer_replace()
30941 Use finalize method to clean up clock.
30942 Fix refcounting on request pads.
30943 Fix pad schedule mode error.
30944 Some more object refcounting debug info,
30947 2005-05-04 Andy Wingo <wingo@pobox.com>
30949 * check/Makefile.am:
30950 * docs/gst/tmpl/gstatomic.sgml:
30951 * docs/gst/tmpl/gstplugin.sgml:
30952 * gst/base/gstbasesink.c: (gst_basesink_activate):
30953 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30954 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30955 (gst_basesrc_query), (gst_basesrc_set_property),
30956 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30957 (gst_basesrc_activate):
30958 * gst/base/gstbasesrc.h:
30959 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30960 (gst_base_transform_src_activate):
30961 * gst/elements/gstelements.c:
30962 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30963 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30964 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30965 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30966 (gst_type_find_element_checkgetrange),
30967 (gst_type_find_element_activate):
30968 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30969 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30970 (gst_caps_load_thyself):
30971 * gst/gstelement.c: (gst_element_pads_activate),
30972 (gst_element_save_thyself), (gst_element_restore_thyself):
30973 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30974 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30976 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30977 (gst_xml_parse_file), (gst_xml_parse_memory),
30978 (gst_xml_get_element), (gst_xml_make_element):
30979 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30980 (_file_index_id_save_xml), (gst_file_index_commit):
30981 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30982 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30984 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30985 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30986 * tools/gst-complete.c: (main):
30987 * tools/gst-compprep.c: (main):
30988 * tools/gst-inspect.c: (print_element_properties_info):
30989 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30990 * tools/gst-xmlinspect.c: (print_element_properties):
30993 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30995 * gst/gstplugin.c: (gst_plugin_check_module),
30996 (gst_plugin_check_file), (gst_plugin_load_file):
30997 apply patch from #172526 to make register work on MacOSX
30999 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31001 * docs/gst/tmpl/gstconfig.sgml:
31002 * gst/gstconfig.h.in:
31003 move documentation for some symbols. Add doc for GST_PTR_FORMAT
31004 * testsuite/debug/printf_extension.c: (main):
31005 Do not use GST_PTR_FORMAT on pointers to types with
31006 sizeof < sizeof(gpointer). Fixes test on 64-bit
31007 * testsuite/elements/property.h:
31008 use correct printf format
31010 2005-05-02 Wim Taymans <wim@fluendo.com>
31012 * docs/design/draft-push-pull.txt:
31013 * docs/design/draft-query.txt:
31014 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31015 (gst_basesrc_start):
31016 Added draft for new query API.
31017 Added draft for better selecting scheduling methods.
31018 Make basesrc ignore length if the subclass does not support
31021 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31024 possible fixes for automake-1.5 - _LIBADD is reserved
31026 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31028 * docs/faq/Makefile.am:
31029 * docs/manual/Makefile.am:
31030 * docs/manuals.mak:
31031 * docs/pwg/Makefile.am:
31033 possible fixes for automake-1.5
31035 2005-04-28 Wim Taymans <wim@fluendo.com>
31037 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31038 (gst_basesink_pad_getcaps), (gst_basesink_init),
31039 (gst_basesink_do_sync):
31040 * gst/gstclock.c: (gst_clock_entry_new):
31041 * gst/gstevent.c: (gst_event_discont_get_value):
31042 * gst/gstpipeline.c: (pipeline_bus_handler),
31043 (gst_pipeline_change_state):
31044 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31045 Better debugging of clocking info.
31046 Allow NULL values when getting discont values.
31048 2005-04-27 Wim Taymans <wim@fluendo.com>
31050 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31051 * check/gst/gstpad.c: (gst_pad_suite):
31052 Increase timeout for checks.
31054 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31056 * check/Makefile.am:
31057 fix the broken rule for cleanup. Apparently this rule is
31058 only needed on FC2, so maybe this warrants further autotool
31061 2005-04-26 Wim Taymans <wim@fluendo.com>
31063 * gst/gsttrashstack.h:
31064 Ooohh. a nasty one! After having a failed pop() from the stack,
31065 it's possible that the stack is empty. In that case, don't
31066 follow the NULL pointer.
31068 2005-04-25 Wim Taymans <wim@fluendo.com>
31070 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31071 (gst_pad_set_checkgetrange_function),
31072 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31073 (gst_pad_check_pull_range), (gst_pad_pull_range),
31074 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31075 (gst_pad_pause_task), (gst_pad_stop_task):
31076 * gst/gstplugin.c: (gst_plugin_load):
31078 Remove gst_library_load as it does more harm than good with
31079 the new g_module flags.
31080 Revert bogus caps template check in pad linking, pad caps
31081 are important when linking not the template, which is more
31082 general than the current caps.
31084 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31086 * gst/autoplug/.cvsignore:
31087 * gst/autoplug/Makefile.am:
31088 * gst/autoplug/gstsearchfuncs.c:
31089 * gst/autoplug/gstsearchfuncs.h:
31090 * gst/autoplug/gstspider.c:
31091 * gst/autoplug/gstspider.h:
31092 * gst/autoplug/gstspideridentity.c:
31093 * gst/autoplug/gstspideridentity.h:
31094 * gst/autoplug/spidertest.c:
31097 2005-04-25 Wim Taymans <wim@fluendo.com>
31099 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31100 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31101 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31102 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31104 Added stubs for unimplemented functions.
31106 2005-04-24 David Schleef <ds@schleef.org>
31108 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31111 2005-04-24 David Schleef <ds@schleef.org>
31113 Convert everything from GstAtomicInt to g_atomic_int_*, and
31118 * gst/gstatomic_impl.h:
31126 * gst/gstdata_private.h:
31130 * gst/gstmessage.c:
31133 * gst/gststructure.c:
31134 * gst/gststructure.h:
31135 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31138 2005-04-24 David Schleef <ds@schleef.org>
31140 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31141 make the regressions tests work. Remove some code that is no
31143 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31144 Disable warning for pads without templates.
31146 2005-04-24 David Schleef <ds@schleef.org>
31148 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31149 functions that handle filtered links.
31150 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31152 * gst/gstutils.c: Fix/remove utility functions that handle
31155 * gst/gstvalue.c: Add serialization/deserialization of caps
31156 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31157 requires fixing so that the filter caps notation creates
31158 a capsfilter element and sets the filter_caps property. I
31159 think everyone probably wants to keep the shorthand notation.
31160 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31161 * docs/gst/tmpl/gstpad.sgml:
31163 * gst/elements/gstelements.c: Register capsfilter element.
31164 * gst/Makefile.am: fix spacing
31165 * docs/random/ds/0.9-suggested-changes: random
31167 2005-04-23 David Schleef <ds@schleef.org>
31169 * gst/elements/Makefile.am:
31170 * gst/elements/gstcapsfilter.c: New element that acts like an
31171 identity, but filters caps. Will eventually replace filtered
31172 caps in pad linking.
31173 * gst/gstutils.c: (gst_element_create_all_pads): New function
31174 to create all the ALWAYS pads that are registered with an
31175 element class. This functionality should eventually be
31176 merged in with GstElement initialization.
31178 * testsuite/trigger/README: part of trigger test code that should
31179 have been checked in a long time ago.
31181 2005-04-23 David Schleef <ds@schleef.org>
31183 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31184 needed with new versions of libtool (nobody will confirm this),
31185 and hard to carry around.
31186 * gst/autoplug/Makefile.am:
31187 * gst/base/Makefile.am:
31188 * gst/elements/Makefile.am:
31189 * gst/indexers/Makefile.am:
31190 * gst/schedulers/Makefile.am:
31191 * libs/gst/bytestream/Makefile.am:
31192 * libs/gst/control/Makefile.am:
31193 * libs/gst/dataprotocol/Makefile.am:
31194 * libs/gst/getbits/Makefile.am:
31196 2005-04-21 Wim Taymans <wim@fluendo.com>
31198 * docs/design/draft-push-pull.txt:
31199 * docs/design/part-MT-refcounting.txt:
31200 * docs/design/part-TODO.txt:
31201 * docs/design/part-caps.txt:
31202 * docs/design/part-events.txt:
31203 * docs/design/part-gstbus.txt:
31204 * docs/design/part-gstpipeline.txt:
31205 * docs/design/part-messages.txt:
31206 * docs/design/part-push-pull.txt:
31207 * docs/design/part-query.txt:
31210 2005-04-21 Wim Taymans <wim@fluendo.com>
31212 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31213 (gst_message_new), (gst_message_new_error),
31214 (gst_message_new_warning), (gst_message_new_tag),
31215 (gst_message_new_state_changed), (gst_message_new_application),
31216 (gst_message_get_structure):
31217 * gst/gstmessage.h:
31218 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31219 (gst_structure_copy_conditional):
31220 Use parent refcount in GstMessage to ensure GstStructure
31222 Cleaned up headers a bit.
31225 2005-04-20 Wim Taymans <wim@fluendo.com>
31227 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31228 (gst_basesink_pad_getcaps), (gst_basesink_init),
31229 (gst_basesink_chain_unlocked):
31230 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31231 (gst_type_find_helper):
31232 * gst/elements/gsttypefindelement.c:
31233 (gst_type_find_element_have_type), (gst_type_find_element_init),
31234 (stop_typefinding), (gst_type_find_element_handle_event),
31235 (find_suggest), (gst_type_find_element_chain),
31236 (gst_type_find_element_checkgetrange),
31237 (gst_type_find_element_getrange), (do_typefind),
31238 (gst_type_find_element_activate):
31239 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31240 (gst_buffer_default_free), (gst_buffer_default_copy),
31241 (gst_buffer_set_caps):
31242 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31243 (gst_caps_replace):
31244 * gst/gstmessage.c: (gst_message_new),
31245 (gst_message_new_state_changed):
31246 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31247 (gst_pad_set_checkgetrange_function),
31248 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31249 (gst_pad_set_caps), (gst_pad_check_pull_range),
31250 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31252 * gst/gsttypefind.c: (gst_type_find_register):
31253 Make gst_caps_replace() work like other _replace() functions.
31254 Use _caps_replace() where possible.
31255 Make sure _message_new() initialises its field.
31256 Add gst_static_pad_template_get_caps()
31259 2005-04-18 Andy Wingo <wingo@pobox.com>
31261 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31262 on the peer, not the pad. I think that was a typo. Pass an extra
31263 arg to see if random access is possible. Activate the pads as
31264 PULL_RANGE if possible.
31266 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31268 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31269 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31272 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31274 * docs/faq/using.xml:
31275 Add note on gstreamer-properties (#154996).
31277 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31279 * docs/random/bbb/optional-properties:
31280 Some analysis on optional properties.
31282 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31284 * docs/gst/tmpl/gstelementfactory.sgml:
31285 * gst/gstelement.h:
31286 * gst/gstelementfactory.c: (gst_element_factory_init),
31287 (gst_element_factory_cleanup), (gst_element_register),
31288 (__gst_element_factory_add_static_pad_template),
31289 (gst_element_factory_get_static_pad_templates),
31290 (gst_element_factory_can_src_caps),
31291 (gst_element_factory_can_sink_caps):
31292 * gst/registries/Makefile.am:
31293 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31294 (gst_xml_registry_class_init), (gst_xml_registry_init),
31295 (gst_xml_registry_new), (gst_xml_registry_set_property),
31296 (gst_xml_registry_get_property), (get_time), (make_dir),
31297 (gst_xml_registry_get_perms_func),
31298 (plugin_times_older_than_recurse), (plugin_times_older_than),
31299 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31300 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31301 (add_to_char_array), (read_string), (read_uint), (read_enum),
31302 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31303 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31304 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31305 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31306 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31307 (gst_xml_registry_rebuild):
31308 * gst/registries/gstlibxmlregistry.h:
31309 * tools/gst-compprep.c: (main):
31310 * tools/gst-inspect.c: (print_pad_templates_info):
31311 * tools/gst-xmlinspect.c: (print_element_info):
31312 Use libxml2 for registry parsing, use staticpadtemplates in
31313 elementfactories. Makes gst_init() +/- 10x faster.
31315 2005-04-12 Wim Taymans <wim@fluendo.com>
31317 * gst/base/Makefile.am:
31318 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31319 (gst_basesink_pad_getcaps), (gst_basesink_init),
31320 (gst_basesink_event), (gst_basesink_change_state):
31321 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31322 (gst_basesrc_init), (gst_basesrc_query),
31323 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31324 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31325 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31326 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31327 (gst_basesrc_stop), (gst_basesrc_activate),
31328 (gst_basesrc_change_state):
31329 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31330 (helper_find_suggest), (gst_type_find_helper):
31331 * gst/base/gsttypefindhelper.h:
31332 * gst/elements/Makefile.am:
31333 * gst/elements/gstelements.c:
31334 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31335 (gst_fakesink_get_times), (gst_fakesink_event),
31336 (gst_fakesink_preroll), (gst_fakesink_render):
31337 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31338 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31339 (gst_fakesrc_get_property), (gst_fakesrc_create),
31340 (gst_fakesrc_start), (gst_fakesrc_stop):
31341 * gst/elements/gstfakesrc.h:
31342 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31343 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31344 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31345 (gst_filesrc_create_read), (gst_filesrc_create),
31346 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31347 (gst_filesrc_start):
31348 * gst/elements/gsttypefindelement.c:
31349 (gst_type_find_element_have_type), (gst_type_find_element_init),
31350 (start_typefinding), (stop_typefinding), (push_buffer_store),
31351 (gst_type_find_element_handle_event),
31352 (gst_type_find_element_chain),
31353 (gst_type_find_element_checkgetrange),
31354 (gst_type_find_element_getrange), (do_typefind),
31355 (gst_type_find_element_activate),
31356 (gst_type_find_element_change_state):
31357 * gst/elements/gsttypefindelement.h:
31358 * gst/gstpipeline.c: (pipeline_bus_handler):
31359 Added typefind helper.
31360 Small preroll fix in the base sink.
31361 Disable typefind code in basesrc.
31362 Crude port of typefindelement.
31366 2005-04-11 Wim Taymans <wim@fluendo.com>
31368 * check/gst/gstbus.c: (gstbus_suite):
31369 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31370 * check/gstcheck.h:
31371 Fix up the timeout so that the test does not fail.
31373 2005-04-06 Wim Taymans <wim@fluendo.com>
31376 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31377 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31378 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31379 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31380 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31381 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31382 (gst_basesrc_stop), (gst_basesrc_activate),
31383 (gst_basesrc_change_state), (basesrc_find_peek),
31384 (basesrc_find_suggest), (gst_basesrc_type_find):
31385 * gst/base/gstbasesrc.h:
31386 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31387 (gst_filesrc_class_init), (gst_filesrc_init),
31388 (gst_filesrc_finalize), (gst_filesrc_set_location),
31389 (gst_filesrc_set_property), (gst_filesrc_get_property),
31390 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31391 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31392 (gst_filesrc_create_read), (gst_filesrc_create),
31393 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31394 * gst/elements/gstfilesrc.h:
31395 * gst/gstelement.c: (gst_element_get_state_func),
31396 (gst_element_lost_state), (gst_element_pads_activate):
31397 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31398 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31399 (gst_pad_pull_range):
31401 More work on the generic source base class, implement seeking,
31403 Make filesrc extend the base source class.
31404 Added gst_pad_set_checkgetrange_function to GstPad.
31406 2005-04-06 Andy Wingo <wingo@pobox.com>
31408 * pkgconfig/gstreamer-base.pc.in:
31409 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31411 * pkgconfig/Makefile.am:
31412 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31414 2005-04-04 Wim Taymans <wim@fluendo.com>
31416 * gst/base/Makefile.am:
31418 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31419 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31420 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31421 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31422 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31423 (gst_basesrc_base_init), (gst_basesrc_class_init),
31424 (gst_basesrc_init), (gst_basesrc_get_formats),
31425 (gst_basesrc_get_query_types), (gst_basesrc_query),
31426 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31427 (gst_basesrc_set_property), (gst_basesrc_get_property),
31428 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31429 (gst_basesrc_loop), (gst_basesrc_activate),
31430 (gst_basesrc_change_state):
31431 * gst/base/gstbasesrc.h:
31432 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31433 (gst_fakesrc_class_init), (gst_fakesrc_init),
31434 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31435 (gst_fakesrc_get_property), (gst_fakesrc_create):
31436 * gst/elements/gstfakesrc.h:
31437 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31438 (gst_filesrc_open_file), (gst_filesrc_loop),
31439 (gst_filesrc_activate), (filesrc_find_peek),
31440 (gst_filesrc_type_find):
31441 Made base source class, make fakesrc extend it.
31442 Add comments to basesink class.
31443 Some filesrc cleanup.
31445 2005-03-31 David Schleef <ds@schleef.org>
31447 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31448 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31449 expected to link against libgstreamer.
31450 * gst/base/Makefile.am: link against libgstreamer
31451 * gst/elements/Makefile.am: same
31453 2005-03-31 Andy Wingo <wingo@pobox.com>
31455 * tests/instantiate/Makefile.am:
31456 * tests/instantiate/caps.c: Add test to test speed of caps copy
31459 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31460 GMemChunk to be fair.
31462 * gst/gsttrashstack.h: Remove warning about using the fallback
31463 trash stack implementation, it's still faster than malloc.
31465 2005-03-30 Andy Wingo <wingo@pobox.com>
31467 * tests/complexity.c: Add a copyright.
31469 2005-03-31 Wim Taymans <wim@fluendo.com>
31471 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31472 (gst_base_transform_class_init), (gst_base_transform_init),
31473 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31474 (gst_base_transform_get_property),
31475 (gst_base_transform_sink_activate),
31476 (gst_base_transform_src_activate),
31477 (gst_base_transform_change_state):
31478 * gst/base/gstbasetransform.h:
31479 * gst/elements/gstidentity.c: (gst_identity_class_init),
31480 (gst_identity_event), (gst_identity_check_perfect),
31481 (gst_identity_transform), (gst_identity_start),
31482 (gst_identity_stop):
31483 Added start/stop methods to transform base class so subclasses
31484 don't need to deal with state changes even.
31486 2005-03-31 Wim Taymans <wim@fluendo.com>
31488 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31489 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31491 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31492 (gst_pad_pull_range):
31493 Added rate to the discont event to prepare for variable speed
31494 and reverse playback.
31496 2005-03-29 David Schleef <ds@schleef.org>
31499 * testsuite/trigger/Makefile.am:
31500 * testsuite/trigger/trigger.c: A little example program to show
31501 how trigger-based elements can work.
31503 2005-03-29 Wim Taymans <wim@fluendo.com>
31505 * gst/base/Makefile.am:
31507 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31508 (gst_basesink_base_init), (gst_basesink_class_init),
31509 (gst_basesink_pad_getcaps), (gst_basesink_init),
31510 (gst_basesink_activate), (gst_basesink_change_state):
31511 * gst/base/gstbasesink.h:
31512 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31513 (gst_base_transform_base_init), (gst_base_transform_finalize),
31514 (gst_base_transform_class_init), (gst_base_transform_init),
31515 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31516 (gst_base_transform_event), (gst_base_transform_getrange),
31517 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31518 (gst_base_transform_set_property),
31519 (gst_base_transform_get_property),
31520 (gst_base_transform_sink_activate),
31521 (gst_base_transform_src_activate),
31522 (gst_base_transform_change_state):
31523 * gst/base/gstbasetransform.h:
31524 * gst/elements/gstidentity.c: (gst_identity_finalize),
31525 (gst_identity_class_init), (gst_identity_init),
31526 (gst_identity_event), (gst_identity_check_perfect),
31527 (gst_identity_transform), (gst_identity_set_property),
31528 (gst_identity_get_property), (gst_identity_change_state):
31529 * gst/elements/gstidentity.h:
31530 * gst/gstelement.c: (gst_element_get_state_func),
31531 (gst_element_lost_state), (gst_element_pads_activate):
31532 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31533 (gst_pad_check_pull_range), (gst_pad_pull_range):
31535 Simplify pad activation.
31536 Added function to check if pull_range can be performed.
31537 Error out when pulling inactive or flushing pads.
31538 Removed const from refcounted types as it does not make sense.
31539 Simplify pad templates in basesink
31540 Added base class for simple 1-to-1 transforms.
31541 Make identity subclass the base transform.
31543 2005-03-29 Andy Wingo <wingo@pobox.com>
31545 * docs/libs/gstreamer-libs-overrides.txt:
31546 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31547 really don't understand what's going on, but like whatever. I want
31550 * docs/gst/Makefile.am:
31551 * docs/libs/Makefile.am: Dist the overrides files.
31553 * check/Makefile.am (clean-local): Remove .libs directories.
31555 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31556 elements to EXTRA_DIST, so po/ files are happy.
31558 * po/POTFILES.in: Er, remove it here.
31560 * po/POTFILES: Remove gstspider.c.
31562 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31564 * docs/libs/gstreamer-libs-docs.sgml:
31565 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31568 * tests/complexity.c (main): Set the length of the preroll queue
31569 on the sinks to prevent a lockup.
31571 * libs/gst/dataprotocol/Makefile.am:
31572 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31573 the same as the one in check/gst-libs/gdp.c.
31575 * po/, docs/gst/: Commit automatic changes to docs and po files.
31577 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31578 the versioned libgstbase.
31580 * check/Makefile.am: Depend on an unversioned gst-register, seems
31581 to make autoconf happier.
31583 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31585 2005-03-28 Wim Taymans <wim@fluendo.com>
31588 * docs/design/part-gstelement.txt:
31589 * docs/design/part-negotiation.txt:
31590 * docs/design/part-preroll.txt:
31591 * docs/design/part-scheduling.txt:
31592 * docs/design/part-states.txt:
31594 * gst/base/Makefile.am:
31596 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31597 (gst_basesink_base_init), (gst_basesink_class_init),
31598 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31599 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31600 (gst_basesink_set_pad_functions),
31601 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31602 (gst_basesink_set_property), (gst_basesink_get_property),
31603 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31604 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31605 (gst_basesink_preroll_queue_push),
31606 (gst_basesink_preroll_queue_empty),
31607 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31608 (gst_basesink_event), (gst_basesink_get_times),
31609 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31610 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31611 (gst_basesink_loop), (gst_basesink_activate),
31612 (gst_basesink_change_state):
31613 * gst/base/gstbasesink.h:
31614 * gst/elements/Makefile.am:
31615 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31616 (gst_fakesink_class_init), (gst_fakesink_init),
31617 (gst_fakesink_set_property), (gst_fakesink_get_property),
31618 (gst_fakesink_get_times), (gst_fakesink_event),
31619 (gst_fakesink_preroll), (gst_fakesink_render),
31620 (gst_fakesink_change_state):
31621 * gst/elements/gstfakesink.h:
31622 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31623 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31624 * gst/gstelement.c: (gst_element_add_pad),
31625 (gst_element_get_state_func), (gst_element_abort_state),
31626 (gst_element_commit_state), (gst_element_lost_state),
31627 (gst_element_set_state), (gst_element_pads_activate):
31628 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31629 * gst/gstpipeline.c: (gst_pipeline_send_event),
31630 (gst_pipeline_change_state):
31631 Added state change code.
31632 Added/updated docs.
31633 Added sink base class, make fakesink extend the base class.
31634 Small cleanups in GstPipeline.
31636 2005-03-26 David Schleef <ds@schleef.org>
31638 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31639 is broken and should be implemented in a different library.
31640 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31641 * gst/gst.h: remove gstcpu.h
31642 * gst/gstcpu.c: remove
31643 * gst/gstcpu.h: remove
31644 * gst/Makefile.am.future: Remove this file. It's ancient.
31646 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31648 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31649 (gst_bin_send_event):
31650 Add default event/set_manager handlers. The set_manager handler
31651 takes care that the manager is distributed over kids that were
31652 already in the bin before the manager was set. The event handler
31653 is a utility virtual function that sends the event over all sinks,
31654 so that gst_element_send_event (bin, event); has the expected
31656 * gst/gstpad.c: (gst_pad_event_default):
31657 Re-install default event handling for discontinuities, so that
31658 seeking works without requiring hacks in applications or extra
31660 * gst/gstpipeline.c: (gst_pipeline_class_init),
31661 (gst_pipeline_send_event):
31662 Half hack, half utility: set a pipeline to PAUSED for seek events,
31663 since that is the only way we can guarantee a/v sync. Means that
31664 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31665 and it "just works".
31667 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31669 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31670 Lock/unlock mismatch.
31672 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31674 * docs/faq/gst-uninstalled:
31675 add gst-plugins-base
31676 * docs/gst/Makefile.am:
31677 don't error out until docs are fixed
31678 * docs/gst/gstreamer.types:
31681 2005-03-22 Wim Taymans <wim@fluendo.com>
31683 * check/Makefile.am:
31684 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31685 * gst/gststructure.c: (gst_structure_set_valist),
31686 (gst_structure_copy_conditional):
31687 Activated more tests.
31688 Added message test.
31689 Added G_TYPE_POINTER to GstStructure.
31692 2005-03-22 Wim Taymans <wim@fluendo.com>
31694 * docs/design/part-TODO.txt:
31695 * docs/design/part-events.txt:
31696 * docs/design/part-gstbin.txt:
31697 * docs/design/part-gstbus.txt:
31698 * docs/design/part-gstpipeline.txt:
31699 * docs/design/part-messages.txt:
31701 * gst/gstmessage.c:
31704 2005-03-21 Wim Taymans <wim@fluendo.com>
31706 * gst/gstbus.c: (gst_bus_post):
31707 Fix copy-and-paste error.
31709 2005-03-21 Wim Taymans <wim@fluendo.com>
31711 * check/Makefile.am:
31713 * gst/elements/Makefile.am:
31714 * gst/elements/gstelements.c:
31715 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31716 (gst_fakesink_event), (gst_fakesink_chain):
31717 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31718 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31719 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31720 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31721 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31722 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31723 (gst_fakesrc_loop), (gst_fakesrc_activate),
31724 (gst_fakesrc_change_state):
31725 * gst/elements/gstfakesrc.h:
31726 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31727 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31728 (gst_filesrc_open_file), (gst_filesrc_loop),
31729 (gst_filesrc_activate), (gst_filesrc_change_state),
31730 (filesrc_find_peek), (filesrc_find_suggest),
31731 (gst_filesrc_type_find):
31732 * gst/elements/gstidentity.c: (gst_identity_finalize),
31733 (gst_identity_class_init), (gst_identity_init),
31734 (gst_identity_proxy_getcaps), (identity_queue_push),
31735 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31736 (gst_identity_getrange), (gst_identity_chain),
31737 (gst_identity_sink_loop), (gst_identity_src_loop),
31738 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31739 (gst_identity_set_property), (gst_identity_get_property),
31740 (gst_identity_change_state):
31741 * gst/elements/gstidentity.h:
31742 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31743 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31744 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31745 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31746 (gst_tee_sink_activate):
31747 * gst/elements/gsttee.h:
31748 * gst/gst.c: (gst_register_core_elements), (init_post):
31750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31751 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31752 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31753 (gst_bin_change_state):
31755 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31756 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31757 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31758 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31759 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31760 (bus_watch_callback), (bus_watch_destroy),
31761 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31762 (poll_timeout), (gst_bus_poll):
31766 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31767 (gst_element_post_message), (gst_element_message_full),
31768 (gst_element_get_state_func), (gst_element_get_state),
31769 (gst_element_abort_state), (gst_element_commit_state),
31770 (gst_element_lost_state), (gst_element_set_state),
31771 (gst_element_pads_activate), (gst_element_change_state),
31772 (gst_element_dispose), (gst_element_set_manager_func),
31773 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31774 (gst_element_set_manager), (gst_element_get_manager),
31775 (gst_element_set_bus), (gst_element_get_bus),
31776 (gst_element_set_scheduler), (gst_element_get_scheduler):
31777 * gst/gstelement.h:
31778 * gst/gstevent.c: (gst_event_new_segment_seek),
31779 (gst_event_new_flush):
31781 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31782 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31783 (gst_message_new_eos), (gst_message_new_error),
31784 (gst_message_new_warning), (gst_message_new_tag),
31785 (gst_message_new_state_changed), (gst_message_new_application),
31786 (gst_message_get_structure), (gst_message_parse_tag),
31787 (gst_message_parse_state_changed), (gst_message_parse_error),
31788 (gst_message_parse_warning):
31789 * gst/gstmessage.h:
31790 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31791 (gst_real_pad_set_property), (gst_pad_set_active),
31792 (gst_pad_is_active), (gst_pad_set_blocked_async),
31793 (gst_pad_set_blocked), (gst_pad_is_blocked),
31794 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31795 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31796 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31797 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31798 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31799 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31800 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31801 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31802 (gst_pad_set_caps), (gst_pad_configure_sink),
31803 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31804 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31805 (gst_real_pad_dispose), (gst_real_pad_finalize),
31806 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31807 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31808 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31810 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31811 (pipeline_bus_handler), (gst_pipeline_change_state),
31812 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31813 * gst/gstpipeline.h:
31815 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31816 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31817 (gst_queue_link_src), (gst_queue_bufferalloc),
31818 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31819 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31820 (gst_queue_loop), (gst_queue_handle_src_event),
31821 (gst_queue_handle_src_query), (gst_queue_src_activate),
31822 (gst_queue_change_state):
31824 * gst/gstscheduler.c: (gst_scheduler_init),
31825 (gst_scheduler_dispose), (gst_scheduler_create_task),
31826 (gst_scheduler_factory_create):
31827 * gst/gstscheduler.h:
31828 * gst/gststructure.c: (gst_structure_get_type),
31829 (gst_structure_copy_conditional):
31830 * gst/gststructure.h:
31831 * gst/gsttaginterface.h:
31832 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31833 (gst_task_init), (gst_task_dispose), (gst_task_create),
31834 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31840 * gst/schedulers/Makefile.am:
31841 * gst/schedulers/cothreads_compat.h:
31842 * gst/schedulers/entryscheduler.c:
31843 * gst/schedulers/faircothreads.c:
31844 * gst/schedulers/faircothreads.h:
31845 * gst/schedulers/fairscheduler.c:
31846 * gst/schedulers/gstbasicscheduler.c:
31847 * gst/schedulers/gstoptimalscheduler.c:
31848 * gst/schedulers/gthread-cothreads.h:
31849 * gst/schedulers/threadscheduler.c:
31850 (gst_thread_scheduler_task_get_type),
31851 (gst_thread_scheduler_task_class_init),
31852 (gst_thread_scheduler_task_init),
31853 (gst_thread_scheduler_task_start),
31854 (gst_thread_scheduler_task_stop),
31855 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31856 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31857 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31858 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31860 * libs/gst/Makefile.am:
31861 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31862 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31863 (gst_file_pad_parent_set):
31864 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31865 (gst_dp_event_from_packet):
31866 * tests/complexity.c: (main):
31867 * tests/mass_elements.c: (main):
31868 * testsuite/states/locked.c: (message_received), (main):
31869 * testsuite/states/parent.c: (main):
31870 * tools/gst-inspect.c: (print_element_flag_info),
31871 (print_implementation_info), (print_pad_info):
31872 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31874 * tools/gst-md5sum.c: (event_loop), (main):
31875 * tools/gst-typefind.c: (main):
31876 * tools/gst-xmlinspect.c: (print_element_info):
31878 Added GstBus for mainloop integration.
31879 Added GstMessage for sending notifications on the bus.
31880 Added GstTask as an abstraction for pipeline entry points.
31882 Removed Schedulers.
31883 Simplified GstQueue for multithreaded core.
31884 Made _link threadsafe, removed old capsnego.
31885 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31886 Added pad blocking functions.
31887 Reworked scheduling functions in GstPad to prepare for
31888 scheduling updates soon.
31889 Moved events out of data stream.
31890 Simplified GstEvent types.
31891 Added return values to push/pull.
31892 Removed clocking from GstElement.
31893 Added prototypes for state change function for next merge.
31894 Removed iterate from bins and state change management.
31895 Fixed some elements, disabled others for now.
31896 Fixed -inspect and -launch.
31897 Added check for GstBus.
31899 2005-03-10 Wim Taymans <wim@fluendo.com>
31901 * docs/design/part-MT-refcounting.txt:
31902 * docs/design/part-clocks.txt:
31903 * docs/design/part-gstelement.txt:
31904 * docs/design/part-gstobject.txt:
31905 * docs/design/part-standards.txt:
31906 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31907 (gst_bin_remove_func), (gst_bin_remove):
31911 * testsuite/clock/clock1.c: (main):
31912 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31914 * testsuite/dlopen/loadgst.c: (do_test):
31915 * testsuite/refcounting/bin.c: (add_remove_test1),
31916 (add_remove_test2), (main):
31917 * testsuite/refcounting/element.c: (main):
31918 * testsuite/refcounting/element_pad.c: (main):
31919 * testsuite/refcounting/pad.c: (main):
31920 * tools/gst-launch.c: (sigint_handler_sighandler):
31921 * tools/gst-typefind.c: (main):
31923 Added doc about clock.
31924 removed gst_bin_iterate_recurse_up(), marked methods
31926 Fix more testsuites.
31928 2005-03-09 Wim Taymans <wim@fluendo.com>
31930 * gst/gstpad.c: (gst_pad_get_direction),
31931 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31932 (gst_pad_collect_valist):
31933 * testsuite/bins/interface.c: (main):
31934 * testsuite/caps/audioscale.c: (test_caps):
31935 * testsuite/caps/caps.c: (test1), (test2), (test3):
31936 * testsuite/caps/deserialize.c: (main):
31937 * testsuite/caps/enumcaps.c: (main):
31938 * testsuite/caps/filtercaps.c: (main):
31939 * testsuite/caps/intersect2.c: (main):
31940 * testsuite/caps/random.c: (main):
31941 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31942 * testsuite/caps/sets.c: (check_caps):
31943 * testsuite/caps/simplify.c: (check_caps), (main):
31944 * testsuite/caps/subtract.c: (check_caps):
31945 Fix _pad_get_direction wrt ghostpads.
31946 Fix caps testsuite.
31948 2005-03-09 Wim Taymans <wim@fluendo.com>
31950 * check/Makefile.am:
31951 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31952 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31953 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31954 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31955 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31956 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31957 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31958 (bin_element_is_sink), (gst_bin_iterate_sinks),
31959 (gst_bin_iterate_all_by_interface):
31961 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31962 (gst_element_change_state), (gst_element_dispose),
31963 (gst_element_finalize), (gst_element_set_loop_function):
31964 * gst/gstelement.h:
31965 * gst/gstiterator.c: (find_custom_fold_func):
31966 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31967 (gst_pad_collectv), (gst_pad_collect_valist),
31968 (gst_pad_template_new):
31969 * gst/gstpipeline.c: (gst_pipeline_class_init),
31970 (gst_pipeline_dispose), (gst_pipeline_set_property),
31971 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31972 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31973 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31975 * gst/schedulers/entryscheduler.c:
31976 * gst/schedulers/gstbasicscheduler.c:
31977 (gst_basic_scheduler_cothreaded_chain),
31978 (gst_basic_scheduler_chain_add_element):
31979 * testsuite/bins/interface.c: (main):
31981 Added GstSystemClock test.
31982 Implemented clock distribution code in GstBin.
31983 Implemented iterate sinks method for future use.
31984 Rearranged gstelement.h
31985 Fix GstIterator comparison bug.
31986 Moved some code to GstPipeline, mostly clocking related.
31988 2005-03-09 Wim Taymans <wim@fluendo.com>
31991 * gst/gst_private.h:
31992 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31993 (gst_bin_remove_func), (gst_bin_remove),
31994 (gst_bin_get_by_name_recurse_up):
31995 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31996 (gst_clock_id_compare_func), (gst_clock_id_wait),
31997 (gst_clock_id_wait_async), (gst_clock_init),
31998 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31999 * gst/gstelement.h:
32000 * gst/gstinfo.c: (_gst_debug_init):
32002 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32003 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32005 Bump version number, we're now 0.9.0
32006 Add future debugging category.
32007 Fix NULL _unref() in _get_by_name_recurse_up
32008 Rearrange gstpad.h.
32011 2005-03-08 Wim Taymans <wim@fluendo.com>
32013 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32014 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32015 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32016 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32017 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32018 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32019 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32020 * gst/elements/gstidentity.c: (gst_identity_class_init):
32021 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32022 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32023 * gst/elements/gstshaper.c: (gst_shaper_class_init):
32024 * gst/elements/gststatistics.c: (gst_statistics_class_init):
32025 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32027 * gst/gstelement.c: (gst_element_class_init),
32028 (gst_element_base_class_init), (gst_element_init),
32029 (gst_element_get_random_pad), (gst_element_wait_state_change),
32030 (gst_element_change_state), (gst_element_dispose),
32031 (gst_element_finalize), (gst_element_set_loop_function):
32032 * gst/gstelement.h:
32033 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32034 * gst/gstthread.c: (gst_thread_class_init),
32035 (gst_thread_release_children_locks), (gst_thread_change_state):
32036 * gst/schedulers/gstbasicscheduler.c:
32037 (gst_basic_scheduler_loopfunc_wrapper),
32038 (gst_basic_scheduler_chain_wrapper),
32039 (gst_basic_scheduler_src_wrapper),
32040 (gst_basic_scheduler_remove_element):
32041 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32042 Remove threadsafe properties. Fix elements because GObject
32043 complains when installing a property before declaring a
32044 set/get_property handler.
32045 Rearrange gstelement.h file, use STATE macros for state locks.
32046 Free mutexes in the finalize method instead of dispose.
32048 2005-03-08 Wim Taymans <wim@fluendo.com>
32050 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32051 * gst/gstthread.c: (gst_thread_release_children_locks):
32052 Added parentage check.
32053 Fix build og GstThread again.
32055 2005-03-08 Wim Taymans <wim@fluendo.com>
32057 * docs/design/part-MT-refcounting.txt:
32058 * docs/design/part-conventions.txt:
32059 * docs/design/part-gstobject.txt:
32060 * docs/design/part-relations.txt:
32061 * docs/design/part-standards.txt:
32062 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32063 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32064 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32065 (gst_bin_iterate_all_by_interface):
32068 * gst/gstelement.c: (gst_element_class_init),
32069 (gst_element_change_state), (gst_element_set_loop_function):
32070 * gst/gstelement.h:
32071 * gst/gstiterator.c:
32072 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32073 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32074 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32075 (gst_object_set_parent), (gst_object_unparent),
32076 (gst_object_check_uniqueness):
32078 Docs updates, clean up some headers.
32080 2005-03-07 Wim Taymans <wim@fluendo.com>
32082 * check/.cvsignore:
32083 * check/Makefile.am:
32084 * check/gst-libs/.cvsignore:
32085 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32086 * check/gst/.cvsignore:
32087 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32088 (START_TEST), (gstbus_suite), (main):
32089 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32090 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32091 (gst_data_suite), (main):
32092 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32093 (add_fold_func), (gstiterator_suite), (main):
32094 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32095 (thread_name_object), (thread_name_object_default),
32096 (gst_object_name_compare), (gst_object_suite), (main):
32097 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32098 (gst_pad_suite), (main):
32099 * check/gstcheck.c: (gst_check_log_message_func),
32100 (gst_check_log_critical_func), (gst_check_init):
32101 * check/gstcheck.h:
32102 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32103 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32106 2005-03-07 Wim Taymans <wim@fluendo.com>
32108 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32109 (gst_list_iterator_next), (gst_list_iterator_resync),
32110 (gst_list_iterator_free), (gst_iterator_new_list),
32111 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32112 (gst_iterator_free), (gst_iterator_push), (filter_next),
32113 (filter_resync), (filter_uninit), (filter_free),
32114 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32115 (gst_iterator_foreach), (find_custom_fold_func),
32116 (gst_iterator_find_custom):
32117 * gst/gstiterator.h:
32118 Added missing files.
32120 2005-03-07 Wim Taymans <wim@fluendo.com>
32124 * docs/design/part-MT-refcounting.txt:
32125 * docs/design/part-conventions.txt:
32126 * docs/design/part-gstobject.txt:
32127 * docs/design/part-relations.txt:
32128 * examples/mixer/mixer.c: (main):
32129 * examples/thread/thread.c: (eos), (main):
32131 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32132 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32133 (gst_spider_plug_from_srcpad):
32134 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32135 (gst_spider_identity_change_state),
32136 (gst_spider_identity_sink_loop_type_finding):
32137 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32138 * gst/elements/gstidentity.c: (gst_identity_init):
32139 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32140 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32141 * gst/elements/gsttypefindelement.c: (free_entry):
32144 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32145 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32146 (gst_bin_set_index), (gst_bin_set_element_sched),
32147 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32148 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32149 (gst_bin_iterate_elements), (iterate_child_recurse),
32150 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32151 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32152 (compare_interface), (gst_bin_get_by_interface),
32153 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32155 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32156 (gst_buffer_default_free), (gst_buffer_default_copy),
32157 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32158 (gst_buffer_create_sub):
32160 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32161 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32162 (gst_caps_unref), (gst_static_caps_get),
32163 (gst_caps_remove_and_get_structure), (gst_caps_append),
32164 (gst_caps_append_structure), (gst_caps_remove_structure),
32165 (gst_caps_copy_nth), (gst_caps_set_simple),
32166 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32167 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32168 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32169 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32170 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32171 (gst_caps_structure_figure_out_union),
32172 (gst_caps_switch_structures), (gst_caps_do_simplify),
32173 (gst_caps_replace), (gst_caps_from_string),
32174 (gst_caps_copy_conditional):
32176 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32177 (_gst_clock_id_free), (gst_clock_id_unref),
32178 (gst_clock_id_compare_func), (gst_clock_id_wait),
32179 (gst_clock_id_wait_async), (gst_clock_class_init),
32180 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32181 (gst_clock_get_time), (gst_clock_set_time_adjust),
32182 (gst_clock_set_property), (gst_clock_get_property):
32185 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32186 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32188 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32189 (gst_element_requires_clock), (gst_element_provides_clock),
32190 (gst_element_set_clock), (gst_element_clock_wait),
32191 (gst_element_wait), (gst_element_set_time_delay),
32192 (gst_element_is_indexable), (gst_element_add_pad),
32193 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32194 (pad_compare_name), (gst_element_get_static_pad),
32195 (gst_element_request_pad), (gst_element_get_request_pad),
32196 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32197 (gst_element_class_get_pad_template_list),
32198 (gst_element_class_get_pad_template), (gst_element_error_func),
32199 (gst_element_get_random_pad), (gst_element_get_event_masks),
32200 (gst_element_send_event), (gst_element_seek),
32201 (gst_element_get_query_types), (gst_element_query),
32202 (gst_element_get_formats), (gst_element_convert),
32203 (gst_element_is_locked_state), (gst_element_set_locked_state),
32204 (gst_element_sync_state_with_parent), (gst_element_change_state),
32205 (gst_element_finalize), (gst_element_yield),
32206 (gst_element_interrupt), (gst_element_set_scheduler),
32207 (gst_element_get_scheduler), (gst_element_set_loop_function):
32208 * gst/gstelement.h:
32210 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32211 (gst_format_get_by_nick), (gst_format_get_details),
32212 (gst_format_iterate_definitions):
32214 * gst/gstindex.c: (gst_index_gtype_resolver):
32217 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32218 (gst_mem_chunk_free):
32219 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32220 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32221 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32222 (gst_object_dispatch_properties_changed),
32223 (gst_object_set_name_default), (gst_object_set_name),
32224 (gst_object_get_name), (gst_object_set_name_prefix),
32225 (gst_object_get_name_prefix), (gst_object_set_parent),
32226 (gst_object_get_parent), (gst_object_unparent),
32227 (gst_object_check_uniqueness), (gst_object_save_thyself),
32228 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32229 (gst_object_set_property), (gst_object_get_property),
32230 (gst_object_get_path_string):
32232 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32233 (gst_real_pad_init), (gst_real_pad_get_property),
32234 (gst_pad_custom_new), (gst_pad_get_direction),
32235 (gst_pad_set_active), (gst_pad_is_active),
32236 (gst_pad_set_event_function), (gst_pad_is_linked),
32237 (gst_pad_link_free), (gst_pad_link_intersect),
32238 (gst_pad_link_fixate), (gst_pad_set_caps),
32239 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32240 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32241 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32242 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32243 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32244 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32245 (gst_pad_realize), (gst_pad_get_allowed_caps),
32246 (gst_real_pad_dispose), (gst_real_pad_finalize),
32247 (gst_pad_collectv), (gst_pad_collect_valist),
32248 (gst_pad_template_dispose), (gst_pad_template_new),
32249 (gst_pad_get_internal_links):
32251 * gst/gstpipeline.c: (gst_pipeline_dispose),
32252 (gst_pipeline_change_state):
32253 * gst/gstpipeline.h:
32255 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32256 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32257 * gst/gstpluginfeature.h:
32258 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32259 * gst/gstquery.c: (_gst_query_type_initialize),
32260 (gst_query_type_register), (gst_query_type_get_by_nick),
32261 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32263 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32264 * gst/gstscheduler.c: (gst_scheduler_add_element),
32265 (gst_scheduler_factory_create):
32266 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32267 (gst_structure_free), (gst_structure_set_name),
32268 (gst_structure_id_set_value), (gst_structure_set_value),
32269 (gst_structure_set_valist), (gst_structure_remove_field),
32270 (gst_structure_remove_fields),
32271 (gst_structure_remove_fields_valist),
32272 (gst_structure_remove_all_fields), (gst_structure_foreach),
32273 (gst_structure_map_in_place),
32274 (gst_caps_structure_fixate_field_nearest_int),
32275 (gst_caps_structure_fixate_field_nearest_double):
32276 * gst/gststructure.h:
32277 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32278 (gst_system_clock_init), (gst_system_clock_dispose),
32279 (gst_system_clock_async_thread),
32280 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32281 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32282 * gst/gstsystemclock.h:
32283 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32284 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32285 * gst/gsttaginterface.c:
32286 * gst/gstthread.c: (gst_thread_dispose),
32287 (gst_thread_release_children_locks), (gst_thread_change_state),
32288 (gst_thread_main_loop):
32289 * gst/gsttrashstack.h:
32290 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32292 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32293 (gst_element_request_pad), (gst_element_get_pad_from_template),
32294 (gst_element_request_compatible_pad),
32295 (gst_element_get_compatible_pad_filtered),
32296 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32297 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32298 (gst_element_link_many), (gst_element_link),
32299 (gst_element_link_pads), (gst_element_unlink_pads),
32300 (gst_element_unlink_many), (gst_element_unlink),
32301 (gst_pad_can_link_filtered), (gst_pad_can_link),
32302 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32303 (gst_object_default_error), (gst_bin_add_many),
32304 (gst_bin_remove_many), (gst_element_populate_std_props),
32305 (gst_element_class_install_std_props), (gst_buffer_merge),
32306 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32307 (link_fold_func), (gst_pad_proxy_setcaps):
32309 * gst/gstvalue.c: (gst_value_deserialize_string):
32310 * gst/parse/grammar.y:
32311 * gst/schedulers/gstbasicscheduler.c:
32312 (gst_basic_scheduler_cothreaded_chain),
32313 (gst_basic_scheduler_chain_recursive_add),
32314 (gst_basic_scheduler_pad_link):
32315 * gst/schedulers/gstoptimalscheduler.c:
32316 (get_group_schedule_function),
32317 (gst_opt_scheduler_state_transition),
32318 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32319 * libs/gst/bytestream/bytestream.c:
32320 * libs/gst/dataprotocol/dataprotocol.c:
32321 (gst_dp_header_from_buffer):
32324 * tests/threadstate/threadstate2.c: (eos):
32325 * tools/gst-compprep.c: (main):
32326 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32327 (print_pad_info), (print_children_info):
32328 * tools/gst-launch.c: (idle_func), (main):
32329 * tools/gst-md5sum.c: (idle_func), (main):
32330 * tools/gst-xmlinspect.c: (print_element_info):
32331 First THREADED backport attempt, focusing on adding locks and
32332 making sure the API is threadsafe. Needs more work. More docs
32335 2005-02-24 Andy Wingo <wingo@pobox.com>
32337 * tests/bench-complexity.scm:
32338 * tests/complexity.gnuplot: New files, good for running complexity
32341 * tests/Makefile.am:
32342 * tests/complexity.c: New test, sets up N elements, at each level
32343 teeing into M streams per element. Eeeenteresting.
32345 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32346 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32347 running bench-mass_elements.scm.
32349 * tests/bench-mass_elements.scm: New script, runs mass_elements
32350 for various numbers of identities, outputting the results to a
32351 file. Requires guile 1.6. Just for testing.
32353 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32355 * gst/schedulers/fairscheduler.c:
32356 compile with debug disabled
32358 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32361 hunting season on 0.9 is now OPEN