1 2009-01-08 Stefan Kost <ensonic@users.sf.net>
4 Create a registry if there is none also when the option for
5 gst-disable-registry-update has been selected. Fixes #567002
7 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
9 * gst/gst.c: (init_post):
10 Ref new enum type in gst_init.
12 * win32/common/libgstreamer.def:
13 Add recently-added API.
15 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
17 * docs/gst/gstreamer-sections.txt::
18 * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
19 * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
20 (gst_plugin_class_init), (gst_plugin_list_free),
21 (gst_plugin_ext_dep_get_env_vars_hash),
22 (_priv_plugin_deps_env_vars_changed),
23 (gst_plugin_ext_dep_extract_env_vars_paths),
24 (gst_plugin_ext_dep_get_hash_from_stat_entry),
25 (gst_plugin_ext_dep_direntry_matches),
26 (gst_plugin_ext_dep_scan_dir_and_match_names),
27 (gst_plugin_ext_dep_scan_path_with_filenames),
28 (gst_plugin_ext_dep_get_stat_hash),
29 (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
30 (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
31 (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
32 * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
33 (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
34 (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
35 (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
36 (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
37 (GstPluginDependencyFlags), (GstPluginFilter):
38 * gst/gstregistry.c: (gst_registry_scan_path_level):
39 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
40 (gst_registry_binary_save_plugin_dep),
41 (gst_registry_binary_save_plugin),
42 (gst_registry_binary_load_feature),
43 (gst_registry_binary_load_plugin_dep_strv),
44 (gst_registry_binary_load_plugin_dep),
45 (gst_registry_binary_load_plugin):
46 * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
47 (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
48 * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
49 Add API for making a GStreamer plugin 'dependent' on external files,
50 directories or environment variables, so that GStreamer knows when
51 it needs to re-load GStreamer plugins that wrap other plugin systems.
53 API: add gst_plugin_add_dependency()
54 API: add gst_plugin_add_dependency_simple()
56 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
58 * docs/faq/gst-uninstalled:
59 Add libgstapp-0.10 from -base to search path and remove the old
60 lib from -bad from the search path.
62 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
64 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
65 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
66 Release the object lock before calling the query convert pad functions
69 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
71 * gst/gstbus.c: (gst_bus_wakeup_main_context):
72 The lock order should be maincontext > OBJECT_LOCK so we need to release
73 the object lock when waking up the mainloop to avoid deadlocks.
75 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
77 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
78 (gst_bin_change_state_func):
79 Use an iterator to set the clock and the index so that we can release
80 the object lock appropriately. Fixes #566393.
82 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
84 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
85 Use the name of the pads instead of a pointer, helps in debugging.
87 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
89 * gst/gstindex.c: (gst_index_get_type):
90 Add a debugging category for GstIndex, first little step in making
93 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
95 * gst/gstelement.c: (gst_element_message_full),
96 (gst_element_pads_activate):
97 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
98 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
99 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
100 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
101 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
102 Assign debug statements to relevant categories instead of the 'default'
103 category so they don't get lost in debugging.
105 2009-01-01 Stefan Kost <ensonic@users.sf.net>
107 * gst/gstdebugutils.c:
108 Add some ideas, how to make the graph smaller.
111 Add a comment from a debug session.
113 * libs/gst/base/gstbasetransform.c:
116 * libs/gst/controller/gstinterpolationcontrolsource.c:
119 * plugins/elements/gstcapsfilter.c:
122 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
124 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
125 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
126 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
127 (gst_bus_create_watch):
128 Make GstBusSource work with non-default main contexts (#562170).
130 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
131 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
132 Add test case for GstBusSource with a non-default main context.
134 * tests/check/libs/.cvsignore:
137 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
139 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
141 Wrap multi-line macros in G_STMT_{START|END}.
143 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
145 * docs/gst/gstreamer-sections.txt:
148 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
149 (gst_query_parse_uri):
151 API: Add URI query type. This is useful to query the URI
152 of a sink/source element and can be used by demuxers that
153 need to get data from other files.
154 This query should go upstream by default.
156 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
157 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
159 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
160 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
161 (gst_file_src_query):
164 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
167 * tests/check/gst/gstghostpad.c:
168 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
169 That would cause the ghostpad to emit notify::caps two times (fist
170 from gst_pad_set_caps() and after from on_src_target_notify()).
172 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
174 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
176 Add some more unit-tests for the ghostpad notify signal, one of which
179 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
181 * win32/common/libgstreamer.def:
182 Add gst_tag_setter_reset_tags to the list of exported symbols.
184 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
187 * tests/check/gst/gstghostpad.c:
188 In a source ghostpad, when caps are changed in the target pad, the
189 change needs to be reflected in the ghostpad.
192 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
194 * gst/gstutils.c: (gst_element_found_tags_for_pad):
195 Add FIXME for 0.11 to set the pad as message source and not
196 the element. Otherwise it's impossible to detect for which
197 pad the tags were found without adding an event probe
198 or something similar to the pad.
200 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
202 * docs/faq/general.xml:
205 2008-12-16 Stefan Kost <ensonic@users.sf.net>
207 * docs/gst/gstreamer-sections.txt:
208 * gst/gsttagsetter.c:
209 * gst/gsttagsetter.h:
210 Rename api added in previous commit and add since tag to docs.
211 API: gst_tag_setter_reset_tags()
213 2008-12-16 Stefan Kost <ensonic@users.sf.net>
215 * docs/gst/gstreamer-sections.txt:
216 * gst/gsttagsetter.c:
217 * gst/gsttagsetter.h:
218 Add function to reset tagsetter for element reuse.
220 2008-12-16 Stefan Kost <ensonic@users.sf.net>
223 Avoid copy of empty taglist.
225 2008-12-16 Stefan Kost <ensonic@users.sf.net>
228 * tests/check/gst/gsttag.c:
229 More complete unit tests. Fix handling of empty taglists (they were
232 2008-12-15 Stefan Kost <ensonic@users.sf.net>
235 * gst/gsttagsetter.c:
236 Update GstTagSetter and GstTagMergeMode documentation. Mention
237 that tags can come from events and from application. Fix example.
239 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
241 * docs/design/part-TODO.txt:
242 Remove the seqnum entry that we implemented in 0.10 already.
243 Add entry about removing the format return value for queries.
245 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
247 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
248 (gst_base_sink_init), (gst_base_sink_set_property),
249 (gst_base_sink_get_property):
250 Expose the render-delay as a property so things like appsink can use it
251 to tweak the synchronisation.
253 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
255 * libs/gst/check/gstcheck.h: Allow check tests to use
256 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
257 CK_FORK=no to be used with multiple check test that use threads.
259 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
261 * gst/gstutils.c: (gst_element_get_compatible_pad):
262 Fix a caps memory leak introduced by the last change.
264 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
266 * gst/gstutils.c: (gst_element_get_compatible_pad):
267 Check if the caps of the pads are compatible before returning
268 a pad and claiming it is compatible. This, among other things,
269 fixes a bug with gst-launch where an incompatible pad is chosen
270 and linking fails. Fixes bug #544003.
272 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
274 * libs/gst/check/gstcheck.c: (gst_check_init):
275 Revert accidentially commited patch for bug #404631 which
276 tries to print a backtrace if a testcase is terminated by
277 a signal. This code was never activated as the corresponding
278 configure.ac change wasn't committed.
280 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
282 * tests/check/libs/controller.c: (GST_START_TEST):
283 This test should return TRUE now as syncing an uncontrolled
284 object will succeed now (there's nothing to sync).
286 2008-12-09 Stefan Kost <ensonic@users.sf.net>
288 * libs/gst/controller/gstcontroller.c:
289 Aggregate return value for gst_controller_sync_values(). More info in
290 logging. Always set values on first sync-call.
292 * libs/gst/controller/gstcontrolsource.c:
295 * libs/gst/controller/gsthelper.c:
296 Fix return code and comment.
298 2008-12-09 Stefan Kost <ensonic@users.sf.net>
300 * tools/gst-launch.1.in:
301 Fix description of how to specify a type in caps. Fixes #553873.
302 Also ranges and list contain values and not property-assignments.
304 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
306 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
307 Check for changed pads-list before checking the last returned
308 GstFlowReturn because the pad could have been removed and we
309 need to ignore the value in that case.
311 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
313 * libs/gst/base/gstbasetransform.c:
314 (gst_base_transform_prepare_output_buffer),
315 (gst_base_transform_getrange), (gst_base_transform_chain):
316 * libs/gst/base/gstbasetransform.h:
317 Add vmethod that is called before we start the transform and which can
318 be used to configure the transform, such as dynamic properties.
320 2008-12-05 David Schleef <ds@schleef.org>
323 Search for plugins on win32 based on the location of the
324 gstreamer DLL. Fixes #548786
326 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
329 Apparently AC_CONFIG_MACRO_DIR breaks when using more
330 than one macro directory, reverting last change.
332 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
335 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
338 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
340 Patch by: Cygwin Ports maintainer
341 <yselkowitz at users dot sourceforge dot net>
345 Require gettext 0.17 because older versions don't mix with libtool
346 2.2. At build time an older gettext version will still work.
349 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
351 Patch by: 이문형 <iwings at gmail dot com>
353 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
354 Adds support for FD_CONNECT event (win32). See #562258.
356 2008-11-24 Stefan Kost <ensonic@users.sf.net>
358 * libs/gst/base/gstbasesink.c:
359 Turn comment into gtk-doc comment.
361 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
363 * libs/gst/base/gstbasetransform.c:
364 (gst_base_transform_acceptcaps):
365 Revert quick accepcaps attempt, it's not fully equivalent to the old
366 behaviour and thus causes regressions.
368 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
370 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
373 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
375 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
377 * gst/gstregistry.c: (gst_registry_scan_path_level):
378 Reduce the number of stat() calls for every file from three times
379 to one time. Fixes bug #560360.
381 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
383 * libs/gst/base/gstbasetransform.c:
384 (gst_base_transform_acceptcaps):
385 Rename a variable to make the code clearer.
387 2008-11-21 Stefan Kost <ensonic@users.sf.net>
389 * plugins/elements/gstidentity.c:
390 Don't warning on offset==-1. Taken from _check_imperfect_offset().
392 2008-11-21 Michael Smith <msmith@songbirdnest.com>
394 * plugins/elements/gstfilesrc.c:
395 Check for localhost in URI was backwards, fix it. Fixes unit test.
397 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
399 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
400 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
401 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
402 Add beginnings of a more optimized acceptcaps function than the default
405 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
407 * gst/gstpad.c: (gst_pad_accept_caps):
408 Avoid getting the acceptcaps function too early.
410 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
412 * tools/gst-launch.c: (event_loop):
413 Make gst-launch handle LATENCY messages and make it recalculate the
416 2008-11-20 Michael Smith <msmith@songbirdnest.com>
418 * plugins/elements/gstfilesrc.c:
419 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
420 out own slightly incorrect version. Fixes use of some paths on
423 2008-11-20 Michael Smith <msmith@songbirdnest.com>
425 * gst/gstregistrybinary.c:
426 In win32 codepath, if we fail to write the registry, create the
427 directory for it and try again, matching the behaviour in non-win32
430 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
432 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
433 Changing the render delay changes the latency and so we must post a
436 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
440 Add GstQueryType for custom queries instead of having to use the
441 not-so-very-convenient registration infrastructure to register new
444 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
446 Patch by: Andrew Feren <acferen at yahoo dot com>
448 * gst/gstobject.c: (gst_object_default_deep_notify):
449 Unref the GEnumClass after usage again. Fixes bug #561501.
451 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
453 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
454 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
455 (gst_bin_change_state_func):
457 Add do-latency signal with the old default fallback implementation. This
458 allows for custom latency calculations for when the default is not
460 API: GstBin::do-latency signal.
462 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
464 * win32/common/libgstreamer.def:
465 Add new symbols to .def file.
467 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
469 * docs/gst/gstreamer-sections.txt:
470 * gst/gstbin.c: (gst_bin_recalculate_latency),
471 (gst_bin_change_state_func):
473 Add method to recalculate and redistribute the latency on a bin.
474 API: gst_bin_recalculate_latency().
476 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
479 Document the free_func.
481 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
483 * libs/gst/controller/gstinterpolation.c:
484 * libs/gst/controller/gstlfocontrolsource.c:
485 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
486 as it is mapped to a cast on non-win32 platforms.
488 2008-11-17 Stefan Kost <ensonic@users.sf.net>
490 * libs/gst/controller/gstcontroller.c:
491 * libs/gst/controller/gstcontrollerprivate.h:
492 Keep last-value and only call set_property if value has changed. This
493 supresses all the g_object_notifies we would trigger otherwise. It
494 also allows the user to chage the value while there is no controller
497 2008-11-17 Stefan Kost <ensonic@users.sf.net>
500 Don't crash if either of the string GValues is empty.
502 2008-11-17 Andy Wingo <wingo@pobox.com>
504 * tools/gst-inspect.c (print_all_uri_handlers): New function,
505 prints a summary of what URI schemes are supported by what
507 (main): Plumb in support for --uri-handlers or -u, and fix the
508 argc check for -a and -u.
510 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
513 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
514 conversion functions.
516 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
518 * gst/gstbuffer.c: (gst_buffer_finalize):
519 Avoid costly typechecking for trivially correct pointers.
521 * gst/gstpoll.c: (gst_poll_wait):
522 Add some G_LIKELY here and there.
524 * libs/gst/base/gstadapter.c: (gst_adapter_push):
527 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
529 * docs/random/wtay/poll-timeout:
532 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
534 * tests/old/testsuite/caps/intersection.c: (main):
535 * tests/old/testsuite/plugin/loading.c: (main):
536 Remove references to deprecated API g_mem_chunk*.
539 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
541 * tools/gst-inspect.c: (main):
542 Add --plugin option. Fixes #560301.
544 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
546 * docs/random/wtay/poll-timeout:
547 Quick braindump for a possible (not totally verified) atomic case.
549 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
551 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
552 (gst_registry_binary_initialize_magic),
553 (gst_registry_binary_write_cache),
554 (gst_registry_binary_check_magic):
555 * gst/gstregistrybinary.h:
556 Don't write and check a CRC for the binary registry file. It's
557 guaranteed that the registry is completely written (it's first written
558 to a temporary file and then moved) and if the registry was corrupted
559 by some hardware failure we would have bigger problems.
561 Bump binary registry version to 0.10.21.1 for this as it's an
562 incompatible change and to ensure that the registry gets rebuild
565 This saves some milliseconds for reading/writing the registry.
568 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
570 * docs/random/wtay/poll-timeout:
571 Some pseudo code for how we could implement clock timeouts with GstPoll.
573 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
575 * plugins/elements/gstfilesink.c:
576 Update Author string to match others.
578 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
580 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
581 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
582 being fixed and inline the trivial check.
584 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
586 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
587 (gst_caps_merge_structure), (gst_caps_get_structure),
588 (gst_caps_copy_nth), (gst_caps_set_simple),
589 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
590 (gst_caps_is_equal_fixed), (gst_caps_intersect),
591 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
592 (gst_caps_to_string):
593 Callgrind micro optimisations.
594 Avoid array bounds checks and force inline of trivial function.
596 * gst/gstobject.c: (gst_object_set_name_default):
597 -1 is equivalent to letting glib to the strlen but then there is more
598 room for optimisations and it's not our fault.
600 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
601 no need to clear the array, we're cool.
603 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
604 The most common _is_fixed() check is done on fundamental glib base
605 types so we check this first instead of doing a huge amount of
606 useless GST_TYPE_ARRAY calls.
608 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
611 Add a SKIP seek flag for use with advanced trickmodes.
612 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
614 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
616 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
617 No need to memset, we can clear the value ourselves.
619 * gst/gstvalue.c: (gst_type_is_fixed),
620 (gst_value_get_compare_func):
621 Some optimisations from a few callgrind sessions:
622 When checking if a type is fixed, check for trivial fundamental types
623 first before checking types for which we need to get the type followed
624 by the heavy duty type checks, this reduces the amount of
625 g_type_fundamental() calls a lot.
626 When getting the compare function, first check for our registered types.
627 If that fails, do the heavy duty g_type_is_a() checks, reduces the
628 amount of g_type_is_a() considerably.
630 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
632 * docs/design/part-TODO.txt:
633 Mumble something about removing GstXML.
635 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
637 * gst/gstbin.c: (gst_bin_handle_message_func):
638 Get the seqnum before we dispose the message.
640 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
642 * docs/design/part-TODO.txt:
643 Refer to the framestepping document.
645 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
647 * gst/gstbin.c: (bin_handle_async_start),
648 (gst_bin_handle_message_func), (gst_bin_query):
649 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
650 (gst_base_sink_event), (gst_base_sink_change_state):
651 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
652 (gst_base_src_loop), (gst_base_src_change_state):
653 Copy seqnums from events to messages so that they can all be related
656 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
658 * tools/gst-launch.c: (event_loop):
659 Print the message seqnums.
661 2008-11-04 Andy Wingo <wingo@pobox.com>
663 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
665 2008-11-04 Andy Wingo <wingo@pobox.com>
667 Add sequence numbers to events and messages. See #559250.
669 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
673 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
674 events with a new sequence number, and copy it when copying.
675 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
676 an event's sequence number.
679 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
680 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
683 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
685 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
687 * docs/manual/advanced-position.xml:
688 * docs/manual/basics-bins.xml:
689 * docs/manual/basics-bus.xml:
690 * docs/manual/basics-pads.xml:
691 * docs/manual/intro-gstreamer.xml:
692 * docs/manual/intro-preface.xml:
693 Some Application Development Manual fixes thanks to
694 Andrew Feren. Fixes #558459.
696 2008-11-03 Stefan Kost <ensonic@users.sf.net>
698 * gst/gstregistrybinary.c:
699 Don't bother with the GTimer if we don't output the results.
701 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
703 Patch by: David Schleef <ds@schleef.org>
705 * libs/gst/net/Makefile.am:
706 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
708 2008-10-31 Stefan Kost <ensonic@users.sf.net>
710 * gst/gstregistrybinary.c:
711 Oh my, studip, stupid me. Remove double stat() call.
713 2008-10-31 Stefan Kost <ensonic@users.sf.net>
716 Use g_unlink instead of unlink.
718 * gst/gststructure.c:
727 Formatting & whitespaces.
729 2008-10-31 Stefan Kost <ensonic@users.sf.net>
731 * plugins/elements/gstidentity.c:
732 Doc typo. Use return value of parent_class->event.
734 * plugins/elements/gsttypefindelement.c:
735 Chain up at the end for consistency.
737 2008-10-30 Stefan Kost <ensonic@users.sf.net>
740 * docs/gst/gstreamer-docs.sgml:
741 * docs/gst/gstreamer-sections.txt:
742 * docs/gst/running.xml:
743 * docs/libs/gstreamer-libs-docs.sgml:
744 Change to xinclude based build - its faster and easier to maintain.
746 2008-10-30 Stefan Kost <ensonic@users.sf.net>
748 * gst/gstregistrybinary.c:
749 * gst/gstregistryxml.c:
750 Use g_unlink() as none of these are directories.
752 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
754 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
757 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
759 * libs/gst/base/gstbasetransform.c:
760 (gst_base_transform_find_transform), (gst_base_transform_getrange):
761 If we have a fixate function, call it even if we already have fixed caps
762 because the subclass might add some caps. Makes audioconvert add a
763 default channel layout.
765 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
767 * libs/gst/base/gstbasetransform.c:
768 (gst_base_transform_prepare_output_buffer),
769 (gst_base_transform_getrange):
770 Clear the output buffer variable.
771 Cleanups to the error path in the getrange function.
774 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
776 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
777 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
778 Use gst_buffer_try_new_and_alloc() and handle errors instead of
779 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
782 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
784 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
785 Set the last_stop to a more meaningful position when configuring the
786 segment. ie. the start/stop of the segment or clipped against the
787 updated segment boundaries.
789 * tests/check/gst/gstsegment.c: (GST_START_TEST):
790 Add some unit tests for the last_stop.
792 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
794 * libs/gst/base/gstbytereader.c:
795 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
798 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
800 * docs/gst/gstreamer-sections.txt:
802 API: Move float endianness conversion macros from libgstfloatcast
803 to core as it's useful in general, even in core. Fixes bug #555196.
804 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
805 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
806 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
808 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
809 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
810 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
811 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
813 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
815 * docs/libs/gstreamer-libs-sections.txt:
816 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
817 (gst_byte_reader_peek_data):
818 * libs/gst/base/gstbytereader.h:
819 * win32/common/libgstbase.def:
820 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
821 to get a pointer to the data at the current position and have
824 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
827 Fix a bug in the output of the configure script summary
828 when --gst-disable-registry is supplied
830 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
832 * libs/gst/base/gstbitreader.c:
833 * libs/gst/base/gstbytereader.c:
834 Fix the names of 2 functions in the docs strings.
836 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
838 * libs/gst/base/gstbasetransform.c:
839 (gst_base_transform_prepare_output_buffer),
840 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
841 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
842 refcount problems as seen in banshee and maybe also in farsight2.
843 Remove atomic int now that we need to take the lock anyways.
845 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
847 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
848 (gst_base_sink_default_prepare_seek_segment),
849 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
850 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
851 (gst_base_sink_query):
852 Implement more seeking in pull mode.
853 Use pad convert functions to convert position to the requested format.
854 Fix position/duration reporting in pull mode.
855 Implement position and duration reporting in other formats than time.
857 * libs/gst/base/gstbasesink.h:
858 Add member to keep track of when the segment is playing.
860 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
862 * gst/gstpad.c: (gst_pad_configure_src):
863 When we use gst_pad_alloc_buffer() without wanting to set the caps we
864 also don't need to check if the caps are compatible because the caller
865 presumably is going to perform its own custom checks. Fixes some cases
866 where basetransform elements would error out when it was not needed.
868 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
870 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
873 * libs/gst/base/gstbasetransform.c:
874 (gst_base_transform_handle_buffer),
875 (gst_base_transform_reconfigure):
878 * win32/common/libgstbase.def:
881 2008-10-19 Stefan Kost <ensonic@users.sf.net>
883 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
884 Remove duplicated assignment and log a message in failure case.
886 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
888 Patch by: Dig Ge <dig.ge.cn at gmail com>
890 * tests/examples/helloworld/helloworld.c: (main):
891 Fix copy'n'paste bug in hello world example (#556900).
893 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
895 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
896 (gst_base_sink_query):
897 Query the total number of bytes when activating the pad in pull mode.
898 Implement duration query in pull mode by using the installed pad convert
899 function to convert from bytes to the requested format.
901 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
903 * docs/libs/gstreamer-libs-sections.txt:
904 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
905 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
906 (gst_base_sink_event), (gst_base_sink_perform_seek),
907 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
908 (gst_base_sink_send_event), (gst_base_sink_change_state):
909 * libs/gst/base/gstbasesink.h:
910 Add method to commit the state in subclasses.
911 Refactor the flush_start and flush_stop code because we need it for
912 flushing while seeking too.
913 Implement the beginnings of seeking in pull mode.
914 Use the segment last_stop field for the pulling offset.
915 Fix the pause method in pull mode.
916 Configure the segment to BYTES for pull mode.
917 API: GstBaseSink::gst_base_sink_do_preroll()
919 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
921 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
924 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
926 * gst/gstquark.c: (_priv_gst_quarks_initialize):
927 Fix printf format warning.
929 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
931 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
932 Fix flow aggregation of tee. Error out immediately for all flow returns
933 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
934 and return OK if at least one pad is linked.
936 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
937 and otherwise returned the flow return of the last pad, which is wrong.
939 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
940 (GST_START_TEST), (tee_suite):
941 Add unit tests for the flow aggregation.
943 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
945 * docs/design/part-TODO.txt:
946 Remove item from the todo list because it was fixed with the latency
947 state change rewrites.
949 * docs/design/part-seeking.txt:
950 * docs/design/part-segments.txt:
953 * gst/gstevent.c: (gst_event_new_new_segment_full),
954 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
955 (gst_event_parse_buffer_size), (gst_event_new_qos),
956 (gst_event_parse_qos), (gst_event_new_seek),
957 (gst_event_parse_seek), (gst_event_new_latency),
958 (gst_event_parse_latency):
959 Use quarks to construct and parse events.
961 * gst/gstquark.c: (_priv_gst_quarks_initialize):
963 Add some more quarks to the table.
964 Emit a warning when the quark tables are not in sync.
966 * tests/check/gst/gstbus.c: (GST_START_TEST):
969 2008-10-13 Stefan Kost <ensonic@users.sf.net>
971 * plugins/elements/Makefile.am:
972 * plugins/indexers/Makefile.am:
973 Don't install static libs for plugins. Fixes #550851 for core.
975 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
977 * gst/gstbus.c: (gst_bus_source_finalize),
978 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
979 (gst_bus_enable_sync_message_emission),
980 (gst_bus_disable_sync_message_emission),
981 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
982 Fix deadlock, g_source_get_id() cannot be called in finalize.
983 Keep track of the watch source by keeping a pointer to the source object
985 Use the bus lock to protect access to the pointer to the current
988 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
990 Base on Patch by: Olivier Crete <tester at tester dot ca>
992 * gst/gstbus.c: (gst_bus_source_finalize),
993 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
994 Only allow one bus watch to be set at a time. This is necessary
995 because the dispatcher pops the message from the bus and the second
996 watcher will then get NULL or the next message (and the first won't
997 get this next message then, etc). If more than one "watcher" is
998 required signal watches should be used. Fixes bug #526044.
1000 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
1002 * tools/gst-launch.c:
1003 Change the printing of the 'buffering...' output to avoid putting
1004 a \r in a translateable string (flagged by the TP).
1006 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1009 Clarify that the save_thyself() and restore_thyself() virtual
1010 functions of GstObject need to be overriden, not
1011 gst_object_(save|restore)_thyself() which is impossible.
1014 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1016 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1017 Revert a patch from 21 months ago that broke caps negotiation in pull
1018 mode. Basically, having a buffer pass over a pad will trigger the
1019 setcaps function when caps change, just like in push mode.
1021 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1023 * docs/design/part-negotiation.txt:
1024 Update the docs some more.
1026 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1027 If we pull a buffer with non-trivial caps, suggest those caps with the
1030 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1032 * docs/design/part-TODO.txt:
1033 Add another limitation of pad-blocking with segment seeks not pushing
1036 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
1038 * win32/common/libgstbase.def:
1039 * win32/common/libgstreamer.def:
1040 Add new symbols to the win32 defs files
1042 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1044 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1045 (gst_bin_handle_message_func):
1046 The message src can be NULL, don't try to print the object names in that
1049 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1050 Add some more debug info.
1052 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1055 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1058 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1060 * docs/design/part-negotiation.txt:
1063 * docs/libs/gstreamer-libs-sections.txt:
1064 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1065 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1066 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1067 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1068 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1069 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1070 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1071 (gst_base_sink_change_state):
1072 * libs/gst/base/gstbasesink.h:
1073 Add blocksize property and methods to control the amount of data
1075 Negotiate first before activating upstream in pull mode so that they can
1076 negotiate themselves.
1077 When we operate in pull mode, we only accept the caps that we
1079 Make the sink go ASYNC to PAUSED, like all other sinks.
1080 API: GstBaseSink::gst_base_sink_set_blocksize()
1081 API: GstBaseSink::gst_base_sink_get_blocksize()
1082 API: GstBaseSink::blocksize
1084 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1085 (gst_base_src_set_live), (gst_base_src_is_live),
1086 (gst_base_src_set_format), (gst_base_src_query_latency),
1087 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1088 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1089 (gst_base_src_set_property), (gst_base_src_get_property):
1090 * libs/gst/base/gstbasesrc.h:
1091 Add typechecking in public API functions.
1092 Add methods to control the blocksize in subclasses.
1093 API: GstBaseSrc::gst_base_src_set_blocksize()
1094 API: GstBaseSrc::gst_base_src_get_blocksize()
1096 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1098 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1099 (buffer_probe), (event_probe), (GST_START_TEST):
1100 We now see 3 events go through our pad, since basesink now sends
1101 upstream latency events.
1103 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1105 * gst/gstpipeline.c: (gst_pipeline_change_state):
1106 Release the object lock before trying to flush the bus.
1108 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1110 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1111 Forward LATENCY events upstreams so that elements know about the total
1112 pipeline latency. Fixes #555307.
1114 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1116 * plugins/elements/gstqueue.c:
1117 Allow through queries when we don't know how
1118 to adjust them (not TIME or BYTES), as otherwise it's
1119 not possible to query the current position in order
1120 to seek in other formats at all.
1122 2008-10-08 Andy Wingo <wingo@pobox.com>
1124 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1126 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1128 * gst/gstghostpad.c:
1129 * gst/gstghostpad.h:
1130 Unbreak -good build, private is a reserved c++ keyword.
1132 2008-10-08 Andy Wingo <wingo@pobox.com>
1134 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1135 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1136 removal: re-add GST_GHOST_PAD_CAST to the header.
1138 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1139 (GstGhostPadClass): Publically expose these structures so as to
1140 allow easy subclassing from C. Hide the member data behind a
1141 private opaque data pointer.
1143 * gst/gstghostpad.c: Adapt to store instance data in the type
1144 instance's private data region, not in the public struct.
1146 2008-10-08 Andy Wingo <wingo@pobox.com>
1148 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1149 template via g_object_get(), be sure to unref it.
1151 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1153 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1155 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1156 If we can't get a cache file don't try to save something to it.
1157 Dereferencing NULL pointers usually isn't a good idea.
1159 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1161 * tests/check/Makefile.am:
1162 * tests/check/gst/gstabi.c:
1163 * tests/check/gst/struct_sparc.h:
1164 * tests/check/libs/libsabi.c:
1165 * tests/check/libs/struct_sparc.h:
1166 Add Sparc ABI checks
1168 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1169 Cast signed integer to unsigned to avoid a compiler warning.
1171 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1173 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1174 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1175 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1176 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1177 (gst_byte_reader_peek_int24_be):
1178 Use new GST_READ_UINT24_(LE|BE) macros.
1180 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1182 * docs/gst/gstreamer-sections.txt:
1184 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1185 as it's too easy to break the ISO C strict aliasing rules with simple
1186 casts to the corresponding type and this would introduce hard to debug
1187 bugs. Fixes bug #545714.
1189 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1191 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1193 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1194 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1195 Add 'Since' bits to gtk-doc chunks for new API.
1197 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1199 * docs/gst/gstreamer-sections.txt:
1202 2008-10-06 Andy Wingo <wingo@pobox.com>
1204 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1205 that will be called on the malloc_data to free it. Basically a way
1206 to avoid subclassing when all you need is a different free
1207 function, i.e. free() instead of g_free().
1209 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1210 calling the free function.
1211 (gst_buffer_init): Initialize the free function to g_free.
1213 2008-10-06 Andy Wingo <wingo@pobox.com>
1215 * gst/gstghostpad.h:
1216 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1217 finishes the initialization of ghost pad. Useful for language
1218 bindings and subclassers of GstGhostPad. Fixes #539108.
1219 (gst_ghost_pad_new_full): Use the new constructor.
1221 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1223 Base on Patch by: Olivier Crete <tester at tester dot ca>
1225 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1226 (gst_bin_remove_func), (update_degree),
1227 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1228 Keep track of pads that are being linked/unlinked and resync the state
1231 * gst/gstpad.c: (gst_pad_get_direction),
1232 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1233 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1234 (gst_pad_link_prepare), (gst_pad_link),
1235 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1236 (gst_pad_check_pull_range), (gst_pad_get_range),
1237 (gst_pad_pull_range):
1238 Some code cleanups, use macros to check pad direction.
1239 Don't need to take the lock on the pad direction.
1240 Post structure change when pads are linked/unlinked.
1241 Change some checks into _return_if_fail().
1243 * tests/check/gst/gstbin.c:
1244 (test_link_structure_change_state_changed_sync_cb),
1245 (GST_START_TEST), (gst_bin_suite):
1246 Add testcase for pad link/unlinke resync during a state change.
1249 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1251 * docs/gst/gstreamer-sections.txt:
1252 * gst/gstmessage.c: (gst_message_new_structure_change),
1253 (gst_message_parse_structure_change):
1255 Implement STRUCTURE_CHANGED messages. These messages will be used to
1256 signal the parent bin of link/unlink operations that could require a
1257 resync when doing a state change. See ##510354.
1258 API: gst_message_new_structure_change()
1259 API: gst_message_parse_structure_change()
1261 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1265 Add some more quarks for new message. See #510354.
1267 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1269 * docs/libs/gstreamer-libs-docs.sgml:
1270 * docs/libs/gstreamer-libs-sections.txt:
1271 * libs/gst/base/Makefile.am:
1272 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1273 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1274 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1275 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1276 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1277 (gst_bit_reader_skip_to_byte):
1278 * libs/gst/base/gstbitreader.h:
1279 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1280 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1281 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1282 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1283 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1284 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1285 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1286 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1287 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1288 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1289 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1290 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1291 * libs/gst/base/gstbytereader.h:
1292 * tests/check/Makefile.am:
1293 * tests/check/libs/bitreader.c: (GST_START_TEST),
1294 (gst_bit_reader_suite):
1295 * tests/check/libs/bytereader.c: (GST_START_TEST),
1296 (gst_byte_reader_suite):
1297 API: Add bit reader and byte reader classes, including documentation
1298 and an extensive unit test suite. Fixes bug #553554.
1300 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1302 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1303 (gst_base_sink_query):
1304 Improve position reporting while flushing and other intermediate state
1305 changes. Fixes #553874.
1307 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1309 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1311 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1312 Original patch by : Simon Descaries
1313 Fix small refount leak in caps compatibility check.
1316 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1318 * docs/pwg/advanced-request.xml:
1319 Fix 0.8 api usage in example. Fixes #554561
1321 * docs/pwg/appendix-porting.xml:
1322 Change 0.9 to 0.10 here.
1324 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1326 * docs/manual/basics-data.xml:
1327 Change "event-event interaction" to "element-element interaction".
1328 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1331 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1334 Back to development -> 0.10.21.1
1336 === release 0.10.21 ===
1338 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1341 releasing 0.10.21, "Take These Things From Me"
1343 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1346 0.10.20.4 pre-release
1348 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1350 * libs/gst/base/gstbasetransform.c:
1351 * plugins/elements/gstcapsfilter.c:
1352 * tests/check/Makefile.am:
1353 * tests/check/elements/.cvsignore:
1354 * tests/check/elements/capsfilter.c:
1355 Fix assertion in basetransform when the subclass chooses not to
1356 allocate a buffer in prepare_buffer(), and make capsfilter error out
1357 cleanly if requested to apply caps that don't completely specify the
1358 buffer. Fixes #551509
1360 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1362 * libs/gst/base/gstbasetransform.c:
1363 (gst_base_transform_prepare_output_buffer):
1364 Take new caps ref because our old one might have been gone when the
1365 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1367 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1370 Do not probe availability of check unit test library when cross
1371 compiling, as test would not work anyway. Also cleanup verbose output
1372 of the check test. Fixes #551952.
1374 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1376 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1378 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1379 Avoid leaking the parent ref when we fail changing the state of the
1380 element using gst_element_sync_state_with_parent(). Fixes #551978.
1382 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1384 * docs/manual/intro-motivation.xml::
1385 Remove some bits that no longer apply, update others (#551642).
1387 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1390 0.10.20.2 pre-release
1398 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1400 * win32/common/config.h.in:
1401 Add GST_DATADIR, hard-code cpu to x86.
1403 * win32/common/libgstreamer.def:
1406 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1409 Fix Since: markers for new geo tags.
1411 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1414 Fix actual tag name define after renaming from altitude to elevation.
1416 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1418 * gst/gstpad.c: (add_unref_pad_to_list),
1419 (gst_pad_get_internal_links_default):
1420 Add fallback when calling the deprecated function on an element that
1421 implements the new internal_link handler.
1423 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1425 * docs/gst/gstreamer-sections.txt:
1428 Add new tags for geo location and clarify purpose of existing location
1431 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1433 Patch by: Olivier Crete <tester at tester dot ca>
1435 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1436 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1437 Use thread-safe internal links iterator. Fixes #549504.
1439 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1441 Based on patch by: Olivier Crete <tester at tester dot ca>
1443 * docs/gst/gstreamer-sections.txt:
1444 * win32/common/libgstreamer.def:
1445 * gst/gstpad.c: (gst_pad_init),
1446 (gst_pad_set_iterate_internal_links_function),
1447 (int_link_iter_data_free), (iterate_pad),
1448 (gst_pad_iterate_internal_links_default),
1449 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1451 Add threadsafe replacement functions for getting internal links of an
1452 element. Deprecate the old internal links functions.
1453 API:GstPad::gst_pad_set_iterate_internal_links_function()
1454 API:GstPad::GstPadIterIntLinkFunction
1455 API:GstPad::gst_pad_iterate_internal_links()
1456 API:GstPad::gst_pad_iterate_internal_links_default()
1458 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1459 (gst_proxy_pad_init):
1460 Implement threadsafe internal links.
1462 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1463 Unit test for internal links on tee. See #549504.
1465 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1467 * tests/check/Makefile.am:
1468 libs/transform1 test requires libs/test_transform.c
1470 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1472 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1473 Die evil deadlock, die !
1475 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1477 * gst/gstutils.c: (gst_element_get_compatible_pad):
1478 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1479 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1480 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1481 not steal the refcount of the given caps as stated.
1483 REVERT THIS COMMIT ONCE FIXED !
1484 REVERT THIS COMMIT ONCE FIXED !
1485 REVERT THIS COMMIT ONCE FIXED !
1486 REVERT THIS COMMIT ONCE FIXED !
1487 REVERT THIS COMMIT ONCE FIXED !
1488 REVERT THIS COMMIT ONCE FIXED !
1490 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1492 * gst/gstiterator.c:
1493 * gst/gstiterator.h:
1494 After 3 years it's about time to revise the documentation of the
1497 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1499 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1500 Make the internal links function less thread-unsafe and add some
1501 comments, dunno why.
1503 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1505 * gst/gst_private.h:
1506 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1507 build with --disable-gst-debug.
1509 2008-08-28 David Schleef <ds@schleef.org>
1511 * gst/gstpadtemplate.c: Revert last change, since it breaks
1512 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1513 but shouldn't be enabled until we've released fixed versions
1514 of -good and -ffmpeg.
1516 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1519 Put the gst_object_get_name() back in.
1521 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1523 * gst/gstpadtemplate.c:
1524 The old behaviour was that gst_pad_template_new() takes ownership of
1525 the caps. As we now call g_object_new() which calls g_object_set() and
1526 which copies the caps, we have to unref them to not leak them. Fixes
1527 make valgrid for me.
1529 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1532 Don't segfault on input like "tel:+1-123-555-1234".
1534 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1537 Due to popular request also include ObjectType in
1538 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1540 2008-08-26 David Schleef <ds@schleef.org>
1542 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1543 src_val must be positive, because that's not a requirement.
1544 This causes problems with converting negative granulepos
1546 * gst/gstquery.c: Same, gst_query_new_convert().
1548 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1550 * gst/gstclock.c: (gst_clock_add_observation):
1551 Add some more debugging to the clock slaving code.
1553 * win32/common/libgstbase.def:
1554 Add new basetransform method.
1556 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1558 * gst/gstbin.c: (gst_bin_element_set_state):
1559 Take the (recursive) state lock between getting the locked state of an
1560 element and changing the element state. This allows the application to
1561 lock an element's state and then change its state without races.
1563 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1565 * gst/gstbin.c: (gst_bin_element_set_state):
1566 When an element is in the locked state we still want to update the
1567 base_time of the element.
1569 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1571 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1572 Use the result from gst_pad_set_caps() instead of assuming the element
1573 always accepted the caps computed by the default negotiate function.
1575 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1577 * docs/libs/gstreamer-libs-sections.txt:
1578 * libs/gst/base/gstbasetransform.c:
1579 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1580 (gst_base_transform_chain), (gst_base_transform_suggest),
1581 (gst_base_transform_reconfigure):
1582 * libs/gst/base/gstbasetransform.h:
1583 Implement method for reconfiguring basetransform.
1584 API: GstBaseTransform::gst_base_transform_reconfigure()
1586 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1588 patch by: Murray Cumming <murrayc@murrayc.com>
1591 Mention that this is just like gst_buffer_merge() but with extra
1592 unreffing for C coders. Advise language bindings not to wrap it.
1595 Also fix file comment.
1597 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1599 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1601 * plugins/elements/gstfakesink.c:
1602 * plugins/elements/gstfakesrc.c:
1603 Call super::event() when not handling it. Fixes #544855.
1605 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1607 Patch by: Alessandro Decina <alessandro@nnva.org>
1608 * plugins/elements/gstfilesrc.c:
1609 Use 64 bit variants of stat functions on win32, to enable support
1610 of large files there.
1613 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1615 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1616 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1617 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1618 (gst_base_sink_get_position), (gst_base_sink_change_state):
1619 Improve position reporting in the flushing state.
1620 Also report the position when we are not yet prerolled but we
1621 have a newsegment event. Fixes #543444.
1622 Improve the pull-based negotiation code.
1624 * tests/check/elements/fakesink.c: (GST_START_TEST),
1626 Add testcase for position reporting while flushing in PAUSED and
1629 * tests/check/generic/sinks.c: (GST_START_TEST):
1630 Update unit-test, we can now query the position as soon as we receive a
1633 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1635 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1637 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1638 When the subclass event handler releases the PREROLL_LOCK, we could be
1639 in the flushing state and we have to ignore the event. Fixes #548394.
1641 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1643 * tools/gst-launch.1.in:
1644 Document GST_REGISTRY_UPDATE environment variable.
1646 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1648 * libs/gst/base/gstbasetransform.c:
1649 (gst_base_transform_prepare_output_buffer):
1650 If the element is configured in passthrough mode but the
1651 prepare_output_buffer gave us a new output buffer, discard that buffer
1652 and reuse the input buffer.
1654 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1656 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1658 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1659 (gst_tee_request_new_pad), (gst_tee_release_pad),
1660 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1661 * plugins/elements/gsttee.h:
1662 Protect pad_alloc with a new lock so that we can be sure that nothing is
1663 performing a pad_alloc when removing the pad. Fixes #547835.
1665 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1666 (buffer_alloc_harness_teardown), (app_thread_func),
1667 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1668 Added testcase for shutdown race.
1670 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1675 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1677 * libs/gst/base/gstbasetransform.c:
1678 (gst_base_transform_prepare_output_buffer),
1679 (gst_base_transform_buffer_alloc):
1680 Go over the buffer_alloc function again and make sure we always end up
1681 allocating a buffer.
1683 Avoid doing pad alloc when we have a pending suggestion because we
1684 cannot yet deal with changing caps in that case. Fixes #547728
1686 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1688 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1690 * docs/manual/advanced-clocks.xml:
1691 * docs/manual/clocks.png:
1692 * docs/manual/diagrams-clocks.svg:
1693 Add one more image showing different times together with a describing
1694 paragraph. Fixes #547729.
1696 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1698 * win32/common/libgstbase.def:
1701 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1703 * libs/gst/base/gstbasetransform.c:
1704 (gst_base_transform_transform_caps),
1705 (gst_base_transform_prepare_output_buffer),
1706 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1707 Don't overwrite the outsize when calculating the expected size of a new
1708 buffer because we still need it in case we cannot process the new
1710 When converting the size of the new buffer to an upstream size, actually
1711 use the expected size of the buffer, not some other random value.
1712 Use an atomic int to signal that a new upstream caps suggestion is
1714 When we can convert the current buffer to a new format, check if the
1715 buffer size is of the expected size and allocate a new buffer of the
1716 expected size when this is not the case. Fixes #546883.
1718 * tests/check/libs/transform1.c: (GST_START_TEST):
1719 remove ifdeffed code from the unit test.
1721 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1723 * pkgconfig/gstreamer-uninstalled.pc.in:
1724 * pkgconfig/gstreamer.pc.in:
1725 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1726 called gstcontroller-0.10.
1728 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1730 * gst/gstchildproxy.h:
1732 Remove double interface from doc-string.
1734 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1736 * libs/gst/base/gstbasesrc.c:
1737 * libs/gst/base/gstbasetransform.c:
1738 Fix headings in docs and gtk-doc warnings.
1740 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1742 * gst/gstregistrybinary.c:
1743 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1747 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1749 * libs/gst/base/gstbasetransform.c:
1750 (gst_base_transform_buffer_alloc):
1751 Fix a "may be used unitialized" warning.
1753 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1755 * docs/gst/gstreamer-sections.txt:
1757 Document preset-iface vmethods.
1759 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1761 * docs/manual/advanced-interfaces.xml:
1762 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1763 only used to discover devices.
1765 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1767 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1769 * gst/gst.c: (init_pre):
1770 Make sure gettext returns translations in UTF-8 encoding rather
1771 than in the current locale encoding (#546822).
1773 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1775 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1778 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1779 Improve unit test subset tests and add a testcase for the subset failure
1782 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1783 Improve subtraction unit test.
1785 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1787 * plugins/elements/gsttee.c:
1788 Unlock, instead of locking again.
1790 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1793 Clarify the docs a bit more.
1795 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1797 * tests/examples/metadata/read-metadata.c:
1798 Don't leak old taglist.
1800 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1802 Patch by: Olivier Crete <tester at tester dot ca>
1804 * gst/gststructure.c:
1805 (gst_structure_fixate_field_nearest_fraction):
1806 Avoid overflows in fixation code when dealing with MAXINT values, which
1807 v4l2src seems to do.
1810 * tests/check/gst/gststructure.c: (GST_START_TEST):
1811 Make a unit test to check the fix.
1813 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1815 * plugins/elements/gstcapsfilter.c: (copy_func),
1816 (gst_capsfilter_set_property):
1817 Use new caps suggestion feature of basetransform to request a caps
1818 negotiation upstream.
1820 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1822 * docs/libs/gstreamer-libs-sections.txt:
1824 API: GstBaseTransform::gst_base_transform_suggest()
1826 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1827 (gst_base_transform_init), (gst_base_transform_transform_caps),
1828 (gst_base_transform_transform_size),
1829 (gst_base_transform_configure_caps),
1830 (gst_base_transform_can_transform),
1831 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1832 (gst_base_transform_prepare_output_buffer),
1833 (gst_base_transform_buffer_alloc),
1834 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1835 (gst_base_transform_chain), (gst_base_transform_activate),
1836 (gst_base_transform_set_passthrough),
1837 (gst_base_transform_is_passthrough),
1838 (gst_base_transform_set_in_place),
1839 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1840 (gst_base_transform_set_qos_enabled),
1841 (gst_base_transform_is_qos_enabled),
1842 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1843 (gst_base_transform_reconfigure):
1844 * libs/gst/base/gstbasetransform.h:
1845 Rewrite of basetransform to perform negotiation outside of the
1846 buffer_alloc functions. Fixes #545853.
1848 * tests/check/libs/transform1.c: (GST_START_TEST),
1852 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1854 * tests/check/gst/gstpreset.c:
1855 Only run preset tests when $HOME is writable. Preliminary fix for
1858 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1860 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1861 (gst_bin_change_state_func), (bin_handle_async_done),
1862 (gst_bin_handle_message_func):
1863 Fix race for bins that simulate ASYNC state changes by inserting
1864 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1865 pending ASYNC messages even when the bin does not have ASYNC children.
1866 We note detect this behaviour because we will receive an ASYNC message
1867 that is originating from the bin itself.
1868 Fixes races with decodebin2 state changes.
1870 * tests/check/gst/gstbin.c: (GST_START_TEST):
1871 Add some more debug.
1873 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1875 * gst/gsttaglist.c: (_gst_tag_initialize):
1878 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1881 Argh. actually save the text before committing. Now adds
1882 gst_tag_merge_strings_with_comma() to gst_tag_register().
1884 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1888 Do as tim pointed out and actually register the new tag. Also improve
1889 te docs and use gst_tag_merge_strings_with_comma() method to allow
1890 retriving all keywords merged in one list.
1892 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1895 * docs/gst/gstreamer.types:
1896 Revert 'accidential' change of the configure option removal. We still
1897 need to generate the types file in configure --disable-load-save.
1899 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1901 * docs/gst/gstreamer-sections.txt:
1903 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1905 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1907 * gst/gstpadtemplate.c:
1908 (gst_pad_template_class_init), (gst_static_pad_template_get),
1909 (gst_pad_template_new), (gst_pad_template_pad_created),
1910 (gst_pad_template_set_property), (gst_pad_template_get_property):
1911 Add "name-template", "direction", "presence" and "caps" properties,
1912 so that gst_pad_template_new() is just a thin wrapper around
1913 g_object_new(), which is better for bindings. (Fixes: #539772)
1915 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1918 Be more liberal in what URIs we accept.
1919 Do not unescape bits of the URI for no apparent reason before passing to
1920 the element. Fixes #545352.
1922 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1924 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1927 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1929 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1932 * docs/gst/gstreamer-sections.txt:
1933 * docs/gst/gstreamer.types:
1934 * docs/gst/gstreamer.types.in:
1937 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1938 * gst/gstconfig.h.in:
1939 * gst/gstelement.c: (gst_element_get_index):
1940 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1941 (gst_registry_binary_load_feature),
1942 (gst_registry_binary_read_cache):
1943 * gst/gstregistryxml.c: (load_feature),
1944 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1945 * plugins/Makefile.am:
1947 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1948 (print_plugin_features), (print_element_features):
1949 * tools/gst-xmlinspect.c: (print_event_masks),
1950 (print_element_info):
1951 * win32/common/gstconfig.h:
1952 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1954 Disabling the indexers and URI handler code will only reduce the
1955 required amount of memory by a very small amount but on the other hand
1956 requires much more maintaince work. Apart from that many places of
1957 code are broken when disabling them.
1959 Disabling the enum types doesn't reduce the required amount of memory
1960 by more than a few bytes and makes it hard to fix bugs like #539772,
1961 i.e. use the enums as GObject properties.
1963 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1965 * docs/design/part-TODO.txt:
1966 Add some thoughts and problems with upstream renegotiation.
1968 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1970 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1971 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1972 Remove silly redundant debug.
1973 Add some more debug info.
1974 Clarify the docs regarding new caps received from pad_alloc.
1976 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1978 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1979 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1980 Make setting the caps more threadsafe.
1982 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1984 * docs/design/part-element-transform.txt:
1987 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1989 * plugins/elements/gstqueue.c: (gst_queue_init),
1990 (gst_queue_acceptcaps):
1991 Add and use a custom acceptcaps function instead of falling back to the
1992 potentially less optimized default implementation.
1994 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1996 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1997 Only sanity-check the buffer size if requested_caps == buffer_caps
1998 (ie. don't take pad caps into account, they're not relevant here)
2000 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2002 * plugins/elements/gsttee.c:
2003 * plugins/elements/gsttee.h:
2004 Reverting as not everything is clear yet. Needs some general design
2007 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2010 ChangeLog surgery for tee commit.
2012 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2014 * docs/gst/gstreamer-sections.txt:
2015 Cleanup section-file.
2017 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2019 * plugins/elements/gsttee.c:
2020 * plugins/elements/gsttee.h:
2021 Relay tag events in tee. Fixes parts of #474016.
2022 Downgrades 3 reoccurring debugs to log.
2024 2008-07-28 Michael Smith <msmith@songbirdnest.com>
2027 * libs/gst/Makefile.am:
2028 Build the net library if we have winsock2.
2030 2008-07-26 Stefan Kost <ensonic@users.sf.net>
2032 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2034 * docs/manual/advanced-threads.xml:
2035 * docs/manual/diagrams-pipelines.svg:
2036 * docs/manual/hello-world.png:
2037 * docs/manual/linked-elements.png:
2038 * docs/manual/mime-world.png:
2039 * docs/manual/queue.png:
2040 * docs/manual/thread-buffering.png:
2041 * docs/manual/thread-synchronizing.png:
2042 Replace one diagram with two separate ones and updates others.
2045 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
2048 Fix link in documentation.
2050 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2053 Fix confusing documentation.
2055 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2057 * libs/gst/base/gstbasesrc.h:
2058 revert the changes to the header file for the ABI.
2060 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2062 * libs/gst/base/gstbasesrc.c:
2063 * libs/gst/base/gstbasesrc.h:
2064 Don't cache the seekable status.
2067 2008-07-24 Rene Stadler <mail@renestadler.de>
2069 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2070 code to close the pipeline graph. This prevents the program from
2071 printing internal data flow errors.
2073 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2075 * docs/manual/basics-bus.xml:
2076 Correct typo. Fixes bug #544320.
2078 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2081 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2082 Add check (taken from -base) for winsock, adds WIN32_LIBS
2084 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2086 Define GST_EXPORTS when building libgstreamer (only used on win32)
2087 * gst/gst_private.h:
2089 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2090 for symbols that we need to export in both these files.
2092 Include gst_private.h higher up to avoid some compile problems on win32.
2094 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2099 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2102 Previous commit was wrong NULL caps does not exist
2103 and indicate an error, so also add a FIXME to
2104 gst_caps_is_equal where NULL caps are accepted.
2106 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2109 Allow passing of NULL to gst_caps_union
2111 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2113 * gst/gstghostpad.c:
2114 Add in doc that gst_ghost_pad_set_target can accept
2115 NULL to clear target
2117 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2120 * gst/gstregistry.c:
2121 GstRegistryPool doesn't exist; don't refer to it in docs.
2122 Don't refer to functions that don't exist in docs, it's
2125 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2128 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2130 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2132 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2134 * docs/pwg/building-testapp.xml:
2135 Don't use an undeclared variable in the example program.
2138 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2140 * gst/gstdebugutils.c:
2141 Squeeze ghost-pad links and remove <> from classname labels to save
2142 more horizontal space.
2144 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2146 * gst/gstdebugutils.c:
2147 Give request and sometimes pads a different shpe style. Condense the
2148 graphs a little more.
2150 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2153 Don't require flex and bison if the parser is disabled.
2155 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2157 * libs/gst/controller/gstinterpolationcontrolsource.c:
2158 (_list_find_sorted_custom):
2159 Don't use declarations after statements.
2161 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2163 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2164 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2165 of the the child-added / -removed signals as GstChildProxy
2166 only supports GstObjects.
2168 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2170 * gst/gstdebugutils.c:
2173 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2175 Patch by: Alessandro Decina <alessandro at nnva dot org>
2178 Fix "ignored return value" compiler warning with newer glibc.
2180 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2182 * gst/gstchildproxy.c:
2183 Fix copy&paste error in gst_child_proxy_removed() documentation.
2185 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2187 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2188 Print error debug message if plugin description fields that should
2191 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2192 Don't crash if the string to serialise is NULL (it really should
2193 not be, but apparently this used to work with the xml registry ...).
2195 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2197 * tools/gst-plot-timeline.py:
2198 Fix parsing of log messages
2200 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2202 * win32/common/libgstbase.def::
2203 Sort alphabetically so make check-exports doesn't barf.
2205 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2208 Use gst_format_get_name() to improve debug output.
2211 Remove #ifdef'ed code. Add TODO comment.
2214 Add debug output to ease spotting format != segment.format assertions.
2216 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2218 * tests/check/libs/gdp.c: (gst_dp_suite):
2219 Also enable the GDP unit test again on PPC now that the bug
2222 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2224 * libs/gst/dataprotocol/dataprotocol.c:
2225 Don't write to the same region of memory as a uint64 and uint16
2226 as this breaks strict aliasing rules and apparantly breaks on PPC
2227 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2229 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2231 * libs/gst/controller/gstinterpolationcontrolsource.c:
2232 Optimize list handling. Use own find function. Exploit that fact that
2233 the list is sorted. Also pass back the node before, so that we can
2234 insert quickly. Have a fast path for append.
2236 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2238 * docs/design/draft-framestep.txt:
2239 * docs/design/part-negotiation.txt:
2242 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2245 Show configuration sumary after configure run. Based on patch by
2246 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2248 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2250 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2252 * docs/manual/advanced-autoplugging.xml:
2253 * docs/manual/advanced-threads.xml:
2254 * docs/manual/basics-bins.xml:
2255 * docs/manual/basics-elements.xml:
2256 * docs/manual/basics-helloworld.xml:
2257 * docs/manual/basics-pads.xml:
2258 Add scale factor for pdf output.
2260 * docs/manual/intro-basics.xml:
2261 Switched sections "pads" and "bins" and added a pipeline diagram.
2263 * docs/manual/intro-gstreamer.xml:
2264 Added more info on gstreamer.
2266 * docs/manual/intro-motivation.xml:
2267 Commented out the whole section "current problem", which sounds
2268 historical and somehow osolete; it could be turned in a positive
2269 way and reused to improve the design principles.
2271 * docs/manual/intro-preface.xml:
2272 - Update URLs to library.gnome.org.
2273 - Do not mention GTK+ in preliminary reading (irrelevant).
2274 - Mention Plugin Writer's Manual and further reading only in the
2276 - Added a list of most relevant GObject/glib topics.
2278 * docs/manual/Makefile.am:
2279 * docs/manual/bin-element-ghost.fig:
2280 * docs/manual/bin-element-ghost.png:
2281 * docs/manual/bin-element-noghost.fig:
2282 * docs/manual/bin-element-noghost.png:
2283 * docs/manual/bin-element.fig:
2284 * docs/manual/bin-element.png:
2285 * docs/manual/filter-element-multi.fig:
2286 * docs/manual/filter-element-multi.png:
2287 * docs/manual/filter-element.fig:
2288 * docs/manual/filter-element.png:
2289 * docs/manual/gstreamer-overview.png:
2290 * docs/manual/hello-world.fig:
2291 * docs/manual/hello-world.png:
2292 * docs/manual/linked-elements.fig:
2293 * docs/manual/linked-elements.png:
2294 * docs/manual/mime-world.fig:
2295 * docs/manual/mime-world.png:
2296 * docs/manual/queue.fig:
2297 * docs/manual/queue.png:
2298 * docs/manual/simple-player.png:
2299 * docs/manual/sink-element.fig:
2300 * docs/manual/sink-element.png:
2301 * docs/manual/src-element.fig:
2302 * docs/manual/src-element.png:
2303 * docs/manual/diagrams-general.svg:
2304 * docs/manual/diagrams-pipelines.svg:
2305 Removed .fig, added .png counterpart.
2309 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2311 * plugins/elements/gstmultiqueue.c:
2312 * plugins/elements/gstmultiqueue.h:
2313 revert extra-size-buffers stuff, caused some race conditions
2314 and extra-size-buffers is not used anymore. Docs needs some updates
2316 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2318 * win32/common/config.h:
2319 * win32/common/gstenumtypes.c:
2320 * win32/common/gstenumtypes.h:
2321 * win32/common/gstversion.h:
2324 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2326 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2327 (GST_DEBUG_BIN_TO_DOT_FILE):
2328 Add missing Since' markers to gtk-doc blurbs.
2330 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2332 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2333 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2334 (set_caps_1), (set_caps_ct1), (transform_ct1),
2335 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2336 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2337 (transform_size_ct2), (buffer_alloc_ct2):
2338 Add some more tests with switching caps in buffer_alloc.
2340 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2342 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2343 (gst_test_trans_class_init), (result_sink_chain),
2344 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2345 (gst_test_trans_push), (gst_test_trans_pop):
2346 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2347 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2348 (set_caps_1), (set_caps_ct1), (transform_ct1),
2349 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2350 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2351 (transform_size_ct2), (buffer_alloc_ct2),
2352 (gst_basetransform_suite):
2353 More tests, prepare for tests with switching caps in buffer_alloc.
2355 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2357 * plugins/elements/gstmultiqueue.c:
2358 * plugins/elements/gstmultiqueue.h:
2359 Fix dead-lock in underrun_cb
2361 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2363 * docs/design/part-states.txt:
2364 Fix device open/close docs.
2366 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2369 Mention bugnumber for last commit.
2371 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2373 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2375 * docs/manual/manual.xml:
2376 - Reorganised the previous "introduction" bundle into Foreword,
2377 Introduction, and About GStreamer. The two first are <preface>
2378 docbook elements. The later is the first part of the book.
2379 - added intro-gstreamer.xml (content partially from
2381 - moved appendix-win32.xml into appendix-integration.xml
2383 * docs/manual/intro-preface.xml: gstreamer section moved...
2384 * docs/manual/intro-gstreamer.xml: ...here. new file.
2386 * docs/manual/appendix-win32.xml: removed file. Content moved...
2387 * docs/manual/appendix-integration.xml: ...here.
2389 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2390 * docs/manual/appendix-checklist.xml: ...here.
2394 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2396 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2398 * docs/manual/basics-helloworld.xml:
2399 * docs/manual/hello-world.fig:
2400 - Explicitely include glib.h.
2401 - Do not use global variables.
2402 - Use g_printerr() instead of g_print().
2403 - Minor formating/renaming to increase readibility.
2404 - Renamed new_pad() to on_pad_added()
2405 - Improved explenatory comments.
2406 - renamed ogg parser to ogg demuxer
2407 - Use "autoaudiosink" instead of "alsasink".
2410 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2413 Remove cvs conflict marker.
2415 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2418 Document that for plgin-docs we extraxt he short-desc from the element
2421 * docs/design/part-states.txt:
2422 Tell that devices should be closed in PAUSED -> READY.
2424 * docs/manual/README:
2425 Document how tests in the manual are handled.
2430 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2432 * gst/gstbin.c: (bin_query_latency_fold):
2433 Only care about latency min and max when the sink is actually a live
2436 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2438 * docs/design/part-block.txt:
2441 * docs/design/part-element-transform.txt:
2442 Add notes about why transform needs to know input/output sizes.
2443 Add some issues that need to be solved.
2444 Add some more use cases.
2446 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2447 (gst_test_trans_class_init), (result_sink_chain),
2448 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2449 (gst_test_trans_push), (gst_test_trans_pop):
2450 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2451 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2452 (set_caps_1), (set_caps_ct1), (transform_ct1),
2453 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2454 (gst_basetransform_suite):
2455 Add suport for different pad templates and buffer-alloc.
2456 Add more checks for caps and buffer-alloc.
2457 Add checks for proxy buffer alloc.
2458 Add unit test for copy transform.
2460 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2462 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2464 * docs/manual/appendix-integration.xml:
2465 * docs/manual/appendix-licensing.xml:
2466 * docs/manual/basics-elements.xml:
2467 * docs/manual/basics-helloworld.xml:
2468 * docs/manual/basics-pads.xml:
2469 * docs/manual/highlevel-components.xml:
2470 * docs/manual/highlevel-xml.xml:
2471 * docs/manual/intro-basics.xml:
2472 * docs/manual/intro-preface.xml:
2473 Typo and formatting fixes (#538594).
2475 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2477 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2478 Fix some memory leaks and uses of object instances that we don't
2481 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2483 * plugins/elements/gstmultiqueue.c:
2484 Add functionality to extra-size-buffers property.
2486 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2488 * plugins/elements/gstmultiqueue.c:
2489 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2490 activate the pads if they are added in STATE_NULL.
2492 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2494 * docs/libs/gstreamer-libs-sections.txt:
2496 * libs/gst/check/gstcheck.c:
2497 * libs/gst/check/gstcheck.h:
2498 API: gst_check_teardown_pad_by_name
2500 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2502 * libs/gst/check/gstcheck.c:
2503 * libs/gst/check/gstcheck.h:
2504 Also setup request pads and allow setup pads by name (#537812)
2505 API: gst_check_setup_src_pad_by_name
2506 API: gst_check_setup_sink_pad_by_name
2508 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2510 * tests/check/gst/gstbuffer.c:
2511 * tests/check/pipelines/parse-launch.c:
2512 Use HAVE_VALGRIND_H some more.
2514 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2516 * scripts/cvs-update.sh:
2517 Pass arguments to make.
2518 Run autoregen.sh if Makefile is not there.
2520 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2524 Don't assume that <valgrind/valgrind.h> exists just because
2525 the binary is there.
2527 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2529 * tests/check/Makefile.am:
2530 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2531 (gst_test_trans_class_init), (gst_test_trans_init),
2532 (gst_test_trans_set_data), (result_sink_chain),
2533 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2534 (gst_test_trans_pop):
2535 * tests/check/libs/transform1.c: (GST_START_TEST),
2536 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2537 Add some test basetransform element and the beginnings of various
2540 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2542 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2543 Increase code readability.
2544 Don't try to compare buffer offsets when ther are invalid.
2546 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2548 * docs/design/Makefile.am:
2549 Dist some more design docs.
2551 * docs/random/moving-plugins:
2552 Small addition: good plugins mustn't have functional code
2553 within assertion macros.
2555 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2557 * docs/design/draft-framestep.txt:
2558 Some ideas about a framestep API
2560 * docs/design/part-element-transform.txt:
2561 Start design and use cases for basetransform in order to get it
2564 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2567 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2568 be in UTF-8 encoding.
2570 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2573 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2575 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2577 * plugins/elements/gstcapsfilter.c:
2578 * plugins/elements/gstfakesink.c:
2579 * plugins/elements/gstfakesrc.c:
2580 * plugins/elements/gstfdsink.c:
2581 * plugins/elements/gstfdsrc.c:
2582 * plugins/elements/gstfilesink.c:
2583 * plugins/elements/gstfilesrc.c:
2584 * plugins/elements/gstidentity.c:
2585 * plugins/elements/gstmultiqueue.c:
2586 * plugins/elements/gstqueue.c:
2587 * plugins/elements/gsttee.c:
2588 * plugins/elements/gsttypefindelement.c:
2589 Remove short_description. Add basic docs for gsttypefindelement.
2590 Simplify markup for fakesrc/fdsrc.
2592 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2594 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2597 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2599 Patch by: Joel Larsson <tilljoel at gmail dot com>
2601 * docs/plugins/gstreamer-plugins.args:
2602 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2603 (gst_fd_src_init), (gst_fd_src_update_fd),
2604 (gst_fd_src_set_property), (gst_fd_src_get_property),
2605 (gst_fd_src_create):
2606 * plugins/elements/gstfdsrc.h:
2607 Add timeout property like udpsrc. Fixes #538628.
2608 Add some more docs and example pipelines.
2610 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2612 * docs/libs/gstreamer-libs-sections.txt:
2613 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2614 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2615 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2616 (gst_base_sink_do_sync):
2617 * libs/gst/base/gstbasesink.h:
2618 * win32/common/libgstbase.def:
2619 Add method to allow sinks to specify additional delay between the sync
2620 times and the actual rendering of the data.
2621 API: gst_base_sink_set_render_delay()
2622 API: gst_base_sink_get_render_delay()
2624 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2627 Bump version number back to dev -> 0.10.20.1
2629 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2631 * docs/gst/gstreamer-sections.txt:
2632 * gst/gsttaglist.c: (_gst_tag_initialize):
2634 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2637 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2639 * libs/gst/controller/gstcontroller.c:
2640 Revert one change, that make ret value possible uninitialized.
2642 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2644 * libs/gst/controller/gstcontroller.c:
2645 Use freeze/thaw notify to sync notify emission a bit (its also more
2646 efficient). Move debug output to LOG (is called a lot in a loop).
2647 Always unset g_values if the have been initialized.
2649 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2651 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2652 (gst_base_sink_wait_eos), (gst_base_sink_event):
2653 If we have not seen a buffer before EOS, use the segment values to
2654 report the current position instead of invalid positions.
2656 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2658 * docs/plugins/tmpl/.cvsignore:
2659 * tests/check/gst/.cvsignore:
2662 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2664 * libs/gst/controller/gstinterpolation.c:
2665 * libs/gst/controller/gstinterpolationcontrolsource.c:
2666 * tests/check/libs/controller.c:
2667 Rewrite handling of default values. Fix overflow with unsigned types
2668 in linear interpolation. Remove now obsolete _first_value() function.
2669 Add more tests. Fixes #538201.
2671 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2673 * libs/gst/base/gstbasetransform.c:
2674 (gst_base_transform_class_init), (gst_base_transform_init),
2675 (gst_base_transform_transform_caps),
2676 (gst_base_transform_prepare_output_buffer):
2678 When a buffer is writable, its metadata is also writable so we don't
2679 need to subbuffer (which then makes the buffer not-writable anymore).
2681 === release 0.10.20 ===
2683 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2686 releasing 0.10.20, "You Crazy Diamond"
2688 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2691 0.10.19.3 pre-release
2693 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2697 Rename DATADIR to GST_DATADIR to avoid build problems
2698 on win32. Patch By: David Schleef <ds@schleef.org>
2701 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2704 Explicitely link with -ldl if dladdr() is found there. Before it was
2705 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2706 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2708 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2710 * gst/gsterror.c: (_gst_stream_errors_init):
2711 Fix typo (spotted by Fabricio Godoy, #536723).
2713 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2716 0.10.19.2 pre-release
2718 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2720 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2721 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2723 Make sure we don't generate invalid QoS messages.
2725 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2727 * gst/gstevent.c: (gst_event_new_qos):
2728 Add some assert and docs for invalid input to the qos function.
2730 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2732 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2733 (gst_base_sink_get_position):
2734 The reported position must always be smaller than the last seen
2735 timestamps (or timestamp + duration for reverse).
2737 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2739 Patch by: Rob Bradford <rob at robster dot org dot uk>
2741 * gst/gstregistry.c: (gst_registry_scan_path_level):
2742 Don't recurse into .debug directories as some distros install
2743 the debugging symbols next to the plugins in .debug directories
2744 and dlopen() crashes on them sometimes. Fixes bug #508070.
2746 Add FIXME for 0.11 to not recurse into directories at all because
2747 it's very inconsistent to the behaviour of other PATH environment
2750 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2752 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2753 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2754 Fix position query range checks in reverse playback.
2756 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2760 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2761 clear of the reference to the resulting pad must be released later
2762 or not, resulting in possible leaks. Fixes bug #533865.
2764 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2766 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2768 * gst/gstelementfactory.c:
2769 Small doc fix. Fixes #535285.
2771 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2773 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2775 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2776 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2777 (gst_base_src_loop), (gst_base_src_set_flushing),
2778 (gst_base_src_change_state):
2779 Make sending an EOS event to the basesrc non-blocking even if the
2780 implementation does blocking waits in the create function. This is done
2781 by unlocking the create function when EOS is sent.
2784 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2786 * tools/gst-inspect.c: (print_element_properties_info):
2787 If possible print the element type of GValueArray properties.
2789 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2791 * gst/gstiterator.c:
2792 Remove an unused field from the private GstListIterator struct.
2794 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2796 * libs/gst/controller/gstcontroller.c:
2797 Add parameter guards.
2799 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2801 * tests/check/gst/gstpipeline.c:
2802 Revert test change and add comment why it should not work.
2804 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2806 * tests/check/gst/gstpipeline.c:
2807 Extending the test a little to verify that we also get the NULL state-
2810 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2812 * gst/gstpreset.c: (gst_preset_default_get_meta),
2813 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2814 (gst_preset_load_preset), (gst_preset_save_preset),
2815 (gst_preset_rename_preset), (gst_preset_delete_preset),
2816 (gst_preset_set_meta):
2817 Add Since: markers to docs blurbs.
2819 * win32/common/libgstreamer.def:
2820 Add recently-added API.
2822 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2824 Patch by: Stefan Kost <ensonic@users.sf.net>
2827 Add DATADIR for storing presets.
2829 * docs/gst/gstreamer-docs.sgml:
2830 * docs/gst/gstreamer-sections.txt:
2831 * docs/gst/gstreamer.types.in:
2832 Add GstPreset to docs.
2836 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2837 (preset_open_and_parse_header), (preset_parse_version),
2838 (preset_merge), (preset_get_keyfile),
2839 (gst_preset_default_get_preset_names),
2840 (gst_preset_default_get_property_names),
2841 (gst_preset_default_load_preset),
2842 (gst_preset_default_save_presets_file),
2843 (gst_preset_default_save_preset),
2844 (gst_preset_default_rename_preset),
2845 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2846 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2847 (gst_preset_default_reset), (gst_preset_get_preset_names),
2848 (gst_preset_get_property_names), (gst_preset_load_preset),
2849 (gst_preset_save_preset), (gst_preset_rename_preset),
2850 (gst_preset_delete_preset), (gst_preset_set_meta),
2851 (gst_preset_get_meta), (gst_preset_class_init),
2852 (gst_preset_base_init), (gst_preset_get_type):
2854 Add GstPreset to core. Fixes #396779
2856 * tests/check/Makefile.am:
2857 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2858 (gst_preset_test_set_property), (gst_preset_test_class_init),
2859 (gst_preset_test_base_init), (gst_preset_test_get_type),
2860 (gst_preset_test_plugin_init), (GST_START_TEST),
2861 (remove_preset_file), (test_setup), (test_teardown),
2863 Add GstPreset unit tests.
2865 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2867 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2868 The default event function on a sinkpad should return TRUE when
2869 there are no internal links but should collect the return values from
2870 the internal links otherwise.
2872 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2874 * plugins/elements/gsttypefindelement.c:
2875 (gst_type_find_element_src_event),
2876 (gst_type_find_element_handle_event):
2877 Use faster and safer _pad_push_event().
2879 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2881 * docs/gst/gstreamer-sections.txt:
2882 * gst/gstutils.c: (element_find_unlinked_pad),
2883 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2885 API: add gst_bin_find_unlinked_pad()
2886 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2888 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2894 Fixed a bunch of typos.
2896 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2899 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2900 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2901 (gst_parse_bin_from_description_full):
2903 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2905 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2907 * docs/pwg/advanced-tagging.xml:
2908 Small docs update, can't be bothered to rewrite the nonsensical
2911 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2914 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2916 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2918 * gst/parse/grammar.y:
2919 Remove unneeded casts.
2921 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2923 * gst/parse/grammar.y:
2924 * tests/check/pipelines/parse-launch.c:
2925 Get all missing elements from a parse launch string if possible
2926 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2928 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2930 * tests/check/Makefile.am:
2931 * tests/check/pipelines/parse-launch.c:
2932 Add some unit tests for the new gst_parse_launch*_full() API.
2933 (Exposes a previously-existing memory leak in the error code
2934 path, so adding to VALGRIND_TO_FIX for now).
2936 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2938 * docs/gst/gstreamer-sections.txt:
2939 * gst/gst.c: (init_post):
2940 * gst/gst_private.h: (_GstParseContext):
2941 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2942 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2943 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2944 (gst_parse_launch_full):
2945 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2946 (GstParseFlags), (GstParseContext):
2947 * gst/gstutils.c: (gst_parse_bin_from_description),
2948 (gst_parse_bin_from_description_full):
2950 * gst/parse/grammar.y:
2951 * gst/parse/types.h:
2952 * win32/common/libgstreamer.def:
2953 Add new gst_parse_*_full API (#528178):
2954 API: gst_parse_launch_full()
2955 API: gst_parse_launchv_full()
2956 API: gst_parse_bin_from_description_full()
2957 API: gst_parse_context_new()
2958 API: gst_parse_context_free()
2959 API: gst_parse_context_get_missing_elements()
2961 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2963 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2965 * docs/faq/gst-uninstalled:
2966 Also support ffmpeg in gst-uninstalled.
2968 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2971 After discussion on IRC use the binary registry as default
2972 but allow to disable it with --disable-binary-registry.
2974 * win32/common/libgstreamer.def:
2975 Add the two new symbols for the binary registry.
2977 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2979 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2980 * gst/gstutils.c: (gst_parse_bin_from_description):
2981 * gst/parse/grammar.y: (graph):
2982 More guards against bad input; typo fix; some minor clean-ups.
2984 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2986 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2988 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2989 If nothing else can be used, use the last buffer's start time as
2990 the segment's last stop. Fixes bug #534258.
2992 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2994 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2995 Move size sanity check to the right place: downstream may return
2996 a buffer with a smaller size if the buffer caps are different than
2997 the requested ones, as may happen when doing reverse negotiation.
2999 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3001 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3002 (gst_file_sink_render):
3003 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3004 (gst_file_src_start):
3005 Small cleanups. Add note adbout g_fopen() on windows and why we don't
3008 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3010 * gst/gstpad.c: (gst_pad_load_and_link):
3011 * gst/gstutils.c: (gst_element_link_pads),
3012 (gst_element_unlink_pads):
3013 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3014 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3015 (gst_check_teardown_sink_pad),
3016 (gst_check_element_push_buffer_list):
3017 * tests/check/elements/fakesink.c: (GST_START_TEST):
3018 * tests/check/elements/filesink.c:
3019 * tests/check/elements/filesrc.c: (GST_START_TEST):
3020 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3021 (mq_sinkpad_to_srcpad):
3022 * tests/check/elements/tee.c: (GST_START_TEST):
3023 * tests/check/generic/sinks.c: (GST_START_TEST):
3024 * tests/check/gst/gstbin.c: (GST_START_TEST):
3025 * tests/check/gst/gstevent.c: (GST_START_TEST):
3026 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3027 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3028 * tests/check/gst/gstquery.c: (GST_START_TEST):
3029 * tests/check/gst/gstutils.c: (GST_START_TEST):
3030 * tests/check/libs/basesrc.c: (GST_START_TEST):
3031 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3032 (gst_parse_test_element_change_state):
3033 Don't use gst_element_get_pad().
3035 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
3038 Fix installing plugin documentation when gtk-doc is disabled.
3040 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3042 * docs/manual/advanced-autoplugging.xml:
3043 * docs/manual/basics-helloworld.xml:
3044 * docs/manual/basics-pads.xml:
3045 * docs/manual/highlevel-components.xml:
3046 Avoid using a bad function in the example code.
3048 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3050 * gst/gstclock.c: (gst_clock_set_calibration):
3051 Fix debug of the new clock rate.
3053 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3055 * win32/common/libgstbase.def:
3056 Add gst_base_sink_wait_clock() to the exported symbols.
3058 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
3060 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3062 * libs/gst/base/gstbasetransform.c:
3063 (gst_base_transform_sink_event):
3064 Unref events that the GstBaseTransform::event vfunc didn't want to
3065 have forwarded by the base class. Closes a leak in identity.
3068 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3070 * docs/libs/gstreamer-libs-sections.txt:
3071 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3072 * libs/gst/base/gstbasesink.h:
3073 Expose a method that was previously used internally to synchronize
3074 against the clock because it can be useful for subclasses too.
3075 API: GstBaseSink::gst_base_sink_wait_clock()
3077 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3079 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3080 Add sanity check to make sure we don't get smaller buffers
3081 than requested (and fallback to normal buffer alloc if we do).
3083 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3085 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3086 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3087 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3088 Refactor adjusting the running_time with latency and offset into a
3090 When doing clipping, we still want to use the subclass get_times method,
3091 just in case the DURATION or TIMESTAMP are not set.
3093 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3095 * docs/gst/gstreamer-sections.txt:
3096 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3097 * gst/gsttypefind.h:
3098 * win32/common/libgstreamer.def:
3099 API: add gst_type_find_suggest_simple(), #533740.
3101 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3103 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3104 Use right error code when typefinding fails, so we can use
3105 the default (translated) error messages.
3107 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3109 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3110 (gst_base_src_start):
3111 When the subclass did not set caps on outgoing buffers, configure the
3112 caps we negotiated on the source pad.
3113 When the typefind helper does not find caps, error out properly instead
3114 of doing things with NULL caps.
3116 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3118 * gst/gsttypefind.h:
3119 Tabs to spaces, oh yes!
3121 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3123 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3124 Add David's and Benjamin's tests for array intersection to the
3125 unit test suite (#147931).
3127 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3130 Document that gst_event_new_tag() and gst_event_new_navigation()
3131 take ownership of the taglist/structure passed to them. (#533635).
3133 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3136 Don't descend into the plugins dir if plugin docs building
3140 Add a note about the new type:GTypeName syntax for the plugin
3141 documentation .types file.
3143 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3145 * gst/gstmessage.c: (gst_message_new_error),
3146 (gst_message_new_warning), (gst_message_new_info):
3148 Mark the debug string parameters as const. Fixes bug #533490.
3150 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3152 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3153 Sort buffer cache list by end offsets. This makes sure that we don't
3154 stop to search for a cached buffer that contains the requested data
3156 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3157 more efficient. Fixes bug #459862.
3159 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3162 Explain why we copy the list.
3164 * gst/gstpipeline.c:
3168 Add one debug-log statement to help tracing probelms with linking pads.
3170 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3172 * tests/check/gst/gstinfo.c:
3173 Add a test for removing the default log handler. Seems to fail under
3176 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3178 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3179 Release pad lock before calling out to avoid a possible deadlock.
3181 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3183 * gst/parse/grammar.y:
3184 Remove unneeded value unset.
3186 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3187 Add unit test for de/serialization of caps.
3189 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3191 * plugins/elements/gstfakesink.c:
3192 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3193 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3194 (gst_fake_src_class_init):
3195 Use custom marshalers that take GstMiniObject as first parameter.
3196 Using OBJECT as parameter while a GstMiniObject is given will lead
3197 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3199 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3201 * plugins/elements/gsttypefindelement.c:
3202 (gst_type_find_element_handle_event),
3203 (gst_type_find_element_send_cached_events),
3204 (gst_type_find_element_change_state):
3205 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3208 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3210 * plugins/elements/gsttypefindelement.c:
3211 (gst_type_find_handle_src_query), (stop_typefinding),
3212 (gst_type_find_element_handle_event),
3213 (gst_type_find_element_send_cached_events),
3214 (gst_type_find_element_change_state):
3215 Forward FLUSH_START events immediately and clean up instead of
3218 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3220 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3222 * libs/gst/base/gstbasetransform.c:
3223 (gst_base_transform_buffer_alloc):
3224 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3225 fall back to default negotiation in the chain function if the caps
3226 are different from what was requested. Fixes bug #526768.
3228 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3231 * tests/check/gst/gstsegment.c:
3232 No, let's not use g_slice_{dup|copy} here, since they only exist
3233 since GLib 2.14 and we still depend only on >= 2.12. Also add
3234 unit test for gst_segment_copy().
3236 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3238 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3239 Try to fix 'dereferencing type-punned pointer will break strict
3240 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3241 changed the default GType typedef from gulong to gsize at some point,
3242 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3243 g_once_* functions all take a gsize * though, so work around the type
3244 mismatch for C++ by doing everything in gsize and casting to GType
3247 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3249 * plugins/elements/gstmultiqueue.c:
3250 Add documentation for the signals to push our core plugin docs
3251 coverage back up to 100%.
3253 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3255 * gst/gstinfo.h (GST_FUNCTION):
3256 Reverted GST_FUNCTION to the old version as we don't want the
3257 full signature in C++ code. Also added support for MSVC.
3259 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3262 Intern the type name string, similar to what G_DEFINE_TYPE does.
3264 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3267 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3269 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3271 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3273 * libs/gst/base/gstbasetransform.c:
3274 (gst_base_transform_buffer_alloc):
3275 Don't passthrough buffer allocation too easily if the caps change.
3276 This breaks when working in passthrough mode and upstream changes
3277 it's caps. Fixes bug #526768.
3279 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3281 * gst/gstinfo.c (gst_debug_log_valist):
3282 Improved the __FILE__ part of debug output for MSVC.
3284 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3286 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3287 Declaration after statement fix for compilers like MSVC.
3289 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3291 * win32/common/config.h.in:
3292 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3293 use the real thing than having "???" unconditionally.
3295 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3297 * gst/gstinfo.h (GST_FUNCTION):
3298 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3300 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3302 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3305 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3306 (gst_base_sink_set_flushing):
3307 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3310 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3312 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3313 (gst_fake_src_init), (gst_fake_src_set_property),
3314 (gst_fake_src_get_property), (gst_fake_src_start):
3315 * plugins/elements/gstfakesrc.h:
3316 Added format property to control the format of the newsegment events.
3317 API: GstFakeSrc:format
3319 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3321 * win32/common/libgstreamer.def:
3322 Add gst_pad_has_name() to the exported symbols.
3324 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3326 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3327 * libs/gst/base/gstbasetransform.c:
3328 (gst_base_transform_prepare_output_buffer):
3329 Don't allow negative sizes when allocating new buffers.
3332 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3334 Patch by: Sjoerd Simons <sjoerd at luon net>
3336 * gst/gstbus.c: (gst_bus_source_dispatch):
3337 Don't print a warning if the queue is empty when we try to pop
3338 here. That could happen if another thread or callback set the
3339 bus to flushing between the source's check/prepare and the
3340 dispatch being called (#531538).
3342 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3344 * plugins/elements/gstmultiqueue.c:
3347 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3349 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3350 Add unit test for deserializing uint64s and check some really large
3351 numbers in the int64 test.
3353 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3355 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3356 (print_interfaces), (print_element_properties_info),
3357 (print_signal_info):
3358 Use "%s" as format string instead of printing strings directly.
3360 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3362 * gst/gstclock.c: (gst_clock_set_calibration):
3363 Make some checks actually useful.
3365 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3366 Remove some unused code. Unsigned integers tend to be >= 0.
3368 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3370 * gst/gstminiobject.c: (gst_value_get_mini_object):
3371 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3372 function was not in the unscheduled 0.10.19 release.
3374 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3376 * gst/gstregistry.c: (gst_registry_scan_path_level):
3377 Only print one log message per non-plugin file.
3379 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3381 * gst/gstinfo.c: (gst_debug_log_default):
3382 Fix alignment of debug log columns on 64-bit.
3384 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3386 * docs/libs/Makefile.am:
3387 * docs/libs/gstreamer-libs-sections.txt:
3388 Ignore private controller headers for docs.
3390 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3392 * libs/gst/controller/gstcontrollerprivate.h:
3393 * libs/gst/controller/gsthelper.c:
3394 * libs/gst/controller/gstinterpolation.c:
3395 * libs/gst/controller/gstinterpolationcontrolsource.c:
3396 (gst_interpolation_control_source_set_interpolation_mode):
3397 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3398 * libs/gst/controller/lib.c:
3399 Move some private declarations into private headers.
3401 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3403 * gst/gstdebugutils.c: (debug_dump_element_pad):
3404 Remove some code that is unused after Stefan's refactoring and uses
3405 uninitialized variables now, resulting in a compiler warning.
3407 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3409 * gst/gstregistry.c: (gst_registry_scan_path_level):
3410 Run g_str_has_suffix() only on the file name, not the
3413 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3415 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3416 Since we're not called only from the chain function any longer,
3417 we can't assume that there's always data in the queue, so move
3418 the is_full check to the beginning of the loop (otherwise we'd
3419 hit the assert when changing the limit properties while the
3420 queue is empty or not running yet).
3421 Also, only set a discont if items were actually removed from
3424 * tests/check/elements/queue.c: (test_leaky_downstream):
3425 Test case for the above.
3427 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3429 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3431 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3432 (gst_queue_chain), (queue_capacity_change),
3433 (gst_queue_set_property):
3434 When changing thr max capacity of a leaky queue, immediatly drop buffers
3435 instead of waiting for a push on the sinkpad. Fixes #530637.
3437 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3439 * gst/gstdebugutils.c:
3440 Refactor code and fix handling of ghostpads and their proxypads.
3442 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3444 * docs/gst/gstreamer-sections.txt:
3445 * gst/gstevent.c: (gst_event_has_name):
3447 * tests/check/gst/gstevent.c: (GST_START_TEST):
3448 Add method to conveniently check the name of a custom event with
3449 gst_event_has_name().
3450 Reformat the event docs so that related methods are put together instead
3451 of the default alphabetical sort.
3452 Update unit test with new method.
3453 API: GstEvent::gst_event_has_name()
3455 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3457 * libs/gst/check/Makefile.am:
3458 Don't add an explicit link to libgstreamer-0.10.la; it's already
3459 included in GST_OBJ_LIBS.
3461 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3464 Register GstClock type from a type-safe context. Fixes bug #530317.
3466 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3468 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3470 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3472 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3474 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3476 Use the GLib stuff to create a private structure.
3477 Add some locking around some dispose methods to make them a little
3478 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3480 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3482 * libs/gst/base/gstbasesink.h:
3483 * libs/gst/base/gstbasesrc.h:
3484 * libs/gst/base/gstbasetransform.h:
3485 * libs/gst/base/gstcollectpads.h:
3486 Fix doc typos and unify caps a bit.
3488 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3490 * tools/gst-launch.1.in:
3491 Forgot to also add the envvar docs here.
3493 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3495 * gst/gst.c: (init_post), (gst_deinit):
3496 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3497 (test_concurrent_create), (gst_pipeline_suite):
3498 Ref some more classes in gst_init() to work around thread-safety
3499 issues in pre-2.16 GLibs, and add basic unit test.
3501 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3503 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3504 (gst_base_sink_send_event):
3505 Rearrange the latency query code. We always want to do the upstream
3506 query, even if we are not live so that the upstream elements can get the
3507 latency results too. If we fail doing the query and we are live, we
3508 return TRUE afterwards.
3510 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3512 patch by: Jason Zhao <e3423c@motorola.com>
3514 * docs/gst/running.xml:
3516 Enable/disable scan_and_update_registry() based on commandline switch
3517 or environment variable. Fixes #520468.
3520 Fix typo in my previous commit.
3522 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3524 * gst/gstregistrybinary.c:
3525 Add a warning if we hit unhandled factories when saving.
3526 More debug logging detail, but move to LOG category.
3528 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3530 * gst/gstregistry.c:
3531 Tell the *truth* when improving the documentation.
3533 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3535 * gst/gstelementfactory.c: (gst_element_factory_make):
3536 Unref the factory after it was used the last time, not before.
3538 * gst/gstindexfactory.c: (gst_index_factory_make):
3539 Improve debugging a bit and don't leak a ref to the index factory with
3542 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3544 * gst/gstregistry.c:
3545 Improve the documentation.
3547 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3550 The glib macro seems to be borked. Use g_slice_copy directly and cast
3551 in the hope that this fixes the warning on 64bit.
3553 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3556 Document the new function. Use g_slice_dup() (no need for
3557 gst_segment_init()).
3559 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3561 * docs/gst/gstreamer-sections.txt:
3562 Move GParamSepc macros to standart section.
3565 Dn't document _get_type - its in private section in docs anyway and
3566 this doc-blob was incomplete.
3569 Fix wrong symbol names in docs.
3572 Add once doc sentence.
3574 * tests/check/gst/.cvsignore:
3577 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3579 * docs/gst/Makefile.am:
3580 And remove those libs here.
3582 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3584 * docs/libs/Makefile.am:
3585 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3587 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3589 Patch by: Olivier Crete <tester at tester dot ca>
3591 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3592 Add the min-threshold to the min latency if possible. Fixes #529148.
3594 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3596 * docs/gst/gstreamer.types.in:
3597 Stupid editor, I removed that line as it should go in yet.
3599 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3601 * docs/gst/gstreamer.types.in:
3602 * docs/libs/gstreamer-libs.types:
3603 Remove library types fro core docs and have them in libs docs.
3604 Reformat and cleanup. Add comment for miniobject types.
3606 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3608 * gst/gsturi.c: (gst_uri_get_protocol):
3609 Fix leak: g_strdown operates on the string in place, while
3610 g_ascii_strdown() returns a newly-allocated string.
3612 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3614 * tools/gst-inspect.c: (print_uri_handler_info),
3615 (print_element_info):
3616 Print the URI protocols and the URI type supported by the element.
3618 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3620 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3621 Use g_value_take_string() instead of the deprecated
3622 g_value_set_string_take_ownership().
3624 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3626 * gst/gstregistrybinary.c: (_gst_crc32):
3627 Return the old CRC instead of 0 if we give a NULL buffer
3628 or a buffer with a length of 0.
3630 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3632 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3633 (gst_uri_get_protocol), (gst_uri_has_protocol),
3634 (gst_uri_construct), (gst_uri_handler_set_uri):
3635 A valid URI scheme can also include '+', '-' and '.' additional
3636 to alphanumeric characters as per RFC 3986 Section 3.1.
3638 Handle URI schemes case insensitive in all places and convert
3639 to lower-case when constructing an URI or setting an URI with
3640 the GstURIHandler interface. Fixes bug #528868.
3641 All elements can still assume (as before) that they will
3642 get passed URIs with a lower-case URI scheme by the GstURIHandler
3645 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3647 * gst/gstcaps.c: (gst_static_caps_get):
3648 * gst/gstclock.c: (gst_clock_entry_new):
3649 Don't use g_atomic_set_int where it's not needed.
3651 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3653 * gst/gstvalue.c: (gst_value_deserialize_caps):
3654 * gst/parse/grammar.y:
3657 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3659 * gst/gstutils.c: (gst_atomic_int_set):
3660 Use g_atomic_int_set() here too instead of assignment +
3663 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3667 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3668 now that we depend on new enough GLib.
3670 * gst/gstcaps.c: (gst_static_caps_get):
3671 * gst/gstclock.c: (gst_clock_entry_new):
3672 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3673 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3674 (gst_debug_category_set_threshold):
3675 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3676 (gst_base_sink_set_qos_enabled):
3677 * libs/gst/net/gstnettimeprovider.c:
3678 (gst_net_time_provider_set_property):
3679 Use g_atomic_int_set() instead of gst_atomic_int_set().
3681 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3684 Also use G_GINT64_CONSTANT for the queries.
3686 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3689 Use G_GINT64_CONSTANT in varargs function.
3691 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3694 Initialize the registry magic with zeroes.
3696 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3698 * gst/gstregistrybinary.c: (_gst_crc32),
3699 (gst_registry_binary_write),
3700 (gst_registry_binary_initialize_magic),
3701 (gst_registry_binary_write_cache),
3702 (gst_registry_binary_check_magic),
3703 (gst_registry_binary_read_cache):
3704 * gst/gstregistrybinary.h:
3705 Add crc32 checksum to the binary registry file and check this before
3706 accepting a registry file.
3708 Also free the data list when writing to the registry file fails.
3710 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3712 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3713 (gst_registry_binary_load_feature),
3714 (gst_registry_binary_load_plugin):
3715 If an element supports the Uri interface, returns a valid pointer
3716 to the supported URI protocols but this pointer contains nothing
3717 don't try to save that as it will corrupt the registry.
3719 Don't unref the plugin if we added it to the registry already but
3720 fail to load a feature as gst_registry_add_plugin() takes ownership
3723 Improve debugging a bit.
3725 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3728 Clarify some tag item docs after discussion on irc.
3730 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3732 * docs/gst/gstreamer-docs.sgml:
3733 Remove commented out plugins (they have their own docs). Update
3736 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3738 * docs/gst/gstreamer-docs.sgml:
3739 * docs/gst/gstreamer-sections.txt:
3740 * gst/gstparamspecs.c:
3741 * gst/gstparamspecs.h:
3742 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3743 docs to own section.
3746 This now only documents GValue.
3748 * docs/libs/gstreamer-libs-sections.txt:
3749 * libs/gst/controller/gstcontroller.h:
3750 Remove GST_PARAM_CONTROLLABLE.
3752 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3755 Correct file path. Tell about how to use -overrides.txt.
3756 * docs/design/draft-tagreading.txt:
3757 Small design update.
3759 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3761 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3762 (gst_registry_binary_load_plugin):
3763 Fix a typo in a debug message and revert change from yesterday as
3764 gst_registry_add_plugin() will only fail if something is really wrong
3765 already and we can't survive it anyway.
3767 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3769 * gst/gst.c: (init_post), (gst_deinit):
3770 Pre-register GstGError GType from a thread-safe context
3771 (fixes #527967); unref enum type classes in deinit.
3773 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3775 Patch by: Rene Stadler <mail at renestadler de>
3777 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3778 Merging an empty list with another list in KEEP_ALL mode should
3779 yield an empty list as result and not the second list (#512578).
3781 * tests/check/gst/gsttagsetter.c:
3782 Add unit test for tag merge modes and the aforementioned bug.
3784 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3786 Patch by: Rene Stadler <mail at renestadler de>
3789 Fix description to match the order in the table (#512577).
3791 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3793 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3795 * libs/gst/net/gstnettimepacket.h:
3796 * docs/libs/gstreamer-libs-sections.txt:
3797 Define socklen_t as int if it's not defined yet. Fixes compilation
3798 with MSVC6 and other versions where socklen_t is not defined in
3799 the windows headers (#518022).
3801 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3803 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3804 If gst_registry_add_plugin() fails our reference to the plugin is
3805 invalid so don't try to use it anymore and instead error out.
3807 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3809 * tools/gst-xmlinspect.c: (print_element_info), (main):
3810 De-cruft a bit. If no argument is specified, print all elements in
3811 XML syntax rather than a freestyle list of elements like gst-inspect.
3812 Also, don't print XML header chunk unless we actually have something
3813 to print (ie. don't print it before an error message); print error
3814 message to stderr not stdout. Remove support for printing plugin
3815 info (it would just output something freestyle along the lines of
3816 gst-inspect so far), which fixes #514507. Also add license header.
3818 2008-04-11 Julien Moutte <julien@fluendo.com>
3821 * configure.ac: Merge platform specific defines, introduce a new
3822 define on OS X to remember that forking when updating registry is
3824 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3826 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3828 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3829 condition that leads to absolutely no plugins being registered on
3832 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3834 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3836 * gst/gstutils.c: (gst_pad_add_data_probe),
3837 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3838 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3839 (gst_pad_add_buffer_probe_full):
3841 * docs/gst/gstreamer-sections.txt:
3842 * win32/common/libgstreamer.def:
3843 Add gst_pad_add_*_probe_full() functions with a notify callback that
3844 lets the caller free the data it passes to the probe functions. This
3845 is useful for bindings such as gst-python or gstreamermm (#526814).
3846 API: gst_pad_add_data_probe_full
3847 API: gst_pad_add_buffer_probe_full
3848 API: gst_pad_add_event_probe_full
3850 * tests/check/gst/gstutils.c:
3851 Add minimal unit test to make sure freeing the data actually works
3854 * tests/benchmarks/.cvsignore:
3855 Random cvsignore addendum.
3857 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3859 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3860 (GST_DEBUG_BIN_TO_DOT_FILE):
3861 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3862 to it in the docs (since these are macros the types of the arguments
3863 won't be shown in the docs otherwise).
3865 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3868 Do not abort on out of memory for pad_alloc_buffer.
3870 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3872 * libs/gst/check/gstcheck.c:
3873 Remove blank line between symbol name ad parameters to fix gtkdoc
3876 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3878 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3880 * docs/gst/gstreamer-sections.txt:
3883 * win32/common/libgstreamer.def:
3884 Expose gst_segment_copy() to make things easier for the c++ bindings.
3886 API: gst_segment_copy()
3888 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3890 * gst/gst.c: (gst_init_get_option_group), (init_post):
3891 Fix const position; ref GType classes for enum types to work
3892 around thread-safety issues in GLib versions < 2.16.
3894 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3896 * docs/design/part-buffering.txt:
3897 Fix some typos and set the estimated total for push mode to -1.
3899 * gst/gstquery.c: (gst_query_new_buffering):
3900 Set buffering-left to 0 as we're not buffering by default.
3902 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3903 Implement BUFFERING query.
3905 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3907 Based on patch by: Milosz Derezynski <internalerror gmail com>
3909 * gst/gsterror.c: (_gst_stream_errors_init):
3911 Add two new error codes for encrypted content. Fixes #524659.
3912 API: GST_STREAM_ERROR_DECRYPT
3913 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3915 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3920 * win32/common/libgstreamer.def:
3923 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3925 * plugins/elements/gstidentity.c: (gst_identity_event),
3926 (gst_identity_start):
3927 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3928 event after processing some data. Fixes bug #526042.
3930 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3932 * docs/gst/gstreamer-sections.txt:
3933 * gst/gstquery.c: (gst_query_parse_latency),
3934 (gst_query_set_buffering_percent),
3935 (gst_query_parse_buffering_percent),
3936 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3938 Rename _avail -> _range
3939 API: gst_query_set_buffering_range
3940 API: gst_query_parse_buffering_range
3942 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3944 * docs/design/part-buffering.txt:
3947 * gst/gstquery.c: (gst_query_parse_latency),
3948 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3949 (gst_query_parse_buffering_percent):
3951 Add busy field and quark for the buffering query so that the app can
3952 only use the query to see if buffering is in progress.
3954 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3956 * docs/gst/gstreamer-sections.txt:
3957 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3958 (gst_message_parse_buffering_stats):
3960 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3961 (gst_query_parse_latency), (gst_query_new_buffering),
3962 (gst_query_set_buffering_percent),
3963 (gst_query_parse_buffering_percent),
3964 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3965 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3967 Reorder the message docs and headers for clarity.
3968 Add aditional buffering stats API for messages.
3969 Add buffering query.
3970 Convert some leftover queries to use GstQuark.
3971 API: gst_message_set_buffering_stats
3972 API: gst_message_parse_buffering_stats
3973 API: GST_QUERY_BUFFERING
3974 API: GstBufferingMode
3975 API: gst_query_new_buffering
3976 API: gst_query_set_buffering_percent
3977 API: gst_query_parse_buffering_percent
3978 API: gst_query_set_buffering_stats
3979 API: gst_query_parse_buffering_stats
3981 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3983 * gst/gstmessage.c: (gst_message_new_error),
3984 (gst_message_new_warning), (gst_message_new_info),
3985 (gst_message_new_buffering), (gst_message_new_state_changed),
3986 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3987 (gst_message_new_new_clock), (gst_message_new_segment_start),
3988 (gst_message_new_segment_done), (gst_message_new_duration),
3989 (gst_message_new_async_start), (gst_message_parse_buffering),
3990 (gst_message_parse_state_changed),
3991 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3992 (gst_message_parse_new_clock), (gst_message_parse_error),
3993 (gst_message_parse_warning), (gst_message_parse_info),
3994 (gst_message_parse_segment_start),
3995 (gst_message_parse_segment_done), (gst_message_parse_duration),
3996 (gst_message_parse_async_start):
3997 Use GstQuark for messages.
3999 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4001 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4003 Add some more quarks needed for messages and queries.
4005 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4007 * docs/design/part-buffering.txt:
4008 Remove the "none" buffering mode, STREAM is a good default.
4009 Move estimated-time to the avail query, that's when it will be needed.
4010 Other small typo fixes and updates.
4012 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4014 * gst/gstindex.c: (gst_index_resolver_get_type):
4015 Don't put descriptions into the nick field of a GEnumValue: it's not
4016 meant for that and some language bindings rely on the nick field to
4017 construct constants and the like. Fixes #526705.
4019 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4024 Merge other changes from 0.10.19 release branch.
4026 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
4028 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4031 Actually build dlls when cross-compiling with mingw32.
4034 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
4036 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4039 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4041 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
4043 * docs/design/draft-latency.txt:
4046 * docs/design/part-buffering.txt:
4047 Update design docs with more buffering ideas.
4049 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
4052 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4054 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4057 Revert part that belongs to the preset patch.
4059 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4062 Add qoutes to the define. Fixes # 525961.
4064 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4066 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4067 (gst_file_index_load), (gst_file_index_add_id),
4068 (gst_file_index_get_assoc_entry):
4069 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4070 (gst_mem_index_free_id), (gst_mem_index_add_id),
4071 (gst_mem_index_index_format):
4072 Use GSlice when possible.
4074 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4076 * libs/gst/controller/gstinterpolationcontrolsource.c:
4077 (gst_control_point_free),
4078 (gst_interpolation_control_source_set_internal):
4079 Use GSlice for allocating the control points.
4081 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4083 * plugins/elements/gsttypefindelement.c:
4084 (gst_type_find_element_class_init),
4085 (gst_type_find_element_set_property),
4086 (gst_type_find_element_get_property),
4087 (gst_type_find_element_activate):
4088 * plugins/elements/gsttypefindelement.h:
4090 Fix pad leak when peer query fails.
4091 We can still typefind when the peer returns -1.
4092 Add property to force caps and bypass typefinding. This will be used in
4096 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4101 * gst/glib-compat-private.h:
4102 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4103 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4104 Unconditionally use GSlice for allocation.
4106 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4107 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4108 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4109 (gst_structure_free):
4110 Use GSlice for allocation.
4112 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4114 * gst/parse/Makefile.am:
4115 * gst/parse/grammar.tab.pre.c:
4116 * gst/parse/grammar.tab.pre.h:
4117 * gst/parse/lex._gst_parse_yy.pre.c:
4118 Require a new enough flex and bison and remove the parser hacks to use
4119 a pre-regenerated version.
4121 2008-04-01 Julien Moutte <julien@fluendo.com>
4123 patch by: Jason Zhao <E3423C@motorola.com>
4125 * configure.ac: Add a configure switch to disable option parsing
4129 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4132 * gst/gstregistry.c:
4133 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4134 and handle this case.
4137 Add a comment here describing, why we stat each plugin and not try to
4140 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4142 * libs/gst/base/gstbasetransform.c:
4143 (gst_base_transform_prepare_output_buffer):
4144 Also unset the GAP flag on buffers if we're working inplace but
4145 the element is not GAP-aware.
4147 Mark a comment as FIXME 0.11.
4149 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4152 Fix type in log message and add one to ease seeing how long registry
4153 cache verification takes.
4155 * gst/gstregistry.c:
4156 Only test plugin filenames against G_MODULE_SUFFIX.
4158 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4160 * gst/gstdebugutils.c:
4161 Improve handling ghost/proxy pads.
4163 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4165 * docs/gst/gstreamer-sections.txt:
4168 Expose macro to docs and fix link to it.
4170 2008-03-27 Michael Smith <msmith@fluendo.com>
4172 * libs/gst/dataprotocol/dataprotocol.c:
4173 (gst_dp_packet_from_event_1_0):
4174 When calculating GDP body CRC, use the correct pointer.
4175 Fixes part of #522401.
4177 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4179 Patch by: Mark Nauwelaerts <manauw at skynet be>
4181 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4182 (gst_identity_init), (gst_identity_prepare_output_buffer):
4183 Identity is not always a passthrough element, it can modify the buffer
4184 timestamps when it has a datarate and operates in single-segment mode.
4185 We therefore make it an in_place filter with a custom buffer prepare
4186 function that conditionally makes the input buffer metadata writable
4187 when needed. Fixes #523985.
4189 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4191 Patch by: Mark Nauwelaerts <manauw at skynet be>
4194 * libs/gst/base/gstbasesrc.h:
4195 * libs/gst/base/gstbasetransform.c:
4196 * libs/gst/check/gstcheck.c:
4197 Small documentation fixes. Fixes #523978.
4199 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4201 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4202 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4203 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4205 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4207 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4208 (single_queue_underrun_cb):
4209 When trying to make room in the queue, bump the max allowed buffers
4210 bigger than the current amount of buffers in the queue. this fixes some
4211 nasty deadlocks in multiqueue when dynamically changing the limits of
4214 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4216 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4218 * gst/gstcaps.c: (gst_caps_set_simple),
4219 (gst_caps_set_simple_valist), (gst_caps_intersect):
4221 Constify the field gchar * params in set_simple and friends.
4224 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4226 * gst/gstvalue.c: (gst_value_transform_object_string):
4227 Transform a GstObject to a more meaningfull string that includes the
4228 object type in addition to its name.
4230 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4233 ChangeLog surgery to add bugnumber to commit.
4235 2008-03-23 Rene Stadler <mail@renestadler.de>
4237 * libs/gst/base/gstbasetransform.c:
4238 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4240 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4242 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4243 Rename constant everywhere and don't forget one occurence.
4245 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4247 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4248 Align memory to the pointer size even if the architecture allows
4249 unaligned memory access. Unaligned memory access usually comes with
4250 performance penality.
4252 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4254 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4255 (gst_registry_binary_check_magic),
4256 (gst_registry_binary_load_pad_template),
4257 (gst_registry_binary_load_feature),
4258 (gst_registry_binary_load_plugin):
4259 Align memory to the pointer size instead of always 32 bit. Fixes
4260 unaligned memory accesses on ia64 and friends.
4262 * gst/gstregistrybinary.h:
4263 Bump binary registry format version for this as it changes the
4264 format on those architectures that don't have unaligned access
4265 and 64 bit pointers.
4267 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4269 * docs/pwg/advanced-dparams.xml:
4270 * docs/pwg/building-props.xml:
4271 * docs/pwg/other-source.xml:
4272 * gst/glib-compat.h:
4273 * gst/gstbin.c: (gst_bin_class_init):
4274 * gst/gstclock.c: (gst_clock_class_init):
4275 * gst/gstindex.c: (gst_index_class_init):
4276 * gst/gstobject.c: (gst_object_class_init):
4277 * gst/gstpad.c: (gst_pad_class_init):
4278 * gst/gstpipeline.c: (gst_pipeline_class_init):
4279 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4280 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4281 * libs/gst/base/gstbasetransform.c:
4282 (gst_base_transform_class_init):
4283 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4284 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4285 (_gst_check_fault_handler_sighandler),
4286 (_gst_check_fault_handler_setup), (gst_check_init):
4287 * libs/gst/controller/gstcontroller.c:
4288 (_gst_controller_class_init):
4289 * libs/gst/controller/gstlfocontrolsource.c:
4290 (gst_lfo_control_source_class_init):
4291 * libs/gst/net/gstnetclientclock.c:
4292 (gst_net_client_clock_class_init):
4293 * libs/gst/net/gstnettimeprovider.c:
4294 (gst_net_time_provider_class_init):
4295 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4296 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4297 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4298 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4299 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4300 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4301 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4302 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4303 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4304 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4305 * plugins/elements/gsttee.c: (gst_tee_class_init):
4306 * plugins/elements/gsttypefindelement.c:
4307 (gst_type_find_element_class_init):
4308 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4309 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4310 use it everywhere for GParamSpecs that use static strings (i.e. all).
4311 This gives us less memory usage, fewer allocations and thus less
4312 memory defragmentation. Fixes bug #523806.
4314 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4316 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4317 (gst_param_spec_mini_object):
4318 * gst/gstminiobject.h:
4319 * win32/common/libgstreamer.def:
4320 * docs/gst/gstreamer-sections.txt:
4321 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4322 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4323 GstParamSpecMiniObject into a public header for this.
4325 This make GstMiniObject a bit more consistent with GObject and makes
4326 it possible to extend the param specs.
4328 gst_value_dup_mini_object is mainly useful for set_property methods.
4332 * tools/gst-inspect.c: (print_element_properties_info):
4333 Print something useful for GstMiniObject properties and not just
4336 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4338 * docs/gst/gstreamer-sections.txt:
4339 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4340 (gst_registry_binary_check_magic):
4341 * gst/gstregistrybinary.h:
4342 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4343 and add it to the (private part) of the docs to fix the build.
4345 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4347 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4348 (gst_registry_binary_check_magic),
4349 (gst_registry_binary_read_cache):
4350 * gst/gstregistrybinary.h:
4351 Don't use GST_MAJORMINOR for the binary registry version. Instead
4352 hardcode a value that must be changed whenever the format changes
4353 in an incompatible way.
4354 Also don't GST_ERROR when there is a version mismatch, just
4355 regenerate the registry silently.
4357 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4360 Back to development - 0.10.18.1
4362 === release 0.10.18 ===
4364 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4367 releasing 0.10.18, "So far away"
4369 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4372 * win32/common/config.h:
4373 0.10.17.4 pre-release
4375 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4377 Patch by: Ole André Vadla Ravnås
4378 <ole dot andre dot ravnas at tandberg dot com>
4380 * docs/gst/gstreamer-sections.txt:
4381 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4382 (gst_poll_update_winsock_event_mask),
4383 (gst_poll_prepare_winsock_active_sets),
4384 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4385 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4386 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4387 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4388 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4390 * win32/common/libgstreamer.def:
4391 Add new function gst_poll_fd_ignored() for improved Windows
4393 Various minor fixes and cleanups. See #520808.
4395 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4397 * gst/gstindex.c: (gst_index_entry_free):
4399 Don't free key strings which we don't own. Fixes crash in
4400 gst_index_entry_free() (#522741).
4402 * tests/check/Makefile.am:
4403 * tests/check/gst/.cvsignore:
4404 * tests/check/gst/gstindex.c: (test_index_entries),
4405 (gst_index_suite), (gst_index):
4406 Add unit test for the above.
4408 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4410 * win32/common/libgstreamer.def:
4411 Remove symbols that were removed recently. Fixes bug #521740.
4413 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4416 * win32/common/config.h:
4417 0.10.17.3 pre-release
4419 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4421 Patch by: Ole André Vadla Ravnås
4422 <ole dot andre dot ravnas at tandberg dot com>
4424 * docs/gst/gstreamer-sections.txt:
4425 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4426 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4427 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4428 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4429 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4430 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4431 (gst_poll_fd_can_write), (gst_poll_wait),
4432 (gst_poll_set_controllable), (gst_poll_restart),
4433 (gst_poll_set_flushing):
4435 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4436 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4437 (gst_net_time_provider_new):
4438 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4439 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4440 * tests/benchmarks/gstpollstress.c: (main):
4441 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4442 Remove GstPollMode from the API, it does not make sense to let the
4443 application control this.
4444 Add support for Win32.
4445 Fix the testsuite. Fixes #520671.
4447 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4449 Patch by: Ole André Vadla Ravnås
4450 <ole dot andre dot ravnas at tandberg dot com>
4452 * gst/gstregistrybinary.c:
4453 Include io.h for write() and close() when building with MSVC. Fixes
4456 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4459 * gst/gst_private.h:
4460 * gst/gstconfig.h.in:
4461 * gst/gstregistry.h:
4462 * gst/gstregistrybinary.c:
4463 * win32/common/gstconfig.h:
4464 Move registry backend API to private headers where we can. Add
4465 fixme-0.11 comments for the others. Add stubs for the xml backend when
4466 using the binary to ensure they functions exists (they should not be
4467 used though). Fixes #520756.
4469 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4472 * win32/common/config.h:
4475 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4477 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4478 (gst_registry_binary_read_cache):
4479 * gst/gstregistryxml.c: (gst_registry_save):
4480 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4481 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4482 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4483 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4484 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4487 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4489 * gst/gstminiobject.c:
4490 Import gst_private.h before any other header that might include other
4491 glib headers. This fixes the build on windows using native compilers.
4493 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4495 * win32/common/gstconfig.h:
4496 Add here too, just for completeness.
4498 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4501 * gst/gstconfig.h.in:
4502 * gst/gstregistry.h:
4503 Fix broken use of config.h-defined preprocessor directive in a public
4504 header file. Add a corresponding define to gstconfig.h, since we can't
4505 really remove those function declarations from the header file now
4506 (or can we? and why are they there in the first place?).
4508 2008-03-03 Andy Wingo <wingo@pobox.com>
4510 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4513 * gst/gststructure.c (gst_structure_from_string): Warn if
4514 structure_from_string didn't consume the whole string, but the
4515 caller did not provide an end pointer.
4517 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4519 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4521 * gst/gstregistryxml.c: (read_string), (load_feature):
4522 Strings allocated by libxml2 should be freed with xmlFree(), not
4523 with g_free(). Fixes issues on windows in certain contexts (#519698).
4525 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4527 * gst/gstinterface.c: (gst_element_implements_interface):
4528 Don't crash if the element supports the interface queried, but does
4529 not implement GstImplementsInterface. Fixes #519584.
4531 * tests/check/Makefile.am:
4532 * tests/check/gst/.cvsignore:
4533 * tests/check/gst/gstinterface.c:
4534 Add unit test for the above.
4536 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4538 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4541 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4543 * gst/gstsegment.c: (gst_segment_set_seek),
4544 (gst_segment_to_stream_time):
4545 Improve some comment.
4546 Update variables where it makes more sense.
4548 2008-02-29 Rene Stadler <mail@renestadler.de>
4550 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4551 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4552 URIHandlers implemented using language bindings.
4554 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4556 * gst/gstelementfactory.h:
4557 * tests/check/elements/fakesink.c:
4558 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4559 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4560 * tests/check/elements/filesink.c: (setup_filesink):
4561 * tests/check/elements/filesrc.c: (setup_filesrc):
4562 * tests/check/elements/identity.c: (setup_identity):
4563 * tests/check/elements/tee.c:
4564 * tests/check/generic/sinks.c:
4565 * tests/check/generic/states.c: (setup), (teardown):
4566 * tests/check/gst/gst.c:
4567 * tests/check/gst/gstabi.c:
4568 * tests/check/gst/gstbin.c:
4569 * tests/check/gst/gstbus.c: (pull_messages):
4570 * tests/check/gst/gstcaps.c:
4571 * tests/check/gst/gstelement.c:
4572 * tests/check/gst/gstevent.c:
4573 * tests/check/gst/gstghostpad.c:
4574 * tests/check/gst/gstiterator.c:
4575 * tests/check/gst/gstmessage.c:
4576 * tests/check/gst/gstminiobject.c: (my_foo_init):
4577 * tests/check/gst/gstobject.c: (thread_name_object),
4579 * tests/check/gst/gstpad.c:
4580 * tests/check/gst/gstplugin.c:
4581 * tests/check/gst/gstpoll.c:
4582 * tests/check/gst/gstquery.c:
4583 * tests/check/gst/gstsegment.c:
4584 * tests/check/gst/gststructure.c:
4585 * tests/check/gst/gstsystemclock.c:
4586 * tests/check/gst/gsttask.c:
4587 * tests/check/gst/gstutils.c:
4588 * tests/check/gst/gstvalue.c:
4589 * tests/check/gst/struct_hppa.h:
4590 * tests/check/gst/struct_i386.h:
4591 * tests/check/gst/struct_ppc32.h:
4592 * tests/check/gst/struct_ppc64.h:
4593 * tests/check/gst/struct_x86_64.h:
4594 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4595 * tests/check/libs/basesrc.c:
4596 * tests/check/libs/controller.c: (GST_START_TEST):
4597 * tests/check/libs/gdp.c:
4598 * tests/check/libs/gstnetclientclock.c:
4599 * tests/check/libs/gstnettimeprovider.c:
4600 * tests/check/libs/libsabi.c:
4601 * tests/check/libs/struct_hppa.h:
4602 * tests/check/libs/struct_i386.h:
4603 * tests/check/libs/struct_ppc32.h:
4604 * tests/check/libs/struct_ppc64.h:
4605 * tests/check/libs/struct_x86_64.h:
4606 * tests/check/pipelines/cleanup.c:
4607 * tests/check/pipelines/simple-launch-lines.c:
4608 * tests/check/pipelines/stress.c:
4609 And correct even more valid sparse warnings.
4611 * win32/common/libgstreamer.def:
4612 Add gst_poll_fd_init to the list of symbols.
4614 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4616 * gst/gstconfig.h.in:
4617 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4618 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4619 (gst_check_log_critical_func), (gst_check_drop_buffers),
4620 (gst_check_element_push_buffer_list):
4621 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4622 (gst_controller_get_type):
4623 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4624 (gst_object_get_controller), (gst_object_get_control_source):
4625 * libs/gst/controller/gstinterpolationcontrolsource.c:
4626 (gst_interpolation_control_source_new):
4627 * libs/gst/controller/gstlfocontrolsource.c:
4628 (gst_lfo_control_source_new):
4629 * libs/gst/dataprotocol/dataprotocol.c:
4630 (gst_dp_event_from_packet_0_2):
4631 * plugins/elements/gstfdsrc.c:
4632 * plugins/elements/gstmultiqueue.c:
4633 * plugins/elements/gsttee.c:
4634 * plugins/elements/gsttypefindelement.c:
4635 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4636 (gst_file_index_add_association):
4637 * plugins/indexers/gstmemindex.c:
4638 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4639 * tests/check/elements/queue.c: (setup_queue):
4640 * tests/check/gst/gstpipeline.c:
4641 * tests/check/libs/collectpads.c: (setup), (teardown),
4642 (gst_collect_pads_suite):
4643 * tests/examples/adapter/adapter_test.c:
4644 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4645 * tests/examples/xml/createxml.c:
4646 * tests/examples/xml/runxml.c:
4647 * tools/gst-inspect.c:
4649 Correct all relevant warnings found by the sparse semantic code
4650 analyzer. This include marking several symbols static, using
4651 NULL instead of 0 for pointers, not using variable sized arrays
4652 on the stack, moving variable declarations to the beginning of
4653 a block and using "foo (void)" instead of "foo ()" for declarations.
4655 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4657 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4658 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4659 Don't reset GstPollFDs, this is not necessary at all.
4661 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4662 (delayed_restart), (delayed_control):
4663 Use GST_POLL_FD_INIT.
4665 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4667 * gst/gstpoll.c: (gst_poll_fd_init):
4671 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4672 Use some more init macros.
4674 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4676 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4677 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4678 Use init macros and functions.
4680 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4682 * docs/gst/gstreamer-sections.txt:
4683 * gst/gstpoll.c: (gst_poll_fd_init):
4685 Add INIT macro and _init method for initializing the GstPollFD.
4687 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4689 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4690 (gst_fd_sink_update_fd):
4691 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4692 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4693 (delayed_restart), (delayed_control):
4694 Initialize some uninitialized variables as spotted by valgrind.
4696 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4698 * tests/benchmarks/Makefile.am:
4699 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4701 Add poll stress test.
4703 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4705 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4707 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4708 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4709 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4710 * plugins/elements/gstfdsink.h:
4711 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4712 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4713 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4714 (gst_fd_src_uri_set_uri):
4715 * plugins/elements/gstfdsrc.h:
4716 Port to GstPoll. See #505417.
4718 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4720 * win32/common/libgstreamer.def:
4721 Add new gst_poll_ symbols to win32 defs.
4723 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4725 * docs/libs/gstreamer-libs-sections.txt:
4726 * libs/gst/net/gstnetclientclock.c:
4727 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4728 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4729 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4730 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4731 * libs/gst/net/gstnetclientclock.h:
4732 * libs/gst/net/gstnettimeprovider.c:
4733 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4734 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4735 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4736 (gst_net_time_provider_new):
4737 * libs/gst/net/gstnettimeprovider.h:
4738 Use a private stuct to not break ABI.
4740 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4742 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4744 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4745 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4746 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4747 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4748 * libs/gst/net/gstnetclientclock.h:
4749 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4750 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4751 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4752 (gst_net_time_provider_new):
4753 * libs/gst/net/gstnettimeprovider.h:
4754 Massive code removal and cleanups because of GstPoll.
4757 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4760 Add checks for poll, ppoll and pselect.
4762 * docs/gst/gstreamer-docs.sgml:
4763 * docs/gst/gstreamer-sections.txt:
4764 Add docs for GstPoll.
4768 * gst/gstpoll.c: (find_index), (selectable_fds),
4769 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4770 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4771 (gst_poll_set_mode), (gst_poll_get_mode),
4772 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4773 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4774 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4775 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4776 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4777 (gst_poll_fd_can_write), (gst_poll_wait),
4778 (gst_poll_set_controllable), (gst_poll_restart),
4779 (gst_poll_set_flushing):
4781 Add generic poll abstraction. We ideally don't want to have this in core
4782 here but in glib intead...
4783 This code will be used in various network elements and ultimately for
4784 the nanosecond precision monotonic clock (that's why it's here in core).
4785 It'll allow us to implement cancelable socket operations for windows too.
4787 * tests/check/Makefile.am:
4788 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4789 (delayed_stop), (delayed_restart), (delayed_flush),
4790 (delayed_control), (gst_poll_suite):
4791 Add GstPoll unit test.
4793 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4796 Improve documentation of gst_filter_run(). Fixes #518627.
4798 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4801 Add a few lines about the new 'check-inspected-versions' target.
4803 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4805 * tests/check/gst/gstevent.c:
4806 Add qos to the event test. Rename tcase/tsuite; is not only about
4809 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4811 * plugins/elements/gstqueue.c:
4812 Ensure that buffer metadata is writeable, before modifying. Spotted by
4815 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4817 * plugins/elements/gstqueue.c:
4818 * plugins/elements/gstqueue.h:
4819 When dropping buffers in leaky modes, mark next buffers we sent as
4822 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4824 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4825 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4827 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4829 * plugins/elements/Makefile.am:
4830 * plugins/elements/gstbufferstore.c:
4831 * plugins/elements/gstbufferstore.h:
4832 * plugins/elements/gsttypefindelement.h:
4833 Remove GstBufferStore, no idea why we were still building it.
4834 It's not used anywhere and superseded by GstAdapter.
4836 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4837 (gst_file_src_create_mmap):
4838 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4839 Printf format fixes for 64-bit integers.
4841 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4844 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4845 We're not in 0.8 times anymore.
4847 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4849 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4850 (gst_check_element_push_buffer_list):
4851 * libs/gst/check/gstcheck.h:
4852 Make the declaration in the header for
4853 gst_check_element_push_buffer_list match the implementation.
4855 Fix up spelling, grammar and wording of the documentation in a few
4856 places, and add the Since keyword to new API functions.
4857 Use g_list_delete_link instead of g_list_remove in
4858 gst_check_drop_buffers, since it's immeasurably more efficient.
4860 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4861 Use new gst_check_drop_buffers function where appropriate.
4863 * win32/common/libgstbase.def:
4864 * win32/common/libgstreamer.def:
4865 Add new symbols gst_collect_pads_take_buffer,
4866 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4869 Changelog surgery to add API keyword to new gst_check API.
4871 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4873 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4874 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4875 Update pre-generated flex files with flex 2.3.34.
4877 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4879 * gst/gstminiobject.c:
4880 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4881 friendly to subclasses and not require them to know all internals
4882 of their parent class.
4884 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4886 * docs/libs/gstreamer-libs-sections.txt:
4887 * libs/gst/base/gstcollectpads.c:
4888 * libs/gst/base/gstcollectpads.h:
4889 Add sub-buffer functions to collectpads. Fixes #516187.
4890 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4892 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4895 Copy selected buffer-flags when creating subbuffers.
4898 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4900 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4901 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4902 * gst/gstmessage.c: (gst_message_class_init),
4903 (gst_message_finalize):
4904 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4905 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4906 (gst_mmap_buffer_finalize):
4907 Properly chain up finalize functions to the parent class.
4909 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4911 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4913 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4914 (gst_index_set_resolver_full):
4916 Add new function with option to dispose of user_data in resolver.
4917 Actually call the dispose function when finalizing the object and not
4918 just when changing the resolver/filter.
4919 API: GstIndex::gst_index_set_resolver_full()
4921 * docs/gst/gstreamer-sections.txt:
4922 Add new function to docs. Fixes #515469.
4924 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4926 * gst/gstindex.c: (gst_index_finalize):
4927 Chain up finalize to the parent class. Fixes leaking the GstObject
4928 name and other things.
4930 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4933 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4934 pre-releases or releases.
4936 * docs/faq/gst-uninstalled:
4939 * docs/random/release:
4940 Change one of the steps - we only upload core & base to Gnome FTP
4942 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4944 * gst/gstconfig.h.in:
4945 Add 'id' for example.
4949 * plugins/elements/gstfdsink.c:
4950 Link to signals. Doc and comment fixes.
4952 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4954 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4955 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4956 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4957 unused and unimplemented; finally, it is plugin features, not
4958 plugins, that have ranks.
4960 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4962 * gst/gstpluginfeature.h:
4963 Clarify GstRank range docs.
4965 2008-02-05 David Schleef <ds@schleef.org>
4967 * gst/gst.c: Add a separate gst_deinitialized that prevents
4968 gst_init() from being called after gst_deinit(). Fixes #509559
4970 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4972 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4973 (gst_bin_class_init):
4974 * gst/gstelement.c: (gst_element_base_class_init),
4975 (gst_element_class_add_pad_template):
4976 * gst/gstpadtemplate.c: (gst_pad_template_init):
4977 * gst/gstpipeline.c: (gst_pipeline_get_type),
4978 (gst_pipeline_base_init), (gst_pipeline_class_init):
4979 * libs/gst/base/gstbasesink.c:
4980 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4981 (gst_base_src_base_init), (gst_base_src_class_init):
4982 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4983 (gst_capsfilter_class_init):
4984 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4985 (gst_fake_sink_class_init):
4986 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4987 (gst_fake_src_class_init):
4988 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4989 (gst_fd_sink_class_init):
4990 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4991 (gst_fd_src_class_init):
4992 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4993 (gst_file_sink_class_init):
4994 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4995 (gst_file_src_class_init):
4996 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4997 (gst_identity_class_init):
4998 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4999 (gst_multi_queue_class_init):
5000 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5001 (gst_queue_class_init):
5002 * plugins/elements/gsttee.c: (gst_tee_base_init),
5003 (gst_tee_class_init):
5004 * plugins/elements/gsttypefindelement.c:
5005 (gst_type_find_element_base_init),
5006 (gst_type_find_element_class_init):
5007 * tests/check/gst/gstelement.c: (gst_element_suite):
5008 Revert previous changes to the behaviour of GstPadTemplates, etc
5009 and the possiblity to call them in class_init as it breaks too
5010 many elements. Reopens bug #491501.
5012 Should be applied again for 0.11, thus added a few FIXME 0.11 at
5015 2008-02-05 Stefan Kost <ensonic@users.sf.net>
5017 * tools/gst-launch.c:
5018 Dump one graph per pipeline state-change and state change name
5019 (if GST_DEBUG_DUMP_DOT_DIR is set).
5021 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
5024 * tests/check/gst/gstpad.c:
5025 Be sure that we have a new copy of the caps and not
5026 reffed caps from a template
5028 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5030 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5031 * gst/gstpipeline.c: (gst_pipeline_get_type),
5032 (gst_pipeline_class_init):
5033 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5034 (gst_base_sink_class_init):
5035 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5036 (gst_base_src_class_init):
5037 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5038 (gst_base_transform_class_init):
5039 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5040 (gst_collect_pads_class_init):
5041 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5042 * libs/gst/net/gstnettimeprovider.c:
5043 (gst_net_time_provider_base_init),
5044 (gst_net_time_provider_class_init):
5045 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5046 (gst_capsfilter_class_init):
5047 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5048 (gst_fake_sink_class_init):
5049 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5050 (gst_fake_src_class_init):
5051 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5052 (gst_fd_sink_class_init):
5053 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5054 (gst_fd_src_class_init):
5055 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5056 (gst_file_sink_class_init):
5057 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5058 (gst_file_src_class_init):
5059 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5060 (gst_identity_class_init):
5061 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5062 (gst_multi_queue_class_init):
5063 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5064 (gst_queue_class_init):
5065 * plugins/elements/gsttee.c: (gst_tee_base_init),
5066 (gst_tee_class_init):
5067 * plugins/elements/gsttypefindelement.c:
5068 (gst_type_find_element_base_init),
5069 (gst_type_find_element_class_init):
5070 Don't use base_init where not absolutely necessary. For example it's
5071 not necessary anymore for adding pad templates or setting element
5074 Leave empty base_init functions in several places as GST_BOILERPLATE
5075 still defines and uses them.
5077 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5079 * gst/gstelement.c: (gst_element_base_class_init),
5080 (gst_element_class_add_pad_template):
5081 * gst/gstpadtemplate.c:
5082 Make it possible (and recommended) to set element details and add
5083 pad templates in the class_init functions by copying the details/pad
5084 templates in GstElement's base_init.
5086 Also make it possible to replace existing pad templates by adding
5087 a new one with the same name. This was done in a hackish fashion
5088 in same elements before already.
5090 Don't reference pad templates that are added a second time. A
5091 new pad template has a refcount of one and is not floating anymore
5092 and to be owned by the element's class. Make this more explicit by
5093 mentioning it in the docs of gst_element_class_add_pad_template().
5095 These changes are backwards compatible. Fixes bug #491501.
5097 * tests/check/gst/gstelement.c:
5098 Add unit test for setting element details, adding pad templates and
5099 replacing them in a subclass.
5101 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5103 * tools/gst-inspect.c: (print_interfaces),
5104 (print_element_properties_info), (print_pad_info),
5105 (print_signal_info), (print_element_info):
5106 Fix a few memory leaks.
5108 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5110 * docs/libs/gstreamer-libs-sections.txt:
5111 * libs/gst/check/gstcheck.c:
5112 * libs/gst/check/gstcheck.h:
5113 Add more functions for unit testing: gst_check_drop_buffers,
5114 gst_check_caps_equal, gst_check_element_push_buffer_list,
5115 gst_check_element_push_buffer
5116 API: gst_check_drop_buffers
5117 API: gst_check_caps_equal
5118 API: gst_check_element_push_buffer_list
5119 API: gst_check_element_push_buffer
5121 2008-02-01 Julien Moutte <julien@fluendo.com>
5123 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5124 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5125 (gst_index_finalize), (gst_index_entry_free),
5126 (gst_index_add_association): Fix memory leaks.
5127 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5128 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5129 (gst_mem_index_free_format), (gst_mem_index_free_id),
5130 (gst_mem_index_finalize): Fix memory leaks.
5131 * win32/common/config.h: Updated to CVS HEAD.
5133 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5136 Some more details about how the plugin docs works.
5138 * docs/plugins/gstreamer-plugins-sections.txt:
5141 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5143 * gst/parse/grammar.tab.pre.c:
5144 * gst/parse/grammar.tab.pre.h:
5145 * gst/parse/grammar.y:
5146 * gst/parse/lex._gst_parse_yy.pre.c:
5147 Add delayed set-property. This allows to set properties on dynamicaly
5148 created objects (pads in videomxer). Fixes #509391.
5150 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5153 Check if caps are not NULL (fix bug #510194)
5155 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5157 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5158 (gst_base_sink_get_position_paused):
5159 Add fixme regarding EOS in pull mode.
5160 Fix position reporting in PAUSED for negative rates.
5162 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5164 * gst/gstminiobject.c: (gst_mini_object_replace):
5165 When replacing a miniobject, do a quick equality check first so that we
5166 can avoid a ref/unref pair.
5168 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5170 * docs/design/part-synchronisation.txt:
5173 * docs/plugins/Makefile.am:
5174 * docs/plugins/gstreamer-plugins-docs.sgml:
5175 * docs/plugins/gstreamer-plugins-sections.txt:
5176 * plugins/elements/gstmultiqueue.c:
5177 Add multiqueue to the docs.
5179 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5184 === release 0.10.17 ===
5186 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5189 releasing 0.10.17, "Due Negligence"
5191 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5194 Revert caps != NULL check temporarily for 0.10.17 release.
5196 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5199 Check if caps are not NULL (fix bug #510194)
5201 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5204 Fix compilation on systems that have posix timers but no
5207 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5210 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5212 * tools/gst-inspect.c:
5213 Revert previous commit in preparation for an impromptu 0.10.17 release
5215 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5217 * tools/gst-inspect.c: (print_interfaces),
5218 (print_element_properties_info), (print_pad_info),
5219 (print_signal_info), (print_element_info):
5220 Fix a few memory leaks.
5222 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5227 === release 0.10.16 ===
5229 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5232 releasing 0.10.16, "Special Dispensation"
5234 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5237 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5238 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5239 not fail when trying to crosscompile on OpenEmbedded (#511750).
5241 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5244 Use $(MAKE) instead of make to fix the build if GNU make is
5245 called different. Fixes bug #510747.
5247 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5249 * gst/gstplugin.c: (_gst_plugin_initialize):
5250 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5251 again, which I broke two commits ago when changing the API
5252 of gst_plugin_register_static(): the g_list_foreach() in
5253 _gst_plugin_register_static still assumed the old function
5254 signature and would therefore fail (re-fixes #510187).
5256 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5257 (_gst_plugin_register_static), (gst_plugin_register_static):
5258 Revert the (technically correct) change to call g_thread_init() from
5259 the pre-main() constructor. This will break programs which call
5260 g_thread_init() without an if (!g_thread_supported()) guard in their
5261 main function. We could just blame it on GLib or the application, but
5262 it's probably best to just avoid this altogether and simply not use
5263 any GLib functions here and use plain old malloc() with a simple
5264 array to store the plugins to register later when gst_init() is
5265 finally called (re-fixes #510187).
5267 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5268 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5269 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5270 (GST_START_TEST), (gst_plugin_suite):
5271 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5274 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5276 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5277 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5278 This makes gtk-doc complain, but results in slightly better
5279 compiler errors. The old _gst_plugin_register_static() is
5280 still guarded, so there'll be a compiler warning about that
5281 instead. Fixes #510187 too.
5283 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5285 * gst/gst.c: (init_post):
5286 * gst/gstplugin.c: (_gst_plugin_register_static),
5287 (gst_plugin_register_static), (_gst_plugin_initialize):
5288 * gst/gstplugin.h: (GstPluginFilter):
5289 Change API of gst_plugin_register_static() to not take
5290 a GstPluginDesc, but rather just take all the arguments
5291 in a GstPluginDesc directly. This is more intuitive and
5292 avoids certain mistakes when porting code from
5293 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5296 * tests/check/gst/gstplugin.c:
5297 Fix up for changed API.
5299 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5301 * docs/faq/legal.xml:
5302 Update FAQ, Totem actually has an exception these days.
5304 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5306 * win32/common/libgstreamer.def:
5307 Add new API declarations
5309 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5311 * gst/gstminiobject.c:
5312 Spelling fixes for the API docs.
5314 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5316 * libs/gst/base/gstbasetransform.c:
5317 Fix long property description for QoS.
5319 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5322 _gst_trace_on is already provided by gsttrace.h, no need to declare
5325 * docs/libs/gstreamer-libs-sections.txt:
5326 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5327 and remove strange tcase_add_test which is outputting a warning.
5329 * libs/gst/check/gstcheck.c:
5330 * libs/gst/check/gstcheck.h:
5331 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5332 and define them in gstcheck.c instead of having every .c file whcih
5333 includes gstcheck.h be defining its own copy and relying on symbol
5334 interposing to marry them all, which doesn't work on Solaris.
5336 * tests/check/elements/identity.c: (GST_START_TEST):
5337 Don't define 'buffers' locally, it comes from libgstcheck.
5339 * tests/check/generic/sinks.c: (send_buffer):
5340 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5342 * tests/check/gst/gststructure.c: (GST_START_TEST):
5343 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5344 * tests/check/gst/gstutils.c: (GST_START_TEST):
5345 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5346 Add a bunch of casts to make various constants fit the types
5347 they're being assigned to.
5349 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5351 * gst/gstchildproxy.c:
5352 Improve docs and add some ideas for making this more general-purpose.
5354 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5356 * gst/gst_private.h: (GST_CAT_TYPES):
5357 Add GST_CAT_TYPES, for consistency, and so that the other
5358 debug categories don't make fun of it. Spotted by Saur on IRC.
5360 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5362 * gst/parse/Makefile.am:
5363 Move types.h from EXTRA_DIST to noinst_HEADERS.
5365 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5368 Add -Wno-portability to the automake parameters to stop warnings
5369 about GNU make extensions being used. We require GNU make in almost
5370 every Makefile anyway.
5373 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5374 at the same time is required for per target flags.
5376 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5379 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5380 __GNUC__ is defined before using it.
5382 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5384 * docs/gst/gstreamer-sections.txt:
5385 * gst/gst.c: (init_post):
5386 * gst/gstplugin.c: (_gst_plugin_register_static),
5387 (gst_plugin_register_static), (_gst_plugin_initialize),
5388 (gst_plugin_register_func):
5389 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5390 API: add gst_plugin_register_static() and deprecate
5391 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5393 Also, in _gst_plugin_register_static(), make sure to call
5394 g_thread_init() before calling GLib functions such as
5395 g_list_append() if we're not initialised yet, since that
5396 may lead to random crashes with older GSlice/GLib versions.
5398 * tests/check/gst/gstplugin.c:
5399 Adapt unit test to above changes.
5401 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5403 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5404 * gst/gstcaps.c: (gst_caps_to_string):
5405 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5406 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5407 Yet another gratuitous GString micro-optimisation: add a (private)
5408 function that serialises a structure appending to an existing
5409 GString, so that when we serialise caps we don't need to alloc+free
5410 a throwaway GString for each structure (each of which also entailing
5411 multiple reallocs on the way); also use g_string_sized_new() in
5412 various places with an approximate string length to avoid reallocs
5413 within GString. See #500143.
5415 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5417 * gst/gststructure.c: (gst_structure_id_set_value):
5418 Always check UTF-8 conformance of structure strings and not only
5419 if the debugging system is enabled; reasoning: the behaviour of
5420 the actual code shouldn't really change depending on whether the
5421 debugging system is enabled or not (#508291).
5423 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5426 Remove old coverage target in favour of "make lcov".
5428 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5430 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5431 (gst_base_src_loop):
5432 The start segment for reverse playback goes from start to last_stop.
5434 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5436 Patch by: Peter Kjellerstedt <pkj axis com>
5439 Cast the results from the timeval/spec_to_time macros to what the
5440 docs say it casts to, a GstClockTime. fixes #508175.
5442 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5445 Update some comments.
5447 * tools/gst-inspect.c: (print_element_properties_info):
5448 Improve printing of flags.
5450 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5452 * libs/gst/base/gstbasetransform.c:
5453 (gst_base_transform_transform_size):
5454 Print element name with g_warning() if there's a problem
5457 2008-01-07 David Schleef <ds@schleef.org>
5459 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5461 * libs/gst/controller/gstcontroller.h:
5462 * libs/gst/controller/gstcontrolsource.h:
5463 * libs/gst/controller/gstinterpolationcontrolsource.h:
5464 * libs/gst/controller/gstlfocontrolsource.h:
5465 * libs/gst/dataprotocol/dataprotocol.h:
5466 Fix empty prototypes. Fixes bug #507957.
5468 2008-01-07 David Schleef <ds@schleef.org>
5470 * docs/faq/dependencies.xml: Fix typo.
5472 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5474 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5475 (gst_base_src_loop):
5476 Don't update the last_stop position in do_seek, that's the position we
5478 Read backwards when we have a negative rate.
5480 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5481 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5483 Add check for reverse reading.
5485 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5487 Patch by: Alexis Ballier <aballier at gentoo org>
5489 * tests/check/gst/gstabi.c:
5490 * tests/check/gst/struct_ppc64.h:
5491 * tests/check/libs/libsabi.c:
5492 * tests/check/libs/struct_ppc64.h:
5493 Decide which header to include based on the userland ABI target
5494 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5495 for 64-bit userland (#503590). Might need something similar for
5498 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5500 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5501 Log the reason why fopen fails in addition to the fact that it failed.
5503 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5505 * gst/parse/parse.l:
5506 Use "%option never-interactive" to prevent useless calls to isatty()
5507 on every input when parsing. Also use "%option noinput" to not define
5508 the static input/yyinput functions which we don't use anyway. This
5509 removes a compiler warning with gcc 4.3 and saves some bytes in the
5512 * gst/parse/lex._gst_parse_yy.pre.c:
5513 Regenerated for the above change.
5515 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5517 * gst/gstpad.c: (fixate_value):
5518 Don't crash when trying to fixate and empty list.
5521 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5523 * docs/faq/gst-uninstalled:
5524 Clarify the comments to make the usage of this script and what it
5525 does easier to understand.
5527 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5529 * tools/gst-plot-timeline.py:
5530 Add more options to gst-plot-timeline
5532 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5534 * docs/design/part-synchronisation.txt:
5535 Some more info on how the stream_time in GstBaseSink is done.
5537 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5539 * tests/check/generic/sinks.c: (gst_sinks_suite):
5540 Put back the tcase_set_timeout(), apparently it's needed after
5541 all; fix it up in a way that makes things work with valgrind too.
5543 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5545 * gst/gstdebugutils.c:
5546 Add warning when failed to open file for writing.
5548 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5550 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5552 * gst/gstvalue.c: (gst_value_is_fixed):
5553 Optimisation: bail out of the loop as early as possible (#500143).
5555 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5557 * gst/gstcaps.c: (gst_caps_to_string):
5558 * gst/gstinfo.c: (gst_debug_construct_term_color):
5559 * gst/gstparse.c: (gst_parse_launchv):
5560 * gst/gstutils.c: (gst_util_dump_mem):
5561 * gst/gstvalue.c: (gst_value_serialize_any_list),
5562 (gst_value_transform_any_list_string):
5563 Bunch of gratuitous nano-optimisations.
5565 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5567 * tests/check/generic/sinks.c: (async_done_func),
5568 (async_done_eos_func):
5569 Fix leak in unit test (bus sync handler must unref the message
5570 if it returns GST_BUS_DROP). Don't fiddle with the default test
5571 timeout, this is smaller than the current preconfigured value
5572 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5573 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5575 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5577 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5580 Check for stdio_ext.h for the filesink changes.
5582 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5583 (gst_file_sink_class_init), (gst_file_sink_init),
5584 (gst_file_sink_dispose), (gst_file_sink_set_property),
5585 (gst_file_sink_get_property), (gst_file_sink_open_file),
5586 (gst_file_sink_close_file):
5587 * plugins/elements/gstfilesink.h:
5588 Add two properties to control the buffering mode and size.
5589 API: GstFileSink::buffer-mode
5590 API: GstFileSink::buffer-size
5593 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5595 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5596 Add some more docs to explain why a FIXME was wrongly added.
5598 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5601 Fix typo in the gst_object_{ref,unref} documentation.
5603 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5605 * tests/check/libs/controller.c:
5606 * tests/check/libs/typefindhelper.c:
5607 * tests/check/pipelines/parse-launch.c:
5608 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5609 going to be deprecated (see #498924).
5611 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5613 * gst/gsttypefind.c: (gst_type_find_register):
5614 Make gst_type_find_register work for static typefind functions,
5615 ie. allow passing plugin == NULL (prerequisite for #498924).
5617 * gst/gstelementfactory.c: (gst_element_register):
5618 Small docs addition.
5620 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5622 * gst/gstpad.c: (gst_pad_dispose):
5623 Really unlink the peer pad instead of setting the peer pointer to NULL
5624 when we dispose the pad.
5625 This correctly calls the unlink functions and makes sure that the peer
5626 does not have a handle to invalid memory. See #504671.
5628 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5629 Add testsuite for above case.
5631 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5633 Patch by: Peter Kjellerstedt <pkj axis com>
5635 * libs/gst/check/gstcheck.h:
5636 Fix detection of the check version we're compiling against (would
5637 otherwise break if check goes v0.10.0); correctly report the
5638 name of the failed test again in case of failure, instead of
5639 just 'tf' (fixes #504499).
5641 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5643 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5644 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5645 (gst_base_src_loop), (gst_base_src_set_flushing),
5646 (gst_base_src_change_state):
5647 Allow sending EOS to the source to make it send out an EOS event from
5648 the streaming thread.
5649 Update docs and deprecate the old NULL/READY shutdown method.
5651 * tests/check/libs/basesrc.c: (GST_START_TEST),
5652 (gst_basesrc_suite):
5653 Add unit test for controlled shutdown.
5655 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5657 * docs/design/part-synchronisation.txt:
5660 * gst/gstsegment.c: (gst_segment_set_seek),
5661 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5662 (gst_segment_to_running_time):
5663 The seek format can be different from the segment format when the start
5664 and stop values are not to be updated, when we only do a rate change for
5667 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5668 (gst_segment_suite):
5669 Add a testcase for the rate-only seeks, checking that the format is
5670 correctly ignored when start and stop are not updated.
5672 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5674 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5676 * win32/vs8/grammar.vcproj:
5677 * win32/vs8/libgstcontroller.vcproj:
5678 * win32/vs8/libgstreamer.vcproj:
5679 Fix compilation with VS8 and include some missing files.
5681 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5684 Small docs addition: mention that the strings returned by
5685 gst_tag_list_get_string*() are in UTF-8 encoding.
5687 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5690 The check-exports stuff moved to common/win32.mak, so include that.
5692 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5694 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5695 (gst_base_src_perform_seek), (gst_base_src_get_range),
5696 (gst_base_src_set_playing), (gst_base_src_change_state):
5697 Make _wait_playing() not check any variables so that we can call this
5698 function from subclasses. Move the checks elsewhere similar to
5699 _wait_preroll() in basesink.
5701 Only signal the LIVE cond when we are going back to PLAYING.
5703 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5705 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5706 Use g_remove() and g_rename(). Check result of g_rename(), and
5707 don't leak the open file descriptor if we error out when writing.
5709 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5710 Must check the return value of close() after writing out the new
5711 registry file. Sometimes write problems such as out-of-diskspace
5712 are only reported when the file is closed and not already during
5713 the write. This may have caused partial/broken registry files in
5714 some rare circumstances. Should fix #503675.
5716 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5718 * docs/gst/.cvsignore:
5719 * docs/libs/.cvsignore:
5720 * docs/plugins/.cvsignore:
5721 Ignore files generated by new common/* modifications
5723 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5725 * win32/common/libgstbase.def:
5726 Yes, you can also have a <TAB> if you want.
5728 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5730 * win32/common/libgstbase.def:
5731 Add new basetransform API to win export file.
5733 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5735 * tests/check/gst/gstbin.c:
5736 Adjust the test to the refcount change two days ago.
5738 2007-12-14 David Schleef <ds@schleef.org>
5740 * docs/faq/getting.xml: Fix typo.
5742 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5744 * docs/libs/gstreamer-libs-sections.txt:
5745 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5746 (gst_base_transform_prepare_output_buffer),
5747 (gst_base_transform_set_gap_aware):
5748 * libs/gst/base/gstbasetransform.h:
5749 API: Add gst_base_transform_set_gap_aware() to control whether
5750 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5751 get buffers with this flag at all. Fixes #503231.
5753 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5755 * libs/gst/base/gstbasesink.c:
5756 * libs/gst/base/gstbasesrc.c:
5757 * libs/gst/base/gstbasetransform.c:
5758 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5759 thread. Correct log message in gstbasesrc.c.
5761 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5763 * gst/gstutils.c: (element_find_unconnected_pad):
5764 Fix possible compiler warning (#503417).
5766 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5768 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5769 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5771 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5773 * tools/gst-inspect.c: (print_element_properties_info):
5774 Add support for GstFraction properties.
5776 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5779 Add check-exports target and run it as part of 'make check'
5780 (see #499140 and #493983).
5782 * gst/gst_private.h:
5783 * gst/gstelementfactory.h:
5784 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5785 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5786 (_priv_gst_in_valgrind):
5787 * gst/gstinfo.h: (GstLogFunction):
5788 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5789 (gst_type_find_register):
5790 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5791 (gst_type_find_factory_get_type):
5792 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5793 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5794 (gst_controller_new_valist), (gst_controller_new_list),
5795 (_gst_controller_dispose), (_gst_controller_class_init):
5796 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5797 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5798 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5799 (gst_object_get_controller), (gst_object_set_controller),
5800 (gst_object_suggest_next_sync), (gst_object_sync_values),
5801 (gst_object_set_control_source), (gst_object_get_control_source),
5802 (gst_object_get_value_arrays), (gst_object_get_value_array),
5803 (gst_object_get_control_rate), (gst_object_set_control_rate):
5804 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5805 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5806 Make some functions that should be static static; rename some
5807 private symbols so that they don't get exported; add some FIXME
5808 comments so we can move accidentally exported functions into
5809 our private section in 0.11.
5811 * win32/common/libgstreamer.def:
5812 Add gst_utils_get_timestamp().
5814 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5818 Add more missing "Since:" tags to docs.
5820 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5823 Add mising "Since:" to docs.
5825 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5828 Include "glib-compat-private.h" to fix the build on system with
5829 glib < 2.10. Fixes #503131.
5831 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5835 Actually its not PURE as it gets the time from elsewhere.
5837 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5839 * docs/gst/gstreamer-sections.txt:
5841 * gst/gstdebugutils.c:
5845 * libs/gst/base/gstbasesink.c:
5846 * tools/gst-launch.c:
5847 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5848 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5849 Thanks Tim for spotting.
5850 API: gst_util_get_timestamp
5852 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5855 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5857 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5859 * gst/gststructure.c: (gst_structure_validate_name),
5860 (gst_structure_new_valist), (gst_structure_parse_value),
5861 (gst_structure_from_string):
5862 Don't crash in _from_string() if the structure name is not valid
5863 (fixes #501560). Allow structure names to start with a number
5864 again (this apparently broke the ubuntu codec installer).
5866 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5868 Add unit test for the crash; update unit tests for new behaviour.
5870 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5873 Clarify gst_element_get_compatible_pad() documentation.
5876 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5878 * tests/check/Makefile.am:
5879 Don't forget to dist {gst,libs}/struct_hppa.h.
5881 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5883 * libs/gst/base/gstbasesink.c:
5884 Use new API to get elapsed time.
5886 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5888 * gst/gstdebugutils.c:
5890 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5892 * tools/gst-launch.c:
5893 Use new API to get elapsed time.
5895 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5897 * docs/gst/gstreamer-sections.txt:
5899 * gst/gstdebugutils.c:
5901 Rename new API + ChangeLog surgery to remove old name from last entry..
5903 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5905 * docs/gst/gstreamer-sections.txt:
5907 * gst/gstdebugutils.c:
5909 Now hide the different clock stuff behind a macro.
5911 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5914 * gst/gstdebugutils.c:
5916 Apply the posix-timer check from #361155. Conditionally use the posix
5917 timer for logging. This gives better timestamp precission, less
5918 overhead and no ntp jitter.
5920 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5922 * gst/gstminiobject.c: (gst_mini_object_get_type),
5923 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5924 (gst_mini_object_finalize), (gst_mini_object_copy),
5925 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5926 (gst_mini_object_replace), (param_mini_object_validate),
5927 (gst_param_spec_mini_object_get_type):
5928 Some cleanup and checking against invalid function parameters.
5930 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5932 * docs/gst/gstreamer-sections.txt:
5934 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5935 (gst_systemclock_suite):
5936 Start merging in the easy bits of #361155, the monotonic clock patch.
5937 This one adds a few handy macros with docs and a testsuite.
5939 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5941 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5942 Be a bit smarter when seeking, like, don't try to do a seek when it's
5943 not needed. This avoids errors when the file is not seekable.
5946 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5948 * docs/gst/gstreamer-docs.sgml:
5949 * docs/gst/gstreamer-sections.txt:
5950 * docs/gst/gstreamer.types.in:
5955 * plugins/elements/gstqueue.c:
5956 Due to popular request remove preset interface again. :-(.
5958 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5960 * tools/gst-inspect.c:
5961 Print 'default value' for enums and flags too.
5963 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5965 * docs/random/ensonic/profiling.txt:
5969 Fix typo and give better log output.
5971 * gst/gstdebugutils.c:
5972 * gst/gstdebugutils.h:
5973 More ideas, make graphs a bit smaller and fix param name in macro.
5975 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5978 Try harder to use the return value from fgets().
5980 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5983 For theses two fgets we handle the error below.
5985 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5987 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5988 Only send upstream events upstream. Fixes #498746.
5990 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5992 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5994 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5995 (gst_identity_init), (gst_identity_transform_ip),
5996 (gst_identity_set_property), (gst_identity_get_property):
5997 * plugins/elements/gstidentity.h:
5998 Add property to disable handoff signal emission. Fixes #498694.
5999 API: GstIdentity::signal-handoffs
6001 2007-11-21 Julien Moutte <julien@fluendo.com>
6003 * docs/faq/gst-uninstalled: Yet another missing library for the
6004 uninstalled script (fft)
6006 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
6008 * docs/faq/developing.xml:
6009 Add a question about how to submit new translations.
6011 * docs/random/release:
6012 Update the contact email address for the Translation Project
6014 * plugins/elements/gstfdsrc.c:
6015 The parent_class for fdsrc is pushsrc, not GstElement.
6017 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6020 Plug a leak and fix saving.
6022 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
6024 * docs/gst/gstreamer-sections.txt:
6025 Add new gst_preset__get_property_names() function to the docs
6028 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6032 Change _get_preset_names API to return a strv with copies. Add
6033 _get_property_names to allow implementations to filter and provide
6034 good default implementation.
6036 2007-11-20 Julien MOUTTE <julien@moutte.net>
6038 * docs/faq/gst-uninstalled: Add another library to the uninstalled
6041 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6044 More cleanups, docs, and TODOs from comments that now slowly come in.
6046 2007-11-19 Julien MOUTTE <julien@moutte.net>
6048 * docs/faq/gst-uninstalled: Add new base libraries in the LD
6051 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6054 Fix bogus warning and make the property type specific code more
6057 2007-11-19 Julien MOUTTE <julien@moutte.net>
6059 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6062 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6064 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6065 (gst_bin_add_func), (gst_bin_remove_func),
6066 (gst_bin_change_state_func), (gst_bin_continue_func):
6067 Change email, cleanups add some more debug and comments.
6068 Also set bus and clock on new elements when the pipeline was in error.
6070 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6073 * gst/gstdebugutils.c:
6074 Fix build with --disable-gst-debug. Fixes #497859.
6075 Spotted by Sameer Naik.
6077 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6080 Little documentation improvment.
6083 More TODO cleanups. Remove c++ comments.
6085 * libs/gst/controller/gstcontroller.c:
6086 Add TODO and use quark from static string.
6088 * tests/check/gst/gstmessage.c:
6089 * tests/check/gst/gststructure.c:
6090 Use quark from static string.
6092 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6095 Add some comments and TODOs.
6098 Add padding for future changes.
6100 * plugins/elements/gstqueue.c:
6101 Implement the iface.
6103 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6105 * docs/gst/gstreamer-docs.sgml:
6106 * docs/gst/gstreamer-sections.txt:
6107 * docs/gst/gstreamer.types.in:
6112 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6114 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6120 === release 0.10.15 ===
6122 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6125 releasing 0.10.15, "October"
6127 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6129 * win32/vs6/libgstreamer.dsp:
6130 Convert line endings back to DOS.
6132 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6134 * docs/design/draft-tagreading.txt:
6135 * docs/random/ensonic/profiling.txt:
6136 Update fast tagreading draft and performance profiling ideas.
6138 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6140 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6141 Don't hold the object lock when unreffing a buffer because it could
6142 cause a deadlock when the finalize function wants to grab the object
6143 lock too. Fixes #495133.
6145 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6147 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6148 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6149 Also accumulate time correctly when doing reverse playback. Fixes
6151 When converting to running and stream time, use default values for
6152 start/stop/time/accum when comparing different formats. Fixes #494245.
6154 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6155 Do running/stream time in TIME format.
6157 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6158 (gst_segment_suite):
6159 2 new unit tests for segment accumulation.
6161 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6163 * gst/gst.c: (init_pre):
6164 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6165 (_gst_debug_bin_to_dot_file):
6166 Move getenv() back into gst_init, so everyone can live happily
6167 ever after. Make sure the symbol isn't exported though.
6169 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6171 Patch by: Sebastien Moutte <sebastien moutte net>
6173 * win32/common/gstenumtypes.c:
6174 * win32/common/gstenumtypes.h:
6177 * win32/vs6/libgstreamer.dsp:
6178 Update vs6 project files (#494343).
6180 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6182 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6183 (gst_base_src_perform_seek), (gst_base_src_default_event),
6184 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6185 (gst_base_src_activate_pull):
6186 Unify flushing code, remove some old unlock code that is no longer used.
6187 Take the streaming lock when seeking to avoid races. Fixes #492729.
6188 Added some more comments.
6190 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6192 * gst/gst.c: (_gst_disable_segtrap):
6193 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6194 we can use gst_segtrap_is_enabled() there now that we have that API.
6195 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6196 to do the getenv here (and export the variable).
6198 * gst/gstdebugutils.c: (debug_dump_element),
6199 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6200 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6202 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6203 (gst_debug_log_default):
6204 Rename _gst_info_start_time to priv_gst_info_start_time so it
6205 doesn't get exported (was never in any header).
6207 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6208 (gst_plugin_loading_mutex):
6209 Make static mutex gst_plugin_loading_mutex really static (was never
6210 in any header), and use gst_segtrap_is_enabled() instead of
6211 _gst_disable_segtrap.
6213 * gst/gsttrace.c: (_gst_trace_default):
6214 Make local _gst_trace_default static (was never in any header).
6216 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6218 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6220 * win32/common/libgstbase.def:
6221 * win32/common/libgstcontroller.def:
6222 * win32/common/libgstdataprotocol.def:
6223 * win32/common/libgstnet.def:
6224 * win32/common/libgstreamer.def:
6225 Add more missing symbols, remove some duplicates, and sort
6226 as the 'sort' command sorts it (partially fixes #493983).
6228 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6230 * gst/gstelement.c: (gst_element_set_state_func):
6231 Only change the state cookie if a different state was set on the
6232 element. See #492729.
6234 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6237 Remove unused and uninitialised type variables that were still
6238 exported for some reason (they were never in any header files
6241 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6243 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6244 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6245 (gst_base_sink_event), (gst_base_sink_get_position_last),
6246 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6247 (gst_base_sink_change_state):
6248 Don't try to report a 0 position when we don't know, return -1 and FALSE
6249 instead. This mostly happens when we are prerolling.
6250 Make sure we can report the right position before we post the ASYNC_DONE
6251 message so that a message handler can query position without races.
6253 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6254 (async_done_handoff), (async_done_func), (send_buffer),
6255 (async_done_eos_func), (gst_sinks_suite):
6256 Add two tests for the above.
6258 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6261 Update with new email address.
6263 * docs/design/part-TODO.txt:
6264 Add some more info about future pad-block and negotiation changes.
6266 * docs/design/part-buffering.txt:
6267 Add some ideas about buffering reporting.
6269 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6271 * tests/check/gst/gstobject.c:
6272 Disable silly racy test that always fails on this combination of CPU
6275 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6277 Patch by: Murray Cumming <murrayc@murrayc.com>
6280 Corrected the registration of the parent-set and parent-unset
6281 signals: The parameter is a GstObject, not a GObject (#493134).
6283 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6285 * gst/gst_private.h:
6294 Move declaration of private _gst_foo_initialize() functions into
6295 our private header file where they should have been all along.
6297 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6299 * docs/plugins/gstreamer-plugins-sections.txt:
6300 * gst/gstdebugutils.h:
6302 * plugins/elements/gstqueue.c:
6303 gtk-doc fixes; trailing-comma-in-enum fix.
6305 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6307 * gst/gst.c: (gst_deinit):
6308 Clean up on deinit (not the external ones though, doesn't seem to be
6309 needed for some reason).
6311 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6313 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6314 Remove __declspec(dllimport) for MSVC that was copied over into core
6315 from a plugin, obviously without ever having been tested (note the
6316 single underscore in _declspec in the initial commit), and that doesn't
6317 really make sense. See #492077.
6319 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6321 * gst/gst.c: (init_post):
6322 * gst/gstevent.c: (_gst_event_initialize):
6323 * gst/gstquery.c: (_gst_query_initialize):
6324 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6325 g_type_class_ref() other types as well, see #349410 and #64764.
6327 * gst/gstbuffer.c: (_gst_buffer_initialize):
6328 * gst/gstmessage.c: (_gst_message_initialize):
6329 Simplify existing g_type_class_ref().
6331 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6333 * gst/gstformat.c: (_gst_format_initialize):
6334 g_type_class_ref() our GstFormat type to make sure we avoid the
6335 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6336 bug #64764. Should fix intermittent tee unit test failures (#474823).
6338 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6340 * tests/check/elements/tee.c: (test_num_buffers):
6341 Simplify, simplify, simplify - or not. Rewrite unit test
6342 not to use gst_parse_launch(); allow N sub-streams. Increasing
6343 the number of sub-streams seems to reproduce #474823 more easily.
6345 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6347 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6350 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6351 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6352 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6353 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6354 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6355 so use _pipe() directly (#492077).
6357 * win32/common/dirent.c: (_treaddir):
6358 Add a couple of casts to make it build without warnings with MSVC.
6360 * win32/common/libgstreamer.def:
6361 Add some more symbols that need to be exported.
6363 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6365 * tests/examples/metadata/read-metadata.c: (message_loop):
6366 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6367 arriving in a second or third tag message are added to
6368 the tag list as well.
6370 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6372 * libs/gst/base/gstbasesrc.c:
6373 Its "Since:" and not "@Since:". And remove an superflous cast.
6375 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6377 * docs/libs/gstreamer-libs-sections.txt:
6378 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6379 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6380 (gst_base_sink_get_property), (gst_base_sink_render_object),
6381 (gst_base_sink_preroll_object),
6382 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6383 (gst_base_sink_change_state):
6384 * libs/gst/base/gstbasesink.h:
6385 Add a new last-buffer property that contains the last buffer used in
6386 basesink for preroll or rendering. useful for making snapshots.
6387 API: gst_base_sink_get_last_buffer()
6388 API: GstBaseSink::last-buffer
6390 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6392 * docs/gst/running.xml:
6394 * gst/gstdebugutils.c:
6395 * gst/gstdebugutils.h:
6396 * tools/gst-launch.c:
6397 Improve bin graph dumping, by using the envvar to specify a path.
6398 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6400 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6402 * plugins/elements/gsttypefindelement.c:
6403 (gst_type_find_element_handle_event),
6404 (gst_type_find_element_activate):
6405 Post special error message if we can't determine the type of a stream
6408 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6410 * docs/gst/running.xml:
6411 * gst/gstdebugutils.c:
6412 Document new env-var. Add one log-line after dumpng a graph.
6414 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6417 Ugly hack to put the (recently removed and non-portable, apparently)
6418 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6419 GNU ld, because without that 'make check' fails miserably on my debian
6420 stable box. Someone with more knowledge of linker intricacies and
6421 portability issues than me fix this properly please.
6423 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6425 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6426 Reset last seen position after flushing so that we don't report the old
6429 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6431 * gst/gstelementfactory.c: (gst_element_register):
6433 Patch from Alessandro Decina adding get_type_full and
6434 get_protocols_full private vfuncs to the URIHandler interface
6435 to allow bindings to support creating URI handlers.
6436 Partially fixes: #339279
6437 API: GstURIHandlerInterface::get_type_full
6438 API: GstURIHandlerInterface::get_protocols_full
6440 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6442 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6443 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6444 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6445 Make it so that pads are considered linked until a buffer is pushed
6446 and discovered otherwise. This avoids problems with decodebin2 hanging
6447 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6450 Make sure we lock the multiqueue when updating the max-size properties.
6452 Fix a crash on Solaris in a debug statement in get_request_pad that
6453 passes a NULL string to GST_DEBUG.
6455 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6456 (run_output_order_test):
6457 Fix the test to allow the first buffer on not-linked pads to come out
6458 of sequence while multiqueue discovers that they are not-linked.
6460 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6463 * libs/gst/check/Makefile.am:
6464 Use a custom export symbol regex for libgstcheck, as it needs
6465 to export symbols that don't match the standard GStreamer gst_*
6466 pattern, and --export-dynamic is not portable (only works on
6469 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6470 (gst_check_setup_sink_pad):
6471 Make sure to pass a message parameter to the fail_* macros.
6473 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6474 Fix some compiler warnings.
6476 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6478 * tests/check/gst/gststructure.c: (test_to_string):
6479 Disable test that checks that white spaces are not allowed
6480 in structure names or field names, since we need to
6481 support that for now for backwards compatibility reasons.
6483 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6485 * docs/gst/gstreamer-sections.txt:
6488 API: add GST_TAG_ARTIST_SORTNAME
6489 API: add GST_TAG_ALBUM_SORTNAME
6490 API: add GST_TAG_TITLE_SORTNAME
6491 Add tag variants for sorting (#414539).
6493 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6495 * gst/gststructure.c:
6496 Also allow white space for names so we don't break
6497 backwards compatibility.
6499 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6501 * docs/design/part-TODO.txt:
6502 * docs/design/part-segments.txt:
6503 * docs/design/part-streams.txt:
6506 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6508 * docs/gst/gstreamer-sections.txt:
6509 Fixed documentation from my previous commit (added new API add
6510 gst_value_set_structure(), add gst_value_get_structure() and
6511 GST_VALUE_HOLDS_STRUCTURE).
6513 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6515 * gst/gstdebugutils.c:
6516 Reflow code to fix uninitialized variable warning.
6518 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6520 * gst/gstcaps.c: (gst_caps_to_string),
6521 (gst_caps_from_string_inplace):
6522 * gst/gststructure.c: (gst_structure_get_abbrs),
6523 (gst_structure_to_string), (gst_structure_from_string):
6524 * gst/gstvalue.c: (gst_value_set_structure),
6525 (gst_value_get_structure), (gst_value_serialize_structure),
6526 (gst_value_deserialize_structure), (_gst_value_initialize):
6528 * tests/check/gst/gststructure.c: (GST_START_TEST),
6529 (gst_structure_suite):
6530 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6531 Added GstStructure to gst_value_table and its related functions.
6532 Changed gst_structure_to_string to print ';' in the end.
6533 Changed gst_caps_to_string to not print ';' beteween its
6534 fields (structures) anymore and remove the lastes ';' from latest
6535 structure. Now it is possible to have nested structures.
6536 In addition, backward compatibilty is assured by accepting '\0' as
6537 end delimiter. Fixes: #487969.
6538 API: add gst_value_set_structure()
6539 API: add gst_value_get_structure()
6540 API: add GST_VALUE_HOLDS_STRUCTURE
6542 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6545 When no GSource callback has been set up, tell developer
6546 to use a function that actually exists.
6548 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6550 * docs/gst/gstreamer-sections.txt:
6554 * gst/gstdebugutils.c:
6555 * gst/gstdebugutils.h:
6558 * tools/gst-launch.c:
6559 Allow dumping pipelines as dot graphs. Fixes #456573.
6561 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6563 * gst/gststructure.c:
6564 Allow '+' as well, it can be part of media or mime types
6565 such as image/svg+xml.
6567 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6569 * docs/gst/gstreamer-sections.txt:
6572 API: add gst_bus_pop_filtered
6573 API: add gst_bus_timed_pop_filtered
6574 Two new functions for waiting for specific message types on the
6575 bus for a specified amount of time without iterating any main
6576 loops or main contexts.
6578 * tests/check/gst/gstbus.c:
6579 Some tests for the new functions.
6581 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6583 * docs/libs/gstreamer-libs-sections.txt:
6584 Make gtk-doc ignore stuff it should ignore.
6586 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6588 * libs/gst/check/gstcheck.c:
6589 * libs/gst/check/gstcheck.h:
6590 Allow runtime selection of unit tests to run via the GST_CHECKS
6591 environment variable (test case function names, comma-separated).
6593 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6595 * gst/gststructure.c:
6596 * tests/check/gst/gststructure.c:
6597 Revert serialisation change and constrain structure-names after
6598 consensus on irc. Update api documentation to reflect the change.
6600 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6602 * gst/gststructure.c:
6603 Improve serialization and fix tests.
6605 * tests/check/gst/gststructure.c:
6606 Add another test that covers why I actually did the previous structure
6609 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6611 * tools/gst-inspect.c: (print_element_info):
6612 Don't crash when inspecting an element.
6614 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6616 * tests/check/gst/gststructure.c:
6617 Add unit test for escaping of structure name when serialising
6618 and deserialising to/from strings.
6620 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6622 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6623 (gst_single_queue_new):
6624 * plugins/elements/gstqueue.c: (gst_queue_init),
6625 (gst_queue_push_one):
6626 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6627 upstream is tricked into thinking it can suggest a format downstream
6628 while downstream does not support that format. The real problem is that
6629 core calls acceptcaps when pushing a buffer with new caps, for which we
6630 do a little workaround by setting the caps on the srcpad ourselves
6631 before pushing the buffer (until this is figured out). Fixes #486758.
6633 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6635 * gst/gststructure.c:
6637 Add some more comments and debug output. Quote structure name to fix
6638 deserialisation of some strings.
6640 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6643 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6644 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6646 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6648 * tools/gst-inspect.c:
6649 Save approx. 400 1 byte allocs when printing. Use API to acces element
6655 * tools/gst-xmlinspect.c:
6656 Use API to acces element details.
6658 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6661 Fix some spelling errors.
6663 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6665 * gst/gstbin.c: (bin_handle_async_done):
6666 Correctly set the next state if all of our async children commited their
6667 state. This makes sure we can actually cancel the state change in
6668 progress. Fixes a regression in Rhythmbox when seeking.
6670 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6673 Don't shadow local variable.
6676 Don't shadow global function name.
6678 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6680 * gst/gstelementfactory.c:
6681 * gst/gstpluginfeature.c:
6682 * gst/gstpluginfeature.h:
6683 * gst/gstregistrybinary.c:
6684 * gst/gstregistryxml.c:
6685 * gst/gsttypefind.c:
6686 Use already-interned string for the private GstPluginFeature
6689 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6691 * docs/libs/gstreamer-libs-sections.txt:
6692 Add new API to docs; fixes the build.
6694 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6696 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6698 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6699 (gst_base_sink_event):
6700 * libs/gst/base/gstbasesink.h:
6701 Add function to wait for EOS, subclasses can use this to correctly wait
6702 for devices to drain before performing the EOS logic. Fixes #485343.
6703 API: gst_base_sink_wait_eos()
6705 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6708 Cast description string constants in GST_PLUGIN_DEFINE macros
6709 to a (gchar*) to make C++ code using these macros compile
6710 without warning with g++-4.2 (see #462737). Even if slightly
6711 ugly, this seems preferable to putting the description strings
6712 into the GLib quark table or making the structure member a
6713 const gchar * and doing casts in core code that allocs and
6714 frees these strings, or requiring a cast in the C++ code.
6716 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6719 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6720 to print the entire class/function signature into the log
6721 file for C++ code. This only affects C++ code, for C code
6722 everything remains the same.
6724 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6726 * gst/gstbin.c: (remove_from_queue):
6727 Work around a problem with pipelines containing (semi)loops until a
6728 proper, more complicated solution is ready. See #475455.
6730 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6734 * gst/gstregistrybinary.c:
6735 * gst/gstregistryxml.c:
6736 Put more strings into the GLib quark table. No need to keep
6737 a hundred-something copies of identical version strings,
6738 license strings, package name strings and package origin
6741 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6743 * docs/manual/advanced-dataaccess.xml:
6744 Don't imply that it's okay to unconditionally change
6745 buffer data or buffer metadata in a pad probe callback,
6746 and a bunch of other comments. Fixes #430031.
6748 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6750 * win32/common/gstenumtypes.c:
6751 * win32/common/gstenumtypes.h:
6752 * win32/common/gstversion.h:
6753 Update generated files.
6755 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6757 * docs/manual/advanced-autoplugging.xml:
6758 Prefix section with broken code with a warning (see #342432).
6760 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6762 * docs/manual/appendix-integration.xml:
6763 * docs/manual/basics-init.xml:
6764 Call g_thread_init() before g_option_context_new() to
6765 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6767 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6769 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6770 (gst_base_sink_queue_object_unlocked),
6771 (gst_base_sink_queue_object), (gst_base_sink_event),
6772 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6773 When we received EOS and are waiting for when to post the EOS message,
6774 our state is prerolled and we should not return ASYNC.
6775 Reorganize some code paths to implement this behavior.
6777 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6779 Add unit test to verify above EOS fix.
6781 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6783 * plugins/elements/gsttypefindelement.c:
6784 (gst_type_find_element_have_type), (gst_type_find_element_init),
6785 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6786 Move detecting the input caps of the sinkpad to the setcaps function.
6787 This allows us to update the output caps when we receive new input caps
6788 instead of always using the first detected caps.
6790 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6792 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6793 (gst_base_sink_get_position):
6794 Don't try to preroll non-async elements after a flush.
6795 Subtract latency form clock times when reporting position.
6797 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6799 * gst/gstpad.c: (gst_pad_pause_task):
6801 Small comment and documentation update.
6803 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6805 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6806 (gst_base_src_set_live), (gst_base_src_is_live),
6807 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6808 (gst_base_src_default_event), (gst_base_src_wait),
6809 (gst_base_src_do_sync), (gst_base_src_get_range),
6810 (gst_base_src_pad_get_range), (gst_base_src_loop),
6811 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6812 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6813 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6814 (gst_base_src_change_state):
6815 Rework the locking of basesrc in a similar fashion to basesink. We
6816 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6817 us to handle live sources and semi live ones much better.
6819 Fix unlocking when seeking, shutting down and pausing in live sources.
6821 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6823 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6824 Fix compilation again.
6826 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6829 Use meaningful categories for the logs to clean the default one.
6831 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6833 * tests/check/pipelines/cleanup.c:
6834 Print message name and not just number.
6836 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6838 * docs/design/draft-tagreading.txt:
6839 Add some more thoughts.
6841 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6843 * tests/check/pipelines/simple-launch-lines.c:
6844 Print message name and not just number.
6846 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6848 * libs/gst/base/gsttypefindhelper.c:
6849 Speedup typefinding. This is work in progress (see #459862).
6851 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6854 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6855 Spotted by Josep Torra Valles <josep@fluendo.com>.
6857 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6860 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6861 field has moved to GstObject.
6863 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6865 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6866 (gst_base_src_get_range), (gst_base_src_change_state):
6867 Call unlock for live sources so that they can't get stuck in _create and
6868 produce a buffer before they are set back to PLAYING.
6870 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6872 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6873 (gst_queue_locked_dequeue):
6874 Comment the segment-related code... in the PROPER function.
6875 See #482147 and my commit from yesterday.
6877 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6879 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6880 Also initialize the counter that calculates the first timestamp on a
6881 buffer correctly for non-live sources.
6883 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6885 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6886 Disable code that's breaking the current-time-level reporting.
6889 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6891 * docs/gst/gstreamer-sections.txt:
6892 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6893 as they shouldn't show up. Fixes the docs build.
6895 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6898 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6899 Define M_PI which is used in files which are including gstinfo.h.
6900 VS6 includes doesn't define it.
6901 * win32/common/libgstbase.def:
6902 * win32/common/libgstcontroller.def:
6903 * win32/common/libgstreamer.def:
6904 Add new exported functions and variables.
6905 * win32/vs6/libgstcontroller.dsp:
6906 * win32/vs6/libgstreamer.dsp:
6907 Update the list of files to build.
6909 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6911 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6913 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6914 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6915 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6916 Improve debugging. Fixes #480858.
6918 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6920 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6922 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6923 First patch of code cleanups, use the macros and right arguments in the
6924 macros to signal and lock the queue. See #480858.
6926 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6928 * gst/gstbus.c: (poll_func):
6929 Improve debugging when dealing with _poll().
6931 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6933 * gst/gstregistryxml.c:
6934 Fix memory leak I introduced a few days ago.
6936 2007-09-26 Michael Smith <msmith@fluendo.com>
6938 * gst/gstbuffer.c: (gst_buffer_finalize):
6939 Make it once again possible to free GstBuffers in the default
6941 The poisoning scribbles on parts of the miniobject we need in
6945 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6947 * docs/gst/gstreamer-sections.txt:
6950 API: add GST_TAG_COMPOSER, fixes #459809.
6952 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6956 Add the 3-clause BSD license and the MIT/X11 license to the license
6957 list. Fixes #479784.
6959 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6961 * docs/faq/getting.xml:
6962 Add Q+A about different GStreamer versions (#364056).
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_change_state):
6968 Return correct gboolean from query function.
6970 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6972 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6973 (gst_base_sink_event), (gst_base_sink_query),
6974 (gst_base_sink_change_state):
6975 Simplify latency query.
6976 When not synchronizing, we can report latency without querying the peer
6979 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6983 Fix small typos in the docs.
6985 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6987 * docs/design/draft-latency.txt:
6988 * docs/design/draft-push-pull.txt:
6989 * docs/design/draft-tagreading.txt:
6990 * docs/design/part-MT-refcounting.txt:
6991 * docs/design/part-activation.txt:
6992 * docs/design/part-block.txt:
6993 * docs/design/part-element-source.txt:
6994 * docs/design/part-events.txt:
6995 * docs/design/part-gstbin.txt:
6996 * docs/design/part-gstelement.txt:
6997 * docs/design/part-gstobject.txt:
6998 * docs/design/part-gstpipeline.txt:
6999 * docs/design/part-messages.txt:
7000 * docs/design/part-preroll.txt:
7001 * docs/design/part-push-pull.txt:
7002 * docs/design/part-qos.txt:
7003 * docs/design/part-query.txt:
7004 * docs/design/part-scheduling.txt:
7005 * docs/design/part-seeking.txt:
7006 * docs/design/part-segments.txt:
7007 * docs/design/part-states.txt:
7008 Documentation updates and typo fixes.
7010 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
7012 * plugins/elements/gstfakesink.c:
7013 Add some debug text to error message to indicate that
7014 we errored out on request.
7016 * tools/gst-launch.c:
7017 When the state change to PLAYING fails, check for an
7018 error message on the bus and print it.
7020 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
7022 translated by: Jorge González González <aloriel@gmail.com>
7026 Added Spanish translation.
7028 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
7030 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7031 Fix printf arguments.
7033 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7035 * tests/check/generic/states.c:
7036 Improved state change unit test.
7038 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7041 Move priv to the right place.
7043 * gst/gstsystemclock.c:
7044 Add FIXME: and improve log.
7046 * tests/check/Makefile.am:
7047 * tests/examples/manual/Makefile.am:
7048 Work with all types of registries.
7050 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
7052 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7053 Don't unref the event after pushing it. Fixes #478401.
7055 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7058 * tests/examples/manual/.cvsignore:
7059 Ignore registries in any format.
7061 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7063 * gst/glib-compat-private.h:
7064 Add compatibility macro for g_intern_string() for
7065 GLib-2.8 (any reason we can't just bump the
7066 requirement to at least 2.10?)
7068 * gst/gstpadtemplate.h:
7069 * gst/gstelementfactory.c:
7070 * gst/gstregistryxml.c:
7071 * gst/gstregistrybinary.c:
7072 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7073 up the internal code accordingly. This shouldn't be a problem, since
7074 there is no reason external code could ever assume the string in such
7075 a structure is dynamically allocated unless it did that itself; the
7076 use of g_strdup() is private to element factories. The new code also
7077 saves some memory by putting pad template name strings into the GLib
7078 quark table instead of allocating them dynamically.
7079 Declaring this field constant fixes warnings with g++-4.2 when using
7080 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7082 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7084 * gst/gstelementfactory.c:
7085 Release static caps. Fixes #475723.
7087 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7091 Make some internal API take const gchar * instead of just
7092 gchar * to avoid compiler warnings with g++-4.2.2 when
7093 passing string constants (partially fixes #478092).
7095 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7097 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7098 A latency query fails when one of the sinks fail.
7100 * gst/gstelement.c: (gst_element_set_base_time):
7103 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7105 * gst/gstbin.c: (gst_bin_continue_func):
7106 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7107 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7108 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7110 Fix minor compilation warnings shown with Forte.
7112 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7114 * plugins/elements/gstqueue.c: (apply_buffer),
7115 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7116 Measure queue level based on the diff between head and tail timestamps
7117 even when pushing the first buffer.
7119 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7121 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7122 (gst_base_sink_event), (gst_base_sink_change_state):
7123 Sinks that don't preroll can always be queried for the latency.
7124 Don't post ASYNC start when we are not async.
7126 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7128 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7129 (gst_queue_handle_sink_event), (gst_queue_chain),
7130 (gst_queue_push_one), (gst_queue_handle_src_query),
7131 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7132 * plugins/elements/gstqueue.h:
7133 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7134 push more buffers but allow pushing of EOS and NEWSEGMENT.
7135 Add some more debug info here and there. Fixes #476514.
7137 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7139 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7140 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7141 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7142 (gst_base_sink_set_flushing), (gst_base_sink_query),
7143 (gst_base_sink_change_state):
7144 Latency query is allowed after we are prerolled. Introduce a new flag
7145 for this and stop abusing other variables.
7147 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7149 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7150 Push OOB events downstream when we get them in send_event. This allows
7151 the application to insert events in the pipeline.
7152 Add some more comments.
7154 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7156 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7157 (do_bin_latency), (gst_bin_change_state_func):
7158 * gst/gstpipeline.c: (gst_pipeline_change_state):
7159 Move latency query from GstPipeline to GstBin so that we can also
7160 use it when async-handling is enabled on bins.
7162 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7164 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7165 (gst_base_src_do_sync), (gst_base_src_change_state):
7167 Clean up the timestamping and syncing code for pseudo live sources.
7169 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7171 Patch by: Steve Fink <sphink gmail com>
7173 * docs/manual/appendix-checklist.xml:
7174 Mention less -R switch in the section about debug output (#474055).
7176 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7178 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7179 Queue can latency to the pipeline up to the configured max size in time.
7180 Report this fact in the latency query.
7182 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7184 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7186 * libs/gst/controller/gstinterpolation.c:
7187 * libs/gst/controller/gstlfocontrolsource.c:
7188 Use gst_guint64_to_gdouble() when converting from a uint64 or
7189 GstClockTime to double to fix the build on win32. Fixes #474371.
7191 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7193 * gst/gstbuffer.c: (gst_buffer_finalize):
7194 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7195 When finalizing a buffer the complete struct is filled with 0xff,
7196 thus making a use of the buffer after the final unref impossible.
7198 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7200 * tests/check/libs/controller.c: (GST_START_TEST):
7201 Use fail_unless_equals_int(a, b) instead of
7202 fail_unless_equals (a == b) to get better output on failures.
7204 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7206 * tests/check/gst/gsturi.c:
7207 Also check for the other file URI variant on win32.
7209 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7211 * gst/gsturi.c: (gst_uri_get_location):
7212 If there's no hostname, we want to return 'c:/foo/bar.txt'
7213 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7215 * tests/check/gst/gsturi.c:
7216 Unit test for the above and a few more things.
7218 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7220 * docs/design/part-live-source.txt:
7221 Add docs on how live sources should timestamp.
7223 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7224 Add some more debug info.
7225 For subclasses that are live and like to sync, add aditional startup
7226 latency to sync time and timestamps so that we timstamp according to the
7229 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7232 Also do a g_type_class_ref() for the subbuffer type in
7235 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7237 * docs/gst/gstreamer-sections.txt:
7238 * gst/gstpad.c: (gst_pad_peer_query):
7240 Add function to perform a query on the peer of a pad.
7241 API: gst_pad_peer_query()
7243 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7245 * tests/check/gst/gstsystemclock.c:
7246 Cleanup the test a little (use gst-logging and not g_message). Improve
7247 test to check if a wait reached the target.
7249 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7251 * docs/libs/gstreamer-libs-sections.txt:
7252 Add new API to docs and fix the build.
7254 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7256 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7257 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7258 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7259 (gst_base_src_get_property), (gst_base_src_do_sync):
7260 * libs/gst/base/gstbasesrc.h:
7261 Add property to make the basesrc timestamp buffers based on the current
7263 API: GstBaseSrc::do-timestamp
7264 API: gst_base_src_set_do_timestamp()
7265 API: gst_base_src_get_do_timestamp()
7267 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7269 * docs/random/release:
7270 Really make sure translations are up-to-date before
7271 a release (#465010).
7273 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7275 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7276 Always destroy the timer, also in error cases.
7278 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7280 * docs/manual/highlevel-xml.xml:
7281 Fix XML example code. Fixes #472714.
7283 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7285 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7286 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7287 (gst_base_sink_query):
7288 Protect eos and have_preroll with the OBJECT lock so we don't need to
7289 take the PREROLL lock when querying the latency. Fixes #473846.
7291 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7294 Give some log-messages a category.
7296 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7298 * gst/gststructure.c:
7299 (gst_structure_fixate_field_nearest_fraction):
7300 Fix fraction list fixation code. Take the fraction with the smallest
7301 difference with the target instead of the first one in the list.
7303 * tests/check/gst/gststructure.c: (GST_START_TEST),
7304 (gst_structure_suite):
7305 Added test to verify correct fraction list fixation behaviour.
7307 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7309 * win32/common/libgstreamer.def:
7310 Export gst_bus_add_signal_watch too.
7312 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7314 * docs/libs/gstreamer-libs-sections.txt:
7315 Add new methods to docs.
7317 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7318 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7319 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7320 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7321 * libs/gst/base/gstbasesink.h:
7322 Add ts-offset property to fine-tune the synchronisation.
7323 API: GstBaseSink::ts-offset property
7324 API: gst_base_sink_set_ts_offset()
7325 API: gst_base_sink_get_ts_offset()
7327 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7329 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7330 (gst_base_sink_init), (gst_base_sink_set_sync),
7331 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7332 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7333 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7334 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7335 (gst_base_sink_get_property), (gst_base_sink_change_state):
7336 * libs/gst/base/gstbasesink.h:
7337 Add async property to instruct the sink never to inform the parent about
7338 ASYNC state changes, update docs.
7339 Check argument with g_return_* for the public functions.
7340 API: GstBaseSink::async property
7341 API: gst_base_sink_set_async_enabled()
7342 API: gst_base_sink_is_async_enabled()
7344 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7346 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7349 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7350 (gst_base_src_default_query), (gst_base_src_wait),
7351 (gst_base_src_do_sync), (gst_base_src_change_state):
7352 Rearrange some code so that we can add support for measuring the
7355 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7357 * docs/random/ensonic/dynlink.txt:
7358 More thoughs on this.
7360 * plugins/elements/gstcapsfilter.c:
7361 Add bugzilla ticket number to FIXME comment.
7363 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7365 * docs/design/part-TODO.txt:
7366 * docs/design/part-block.txt:
7369 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7372 Revert patch which uses $(gst_headers) instead of $^ because it
7375 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7377 * tests/check/gst/gstbin.c: (GST_START_TEST):
7378 Fix leaks in the new unit test.
7380 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7383 Don't use GST_INFO before the debug system is actually initialised
7384 (shouldn't do any harm, but won't print anything either, so we can
7385 just as well remove it).
7388 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7389 compilers that don't support variadic macros (such as MSVC), should
7390 check for debug_level <= __gst_debug_min as well, since that's the
7391 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7392 inline helper functions. Should improve performance a bit, but also
7393 makes sure uses of GST_INFO et.al are ignored if the debugging
7394 system isn't initialised yet (instead of printing an assertion
7397 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7399 patch by: David Nečas <yeti@physics.muni.cz>
7402 Replace some non portable makefile constructs.
7404 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7406 * common/gtk-doc-plugins.mak:
7407 Grrrrr. Don't remove the types file on make clean.
7409 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7411 * tools/gst-launch.1.in:
7412 Add colorspace to example pipeline. Fixes #458274.
7414 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7416 * docs/random/release:
7417 The release manager should run 'make download-po' before making a
7418 release to make sure translations are up-to-date.
7424 Add some new translations.
7426 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7428 * tools/gst-launch.c: (event_loop), (main):
7429 Don´t try to do any state management when a live pipeline posts
7431 Also make the buffering string translatable.
7433 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7435 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7436 (bin_handle_async_start), (gst_bin_handle_message_func):
7438 When adding elements, insert messages into the bus of the newly added
7439 element and make sure the element is the source of the message. This
7440 allows the parent bin to intercept the message and do the
7441 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7442 messages to the app (which is not allowed).
7445 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7446 Fix testsuite so that is does not work around messages that should not
7447 have been posted in the first place.
7449 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7451 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7452 (update_degree), (gst_bin_sort_iterator_next):
7453 Fix annoying bug in the sorted iterator where a sink that is not really
7454 a sink (when it has downstream links) screwed up the iterator.
7456 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7457 Unit test to verify the fix.
7459 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7462 Add some more docs for the messages.
7464 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7465 (gst_base_sink_query):
7466 Add some more debugging.
7468 * tools/gst-launch.c: (event_loop):
7469 When interrupting, don't try to set pipeline to PAUSED twice.
7471 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7474 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7475 (bin_handle_async_start), (gst_bin_handle_message_func):
7476 Move ASYNC_START message posting to where it belongs, similar to
7478 Don't post ASYNC_START when we are in error.
7479 Post ASYNC_START when we added an async element to a bin.
7481 2007-08-14 Julien MOUTTE <julien@moutte.net>
7483 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7484 generation from vargs. Fixes #466595.
7486 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7488 * gst/gstbin.c: (gst_bin_element_set_state):
7489 Always change the state of a NO_PREROLL element even if it has ASYNC
7490 elements inside (in case of a bin).
7492 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7493 Unit test for this case.
7495 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7497 * libs/gst/check/gstbufferstraw.c:
7498 * libs/gst/check/gstcheck.h:
7499 * libs/gst/controller/gstcontroller.c:
7500 * libs/gst/controller/gstcontrolsource.h:
7501 * libs/gst/controller/gstlfocontrolsource.h:
7502 * plugins/elements/gstcapsfilter.h:
7503 * plugins/elements/gstfdsink.h:
7504 * plugins/elements/gstfdsrc.h:
7505 Add more missing docs.
7507 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7509 * gst/gststructure.c:
7510 Add Since tag to docs.
7512 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7514 * docs/gst/gstreamer-sections.txt:
7515 * gst/gststructure.c: (gst_structure_get_uint):
7516 * gst/gststructure.h:
7517 Add function to get uint from a structure.
7518 API: gst_structure_get_uint()
7520 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7522 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7523 (gst_caps_intersect):
7524 Fix proper check for simple caps.
7526 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7528 * docs/gst/Makefile.am:
7529 * docs/libs/Makefile.am:
7530 Remove cruft and do some cleanups.
7532 * docs/gst/gstreamer-docs.sgml:
7533 * docs/libs/gstreamer-libs-docs.sgml:
7534 Prepare for comming gtkdoc features (rebase against online docs).
7536 2007-08-10 Michael Smith <msmith@fluendo.com>
7538 * docs/gst/gstreamer-sections.txt:
7539 Add gst_registry_add_path to docs.
7541 2007-08-10 Michael Smith <msmith@fluendo.com>
7543 * gst/gstregistry.h:
7544 Add gst_registry_add_path, which was missing from this header.
7546 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7548 * libs/gst/controller/gstlfocontrolsource.c:
7551 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7553 * libs/gst/base/gstbasesink.c:
7554 Don't send an async_start message during downwards state change if
7555 target state is less than READY
7557 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7559 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7563 Added Hungarian translation.
7565 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7572 Updated translations.
7574 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7576 * libs/gst/controller/Makefile.am:
7577 Dist gstlfocontrolsourceprivate.h
7579 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7581 * docs/libs/gstreamer-libs.types:
7582 Don't register the enum type gst_lfo_waveform_get_type() in the
7583 .types file - only GObject derived types belong.
7585 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7587 Patch by: <arenevier at fdn dot fr>
7590 Remove comma from last element in enum to avoid compile errors when
7591 using -pendantic. Fixes #464366.
7593 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7595 * docs/design/part-TODO.txt:
7596 Add some more TODO items
7598 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7601 * gst/gstcaps.c: (gst_caps_intersect):
7602 Optimize trivial intersection case between identical caps pointers.
7604 * gst/gstelement.c: (gst_element_continue_state),
7605 (gst_element_set_state_func):
7607 Fix spelling and grammar mistakes.
7609 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7613 Update POTFILES. Fixes #461599.
7615 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7618 Fix confusing typo in debug output.
7620 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7622 reviewed by: Stefan Kost <ensonic@users.sf.net>
7624 * libs/gst/controller/Makefile.am:
7625 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7626 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7627 (gst_lfo_control_source_new),
7628 (gst_lfo_control_source_set_waveform),
7629 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7630 (gst_lfo_control_source_finalize),
7631 (gst_lfo_control_source_dispose),
7632 (gst_lfo_control_source_set_property),
7633 (gst_lfo_control_source_get_property),
7634 (gst_lfo_control_source_class_init):
7635 * libs/gst/controller/gstlfocontrolsource.h:
7636 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7637 API: Add GstLFOControlSource, a control source that gives values
7638 for specific timestamps based on several periodic waveforms.
7641 * tests/check/libs/controller.c: (GST_START_TEST),
7642 (gst_controller_suite):
7643 * docs/libs/gstreamer-libs-docs.sgml:
7644 * docs/libs/gstreamer-libs-sections.txt:
7645 * docs/libs/gstreamer-libs.types:
7646 Add documentation and unit tests for GstLFOControlSource.
7648 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7653 === release 0.10.14 ===
7655 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7658 releasing 0.10.14, "Breathing Vacuum"
7660 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7662 * gst/gstelement.c: (gst_element_class_set_details_simple):
7664 Make strings passed to gst_element_class_set_details_simple()
7665 constant, as they should be (#462752).
7667 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7669 * gst/gstbin.c: (gst_bin_change_state_func),
7670 (bin_handle_async_done), (gst_bin_handle_message_func):
7671 Don't forget about the fact that some element went ASYNC even after a
7672 resync. This makes us post the ASYNC_DONE message correctly.
7675 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7677 * gst/gstregistry.c: (gst_registry_add_feature):
7678 When replacing an existing feature in the registry, make sure to
7679 continue holding a reference until we've replaced the name string
7680 within our feature hash table. Make sure to use g_hash_table_replace
7681 instead of g_hash_table_insert to ensure the new name string is used
7682 as a key instead of the old one that we're about to free.
7685 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7687 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7688 (gst_plugin_feature_set_name):
7689 Revert patch from #459466 until after the release and we can work
7690 out exactly what the problem is (if any).
7692 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7694 * docs/gst/gstreamer-sections.txt:
7697 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7699 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7701 * docs/libs/Makefile.am:
7702 Include our build-prefix libs and includes before the generic ones to
7703 avoid linking against the installed libs when we want the build-tree
7706 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7708 Patch by: Steve Fink <sphink gmail com>
7710 * docs/pwg/building-testapp.xml:
7711 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7712 if people try to build or install the example from the plugin
7713 template against a GStreamer from package using the configure
7716 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7718 Patch by: Steve Fink <sphink gmail com>
7720 * tools/gst-inspect.1.in:
7721 Document --print-all and --print-plugin-auto-install-info command
7722 line options in man page.
7724 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7726 * docs/gst/gstreamer-sections.txt:
7727 Add docs for new api function.
7729 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7731 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7732 * gst/gstelementfactory.h:
7733 API: gst_element_factory_has_interface()
7734 Added method to check if an element factory implements a named
7737 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7740 * docs/gst/gstreamer.types.in:
7741 Another conditional doc check.
7744 * gst/gstparamspecs.h:
7745 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7750 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7752 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7753 (gst_registry_binary_load_feature),
7754 (gst_registry_binary_load_plugin),
7755 (gst_registry_binary_read_cache):
7756 Print error just once and with additional info.
7758 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7760 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7761 (helper_find_suggest), (helper_find_get_length),
7762 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7763 (gst_type_find_helper_for_buffer):
7764 Cleanup the typefindhelper code and add private doc comments.
7766 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7768 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7769 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7770 Fix capsfilter for cases where the caps set on capsfilter will provide
7771 additional information.
7774 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7776 * gst/gsttypefindfactory.c:
7777 Fix docs that recommened wrong function to use.
7779 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7781 * tools/gst-inspect.c: (print_plugin_features):
7782 Also give media-type for typefinders in element output.
7784 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7786 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7787 (gst_registry_remove_features_for_plugin_unlocked),
7788 (gst_registry_add_feature), (gst_registry_remove_feature),
7789 (gst_registry_lookup_feature_locked):
7790 * gst/gstregistry.h:
7791 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7794 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7796 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7797 (gst_plugin_feature_set_name):
7798 Avoid double memory usage for pluginfeature names. Fixes #459466.
7800 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7803 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7804 driving the pipeline may need to explicitly check for NOT_LINKED as
7805 well, since IS_FATAL doesn't cover that.
7807 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7809 * docs/pwg/advanced-types.xml:
7810 Fix typo and duplicate entry in video formats list.
7812 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7814 * libs/gst/controller/gstinterpolation.c:
7815 Also round to the nearest int when using cubic interpolation.
7817 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7819 * libs/gst/controller/gstinterpolation.c:
7820 When linearly interpolating integer types, round to the nearest int
7821 by adding 0.5. Don't do it for float/double types.
7822 Fixes the failing controller test on my machine, which is somehow
7823 rounding differently than on the buildbots.
7825 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7827 * tools/gst-plot-timeline.py:
7828 Better log parsing (categories can have -). Adjust text vs. lines, so
7829 that they span the same y-range.
7831 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7833 * docs/random/ensonic/audiobaseclasses.txt:
7834 * docs/random/ensonic/dynlink.txt:
7835 * docs/random/ensonic/profiling.txt:
7838 * docs/random/moving-plugins:
7839 Add note to use g_assert type macros.
7841 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7844 * libs/gst/check/Makefile.am:
7845 Add libm check as we use in for plugins.
7847 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7849 * gst/gstbin.c: (gst_bin_continue_func):
7850 Check that the state_cookie hasn't changed since the continue_func
7851 was scheduled. Avoids problems where the state changes back to
7852 something it shouldn't be because it was changed in the meantime.
7854 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7856 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7857 (gst_registry_binary_save_string),
7858 (gst_registry_binary_save_pad_template),
7859 (gst_registry_binary_save_feature),
7860 (gst_registry_binary_save_plugin),
7861 (gst_registry_binary_load_feature),
7862 (gst_registry_binary_load_plugin),
7863 (gst_registry_binary_read_cache):
7864 Fix memory leak. Be less verbose in the log.
7866 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7868 * tests/check/elements/.cvsignore:
7869 Add file to cvsignore as commanded.
7871 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7873 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7874 (mq_dummypad_event), (run_output_order_test):
7875 Use a GStaticMutex to protect all cases where libcheck
7876 fail_if/fail_unless macros might be called from multiple threads
7877 simultaneously to avoid errors like:
7878 "check_pack.c:107: :-1081725400:Bad message type arg"
7880 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7882 * tests/check/pipelines/stress.c: (GST_START_TEST):
7883 Make sure we set the pipeline back to the NULL state before
7884 dropping our final reference.
7886 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7888 * tests/check/elements/tee.c: (GST_START_TEST):
7889 Make the tee stress-test a little less stressful so it doesn't just
7890 time out on slow-machines, and remove a small race when it's starting
7891 up by adding a get_state() call.
7893 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7896 Avoid reading registry twice on startup. Fixes #457322.
7898 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7900 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7901 * pkgconfig/gstreamer-check.pc.in:
7902 Substitute the CFLAGS for libcheck into our .pc file too so that
7903 dependent modules will pick it up properly if libcheck is installed
7904 into some other prefix.
7906 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7909 Revert the pkg-config check for libcheck, since it pulls in the
7910 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7911 a proper solution, either from the check project, or something else.
7913 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7916 Use pkg-config to locate check.
7918 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7925 Add deprecation guards.
7927 * libs/gst/base/gstcollectpads.h:
7928 Don't document object (this is implicitly private).
7930 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7932 * gst/gststructure.c: (gst_structure_parse_value):
7933 When deserialising foo=bar without a type cast, check if it's a
7934 boolean before falling back to a string type, otherwise things like
7935 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7936 because the filtercaps end up having a signed=(string)true field,
7937 which causes problems later when intersection caps.
7939 * tests/check/gst/gststructure.c: (GST_START_TEST):
7940 Add a unit test for this.
7942 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7944 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7946 * libs/gst/controller/Makefile.am:
7947 * libs/gst/controller/gstcontroller.c:
7948 (gst_controlled_property_add_interpolation_control_source),
7949 (gst_controlled_property_new), (gst_controlled_property_free),
7950 (gst_controller_find_controlled_property),
7951 (gst_controller_new_valist), (gst_controller_new_list),
7952 (gst_controller_new), (gst_controller_remove_properties_valist),
7953 (gst_controller_remove_properties_list),
7954 (gst_controller_remove_properties),
7955 (gst_controller_set_property_disabled),
7956 (gst_controller_set_disabled), (gst_controller_set_control_source),
7957 (gst_controller_get_control_source), (gst_controller_get),
7958 (gst_controller_sync_values), (gst_controller_get_value_array),
7959 (_gst_controller_dispose), (gst_controller_get_type),
7960 (gst_controlled_property_set_interpolation_mode),
7961 (gst_controller_set), (gst_controller_set_from_list),
7962 (gst_controller_unset), (gst_controller_unset_all),
7963 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7964 * libs/gst/controller/gstcontroller.h:
7965 * libs/gst/controller/gstcontrollerprivate.h:
7966 * libs/gst/controller/gstcontrolsource.c:
7967 (gst_control_source_class_init), (gst_control_source_init),
7968 (gst_control_source_get_value),
7969 (gst_control_source_get_value_array), (gst_control_source_bind):
7970 * libs/gst/controller/gstcontrolsource.h:
7971 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7972 (gst_object_get_control_source):
7973 * libs/gst/controller/gstinterpolation.c:
7974 (gst_interpolation_control_source_find_control_point_node),
7975 (gst_interpolation_control_source_get_first_value),
7976 (_interpolate_none_get), (interpolate_none_get),
7977 (interpolate_none_get_boolean_value_array),
7978 (interpolate_none_get_enum_value_array),
7979 (interpolate_none_get_string_value_array),
7980 (_interpolate_trigger_get), (interpolate_trigger_get),
7981 (interpolate_trigger_get_boolean_value_array),
7982 (interpolate_trigger_get_enum_value_array),
7983 (interpolate_trigger_get_string_value_array):
7984 * libs/gst/controller/gstinterpolationcontrolsource.c:
7985 (gst_control_point_free), (gst_interpolation_control_source_reset),
7986 (gst_interpolation_control_source_new),
7987 (gst_interpolation_control_source_set_interpolation_mode),
7988 (gst_interpolation_control_source_bind),
7989 (gst_control_point_compare), (gst_control_point_find),
7990 (gst_interpolation_control_source_set_internal),
7991 (gst_interpolation_control_source_set),
7992 (gst_interpolation_control_source_set_from_list),
7993 (gst_interpolation_control_source_unset),
7994 (gst_interpolation_control_source_unset_all),
7995 (gst_interpolation_control_source_get_all),
7996 (gst_interpolation_control_source_get_count),
7997 (gst_interpolation_control_source_init),
7998 (gst_interpolation_control_source_finalize),
7999 (gst_interpolation_control_source_dispose),
8000 (gst_interpolation_control_source_class_init):
8001 * libs/gst/controller/gstinterpolationcontrolsource.h:
8002 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8003 API: Refactor GstController into the core controller which can take
8004 a GstControlSource for providing actual values for timestamps.
8005 Implement a interpolation control source and use this for backward
8006 compatibility, deprecate a bunch of functions that are now handled
8007 by GstControlSource or GstInterpolationControlSource.
8008 Make it possible to disable the controller completely or only for
8009 specific properties. Fixes #450711.
8010 * docs/libs/gstreamer-libs-docs.sgml:
8011 * docs/libs/gstreamer-libs-sections.txt:
8012 * docs/libs/gstreamer-libs.types:
8013 Add new functions and classes to the docs.
8014 * tests/check/libs/controller.c: (GST_START_TEST),
8015 (gst_controller_suite):
8016 * tests/examples/controller/audio-example.c: (main):
8017 Port unit test and example to the new API and add some new
8020 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
8022 Patch by: Mark Nauwelaerts <manauw at skynet be>
8024 * plugins/elements/gstmultiqueue.c:
8025 (gst_multi_queue_get_internal_links), (apply_buffer),
8026 (single_queue_overrun_cb), (gst_single_queue_new):
8027 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8028 the pipeline layout can be tracked correctly. Fixes #453732.
8030 2007-07-05 Stefan Kost <ensonic@users.sf.net>
8032 * docs/gst/Makefile.am:
8033 * docs/libs/Makefile.am:
8034 * docs/plugins/Makefile.am:
8035 Simplify --extra-dir as gtkdoc scans recursively.
8037 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8039 * tools/gst-launch.c: (main):
8040 When we got an error, there is no point in waiting for preroll when
8043 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8045 * plugins/elements/gsttee.c: (gst_tee_base_init),
8046 (gst_tee_request_new_pad), (gst_tee_release_pad),
8047 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8048 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8050 Be a lot smarter when deciding what srcpad to use for proxying
8051 the buffer_alloc. Also handle pad added/removed when doing so.
8053 Keep track of what pads we already pushed on in case we have pads
8054 added/removed while pushing. Fixes #374639
8056 * tests/check/Makefile.am:
8057 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8059 Added unit test for pad resync.
8061 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8065 Updated translations.
8067 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8069 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8073 Added new Finnish translation.
8075 2007-06-28 Wim Taymans <wim@fluendo.com>
8077 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8078 (single_queue_overrun_cb):
8079 When figuring out when a queue is filled, use our internal time estimate
8080 based on segments, just like check_full does.
8082 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8084 * gst/gstminiobject.c: (gst_mini_object_get_type):
8085 Remove 3 do-nothing methods.
8087 2007-06-27 Wim Taymans <wim@fluendo.com>
8089 Patch by: Tim Angus <tim at ngus dot net>
8091 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8092 (gst_capsfilter_set_property):
8093 Take a reference instead of a copy when setting "caps".
8094 Fix documentation to clarify this behaviour. Fixes #449414.
8096 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8098 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8099 * gst/gstplugin.c: (gst_plugin_init):
8100 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8101 * gst/gstquery.c: (gst_query_get_type):
8102 * gst/gstregistry.c: (gst_registry_init):
8103 * gst/gsturi.c: (gst_uri_handler_base_init):
8104 Remove empty instance_init() functions to save relocs and lessen the
8105 noise. Remove some of the function prototypes that are doubled by
8108 2007-06-27 Wim Taymans <wim@fluendo.com>
8110 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8112 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8113 Add peer and direction in the XML serialisation of ghostpads.
8116 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8119 Preserve useful information, thanks Tim.
8121 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8123 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8124 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8125 (gst_single_queue_push_one), (gst_multi_queue_loop),
8126 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8127 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8128 (compute_high_id), (gst_single_queue_new):
8129 * plugins/elements/gstmultiqueue.h:
8130 Take the multiqueue lock when updating the fill level so we don't get
8133 After applying a buffer or event on the src pad segment, make sure to
8134 call gst_data_queue_limits_changed() to get the data queue to unblock
8135 and check the filled state again.
8137 Rework the not-linked pad handling so the logic is that not-linked
8138 pads can push as fast as they like, but only so they never get
8139 ahead of any linked pads.
8141 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8142 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8143 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8145 Add a test to check that not-linked pads always stay behind
8150 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8152 * docs/random/release:
8153 Some updates to the release procedure.
8155 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8157 * gst/gstelementfactory.c: (__gst_element_details_clear):
8158 Microoptimization that saves stunning 80 bytes.
8160 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8162 * docs/plugins/gstreamer-plugins.args:
8163 * docs/plugins/inspect/plugin-coreelements.xml:
8164 * docs/plugins/inspect/plugin-coreindexers.xml:
8165 Update docs with caps info.
8167 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8170 Updated Italian translation.
8172 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8176 Update Vietnamese translations.
8178 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8180 * libs/gst/base/gstbasesink.c:
8181 Remove unused signal enum.
8183 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8185 * docs/gst/gstreamer-sections.txt:
8187 * gst/gstutils.c: (gst_type_register_static_full):
8188 Beef up and include the docs for gst_type_register_static_full and
8189 gst_element_class_set_details_simple and add the API keyword
8192 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8194 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8195 (update_time_level), (gst_single_queue_push_one),
8196 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8197 (single_queue_overrun_cb), (single_queue_underrun_cb),
8198 (single_queue_check_full):
8199 Fix setting max-* properties after adding queues.
8200 Use IS_FILLED for checking visible items.
8201 Signal overrun if multiple queues overrun.
8202 Add extra debug output.
8203 Patch by: Wim Taymans <wim@fluendo.com>
8205 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8207 * gst/gstelement.c: (gst_element_class_set_details_simple):
8209 * gst/gstutils.c: (gst_type_register_static_full):
8211 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8212 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8213 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8214 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8215 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8216 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8217 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8218 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8219 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8220 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8221 (apply_buffer), (gst_queue_chain):
8222 * plugins/elements/gsttee.c: (gst_tee_base_init):
8223 * plugins/elements/gsttypefindelement.c:
8224 (gst_type_find_element_base_init),
8225 (gst_type_find_element_class_init):
8226 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8227 API: add gst_type_register_static_full
8228 API: add gst_element_class_set_details_simple
8230 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8232 * docs/pwg/advanced-types.xml:
8233 Fix typo in iana.org URI.
8235 2007-06-19 Andy Wingo <wingo@pobox.com>
8237 * tests/check/pipelines/simple-launch-lines.c
8238 (test_state_change_returns): Enable pull-mode tests now that
8239 basesink has been fixed.
8241 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8242 Changed from gst_base_sink_is_prerolled, reversing the sense of
8243 the return value. Returns FALSE also if the sink is in pull mode,
8244 in which case it needs no preroll.
8245 (gst_base_sink_query, gst_base_sink_change_state): Update for
8246 needs_preroll change.
8247 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8248 chaining up, in which we return SUCCESS directly if we activated
8249 in pull mode instead of ASYNC. Involves countering an async_start
8250 message sent before chaining up; not sure if this is correct, in
8251 an ideal world we only send async-start when activating in push
8254 * tests/check/pipelines/simple-launch-lines.c
8255 (test_state_change_returns): New test, partially disabled until
8258 2007-06-19 Wim Taymans <wim@fluendo.com>
8260 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8261 (gst_multi_queue_sink_event):
8264 2007-06-19 Wim Taymans <wim@fluendo.com>
8266 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8267 (gst_bin_change_state_func), (bin_push_state_continue),
8268 (bin_handle_async_start), (bin_handle_async_done),
8269 (gst_bin_handle_message_func):
8270 Move the common code for posting state-change messages into
8272 Broadcast the state signal after we posted the messages.
8273 Mark the bin as busy when it's doing a state-change.
8274 Make sure async-start/done messages don't interfere with the bin's
8275 state when it's busy.
8276 After the state change, let the bin check which elements completed the
8277 state change while it was busy so that it can update its state.
8279 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8281 * docs/random/release:
8282 Add a note about updating the doap file to the release checklist
8284 2007-06-18 Wim Taymans <wim@fluendo.com>
8286 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8287 (gst_single_queue_push_one), (gst_multi_queue_chain),
8288 (gst_multi_queue_sink_event):
8289 Make sure we don't reference the buffer/event after we have given away
8290 ownership in the queue.
8292 2007-06-18 Wim Taymans <wim@fluendo.com>
8294 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8295 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8296 Update queue state _after_ adding the item in the queue because else we
8297 could end up being full without the element added yet.
8299 2007-06-18 Wim Taymans <wim@fluendo.com>
8301 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8302 (gst_bin_remove_func), (gst_bin_get_state_func),
8303 (gst_bin_element_set_state), (gst_bin_continue_func),
8304 (bin_push_state_continue), (bin_handle_async_start),
8305 (bin_handle_async_done), (gst_bin_handle_message_func):
8307 Immediatly commit the toplevel bin state when receiving an async-done
8308 message. This enables us to avoid spawning a thread to commit the state
8309 in some common cases and it also avoids some races.
8310 Avoid spawning a state thread when adding/removing async elements to a
8311 toplevel bin. Instead we immediatly update the bin state.
8312 Get rid of iterating all the children when getting the state in the bin
8313 because it is now always up-to-date.
8314 Fix bug where locked elements would always return _SUCCESS even it they
8315 returned NO_PREROLL before being locked.
8316 Fix the order of the state_change, async-start/done messages that was
8317 sometimes incorrect.
8318 Mark the state_dirty field as deprecated, we don't need it anymore as we
8319 are always up-to-date.
8321 * gst/gstelement.c: (gst_element_get_state_func),
8322 (gst_element_continue_state):
8323 Small debug inprovements.
8324 Return the previous element state return when nothing is pending instead
8325 of blindly returning SUCCESS.
8327 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8329 Add a whole bunch of new testcases.
8331 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8335 Update translations.
8337 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8340 Fix typo in the docs.
8342 2007-06-15 Wim Taymans <wim@fluendo.com>
8344 * docs/libs/gstreamer-libs-sections.txt:
8345 Add docs for new methods.
8347 2007-06-15 Wim Taymans <wim@fluendo.com>
8349 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8350 (gst_multi_queue_item_new):
8351 Don't use GSlice because we don't depend on >= 2.10 yet.
8353 2007-06-15 Wim Taymans <wim@fluendo.com>
8355 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8356 (update_time_level), (apply_segment), (apply_buffer),
8357 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8358 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8359 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8360 (single_queue_underrun_cb), (single_queue_check_full):
8361 Remove debug printf.
8363 2007-06-15 Wim Taymans <wim@fluendo.com>
8365 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8366 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8367 (gst_data_queue_set_flushing), (gst_data_queue_push),
8368 (gst_data_queue_pop), (gst_data_queue_drop_head),
8369 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8370 * libs/gst/base/gstdataqueue.h:
8372 Added methods to get the current levels and to inform the queue that the
8373 'full' limits changed.
8375 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8376 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8377 (gst_single_queue_flush), (update_time_level), (apply_segment),
8378 (apply_buffer), (gst_single_queue_push_one),
8379 (gst_multi_queue_item_steal_object),
8380 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8381 (gst_multi_queue_loop), (gst_multi_queue_chain),
8382 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8383 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8384 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8385 (single_queue_underrun_cb), (single_queue_check_full),
8386 (gst_single_queue_new):
8387 Keep track of time in the queue by measuring the difference between
8388 running_time on input and output. This gives more accurate results and
8389 can compensate for segments correctly.
8390 Make a queue by default only 5 buffers deep. We will now increase the
8391 buffer size depending on the filledness of the other queues.
8392 Factor out commong flush code.
8393 Make sure we don't add additional refcounts to buffers when we can avoid
8395 Propagate GstFlowReturn differently.
8396 Use GSlice for intermediate GstMultiQueueItems.
8398 Resize queues on over and underruns based on filled level of other
8400 When checking if the queue is filled, prefer to measure in time if we
8401 can and fall back to bytes when no time is known.
8403 * plugins/elements/gstqueue.c:
8406 2007-06-15 Wim Taymans <wim@fluendo.com>
8408 * libs/gst/base/gstbasetransform.c:
8409 (gst_base_transform_sink_event):
8410 Work around the brokenness of the event vmethod in basetransform. Prefer
8411 to return TRUE when the subclass returned FALSE (meaning don't forward
8414 * libs/gst/base/gstbasetransform.h:
8417 2007-06-15 Wim Taymans <wim@fluendo.com>
8419 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8420 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8421 (gst_base_src_default_query), (gst_base_src_get_range),
8422 (gst_base_src_start):
8423 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8426 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8428 * docs/pwg/advanced-types.xml:
8429 Added more formats to caps table.
8431 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8433 * tools/gst-launch.c: (main):
8434 Remove crufy code. GOption does not need this workaround.
8436 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8438 * libs/gst/controller/gstcontroller.c:
8439 (gst_controlled_property_set_interpolation_mode):
8440 Fix wrong getter for enums in controller.
8442 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8444 * libs/gst/check/gstcheck.c: (gst_check_init):
8445 Intercept criticals and warnings in the Gst-Phonon log domain, so
8446 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8449 2007-06-14 Edward Hervey <edward@fluendo.com>
8451 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8452 Since this file doesn't include "gst.h" it will not go through the
8453 macros that disable GST_LOG if debugging was disabled.
8455 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8457 * libs/gst/check/Makefile.am:
8458 * libs/gst/check/gstcheck.h:
8459 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8460 * pkgconfig/gstreamer-check.pc.in:
8461 Ugly 'fix' for the controller unit test on the p5 bot: in
8462 fail_unless_equals_float() check whether the values are 'almost
8463 equal' by allowing a small absolute error, which should be good
8464 enough for our use cases (normal numbers and values close to 0).
8465 Proper fixage left to floating point arithmetic aficionados.
8467 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8469 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8470 (gst_base_sink_render_object), (gst_base_sink_get_position):
8471 Add two breaks thats where missing.
8473 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8475 * docs/libs/gstreamer-libs-sections.txt:
8476 * libs/gst/check/gstcheck.h:
8477 API: add fail_unless_equals_float() and assert_equals_float().
8478 Add documentation for some of the macros.
8480 * tests/check/libs/controller.c: (GST_START_TEST):
8481 Use newly-added asserts.
8483 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8485 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8486 Show the caps change in the log to help spotting the case of not
8487 exactly matching caps.
8489 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8491 * docs/pwg/building-boiler.xml:
8492 Fix typos, spotted by Thijs Vermeir (#447190).
8494 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8496 * docs/plugins/tmpl/.cvsignore:
8497 Ignore file to keep the buildbots happy
8499 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8501 * docs/plugins/Makefile.am:
8502 * docs/plugins/gstreamer-plugins-docs.sgml:
8503 * docs/plugins/gstreamer-plugins-sections.txt:
8504 Pull fdsink into the docs too.
8506 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8508 * libs/gst/controller/gstinterpolation.c:
8509 Actually use the new functions with min/max checks for the trigger and
8510 none interpolation modes for get() and get_value_array() instead of
8513 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8515 * libs/gst/controller/gstcontroller.c:
8516 (gst_controlled_property_free):
8517 Unset the minimum and maximum GValues when freeing the corresponding
8518 GstControllerProperty struct.
8520 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8522 * libs/gst/controller/gstcontroller.c:
8523 (gst_controlled_property_new):
8524 * libs/gst/controller/gstcontrollerprivate.h:
8525 * libs/gst/controller/gstinterpolation.c:
8526 (gst_controlled_property_find_control_point_node),
8527 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8528 (interpolate_none_get_string_value_array),
8529 (interpolate_trigger_get),
8530 (interpolate_trigger_get_enum_value_array),
8531 (interpolate_trigger_get_string_value_array):
8532 Protect against values larger or smaller than the minimum or maximum
8533 allowed value for the property when using values that can be compared.
8535 Optimize trigger interpolator a bit by taking the last requested value
8536 into account instead of always looping through the complete list.
8538 Fix coding style a bit, everywhere else we use "return foo" instead
8541 * tests/check/libs/controller.c: (GST_START_TEST),
8542 (gst_controller_suite):
8543 Add unit test for the protection against too large or too small
8546 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8548 * docs/random/slomo/controller.txt:
8549 Add some thoughts about the future of the controller.
8551 2007-06-08 Wim Taymans <wim@fluendo.com>
8553 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8554 Don't overflow in retimestamping code.
8556 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8558 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8559 Use gst_util_guint64_to_gdouble for conversions.
8560 * win32/common/libgstreamer.def:
8561 Add new exported functions.
8563 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8566 Small docs addition.
8568 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8571 Remove that test line again.
8573 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8576 Test commit mail sending.
8578 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8581 Fix typo and test commit mail sending.
8583 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8585 * tests/examples/controller/audio-example.c:
8586 Improve comment and test commit mail sending.
8588 2007-06-07 Wim Taymans <wim@fluendo.com>
8590 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8591 (gst_bin_remove_func), (gst_bin_element_set_state),
8592 (bin_handle_async_start), (bin_handle_async_done),
8593 (gst_bin_handle_message_func):
8594 Add helper function to find messages.
8595 Generate the async-done messages together with the state change
8597 Small cleanups in handling toplevel bins.
8599 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8601 * libs/gst/base/gstdataqueue.c:
8602 * libs/gst/base/gstdataqueue.h:
8603 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8604 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8605 (gst_multi_queue_sink_event):
8606 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8607 Fix multiqueue leaking buffers and events when downstream or the
8608 queue are flushing. Make refcounting assumptions explicit and
8609 document them (shouldn't break existing code that uses it other than
8610 maybe leak miniobjects, but that already happens anyway). Add unit
8611 test for the most common flushing case. Fixes #423700.
8613 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8615 * libs/gst/controller/gstcontroller.c:
8616 Clarify docs: The get_all, get_value_array(s) functions
8617 don't modify the GObject properties.
8619 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8621 * libs/gst/controller/gstcontroller.c:
8622 (gst_controlled_property_set_interpolation_mode),
8623 (gst_controlled_property_prepend_default),
8624 (gst_controlled_property_new), (gst_controller_set_unlocked),
8625 (gst_controller_set), (gst_controller_set_from_list),
8626 (gst_controller_unset), (gst_controller_unset_all):
8627 * libs/gst/controller/gstcontrollerprivate.h:
8628 * libs/gst/controller/gstinterpolation.c:
8629 Factor out the 'set' logic into gst_controller_set_unlocked for the
8630 gst_controller_set and gst_controller_set_from_list functions.
8632 To make life of the interpolators easier always add a control point
8633 at timestamp zero with the default value.
8635 In the linear interpolator make things more obvious by better variable
8638 Implement cubic interpolation mode (by using a natural cubic spline)
8639 and map the quadratic interpolation mode to this too (as quadratic
8640 doesn't make much sense, see discussion on the list).
8642 * tests/check/libs/controller.c: (GST_START_TEST),
8643 (gst_controller_suite):
8644 Add unit test for the cubic interpolation mode and check everywhere
8645 if the interpolation mode could be set as expected.
8647 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8649 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8650 Don't use GLib-2.10 functions, we still depend on
8651 GLib-how-old-is-it-again-2.8.
8653 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8655 * docs/gst/gstreamer-sections.txt:
8659 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8660 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8661 (_gst_param_fraction_values_cmp),
8662 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8663 * gst/gstparamspecs.h:
8665 * tests/check/Makefile.am:
8666 * tests/check/gst/.cvsignore:
8667 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8668 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8669 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8670 (GST_START_TEST), (gst_param_spec_suite):
8671 API: add GstParamSpecFraction, so elements can have fraction
8672 properties without lots of painful string parsing (#444648).
8674 2007-06-05 Wim Taymans <wim@fluendo.com>
8676 * gst/gstobject.c: (gst_object_class_init):
8677 Fix signal signature.
8680 Add small clarification in the api docs.
8682 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8683 States are protected with object lock.
8685 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8688 I should probably be listed as an author by now.
8690 * docs/random/release:
8691 Update the release doc
8693 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8696 Make docs for gst_value_compare() mention return enums that
8699 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8704 === release 0.10.13 ===
8706 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8709 releasing 0.10.13, "With or without you"
8711 2007-05-25 Wim Taymans <wim@fluendo.com>
8713 * gst/gstbin.c: (bin_handle_async_done):
8714 Make sure that the child bin stops after completing the async state
8715 change so that the parent can continue the state change to PLAYING.
8718 2007-05-25 Wim Taymans <wim@fluendo.com>
8720 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8721 (unref_data), (gst_collect_pads_remove_pad),
8722 (gst_collect_pads_check_pads):
8723 Use additional refcounting to avoid crashes when dynamically adding and
8724 removing pads. Fixes #420206.
8726 2007-05-24 Wim Taymans <wim@fluendo.com>
8728 * tools/gst-launch.c: (event_loop):
8729 When buffering goes from a two digit to a single digit number, make sure
8730 to remove the old second digit by writing a blank over it.
8732 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8734 * libs/gst/base/gstdataqueue.c:
8735 Eliminate tabs and trailing comma in enum list; fix some typos.
8737 2007-05-24 Wim Taymans <wim@fluendo.com>
8739 * tests/check/gst/gstbin.c: (GST_START_TEST):
8740 Allow refcount of 3 and 4 because some state thread might still be busy
8743 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8745 * plugins/elements/Makefile.am:
8746 * plugins/elements/gstmultiqueue.h:
8747 * plugins/elements/gstqueue.h:
8748 These are not installed headers, no need for padding.
8750 2007-05-24 Wim Taymans <wim@fluendo.com>
8752 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8753 (gst_bin_continue_func):
8754 Enable latency for next release.
8755 Restore STATE_LOCK around recalc_state that was left out during the
8756 rewrite and could result in racy behaviour when _get_state and
8757 recalc_state are run concurrently. See #440463.
8759 2007-05-23 Wim Taymans <wim@fluendo.com>
8761 * tests/check/gst/gstsystemclock.c: (store_callback),
8763 Improve test_async_order to also work when both timers are already
8764 expired when we get scheduled to check it.
8766 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8768 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8769 (gst_bin_set_property), (gst_bin_get_property),
8770 (gst_bin_remove_func), (gst_bin_handle_message_func):
8772 'private' is a c++ keyword, let's not use that in header files,
8773 otherwise c++ compilers will throw a tantrum.
8775 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8777 * plugins/elements/gstelements.c:
8778 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8779 (gst_file_sink_get_current_offset):
8780 * plugins/indexers/gstindexers.c: (plugin_init):
8781 Use #ifdef for HAVE_XYZ for consistency.
8783 * tests/check/Makefile.am:
8784 * tests/check/elements/.cvsignore:
8785 * tests/check/elements/filesink.c: (setup_filesink),
8786 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8787 Add some unit tests for filesink.
8789 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8791 Patch by: Mark Nauwelaerts <manauw at skynet be>
8793 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8794 (gst_file_sink_query), (gst_file_sink_do_seek),
8795 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8796 * plugins/elements/gstfilesink.h:
8797 Fix position reporting; rename data_written member to current_pos to
8798 reflect its real meaning (fixes #412648).
8800 2007-05-22 Edward Hervey <edward@fluendo.com>
8802 * docs/gst/gstreamer-sections.txt:
8803 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8804 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8805 (gst_bin_remove_func), (gst_bin_handle_message_func):
8807 Add a property for bins that handle the state change of their childs.
8810 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8812 * libs/gst/controller/gstinterpolation.c:
8813 Use an array of the correct type when using _get_value_array with
8814 linear interpolation.
8816 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8818 * gst/gstelement.c (gst_element_requires_clock,
8819 gst_element_provides_clock, gst_element_request_pad,
8820 gst_element_class_set_details, gst_element_class_set_details_simple,
8821 gst_element_default_send_event, gst_element_abort_state,
8822 gst_element_continue_state, gst_element_set_state,
8823 gst_element_set_state_func, iterator_activate_fold_with_resync):
8824 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8825 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8826 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8827 gst_pad_get_range, gst_pad_pull_range):
8828 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8829 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8830 GstPadActivateModeFunction, GstPadChainFunction,
8831 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8832 GstPadFixateCapsFunction, GstPadTemplate):
8833 * gst/gstpipeline.c (gst_pipeline_change_state,
8834 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8835 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8836 gst_pipeline_get_delay):
8837 Whitespace and docs fixes.
8839 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8841 * libs/gst/controller/gstinterpolation.c:
8842 (interpolate_trigger_get_enum_value_array),
8843 (interpolate_trigger_get_string_value_array):
8844 Add support for retrieving value arrays when using the trigger
8847 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8849 * libs/gst/controller/gstcontroller.c:
8850 (gst_controller_get_value_array):
8851 * libs/gst/controller/gstcontroller.h:
8852 Clarify the docs of gst_controller_get_value_array(): The array where
8853 the values should be written to must be allocated as there seems to be
8854 no way to get the size of a random GType. This doesn't change any
8855 behaviour. Also fix some typos all over the place and remove an unused,
8856 commented function that is not necessary as g_object_set() could be
8858 * tests/check/libs/controller.c: (GST_START_TEST),
8859 (gst_controller_suite):
8860 Add unit test for gst_controller_get_value_array().
8862 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8864 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8866 Disable part of the gst_buffer_try_new_and_alloc test, because
8867 it can happily succeed on 64-bit systems where there's more address
8870 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8872 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8873 Add unit test for the improved caps checking from bug #421543.
8875 2007-05-21 Wim Taymans <wim@fluendo.com>
8877 * docs/design/part-synchronisation.txt:
8880 * gst/gstbin.c: (gst_bin_query):
8881 * plugins/elements/gstqueue.c: (apply_segment):
8887 2007-05-21 Wim Taymans <wim@fluendo.com>
8889 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8890 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8891 (gst_pad_configure_src):
8892 Added simple version of improved caps checking. It was previously
8893 assumed that a setcaps function would check the validity of the caps but
8894 people prefer us to check caps against the template automatically.
8897 2007-05-21 Wim Taymans <wim@fluendo.com>
8899 * libs/gst/base/gstbasetransform.h:
8900 Fix macro for locking/unlocking the transform lock.
8902 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8904 * docs/plugins/tmpl/.cvsignore:
8907 2007-05-18 Edward Hervey <edward@fluendo.com>
8909 * plugins/elements/gstqueue.c: (gst_queue_loop):
8910 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8911 for the subtle art of warning a potentially blocking thread that it
8912 should check the source pad return value, and relay the information
8915 2007-05-18 Edward Hervey <edward@fluendo.com>
8917 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8918 Release the queue lock !
8920 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8922 * docs/libs/gstreamer-libs-sections.txt:
8923 Add the two new controller functions to the appropiate places.
8925 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8927 reviewed by: Stefan Kost <ensonic@users.sf.net>
8929 * libs/gst/controller/gstcontroller.c:
8930 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8931 (_gst_controller_get_property), (_gst_controller_set_property),
8932 (_gst_controller_init), (_gst_controller_class_init):
8933 * libs/gst/controller/gstcontroller.h:
8934 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8935 (gst_object_get_control_rate), (gst_object_set_control_rate):
8936 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8937 Add API that provides sync suggestion timestamps for elements that
8938 call gst_object_sync_values() from which those elements can subdivide
8939 their processing loop to get the best results for the controlled
8940 properties. For now it just suggests last_sync + control_rate as
8941 new timestamp but this will be improved in the future.
8943 While doing that change the control-rate property to a GstClockTime
8944 from guint and change it's meaning from samples to nanoseconds as
8945 the GstController doesn't know anything about sampling rate. Strictly
8946 speaking this breaks ABI but as the control-rate property didn't do
8947 anything in the past and as such couldn't be used this should be no
8950 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8952 reviewed by: Stefan Kost <ensonic@users.sf.net>
8954 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8955 (gst_controller_unset_all):
8956 * libs/gst/controller/gstcontrollerprivate.h:
8957 * libs/gst/controller/gstinterpolation.c:
8958 (gst_controlled_property_find_control_point_node):
8959 Save last synced value from the list to continue searching from there
8960 in future syncs. This speeds everything up a bit.
8962 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8964 reviewed by: Stefan Kost <ensonic@users.sf.net>
8966 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8967 (gst_control_point_find), (gst_controlled_property_new),
8968 (gst_control_point_free), (gst_controlled_property_free),
8969 (gst_controller_set), (gst_controller_set_from_list),
8970 (gst_controller_unset), (gst_controller_unset_all),
8971 (gst_controller_sync_values):
8972 * libs/gst/controller/gstcontroller.h:
8973 * libs/gst/controller/gstcontrollerprivate.h:
8974 * libs/gst/controller/gstinterpolation.c:
8975 (gst_controlled_property_find_control_point_node),
8976 (interpolate_none_get), (interpolate_trigger_get):
8977 Add a new private GstControlPoint struct which "inherits" from
8978 GstTimedValue to allow different interpolators to store internal
8979 values next to each control point. From the outside everything is
8980 still a GstControlPoint so we don't loose binary compatibility.
8981 Also fixup all the GValue handling to not leak GValues or list nodes.
8982 * tests/check/libs/controller.c: (GST_START_TEST):
8983 Free the list nodes and GValues in the controller_misc test.
8985 2007-05-17 Edward Hervey <edward@fluendo.com>
8990 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8992 * gst/gstplugin.c: (gst_plugin_load_file):
8993 If we fail to load a plugin because of unresolved symbols or missing
8994 libraries and spew a warning to stderr, we may just as well mention
8995 which plugin it was that failed to load.
8997 2007-05-13 David Schleef <ds@schleef.org>
8999 * docs/Makefile.am: the gtk-doc makefile snippet correctly
9000 handles the case when ENABLE_GTK_DOC is false, and installs
9001 the prebuilt documentation. So gtk-doc subdirs are
9002 unconditionally enabled. Fixes: #349099.
9004 2007-05-13 David Schleef <ds@schleef.org>
9006 * gst/gstutils.h: Reword some documentation.
9008 2007-05-12 David Schleef <ds@schleef.org>
9010 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9011 do anything with the passed "module" parameter, so remove it.
9012 Allows removal of additional vestigal code.
9014 2007-05-12 David Schleef <ds@schleef.org>
9017 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9018 Switch to using g_stat() because it's more portable.
9020 2007-05-12 David Schleef <ds@schleef.org>
9023 Add GST_DISABLE_OPTION_PARSING, in order to disable option
9024 parsing for embedded systems.
9025 * gst/gstelementfactory.c:
9026 Allow gst_element_register() to be called with plugin==NULL.
9027 Did nobody notice that static elements were broken?
9029 2007-05-12 Wim Taymans <wim@fluendo.com>
9031 * tools/gst-launch.c: (event_loop):
9032 Give more interesting info when buffering starts and stops.
9033 Fix case where buffering starts but we fail to update the buffering flag
9034 because the target state is not PLAYING.
9036 2007-05-12 Wim Taymans <wim@fluendo.com>
9038 * plugins/elements/gstqueue.c: (gst_queue_init),
9039 (gst_queue_finalize), (update_time_level), (apply_segment),
9040 (apply_buffer), (gst_queue_locked_flush),
9041 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9042 (gst_queue_handle_sink_event), (gst_queue_chain),
9043 (gst_queue_push_one), (gst_queue_loop):
9044 * plugins/elements/gstqueue.h:
9045 Refactor an cleanup queue a bit.
9046 Do better time level calculations that also work when the srcpad is not
9048 Remove some unneeded debug lines.
9050 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9051 Added testcase for time level measurement.
9052 Try to make some stuff more racefree.
9054 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9056 * gst/gsturi.c: (gst_element_make_from_uri):
9057 Don't leak plugin feature.
9059 * tests/check/Makefile.am:
9060 * tests/check/gst/.cvsignore:
9061 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9062 Add brain-dead unit test.
9064 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9066 Patch by: Jeroen Wouters <woutersj at gmail com>
9068 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9069 Treat protocol strings in a case-insensitive way (#437563).
9071 2007-05-11 Michael Smith <msmith@fluendo.com>
9073 * gst/gstplugin.c: (gst_plugin_load_file):
9074 * gst/gstregistry.c: (gst_registry_scan_path_level):
9075 Don't print a g_warning for any failure to load a shared object.
9076 Instead, push this down into gstplugin.c, and warn _only_ if we
9077 failed to open the module (i.e. failure to link).
9078 Avoids warnings on normal, working, non-plugin .so files.
9080 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9082 * gst/gstplugin.c (gst_plugin_load_file):
9083 * gst/gstregistry.c (GST_CAT_DEFAULT,
9084 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9085 Print a g_warning if there was an error when loading a plugins during
9086 registry scan. The shuld help beginners starting with gst-plugin
9089 2007-05-10 Wim Taymans <wim@fluendo.com>
9091 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9092 (update_time_level), (gst_queue_locked_flush),
9093 (gst_queue_handle_sink_event), (gst_queue_chain),
9094 (gst_queue_push_one), (gst_queue_loop):
9095 * plugins/elements/gstqueue.h:
9096 Be smarter when calculating the current amount of data in the queue by
9097 measuring the difference between start and end timestamps (in running
9098 time) inside the queue. Fixes #432876.
9099 API: GstQueue::pushing to notify elements that we are pushing data again
9100 since the running signal is rather broken for this purpose.
9102 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9104 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9105 gst_queue_base_init, gst_queue_init):
9108 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9110 * win32/common/libgstreamer.def:
9111 Add new exported functions.
9112 * win32/vs6/grammar.dsp:
9113 Use grammar pre-generated files.
9115 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9117 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9120 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9122 * gst/gstutils.c: (gst_parse_bin_from_description):
9124 Maintain API and ABI when --disable-parse is used. Now that
9125 we have an appropriate error code, we can just return NULL and the
9126 appropriate error when gst_parse_launch() is used despite it having
9127 been disabled (#342564).
9129 * tests/check/Makefile.am:
9130 * tests/check/pipelines/.cvsignore:
9131 * tests/check/pipelines/parse-disabled.c:
9132 Make sure these functions exist and return NULL plus a GError when
9133 --disable-parse is used.
9135 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9137 * tests/benchmarks/complexity.c: (main):
9138 * tests/benchmarks/mass-elements.c: (main):
9139 Set a good example and don't leak messages.
9141 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9143 * docs/gst/Makefile.am:
9144 * docs/libs/Makefile.am:
9145 Correct fixxrefs options.
9147 * docs/plugins/Makefile.am:
9148 * docs/plugins/gstreamer-plugins-docs.sgml:
9149 * docs/plugins/gstreamer-plugins-sections.txt:
9150 * plugins/elements/Makefile.am:
9151 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9152 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9153 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9154 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9155 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9156 _GstCapsFilterClass, trans_class):
9157 * plugins/elements/gstelements.c (name, rank, type, _elements):
9158 * plugins/elements/gstidentity.c
9159 (gst_identity_check_imperfect_timestamp,
9160 gst_identity_check_imperfect_offset):
9161 Document capsfilter and add doc-blurb to identity.
9163 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9165 * libs/gst/controller/gstcontroller.c:
9166 (gst_controlled_property_set_interpolation_mode):
9167 * libs/gst/controller/gstinterpolation.c:
9168 Don't crash if someone tries to set an interpolation mode that
9169 is invalid or that isn't supported yet. Fixes #422295.
9171 * tests/check/libs/controller.c: (GST_START_TEST),
9172 (gst_controller_suite):
9173 Add a test case for the above.
9175 2007-05-03 Edward Hervey <edward@fluendo.com>
9177 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9178 Properly set the last_stop position on GstSegment. This will only happen
9179 if there is a buffer to push out.
9181 2007-05-03 Wim Taymans <wim@fluendo.com>
9183 * libs/gst/base/gstbasetransform.c:
9184 (gst_base_transform_buffer_alloc):
9185 always_in_place does not mean that the sink and source caps are the
9186 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9188 2007-05-03 Wim Taymans <wim@fluendo.com>
9190 * docs/libs/gstreamer-libs-sections.txt:
9191 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9192 (gst_base_src_default_query), (gst_base_src_get_range):
9193 * libs/gst/base/gstbasesrc.h:
9194 API: gst_base_src_query_latency(). Added method so that subclasses can
9195 easily get the latency values of the base source class.
9197 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9199 * tools/gst-inspect.c (print_implementation_info):
9202 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9204 * tools/Makefile.am:
9205 * tools/gst-launch.1.in:
9206 Don't create a customised man page based on the host architecture,
9207 describe the default registry path generically. That way the man
9208 page is the same for all architectures and packagers have one
9209 multilib issue less to deal with. Fixes #434926.
9211 2007-05-02 Wim Taymans <wim@fluendo.com>
9214 Fix documentation as spotted by rg on IRC.
9216 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9219 Improve docs for gst_element_{link,unlink}.
9221 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9223 * docs/design/part-events.txt:
9224 * docs/design/part-overview.txt:
9228 * libs/gst/base/gstbasesink.c:
9229 Typo fixes; minor docs addition.
9231 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9233 * docs/gst/gstreamer-sections.txt:
9234 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9235 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9237 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9238 or src that supports a given URI protocol exists.
9240 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9242 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9243 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9244 Set the location to NULL if "file://" is set as URI. Otherwise
9245 some random previous URI would still be set if "file://" is
9246 set on an already used filesink/filesrc.
9248 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9250 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9251 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9252 Special case the "file://" URI as as this is used by some
9253 applications to test with gst_element_make_from_uri if there's
9254 an element that supports the URI protocol.
9255 Also move the g_path_is_absolute() check for the location part
9256 of the URI to also check this for "file://localhost/bla" URIs.
9258 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9260 * docs/gst/gstreamer-sections.txt:
9261 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9263 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9265 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9267 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9269 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9270 (gst_registry_binary_load_pad_template),
9271 (gst_registry_binary_load_plugin),
9272 (gst_registry_binary_read_cache):
9273 * gst/gstregistrybinary.h:
9274 Implement no-mmap alternative for registry reading. Do code cleanups.
9275 Add more comments about avoiding strdups for all text data. Comments
9278 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9280 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9281 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9282 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9283 Comment structs and reformat to fix the build (that stuff should go
9284 into a priv. header).
9286 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9288 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9289 (gst_registry_binary_load_feature):
9290 * gst/gstregistrybinary.h:
9291 Refactor so that we can implement multiple features. Add support for
9292 TypeFindFactory features.
9294 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9296 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9299 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9301 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9303 * gst/gstbin.c: (gst_bin_element_set_state),
9304 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9305 (bin_handle_async_done), (gst_bin_handle_message_func):
9306 Fix build with --gst-disable-gst-debug
9308 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9310 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9311 Make sure streaming has finished before calling the ::stop() vfunc,
9312 since that vfunc might clear state which is being used in the
9313 streaming thread. This fixes a race that caused crashes in
9314 audioresample when shutting down a pipeline (#420106).
9316 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9318 * docs/gst/gstreamer-sections.txt:
9319 That was one byte missing.
9321 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9324 * docs/gst/gstreamer-sections.txt:
9326 * gst/gstconfig.h.in:
9327 * gst/gstobject.c: (gst_object_class_init),
9328 (gst_signal_object_class_init):
9330 2nd attempt to have a xml-less build as a joined effort of #413123
9333 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9335 * docs/design/draft-tagreading.txt:
9336 Added open issues/thoughts to draft.
9338 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9340 * gst/parse/grammar.tab.pre.c:
9341 * gst/parse/grammar.tab.pre.h:
9342 * gst/parse/lex._gst_parse_yy.pre.c:
9343 Update the prebuild parser sources.
9345 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9347 * gst/parse/Makefile.am:
9348 And now fix the building of the flex sources. Now everything should
9351 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9353 * gst/parse/Makefile.am:
9354 Now hopefully fix the build failures by setting proper rule
9355 dependencies and moving instead of copying.
9357 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9359 * tests/benchmarks/complexity.gnuplot:
9360 * tests/benchmarks/complexity.scm:
9361 * tests/benchmarks/mass-elements.gnuplot:
9362 * tests/benchmarks/mass-elements.scm:
9363 Total licensification.
9365 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9367 * gst/parse/Makefile.am:
9368 Fix the build by correcting the rule that gave wrong files to flex.
9370 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9372 * tests/benchmarks/complexity.c:
9373 * tests/benchmarks/mass-elements.c:
9374 Change licence to LGPL as granted by Benjamin and Andy.
9376 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9378 * gst/parse/Makefile.am:
9379 Add correct grammar.tab.h dependency if compiling without new enough
9380 flex. Fixes #431150.
9382 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9384 * gst/parse/Makefile.am:
9385 Fix typo and use outdated sources if the flex/bison sources are newer
9386 than the pregenerated ones but flex is too old. Print a warning in
9387 that case. This should fix the build on the build bot.
9389 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9391 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9392 * gst/parse/Makefile.am:
9393 * gst/parse/grammar.y:
9394 * gst/parse/parse.l:
9395 Make the parser reentrant and recursively callable. This requires flex
9396 >= 2.5.31, for older versions pregenerated sources are used as we
9397 can't bump the build dependency. Finally fixes #349180.
9399 * gst/gstparse.c: (gst_parse_launch):
9400 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9403 * docs/gst/Makefile.am:
9404 * docs/gst/Makefile.am:
9405 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9406 (__gst_parse_strfree), (__gst_parse_link_new),
9407 (__gst_parse_link_free), (__gst_parse_chain_new),
9408 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9409 (gst_parse_element_set), (gst_parse_free_link),
9410 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9411 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9412 (_gst_parse_launch):
9413 * gst/parse/grammar.tab.pre.h:
9414 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9415 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9416 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9417 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9418 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9419 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9420 (_gst_parse_yypop_buffer_state),
9421 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9422 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9423 (yy_fatal_error), (_gst_parse_yyget_extra),
9424 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9425 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9426 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9427 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9428 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9429 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9430 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9431 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9432 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9433 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9434 (_gst_parse_yyfree):
9435 If the installed flex version is too old use pre-generated parser
9436 sources. These pre-generated parser sources are always updated when
9437 the actual flex/bison sources change but require everybody who wants
9438 to change something in the parser to have flex >= 2.5.31 installed.
9440 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9442 * common/m4/gst-gettext.m4:
9443 * gst/gst-i18n-lib.h:
9444 Make --disable-nls to work
9446 2007-04-17 Wim Taymans <wim@fluendo.com>
9448 * gst/gstconfig.h.in:
9449 Revert previous change that broke the build.
9451 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9455 * gst/gstconfig.h.in:
9456 Drop libxml2 dependency when building with
9457 --enable-binary-registry --disable-loadsave
9459 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9461 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9462 (gst_registry_binary_read_cache):
9463 * gst/gstregistrybinary.h:
9464 Remove unnecessary <sys/mman.h> include which broke the win32 build
9465 with MingW; move includes from header file to .c file, even if the
9466 header file isn't installed; use g_strerror() where UTF-8 strings
9467 are expected, such as in GST_DEBUG messages.
9469 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9471 * docs/libs/gstreamer-libs-sections.txt:
9472 Remove bogus addition for API I didn't end up keeping.
9474 * libs/gst/base/gstbasesrc.h:
9475 Mention Since: 0.10.13 in the documentation.
9477 Add the API keyword to the previous ChangeLog entry.
9479 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9481 * docs/libs/gstreamer-libs-sections.txt:
9482 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9483 (gst_base_src_default_prepare_seek_segment),
9484 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9485 * libs/gst/base/gstbasesrc.h:
9486 Allow basesrc derived classes to execute seeks in other formats
9487 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9488 to prepare the GstSegment in any format that their perform_seek method
9489 will be able to understand. The default implementation provides the
9490 old behaviour of attempting to convert the seek offsets to the
9491 configured native format.
9493 API: basesrc::prepare_seek_segment vmethod.
9495 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9497 * gst/gstelement.c: (gst_element_get_state_func):
9498 Don't output the same debug statement twice.
9500 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9501 (gst_adapter_peek), (gst_adapter_take_buffer):
9502 Optimise the case where we have buffers at the head of the queue that
9503 can be joined quickly (because they're contiguous sub-buffers) by
9504 merging them together rather than copying data out into new memory.
9506 * gst/parse/grammar.y:
9507 * tests/check/pipelines/parse-launch.c:
9508 Fix a leak in an error path for parse_launch, and add a check
9509 for it to the testsuite.
9511 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9513 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9514 Don't deadlock when releasing a pad - gst_pad_set_active may try
9515 and take the multiqueue lock too.
9517 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9519 * gst/gsterror.c: (_gst_core_errors_init):
9521 API: add GST_CORE_ERROR_DISABLED (#392804).
9523 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9525 * docs/faq/gst-uninstalled:
9526 don't get empty paths on the PATH variables
9527 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9528 Don't format for the uncommon terminal width of 84 characters.
9530 2007-04-06 Wim Taymans <wim@fluendo.com>
9532 * gst/gstpipeline.c: (reset_stream_time),
9533 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9534 Only try to select a different pipeline clock when we went back to
9535 PAUSED and not when we merely got flushed.
9537 2007-04-05 Michael Smith <msmith@fluendo.com>
9539 * tools/gst-launch.1.in:
9540 fractions are better supported in gstreamer than ractions, so
9541 suggest using those.
9543 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9545 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9549 Added Danish translation.
9551 2007-04-05 Wim Taymans <wim@fluendo.com>
9553 * libs/gst/base/gstbasesink.c:
9554 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9555 Fix leak caused when refusing newsegment after EOS.
9557 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9558 (gst_fake_sink_init), (gst_fake_sink_set_property),
9559 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9560 (gst_fake_sink_render), (gst_fake_sink_change_state):
9561 * plugins/elements/gstfakesink.h:
9562 Add num-buffers property to make the element generate EOS after a
9563 configurable amount of buffers.
9564 API: fakesink::num-buffers property.
9566 * tests/check/elements/fakesink.c: (GST_START_TEST),
9568 Fix GstBus leak in test.
9569 Test for fakesink num-buffers.
9571 2007-04-05 Wim Taymans <wim@fluendo.com>
9573 * libs/gst/base/gstbasesink.c:
9574 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9575 (gst_base_sink_change_state):
9576 Don't accept anything after an EOS, return UNEXPECTED instead.
9578 * tests/check/elements/fakesink.c: (GST_START_TEST),
9580 Unit test for new EOS behaviour.
9582 2007-04-05 Wim Taymans <wim@fluendo.com>
9584 * gst/gstelement.c: (gst_element_get_request_pad):
9585 Make padtemplates also work when they don't contain %s or %d.
9587 2007-04-05 Wim Taymans <wim@fluendo.com>
9589 * docs/gst/gstreamer-sections.txt:
9590 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9591 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9593 Improve _adjust_unlocked() so that it overflows less.
9594 Add gst_clock_unadjust_unlocked to convert from external time to
9595 internal time based on calibration.
9596 Add some more debug.
9597 API: GstClock::gst_clock_unadjust_unlocked()
9599 2007-04-03 Wim Taymans <wim@fluendo.com>
9601 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9603 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9604 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9605 when releasing sink pad. Fixes #425400.
9607 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9609 * docs/random/ensonic/dynlink.txt:
9610 More work on proposal for new core api.
9612 * docs/libs/gstreamer-libs-sections.txt:
9613 * libs/gst/base/gstbasetransform.h:
9614 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9616 * libs/gst/controller/gstcontroller.c:
9617 (on_object_controlled_property_changed),
9618 (gst_controller_sync_values),
9619 (gst_controller_set_interpolation_mode):
9620 * libs/gst/controller/gstcontroller.h:
9621 Less verbose logging add docs for unimplemented parts and correctly
9622 return when using unavailable parts.
9624 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9626 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9627 Move all the debug to the CLOCK category, and associate it with
9630 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9632 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9633 Make take_buffer a bit quicker by removing redundant checks
9634 caused by calling gst_adapter_take.
9636 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9638 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9641 * tests/check/Makefile.am:
9642 * tests/check/elements/.cvsignore:
9643 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9644 (GST_START_TEST), (multiqueue_suite):
9645 Add some dead simple unit tests for the 'multiqueue' element
9646 (some bits don't work yet and are disabled for now).
9648 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9650 * gst/gstelement.c: (gst_element_get_request_pad),
9651 (gst_element_class_get_request_pad_template):
9652 Make gst_element_get_request_pad() create request pads only for
9653 request pad templates and not for, say, sometimes pad templates.
9655 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9657 * docs/design/draft-klass.txt:
9658 Add example that needs more thinking.
9660 * docs/design/draft-missing-plugins.txt:
9661 More thoughts about wrapper plugins.
9663 * docs/random/ensonic/embedded.txt:
9664 * docs/random/ensonic/profiling.txt:
9667 2007-03-25 Wim Taymans <wim@fluendo.com>
9669 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9670 (gst_base_src_loop):
9671 Only push the segment events in the PLAYING state for live sources.
9673 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9675 * gst/gstpipeline.c: (gst_pipeline_change_state):
9676 Modify the clock distribution path in PAUSED->PLAYING so that we
9677 never attempt to choose a new clock unless we're actually leaving
9678 the PAUSED state for the first time. This prevents choosing a
9679 different clock when the state_change gets called for a 2nd time due
9680 to some element doing an async state change.
9682 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9684 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9685 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9686 (gst_pad_chain_unchecked), (gst_pad_push):
9687 Revert last commit. This needs some more thoughts.
9689 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9691 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9692 (gst_pad_chain_unchecked), (gst_pad_push):
9693 Check in set_caps if the caps are compatible with the pad and remove
9694 two functions that are redundant now. Fixes #421543.
9696 2007-03-22 Wim Taymans <wim@fluendo.com>
9698 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9699 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9700 Unref some more to make valgrind happy.
9702 2007-03-22 Wim Taymans <wim@fluendo.com>
9704 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9705 (gst_system_clock_id_wait_jitter),
9706 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9707 Fix anoying regression that survived a few releases. When adding an
9708 async entry while blocking on a sync entry, the sync entry will unblock
9709 but still be busy, so it should continue to wait instead of returning
9711 Add some comments here and there.
9713 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9714 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9715 Add testcase for this.
9717 2007-03-22 Wim Taymans <wim@fluendo.com>
9719 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9720 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9721 WRONG_STATE and can silently pause the task. All other cases should
9724 2007-03-22 Wim Taymans <wim@fluendo.com>
9726 Patch by: Ville Syrjala <syrjala at sci dot fi>
9728 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9729 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9732 2007-03-21 Michael Smith <msmith@fluendo.com>
9734 * docs/pwg/advanced-types.xml:
9735 Fix some errors in the typefinding docs pointed out on irc.
9737 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9739 * libs/gst/base/gstbasesrc.c:
9740 Clarify FIXME comment in the face of having added unlock_stop()
9742 2007-03-21 Wim Taymans <wim@fluendo.com>
9744 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9745 Prepare for release where we warn against possible app breakage in the
9746 case of live pipelines along with an env var to enable/disable live
9747 preroll mode (GST_COMPAT=[no-]live-preroll).
9749 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9751 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9752 So we should use correct constants for checking for None offset.
9754 2007-03-20 Wim Taymans <wim@fluendo.com>
9756 * docs/design/part-block.txt:
9757 Mention the fact that the newly switched element should be set to at
9760 2007-03-20 Wim Taymans <wim@fluendo.com>
9763 Fix compilation with registry disabled as spotted by Saur.
9765 2007-03-20 Wim Taymans <wim@fluendo.com>
9767 Patch by: Olivier Crete <tester at tester dot ca>
9769 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9770 Look at the pending state too when syncing the element state to the
9771 parent. Fixes #420133.
9773 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9775 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9776 (gst_base_sink_change_state):
9777 * libs/gst/base/gstbasesink.h:
9778 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9779 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9780 (gst_base_src_deactivate):
9781 * libs/gst/base/gstbasesrc.h:
9782 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9783 for sub-classes to correctly clear any state they set trying to
9784 unlock, such as clearing out unlock commands from a command fd.
9785 API: basesrc::unlock_stop
9786 API: basesink::unlock_stop
9788 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9789 (gst_fd_sink_render), (gst_fd_sink_unlock),
9790 (gst_fd_sink_unlock_stop):
9791 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9792 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9793 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9795 Implement unlock_stop in fdsrc and fdsink.
9796 Implement seeking in fdsrc when a seekable fd is passed, as in
9797 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9799 2007-03-19 Wim Taymans <wim@fluendo.com>
9801 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9803 * gst/gstelement.c: (gst_element_class_init):
9804 Fix pad-added and pad-removed signal signatures so that the pad type is
9805 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9807 2007-03-19 Wim Taymans <wim@fluendo.com>
9809 * docs/gst/gstreamer-sections.txt:
9810 Add new element field and method.
9812 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9813 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9814 (gst_bin_recalc_state), (gst_bin_get_state_func),
9815 (gst_bin_element_set_state), (gst_bin_change_state_func),
9816 (gst_bin_continue_func), (bin_bus_handler),
9817 (bin_push_state_continue), (bin_handle_async_start),
9818 (bin_handle_async_done), (gst_bin_handle_message_func):
9819 Make async state changes a bit smarter by using new ASYNC_START and
9820 ASYNC_DONE messages. This reduces the number of times we run the state
9821 recalculation thread.
9822 Don't change state of element with a pending ASYNC_START message.
9823 Deprecate STATE_DIRTY messages.
9825 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9826 (gst_element_get_state_func), (gst_element_continue_state),
9827 (gst_element_lost_state), (gst_element_set_state_func),
9828 (gst_element_change_state):
9830 Keep the state that was last set by the app in a new element field.
9831 Don't allow state changes when handling an element event.
9832 Post ASYNC_START and ASYNC_DONE messages.
9833 Change lost_state so that we go to PAUSED and wait for the parent to set
9834 us to PLAYING again (so latency calculation can be performed)
9835 Export gst_element_change_state() method so that subclasses can use it.
9836 API: gst_element_change_state()
9837 API: GST_STATE_TARGET
9839 * gst/gstpipeline.c: (gst_pipeline_class_init),
9840 (reset_stream_time), (gst_pipeline_change_state),
9841 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9842 Using the new ASYNC_START message we can reset the base_time when
9843 needed. This can then be used to implement base_time redistribution in
9844 flushing seeks so that we can remove the explicit seek handling.
9845 Perform latency query and configuration when going to PLAYING.
9847 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9848 (gst_base_sink_query), (gst_base_sink_change_state):
9849 Post new ASYNC_START/ASYNC_DONE messages.
9851 * tests/check/generic/sinks.c: (GST_START_TEST):
9852 Fix test because the bin will not set the async element to PLAYING right
9855 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9856 Make the message check a little stronger.
9857 Handle ASYNC messages.
9859 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9860 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9861 Expect ASYNC_DONE messages.
9863 2007-03-19 Wim Taymans <wim@fluendo.com>
9865 * docs/gst/gstreamer-sections.txt:
9866 * gst/gstmessage.c: (gst_message_new_async_start),
9867 (gst_message_new_async_done), (gst_message_parse_info),
9868 (gst_message_parse_async_start):
9870 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9873 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9875 * tools/gst-inspect.c:
9876 (print_plugin_automatic_install_info_codecs):
9877 Now that we don't check for the 'Codec' keyword any longer in the
9878 klass, we shouldn't spew a warning if the klass isn't a decoder or
9879 encoder (since it might be a Source/Network, for example).
9881 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9883 * tools/gst-inspect.c:
9884 (print_plugin_automatic_install_info_codecs):
9885 Don't require decoder/demuxer/depayloader elements or
9886 encoder/muxer/paylader elements to have 'Codec' as part of their
9887 factory class string when introspecting a plugin's capabilities.
9888 draft-klass.txt mentions that it might be removed in future, and
9889 flump3dec doesn't have it as part of its class string, so chances
9890 are others might also not have it.
9892 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9914 Update translations from translation project
9916 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9918 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9919 (gst_child_proxy_set_property):
9920 Invert precondition check to be alike the ones in the mimiced gobject
9923 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9925 * docs/design/draft-tagreading.txt:
9926 * docs/random/ensonic/audiobaseclasses.txt:
9927 Do some Architect work.
9929 * gst/gstobject.c: (gst_object_set_name):
9933 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9935 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9937 * gst/gstsystemclock.c: (gst_system_clock_init),
9938 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9939 Defer starting the async system clock thread until the first async
9940 wait is scheduled. Fixes #414986.
9942 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9944 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9945 (gst_single_queue_free):
9946 Fix small leak (free GstSingleQueue structure too, not only contents).
9948 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9950 * gst/gstbin.c:(gst_bin_add):
9951 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9952 * win32/common/libgstbase.def:
9953 * win32/common/libgstreamer.def:
9954 Add new exported functions.
9956 2007-03-09 Wim Taymans <wim@fluendo.com>
9958 * docs/plugins/gstreamer-plugins-sections.txt:
9961 2007-03-09 Wim Taymans <wim@fluendo.com>
9963 * docs/gst/gstreamer-sections.txt:
9964 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9966 Add metadata copy functions. Fixes #393099.
9967 API: gst_buffer_copy_metadata()
9969 * gst/gstutils.c: (gst_buffer_stamp):
9970 * libs/gst/base/gstbasetransform.c:
9971 (gst_base_transform_prepare_output_buffer):
9972 Use new metadata copy functions.
9974 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9976 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9977 (gst_identity_init), (gst_identity_check_perfect),
9978 (gst_identity_check_imperfect_timestamp),
9979 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9980 (gst_identity_set_property), (gst_identity_get_property):
9981 * plugins/elements/gstidentity.h:
9982 Separate out check-imperfect-timestamp and check-imperfect-offset.
9983 Put back check-perfect as it was to keep compatibility.
9985 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9987 * gst/gstelement.c: (gst_element_dispose):
9988 There's no need to warn if VOID_PENDING is not NONE here, as
9989 long as the state is NULL it's ok, and that's checked immediately
9992 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9994 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9995 Fix check for perfect stream to ignore buffers with -1
9996 offsets/offset ends when checking data contiguity.
9998 2007-03-08 Wim Taymans <wim@fluendo.com>
10000 * tools/gst-launch.c: (event_loop):
10001 Print INFO messages.
10003 2007-03-08 Wim Taymans <wim@fluendo.com>
10005 * libs/gst/base/gstbasetransform.c:
10006 (gst_base_transform_sink_eventfunc),
10007 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10008 (gst_base_transform_activate):
10009 * libs/gst/base/gstbasetransform.h:
10010 Add support for dropping buffers with custom GstFlowReturn.
10011 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10012 buffers or dropped buffers.
10014 * docs/libs/gstreamer-libs-sections.txt:
10015 docs for new custom return code.
10017 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10018 Use drop support in base class to implement drop-probability.
10020 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
10022 * gst/gst.c: (load_plugin_func):
10023 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10024 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10025 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10026 Remove newlines at end of debug log strings.
10028 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10030 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10031 Only post bus message at max, once per buffer received.
10033 2007-03-07 Wim Taymans <wim@fluendo.com>
10035 * docs/design/Makefile.am:
10036 * docs/design/part-synchronisation.txt:
10037 Add doc about synchronisation
10039 * docs/design/draft-latency.txt:
10040 * docs/design/part-TODO.txt:
10041 * docs/design/part-clocks.txt:
10042 * docs/design/part-events.txt:
10043 * docs/design/part-gstbus.txt:
10044 * docs/design/part-gstpipeline.txt:
10045 * docs/design/part-live-source.txt:
10046 * docs/design/part-messages.txt:
10047 * docs/design/part-overview.txt:
10048 * docs/design/part-streams.txt:
10049 * docs/design/part-trickmodes.txt:
10050 Documentation updates.
10052 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10055 Update the doap file.
10057 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10059 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10060 Rename non-perfect to imperfect for Mike and for the sanctity of the
10062 Also make sure bus message gets emitted for data-incontiguities.
10064 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10066 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10067 (gst_identity_start):
10068 * plugins/elements/gstidentity.h:
10069 Emit bus message if check-perfect is true and we encounter a
10070 non-perfect stream between 2 consecutive buffers.
10073 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10078 === release 0.10.12 ===
10080 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10083 releasing 0.10.12, "Inevitable Demise"
10085 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10088 Version 0.10.11.2 (0.10.12 pre-release)
10089 Bump libtool versioning.
10091 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10093 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10094 Log flow-names and not numbers.
10096 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10099 Convert to new AG_GST style.
10101 2007-02-28 Wim Taymans <wim@fluendo.com>
10103 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10104 Don't unref query twice.
10106 2007-02-28 Wim Taymans <wim@fluendo.com>
10108 * gst/gstvalue.c: (gst_value_transform_object_string),
10109 (_gst_value_initialize):
10110 Implement GstObject -> string transform so we print object names
10111 when serializing GValues containing GstObjects.
10113 2007-02-28 Wim Taymans <wim@fluendo.com>
10115 * docs/gst/gstreamer-sections.txt:
10116 Add new stuff to docs.
10118 2007-02-28 Wim Taymans <wim@fluendo.com>
10120 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10121 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10122 (gst_base_sink_change_state):
10123 Improve latency query code.
10124 Don't leak latency events.
10126 * tests/check/gst/gstbin.c: (GST_START_TEST):
10129 2007-02-28 Wim Taymans <wim@fluendo.com>
10131 * gst/gstelement.c: (gst_element_message_full),
10132 (gst_element_get_state_func):
10133 * gst/gstelement.h:
10134 Improve docs a little. Added Since: for new macro.
10136 * gst/gstobject.c: (gst_object_sink):
10137 * gst/gstpipeline.c: (gst_pipeline_change_state),
10138 (gst_pipeline_set_new_stream_time):
10139 * gst/gstpipeline.h:
10140 Improve debugging and docs.
10142 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10145 2007-02-28 Wim Taymans <wim@fluendo.com>
10147 * gst/gstelement.c: (gst_element_message_full),
10148 (gst_element_set_locked_state), (gst_element_get_state_func),
10149 (gst_element_change_state):
10150 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10151 Documentation updates.
10152 Small code cleanups.
10154 * gst/gstmessage.c: (gst_message_new_info),
10155 (gst_message_parse_info):
10156 * gst/gstmessage.h:
10157 API: gst_message_new_info()
10158 API: gst_message_parse_info()
10159 Add INFO message create and parse code.
10161 2007-02-28 Wim Taymans <wim@fluendo.com>
10163 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10164 (bin_query_latency_done):
10165 Also report the live parameter of a latency query.
10167 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10169 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10170 Copy the current generic/states example from -base and adapt so
10171 we can use the exact same code everywhere.
10172 Check a STATES_IGNORE_ELEMENTS env var which can be used
10173 to ignore certain element factories for this test, which is
10174 what is being done in -base
10175 * tests/check/Makefile.am:
10176 Mention this environment variable.
10178 2007-02-27 Wim Taymans <wim@fluendo.com>
10180 * docs/gst/gstreamer-sections.txt:
10181 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10182 (gst_bus_timed_pop), (gst_bus_pop):
10184 API: gst_bus_timed_pop()
10185 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10186 message to arrive on the bus.
10188 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10190 Two unit tests for new _timed_pop() function.
10192 2007-02-23 Wim Taymans <wim@fluendo.com>
10194 * gst/gstpipeline.c: (gst_pipeline_change_state),
10195 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10196 Don't ref a NULL clock in _provide_clock_func().
10197 Don't allow an INVALID delay.
10198 Don't try to calculate base_time with an invalid start_time.
10199 Also distribute and notify a NULL clock when it was selected.
10201 * tools/gst-launch.c: (event_loop):
10202 Don't crash when a NULL clock was selected in the pipeline.
10204 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10206 * docs/design/Makefile.am:
10207 * docs/design/draft-missing-plugins.txt:
10208 * docs/random/draft-missing-plugins.txt:
10209 Some small updates: update plugin system identifier prefix
10210 ('gstreamer.net' to 'gstreamer'), mention our new install
10211 API in libgstbaseutils rather than libgimme-codec, add
10212 reference to the online docs.
10214 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10216 * win32/common/config.h:
10217 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10218 use moap cl ci to only check in what is mentioned in the ChangeLog.
10220 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10222 * docs/gst/gstreamer-sections.txt:
10223 * gst/gstelement.h:
10224 Fix up documentation to link to the correct GstGError section.
10225 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10227 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10229 * tools/gst-launch.c: (event_loop):
10230 Make sure that we actually show the important message part of a
10232 No need to check if the gerror is not NULL to free; first of all
10233 g_free accepts NULL; and second the default error handler would
10234 segfault if gerror was NULL.
10236 2007-02-21 Wim Taymans <wim@fluendo.com>
10238 * docs/gst/gstreamer-sections.txt:
10239 Removed docs as well.
10241 2007-02-21 Wim Taymans <wim@fluendo.com>
10243 * gst/gstmessage.c: (gst_message_parse_duration):
10244 * gst/gstmessage.h:
10245 Remove new messages for release.
10247 2007-02-20 Wim Taymans <wim@fluendo.com>
10249 * docs/design/part-gstghostpad.txt:
10250 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10251 (gst_ghost_pad_new_full):
10252 Make the ghostpad a parent of the internal pad again for better backward
10253 compatibility. Don't write code that relies on this however.
10255 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10256 (gst_pad_link_check_hierarchy):
10257 Require that parents should be GstElements in the hierarchy check.
10259 2007-02-20 Wim Taymans <wim@fluendo.com>
10261 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10262 (gst_bin_change_state_func), (bin_query_min_max_init),
10263 (bin_query_latency_fold), (bin_query_latency_done),
10265 Improve debug info.
10266 Implement latency query.
10268 2007-02-20 Wim Taymans <wim@fluendo.com>
10270 * docs/design/part-gstghostpad.txt:
10271 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10272 (gst_ghost_pad_internal_do_activate_push),
10273 (gst_ghost_pad_internal_do_activate_pull),
10274 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10275 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10276 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10277 Do not set the internal pad as a parent anymore so we can avoid
10278 hierarchy linking errors when the ghostpad has no parent yet. This also
10279 fixes failed activation because of unlinked internal pads, which in
10280 turn fixes the impossible case where you have to activate a pad before
10281 you can add it to a running element.
10284 * gst/gstpad.c: (pre_activate), (post_activate),
10285 (gst_pad_set_active), (gst_pad_activate_pull),
10286 (gst_pad_activate_push), (gst_pad_check_pull_range):
10287 Add some more debug info.
10288 Mark activation mode in pre_activate so that we don't try to activate in
10289 endless loops. Fixes #385084.
10291 2007-02-19 Wim Taymans <wim@fluendo.com>
10293 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10294 (gst_base_transform_check_get_range):
10295 Implement a checkgetrange function instead of relying on the default
10296 core behaviour that assumes we can operate in pull mode if we have a
10297 getrange function. First step at fixing #385084.
10299 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10301 * gst/gstchildproxy.h:
10302 * libs/gst/base/gstbasesink.h:
10303 * libs/gst/base/gstbasesrc.h:
10304 * libs/gst/base/gstbasetransform.h:
10305 More docs coverage and some ChangeLog surgery (add missing names)
10307 2007-02-15 Wim Taymans <wim@fluendo.com>
10309 * docs/design/part-TODO.txt:
10310 * docs/design/part-activation.txt:
10311 * docs/design/part-block.txt:
10312 * docs/design/part-buffering.txt:
10313 * docs/design/part-clocks.txt:
10314 * docs/design/part-element-source.txt:
10315 * docs/design/part-events.txt:
10316 * docs/design/part-gstbin.txt:
10317 * docs/design/part-gstbus.txt:
10318 * docs/design/part-gstpipeline.txt:
10319 * docs/design/part-live-source.txt:
10320 * docs/design/part-messages.txt:
10321 * docs/design/part-overview.txt:
10322 * docs/design/part-qos.txt:
10323 * docs/design/part-query.txt:
10324 * docs/design/part-states.txt:
10325 * docs/design/part-trickmodes.txt:
10326 Some doc updates. Start renaming from stream_time to running_time where
10327 it was used wrongly.
10329 2007-02-15 Wim Taymans <wim@fluendo.com>
10331 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10332 Answer LATENCY query.
10334 2007-02-15 Wim Taymans <wim@fluendo.com>
10336 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10340 2007-02-15 Wim Taymans <wim@fluendo.com>
10342 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10343 (gst_pad_dispatcher):
10344 Improve debugging of default pad dispatcher and query functions.
10346 2007-02-15 Wim Taymans <wim@fluendo.com>
10348 * docs/gst/gstreamer-sections.txt:
10349 Remove old unused method.
10351 2007-02-13 Wim Taymans <wim@fluendo.com>
10353 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10356 2007-02-13 Wim Taymans <wim@fluendo.com>
10358 * docs/design/part-seeking.txt:
10361 * gst/gstsegment.c: (gst_segment_set_seek):
10362 Revert old bogus change that should make seeking work again.
10364 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10366 * docs/random/ensonic/dynlink.txt:
10367 * docs/random/ensonic/interfaces.txt:
10368 * docs/random/ensonic/receipies.txt:
10369 Possible dynamic reconnection api, plus some type fixes the other two
10372 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10374 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10375 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10376 Also check for an absolute path following file:// in the filesrc
10377 element. Remove redundant check and call g_path_is_absolute() on the
10378 unescaped location.
10380 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10382 * docs/design/draft-klass.txt:
10383 Add existing category analysis.
10386 Fix doc example, framerate is a fraction.
10388 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10391 * docs/gst/Makefile.am:
10392 * docs/gst/gstreamer-sections.txt:
10393 * docs/libs/Makefile.am:
10394 Erm, forgot a bunch of --extra-dir.
10396 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10399 * docs/gst/Makefile.am:
10400 * docs/libs/Makefile.am:
10401 * docs/plugins/Makefile.am:
10402 Add crossreferences to glib/gobject docs.
10404 2007-02-12 Wim Taymans <wim@fluendo.com>
10406 * docs/design/draft-latency.txt:
10409 * docs/libs/gstreamer-libs-sections.txt:
10410 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10411 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10412 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10413 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10414 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10415 (gst_base_sink_get_position), (gst_base_sink_query),
10416 (gst_base_sink_change_state):
10417 * libs/gst/base/gstbasesink.h:
10418 API: gst_base_sink_query_latency() to let subclasses query the upstream
10420 API: gst_base_sink_get_latency() to let subclasses query the configured
10421 latency in the sink.
10422 Implement query and set latency.
10424 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10425 don't continue preroll when we are flushing. Fixes #405284.
10427 * tests/check/pipelines/stress.c: (change_state_timeout),
10428 (quit_timeout), (GST_START_TEST), (stress_suite):
10431 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10433 Patch by: René Stadler <mail at renestadler de>
10435 * docs/gst/gstreamer-sections.txt:
10436 * gst/gsttaglist.c: (_gst_tag_initialize):
10437 * gst/gsttaglist.h:
10438 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10440 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10442 * docs/libs/Makefile.am:
10443 Fix path to core docs.
10445 * gst/gstbin.c: (gst_bin_get_by_interface),
10446 (gst_bin_iterate_all_by_interface):
10447 Refix docs by also renaming 'interface' to 'iface' in implementation.
10449 * docs/gst/gstreamer-sections.txt:
10451 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10452 * gst/gstchildproxy.h:
10453 * gst/gstelementfactory.c:
10454 * gst/gstpadtemplate.h:
10455 * libs/gst/controller/gstcontroller.c:
10456 (gst_controlled_property_new):
10459 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10461 * gst/gstbin.h:(gst_bin_get_by_interface),
10462 (gst_bin_iterate_all_by_interface):
10463 Replace interface parameter name by iface as interface is
10464 a reserved keyword in Visual Studio for C++ projects so it removes
10465 a build error for application developpers using VS.
10466 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10467 Fix a bug on Windows in uri format check. Now the prefix checked
10468 is file:// and next we check if the path after file:// is absolute.
10469 * win32/common/libgstbase.def:
10470 * win32/common/libgstdataprotocol.def:
10471 * win32/common/libgstgstreamer.def:
10472 Add new exported functions.
10474 2007-02-09 Andy Wingo <wingo@pobox.com>
10476 * tests/check/pipelines/simple-launch-lines.c
10477 (simple_launch_lines_suite, test_tee): Disable tee test until I
10478 have time to fix it :-(
10480 * tests/check/Makefile.am (noinst_HEADERS):
10481 * tests/check/libs/libsabi.c:
10482 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10483 * tests/check/gst/gstabi.c:
10484 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10486 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10487 tests for push and pull tee behavior.
10489 * plugins/elements/gsttee.h:
10490 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10491 mark as deprecated as well as unimplemented. It was a crack idea.
10492 Add support for tee operating in pull mode, off by default.
10494 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10495 normal-case logs down to LOG, raise errors to WARNING.
10496 (gst_registry_xml_read_cache): Don't log before calling a function
10499 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10500 exit (registry finalize).
10501 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10502 DEBUG log when we emit signals that people don't even have the
10503 chance to connect to.
10504 (gst_registry_scan_path_level): Less logging in the normal case.
10506 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10508 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10510 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10511 Correctly generate EOS for non-seekable files. We don't have a total
10512 length for them and would get an unexpected end of file if we only
10513 special-cased for regular files. (Fixes: #404569)
10515 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10517 * tests/check/elements/filesrc.c: (GST_START_TEST),
10519 Add unit test for the GstURIHandler interface in filesrc. This also
10520 tests the newly added file://localhost/foo/bar support.
10522 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10524 * gst/gstelementfactory.h:
10525 The klass string is not a hierarchy. Add reference to the design doc
10526 for more information and common types.
10528 2007-02-02 Wim Taymans <wim@fluendo.com>
10530 * gst/gstquery.c: (gst_query_new_latency):
10531 Remove old structure field.
10533 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10535 * tools/gst-launch.1.in:
10536 Give example for network streaming (#351998)
10538 2007-02-02 Wim Taymans <wim@fluendo.com>
10540 * docs/gst/gstreamer-sections.txt:
10541 Add docs for new methods.
10543 * gst/gstevent.c: (gst_event_new_latency),
10544 (gst_event_parse_latency):
10546 Add new LATENCY event to configure latency in a pipeline.
10547 API: gst_event_new_latency
10548 API: gst_event_parse_latency
10550 * gst/gstmessage.c: (gst_message_new_buffering),
10551 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10552 (gst_message_new_latency), (gst_message_parse_buffering),
10553 (gst_message_parse_lost_preroll):
10554 * gst/gstmessage.h:
10555 Added messages used in draft-latency.
10556 API: gst_message_new_lost_preroll
10557 API: gst_message_parse_lost_preroll
10558 API: gst_message_new_prerolled
10559 API: gst_message_new_latency
10561 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10562 (gst_query_parse_latency):
10564 Implemented new latency query as in design doc.
10565 API: gst_query_new_latency
10566 API: gst_query_set_latency
10567 API: gst_query_parse_latency
10569 2007-02-02 Wim Taymans <wim@fluendo.com>
10571 * docs/design/draft-latency.txt:
10572 Slight redesign to allow for dynamic latency adjustments.
10574 * docs/design/part-negotiation.txt:
10577 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10579 reviewed by: Wim Taymans <wim@fluendo.com>
10581 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10582 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10583 Allow file://localhost/foo/bar URLs and correctly fail for every other
10584 hostname that one sets. This was gnomevfssrc is linked for those if
10585 installed as it can handle it (#403172)
10587 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10589 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10591 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10592 (unref_data), (gst_collect_pads_add_pad_full):
10593 * libs/gst/base/gstcollectpads.h:
10594 Don't put the previously added destroy notify in the GstCollectData
10595 struct as all it's padding is already used and we don't want to break
10596 ABI. Instead put in the pad's GObject data for now. This should be
10597 cleaned up for 0.11 (#402393).
10599 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10601 reviewed by: Wim Taymans <wim@fluendo.com>
10603 * docs/libs/gstreamer-libs-sections.txt:
10604 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10605 (unref_data), (gst_collect_pads_add_pad),
10606 (gst_collect_pads_add_pad_full):
10607 * libs/gst/base/gstcollectpads.h:
10608 API: Add function to specify a destroy notification for custom
10609 GstCollectData when adding new pads in GstCollectPads (#402393).
10611 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10614 Update Swedish translation (#378255).
10616 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10618 * docs/design/draft-klass.txt:
10619 Fix the previous change, this is a list of categories and not a hierarchy.
10621 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10623 * docs/design/draft-klass.txt:
10624 Add info about how to get a list of used classes.
10626 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10628 * plugins/elements/gsttypefindelement.c:
10629 (gst_type_find_element_chain_do_typefinding),
10630 (gst_type_find_element_change_state):
10631 Don't leak found caps in chain function (no idea why that never
10632 showed up as a leak anywhere).
10634 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10637 Fix and expand GstPluginDesc API docs.
10639 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10642 * gst/gstelementfactory.c:
10643 * gst/gstpadtemplate.h:
10646 * libs/gst/controller/gstcontroller.c:
10647 (gst_controlled_property_new):
10648 * tests/examples/controller/audio-example.c:
10651 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10654 comment about refining the xml deps
10656 * docs/manuals.mak:
10657 comments about moving away from jade for docs
10660 recommit the ifdefs to use the binary registry
10662 * gst/gstbin.c: (gst_bin_change_state_func):
10663 this break is obsolete
10665 * gst/gstelementfactory.h:
10666 better GST_ELEMENT_DETAILS docs, add comment about translation
10671 * gst/gstobject.c: (gst_signal_object_get_type):
10672 add G_UNLIKELY as usual
10674 * gst/gstpad.c: (gst_pad_event_default):
10675 add fall trhu comment
10677 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10678 (gst_registry_binary_initialize_magic),
10679 (gst_registry_binary_save_string),
10680 (gst_registry_binary_save_pad_template),
10681 (gst_registry_binary_save_feature),
10682 (gst_registry_binary_save_plugin),
10683 (gst_registry_binary_write_cache),
10684 (gst_registry_binary_check_magic),
10685 (gst_registry_binary_load_pad_template),
10686 (gst_registry_binary_load_feature),
10687 (gst_registry_binary_load_plugin),
10688 (gst_registry_binary_read_cache):
10689 comment typo and formatting
10691 * gst/gstutils.c: (gst_element_state_get_name),
10692 (gst_element_state_change_return_get_name):
10693 remove obsolete breaks
10695 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10696 add FIXME 0.11 and remove cpp comment
10698 2007-01-29 Edward Hervey <edward@fluendo.com>
10700 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10701 Fix print statement in an even more portable way.
10703 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10705 * docs/gst/gstreamer-sections.txt:
10707 API: add GST_ROUND_DOWN_* macros (#401781).
10709 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10711 * docs/gst/gstreamer.types.in:
10712 * gst/gstregistry.c: (gst_registry_class_init):
10713 Document registry signals and make gtk-doc pick them up (#401381).
10715 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10717 * docs/pwg/building-testapp.xml:
10718 Add some audioconverts and audioresample to the pipeline, and some
10719 more comments and error handling.
10721 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10723 * docs/manual/manual.xml:
10724 * docs/pwg/pwg.xml:
10725 Fix typo (#400987).
10727 2007-01-26 Wim Taymans <wim@fluendo.com>
10729 * gst/gstcaps.c: (gst_static_caps_get):
10730 Init caps flags too.
10732 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10734 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10736 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10737 If not using mmap'ed files try to seek to the end instead of the
10738 start to determine whether we can seek at all. This fixes the case
10739 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10740 seeks for everything afterwards fail. Fixes #400656
10742 2007-01-25 Wim Taymans <wim@fluendo.com>
10744 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10745 Add some refcount debugging.
10746 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10747 in multiple streaming threads.
10749 2007-01-25 Wim Taymans <wim@fluendo.com>
10751 Patch by: David Schleef <ds at schleef dot org>
10753 * docs/libs/gstreamer-libs-sections.txt:
10754 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10755 * libs/gst/base/gstadapter.h:
10756 API: gst_adapter_copy() that can reduce the amount of memcpy when
10757 getting data from the adapter. Fixes #388201.
10759 2007-01-25 Edward Hervey <edward@fluendo.com>
10761 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10762 In print statements, "%x" is for guint. Fixes build on macosx.
10764 2007-01-24 Edward Hervey <edward@fluendo.com>
10766 * plugins/elements/gstmultiqueue.c:
10767 (gst_multi_queue_loop):
10769 (single_queue_overrun_cb), (single_queue_underrun_cb),
10770 (single_queue_check_full), (gst_single_queue_new):
10771 Implement single queue growth system.
10772 This uses the extra-size properties, and will grow single queues by
10773 that much if one goes full whereas there are others empty. This is
10774 called extra-mode in the code.
10775 When a single queue's levels go back below the initial max-size
10776 limits, it is no longer in extra-mode. This is to ensure we don't
10777 consume too much memory.
10780 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10782 * gst/gst.c: (gst_init_get_option_group):
10783 Make warning about late g_thread_init() calls a bit more explicit,
10784 so that it's more obvious to application developers what they need
10785 to do if a user files a bug against their application.
10787 2007-01-22 Edward Hervey <edward@fluendo.com>
10789 * plugins/elements/gstmultiqueue.c:
10790 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10791 Remove previous hack of unsetting the flushing flag for the source pad
10792 instead of activating it. Instead, fix the source pad activate function
10793 so that it no longer depends on having a parent set or not.
10795 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10797 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10799 * docs/manual/basics-bus.xml:
10800 Fix example code, gst_element_unref() doesn't exist any longer.
10802 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10804 Patch by: Mark Nauwelaerts <manauw at skynet be>
10807 Fix two docs typoes (#399094).
10809 2007-01-19 Edward Hervey <edward@fluendo.com>
10811 * docs/faq/gst-uninstalled:
10812 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10813 depending on libgstbaseutils can work in uninstalled environment.
10815 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10817 * gst/gsttaglist.h:
10818 * gst/gsttagsetter.c:
10819 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10820 statement for new tag.
10822 2007-01-17 Edward Hervey <edward@fluendo.com>
10824 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10825 When dynamically creating single queues, activate sinkpad before adding
10827 We should be doing the same thing for the source pad, but we can't
10828 since it would call a method which needs the parent to be set in order
10829 to work propertly. Instead of activating the source pad, we just unset
10830 the flushing flag, which is the minimal requirement for adding a pad
10831 to an element in a state greater than READY.
10833 2007-01-17 Edward Hervey <edward@fluendo.com>
10835 * docs/faq/gst-uninstalled:
10836 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10839 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10841 * tests/check/gst/gstabi.c:
10842 * tests/check/gst/struct_hppa.h:
10843 * tests/check/libs/libsabi.c:
10844 * tests/check/libs/struct_hppa.h:
10845 Add ABI structs for HPPA (see #393796).
10847 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10849 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10850 Actually write ABI structs to the file specified in the GST_ABI
10851 environment variable, as the message we print claims we would.
10853 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10855 * tests/check/gst/gsttask.c:
10856 Fix header comment.
10858 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10860 * gst/gsttaglist.c: (_gst_tag_initialize):
10861 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10862 previous two entries.
10864 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10866 * docs/gst/gstreamer-sections.txt:
10867 * gst/gsttaglist.c: (_gst_tag_initialize):
10868 * gst/gsttaglist.h:
10869 Add tag support for beat-per-minute.
10871 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10873 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10874 (gst_registry_binary_initialize_magic),
10875 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10876 (gst_registry_binary_save_pad_template),
10877 (gst_registry_binary_save_feature),
10878 (gst_registry_binary_save_plugin),
10879 (gst_registry_binary_write_cache),
10880 (gst_registry_binary_check_magic),
10881 (gst_registry_binary_load_pad_template),
10882 (gst_registry_binary_load_feature),
10883 (gst_registry_binary_load_plugin),
10884 (gst_registry_binary_read_cache):
10885 * gst/gstregistrybinary.h:
10886 Use glib types, cleanup comments, impement interfaces and uri-types.
10888 2007-01-13 Andy Wingo <wingo@pobox.com>
10890 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10891 getrange() to return buffers with other caps, while we fix
10892 demuxers and typefind, or otherwise change part-negotiation.txt.
10894 2007-01-12 Andy Wingo <wingo@pobox.com>
10896 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10897 Factor start/stop into this private function instead of partially
10898 in activate functions and partially in the change_state function.
10899 Fixes setup before the element has changed from READY->PAUSED, as
10900 is the case in pull-mode pipelines.
10901 (gst_base_transform_sink_activate_push)
10902 (gst_base_transform_src_activate_pull): Refactor to use
10903 gst_base_transform_activate().
10904 (gst_base_transform_change_state): Removed, not needed any more.
10906 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10907 Truncate before fixating.
10909 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10910 Don't set_caps() if the result of fixating is ANY, as it's not
10911 supported, and not necessary in the case of a link with no
10912 template caps on either side. Fixes tests/check/libs/basesrc in
10913 some pull-mode tests.
10915 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10916 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10917 (gst_base_transform_src_activate_pull):
10918 Track the activation mode.
10919 (gst_base_transform_setcaps): In pull mode, when activating the
10920 src pad, after activating the sink pad, activate the sink pad's
10921 peer, as discussed in part-negotiation.txt.
10923 * libs/gst/base/gstbasesrc.h:
10924 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10925 vmethod, as in basesink.
10927 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10929 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10930 mode, first proxy the setcaps to the peer pad.
10931 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10932 new fixate vmethod.
10933 (gst_base_sink_default_activate_pull): Rename from
10934 gst_base_sink_activate_pull.
10935 (gst_base_sink_negotiate_pull): New function, performs negotiation
10936 in pull mode before calling ::activate_pull().
10937 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10938 vmethod instead of the default implementation. I have no idea how
10939 this worked before. Negotiate before calling activate_pull.
10941 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10942 sink pads in pull mode. In addition to being correct, fixes
10943 filesrc ! decodebin ! identity ! fakesink.
10944 (gst_pad_get_range, gst_pad_pull_range): Don't call
10945 gst_pad_set_caps() if the caps changes; instead error out with
10946 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10948 2007-01-12 Andy Wingo <wingo@pobox.com>
10950 * docs/design/part-negotiation.txt: Update with more policy.
10952 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10954 * libs/gst/check/gstbufferstraw.h:
10955 * libs/gst/check/gstcheck.h:
10956 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10959 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10961 * tests/check/Makefile.am:
10962 * tests/check/gst/.cvsignore:
10963 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10964 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10965 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10966 (GST_START_TEST), (gst_tag_setter_suite):
10967 Add minimal unit test for beforementioned GstTagSetter bug.
10969 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10971 Patch by: René Stadler <mail at renestadler dot de>
10973 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10974 gst_tag_list_merge() returns a new list, so it's not the best idea
10975 to ingore its return value. Effectively meant that tags could only
10976 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10977 Also add function guard to require a non-NULL taglist as input (has
10978 always been so due to gst_tag_list_copy(), just making it explicit).
10980 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10982 * docs/random/draft-missing-plugins.txt:
10983 Some additions: mention new API that is supposed to be used at the
10984 various stages; short blob about new gst-inspect introspection
10985 option; mention potential future problem with plugins that have
10986 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10988 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10990 * tools/gst-inspect.c:
10991 (print_plugin_automatic_install_info_codecs),
10992 (print_plugin_automatic_install_info_protocols),
10993 (print_plugin_automatic_install_info), (main):
10994 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10995 introspect plugin files and get machine-parsable output that corresponds
10996 to the last bit of the missing-plugin installer string (small gotcha:
10997 doesn't take into account ranks).
10999 2007-01-11 Stefan Kost <ensonic@users.sf.net>
11002 * docs/gst/gstreamer-sections.txt:
11004 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11005 (gst_registry_lookup_locked):
11006 * gst/gstregistry.h:
11007 * gst/gstregistrybinary.c: (gst_registry_binary_write),
11008 (gst_registry_binary_initialize_magic),
11009 (gst_registry_binary_save_string),
11010 (gst_registry_binary_save_pad_template),
11011 (gst_registry_binary_save_feature),
11012 (gst_registry_binary_save_plugin),
11013 (gst_registry_binary_write_cache),
11014 (gst_registry_binary_check_magic),
11015 (gst_registry_binary_load_pad_template),
11016 (gst_registry_binary_load_feature),
11017 (gst_registry_binary_load_plugin),
11018 (gst_registry_binary_read_cache):
11019 * gst/gstregistrybinary.h:
11020 * gst/gstregistryxml.c: (load_feature),
11021 (gst_registry_xml_read_cache):
11022 commit binary registry (disabled by default, see #359653)
11024 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11026 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11027 Fix 'make check' too.
11029 2007-01-10 Andy Wingo <wingo@pobox.com>
11031 * docs/design/part-negotiation.txt: Fix a typo, add a couple
11034 * docs/design/part-negotiation.txt: Update with, um, one way that
11035 pull-mode negotiation might work?
11038 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11039 that the pad must be a src pad; makes sense to call it the other
11040 way in pull mode, and the logic is symmetric anyway.
11042 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
11044 * plugins/elements/gstfilesink.c:
11045 Include <stdio.h> for fseeko().
11047 2007-01-10 Wim Taymans <wim@fluendo.com>
11051 Reserve LATENCY event.
11053 2007-01-09 Wim Taymans <wim@fluendo.com>
11055 * docs/design/draft-latency.txt:
11058 2007-01-09 Wim Taymans <wim@fluendo.com>
11060 * docs/design/draft-latency.txt:
11063 * gst/gstelement.h:
11064 * gst/gststructure.c:
11068 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11070 * tests/check/.cvsignore:
11071 Ignore test-registry.xml as well.
11073 2007-01-09 Wim Taymans <wim@fluendo.com>
11075 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11076 unref data at the end when we are done with the pad.
11078 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11080 * docs/gst/gstreamer-sections.txt:
11081 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11082 (init_post), (gst_deinit), (gst_update_registry):
11084 API: add gst_update_registry() (#391296).
11086 * tests/check/Makefile.am:
11087 * tests/check/gst/gstregistry.c:
11088 * tests/check/gst/.cvsignore:
11089 Simple unit test for the above.
11091 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11093 * gst/gstregistry.c: (gst_registry_scan_path_level):
11094 Plugin extension on HP-UX is .sl, add that to the list of approved
11095 plugin extensions (see #393796).
11097 * tests/check/gst/gstpad.c: (GST_START_TEST):
11098 ulong => gulong. Fixes compilation with HP-UX compiler.
11100 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11101 Fix compilation if valgrind headers are not available.
11103 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11105 * win32/common/libgstreamer.def:
11106 Add new exported function.
11107 * win32/vs6/libgstbase.dsp:
11108 Add gstdataqueue.c to the build.
11109 * win32/vs6/libgstcoreelements.dsp:
11110 Add gstmultiqueue.c to the build.
11112 2007-01-06 Andy Wingo <wingo@pobox.com>
11114 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11115 activate_pull(), providing for a way to specialize the process of
11116 spawning a thread to pull on the sink pad. There is a default
11119 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11120 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11121 (gst_base_sink_init): Renamed pad activation functions (inserting
11122 "_pad" in their names). Refactor to use the new activate_pull
11123 vmethod, as appropriate.
11124 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11125 default activate_pull function to start a task pulling from the
11126 sink pad, as before.
11128 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11129 on the pads if necessary, as in push()/chain(). Update docs.
11130 Shouldn't affect existing pull() usage as it is currently only
11131 being used on buffers without caps.
11133 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11135 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11137 Call g_thread_init() first thing in gst_init() / gst_check_init().
11138 When initialisation is done via gst_init_get_option_group() and
11139 GOption parsing, issue a warning if the GLib thread system has not
11140 been initialised yet by the time gst_init_get_option_group() is
11141 called, as it's quite likely other GLib functions such as
11142 g_option_context_new() have been called already then, and
11143 g_thread_init() must be called before any other GLib function. The
11144 application in question must be fixed in that case, since memory
11145 corruption might happen otherwise.
11146 We issue the warning because even if the GLib folks decide to work
11147 around the problem on their end in future, this is still an issue
11148 with all GLib versions >= 2.10.0, so we should warn until we depend
11149 on a GLib version we know to be safe.
11150 Update documentation as well.
11151 Closes bug #391278.
11153 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11155 * tools/gst-inspect.c: (main):
11156 * tools/gst-launch.c: (main):
11157 * tools/gst-typefind.c: (main):
11158 * tools/gst-xmlinspect.c: (main):
11159 Call g_thread_init() really really early, before any other GLib
11160 function (see #342564 and recent discussion on gtk-devel-list).
11162 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11164 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11166 * gst/gst_private.h:
11167 * gst/gstconfig.h.in:
11169 On win32, all the __declspec stuff for symbol exporting is
11170 apparently only needed with MSVC, but doesn't work with MingW.
11171 Fixes compilation with MingW and #391909.
11173 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11175 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11176 Change some GST_ERROR_OBJECT that aren't really errors to
11177 GST_WARNING_OBJECT in order to reduce terminal spam.
11179 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11181 * tests/check/Makefile.am:
11182 disable test again, as there seem to be still race problems
11184 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11186 * tests/check/Makefile.am:
11187 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11188 (GST_START_TEST), (queue_suite):
11189 enable queue test again, add tests for the leaky behaviour
11191 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11194 * tests/examples/Makefile.am:
11195 Compile adapter test/example only if the required headers are
11196 available (fixes #391915).
11198 2007-01-01 David Schleef <ds@schleef.org>
11201 Restore the previous signal handler for SIGSEGV instead of
11202 setting to default, since we may have stolen it away from
11203 someone. (i.e., Mono)
11205 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11207 * docs/random/draft-missing-plugins.txt:
11208 Some small additions and clarifications.
11210 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11212 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11213 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11214 since that can lead to random memory corruptions and crashes
11215 (may or may not be related to #383244, #386711, and #386711).
11217 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11219 * tests/check/.cvsignore:
11220 * tests/check/Makefile.am:
11221 sync .cvsignome and CLEANFILES
11223 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11225 * tests/check/Makefile.am:
11228 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11230 * docs/design/part-states.txt:
11231 two tiny additional comments
11233 * gst/gststructure.c:
11236 * tests/check/Makefile.am:
11237 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11239 disable test for now, unless it gets fixed
11241 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11243 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11245 fix race in underrun test
11247 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11249 * tests/check/elements/.cvsignore:
11252 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11254 try to narrow test failure
11256 2006-12-21 David Schleef <ds@schleef.org>
11258 * plugins/elements/gstfakesrc.c:
11259 Use g_random_int_range(), since it produces better random
11260 numbers in a range than almost-correct floating point code.
11262 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11264 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11265 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11266 (gst_check_teardown_sink_pad):
11267 do not automatically (de)activate pads
11269 * tests/check/Makefile.am:
11270 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11271 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11272 add new, yet simple tests for queue
11274 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11275 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11276 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11278 * tests/check/elements/identity.c: (cleanup_identity):
11279 consistent pad (de)activation
11281 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11283 Patch by: Sebastian Dröge <slomo ubuntu com>
11285 * libs/gst/base/gstcollectpads.c:
11286 Fix two doc typos (#387866).
11288 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11290 * docs/manual/advanced-dparams.xml:
11291 Fix typo (g_object_control_properties() doesn't exist).
11293 2006-12-19 Edward Hervey <edward@fluendo.com>
11295 * gst/gstsegment.c: (gst_segment_set_seek):
11296 Fine tune the cases where the segment start/stop values are really
11298 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11299 Add tests for the return values of gst_segment_set_seek().
11301 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11306 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11308 Fix incorrect documentation and flesh it out a bit more.
11309 Set default values for the max properties on the GParamSpec as well,
11310 so it shows up correctly in gst-inspect.
11312 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11314 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11315 Correct docs of queue, add more detail and crosslink it more.
11317 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11319 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11320 Print additional debug info when the stream isn't perfectly
11321 timestamped; don't try to use invalid durations.
11323 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11325 * docs/design/Makefile.am:
11326 Dist new design docs.
11328 2006-12-16 Wim Taymans <wim@fluendo.com>
11330 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11332 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11333 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11334 (gst_collect_pads_stop), (gst_collect_pads_event),
11335 (gst_collect_pads_chain):
11336 * libs/gst/base/gstcollectpads.h:
11337 Add refcounting to the collectpads data so we can track when it's safe
11338 to free the data. Fixes #383382.
11340 2006-12-15 Wim Taymans <wim@fluendo.com>
11342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11343 (gst_collect_pads_remove_pad):
11344 Automatically activate/deactivate pads when they are added to a
11345 started/stoped collectpads.
11347 2006-12-15 Wim Taymans <wim@fluendo.com>
11349 * gst/gstelement.c: (gst_element_add_pad):
11350 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11351 * gst/gstpad.c: (gst_pad_init):
11352 Set pads to FLUSHING when they are created. Check, warn and fix when a
11353 demuxer adds an inactive pad to itself when running. Fixes #339326.
11355 2006-12-15 Wim Taymans <wim@fluendo.com>
11357 * gst/gstelement.c: (gst_element_class_init),
11358 (gst_element_default_send_event), (gst_element_send_event),
11359 (gst_element_default_query), (gst_element_query):
11360 Expose default element send_event and query handling as vmethods that
11361 subclasses can chain up to.
11363 2006-12-15 Wim Taymans <wim@fluendo.com>
11365 * gst/gstelement.c: (gst_element_set_state_func):
11366 Small documentation fixes.
11368 2006-12-15 Wim Taymans <wim@fluendo.com>
11370 * docs/design/draft-latency.txt:
11371 Checked in draft for handling latency in pipelines.
11373 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11377 * gstreamer.spec.in:
11380 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11382 * gst/gst.c: (init_pre), (init_post):
11383 init_pre() and init_post() might be called via our GOptionGroup or
11384 from gst_init(), and we should skip both of them if we've already
11385 been initialised, otherwise we will init some things twice or add
11386 two default log functions.
11388 2006-12-13 Edward Hervey <edward@fluendo.com>
11390 * docs/manual/basics-bus.xml:
11391 No, gst_main_loop does not exist. Its g_main_loop.
11392 Discovered by somebody who abused the copy-paste technique of coding :)
11394 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11396 * gst/gstghostpad.c:
11397 Log ghostpad debug stuff to the GST_PADS category as well rather
11398 than just to the default category.
11400 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11403 * gst/gst.c: (init_pre):
11404 Add some basic system details such as OS and architecture
11405 to the debug output if possible, courtesy of uname().
11407 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11409 * docs/gst/running.xml:
11410 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11411 environment variables.
11413 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11415 * tests/check/gst/gstbin.c: (GST_START_TEST):
11416 It is acceptable to have a refcount of 2 or 3 at this point in the
11417 test, because the pipeline might be just posting its state_change
11418 message. The next line then waits for that message to appear using
11419 bus_poll, so that should be fine too.
11421 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11423 * gst/gst.c: (ensure_current_registry_forking):
11424 Ignore EINTR when reading from the child registry pipe.
11425 Explicitly ignore the return value from close, since it makes no
11428 * gst/gstminiobject.c: (gst_mini_object_ref),
11429 (gst_mini_object_unref):
11430 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11432 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11433 When removing cached plugins, remove their features too, so they're
11434 not visible after they've disappeared.
11436 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11437 In the unlikely case that we are linking pads with no parents, don't
11438 crash trying to get the non-existent parent bin.
11440 * gst/parse/grammar.y:
11441 Output debug in the PIPELINE category
11443 2005-03-08 Wim Taymans <wim@fluendo.com>
11445 Patch by: René Stadler <mail at renestadler dot de>
11447 * gst/gstclock.c: (gst_clock_new_periodic_id):
11448 Reject invalid clock times for interval of periodic ids.
11451 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11453 * gst/gstelementfactory.c: (gst_element_factory_create):
11454 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11455 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11456 * tools/gst-inspect.c: (print_element_info):
11457 Fix refcounting of gst_plugin_feature_load to match the docs.
11460 2006-12-07 Wim Taymans <wim@fluendo.com>
11462 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11463 (gst_base_sink_get_position):
11464 Improve debugging of events.
11466 2006-12-07 Wim Taymans <wim@fluendo.com>
11468 Patch by: René Stadler <mail at renestadler dot de>
11470 * gst/gstclock.c: (gst_clock_id_wait):
11471 Make period ids add the interval to the origial requested time instead
11472 of the possibly updated time which can be wrong when there are multiple
11473 waiters for the same id. Fixes #382592.
11475 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11476 (gst_system_clock_id_wait_jitter_unlocked),
11477 (gst_system_clock_id_wait_jitter):
11478 Fix restart in the async notify thread when an async entry is added to
11479 the front of the list. Fixes #381492.
11481 * tests/check/gst/gstsystemclock.c: (store_callback),
11482 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11483 Added test for multiple async waits.
11484 Added test for async wait order.
11486 2006-12-07 Wim Taymans <wim@fluendo.com>
11488 * gst/gstbin.c: (gst_bin_query):
11489 Add some more docs about the POSITION query.
11491 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11494 Bump version nano - back to CVS.
11496 === release 0.10.11 ===
11498 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11501 releasing 0.10.11, "Love never runs on time"
11503 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11505 * win32/common/libgstbase.def:
11506 * win32/common/libgstreamer.def:
11507 * win32/vs8/libgstbase.vcproj:
11508 * win32/vs8/libgstcoreelements.vcproj:
11509 * win32/vs8/libgstreamer.vcproj:
11510 Fix compilation on win32 under VS8
11511 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11512 Partially fixes #381175
11514 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11516 * gst/gstvalue.c: (gst_value_compare_fraction):
11517 If someone is foolish enough to compare 2 fractions with denominator =
11518 0, return UNORDERED rather than aborting.
11520 2006-11-28 Edward Hervey <edward@fluendo.com>
11522 * libs/gst/base/Makefile.am:
11523 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11524 (gst_data_queue_base_init), (gst_data_queue_class_init),
11525 (gst_data_queue_init), (gst_data_queue_new),
11526 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11527 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11528 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11529 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11530 (gst_data_queue_set_flushing), (gst_data_queue_push),
11531 (gst_data_queue_pop), (gst_data_queue_drop_head),
11532 (gst_data_queue_set_property), (gst_data_queue_get_property):
11533 * libs/gst/base/gstdataqueue.h:
11534 New GstDataQueue object for threadsafe queueing. Most useful for
11535 elements that need some queueing functionnality.
11536 * docs/libs/gstreamer-libs-docs.sgml:
11537 * docs/libs/gstreamer-libs-sections.txt:
11538 Insert documentation for GstDataQueue
11539 * plugins/elements/Makefile.am:
11540 * plugins/elements/gstelements.c:
11541 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11542 (gst_multi_queue_class_init), (gst_multi_queue_init),
11543 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11544 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11545 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11546 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11547 (gst_multi_queue_loop), (gst_multi_queue_chain),
11548 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11549 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11550 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11551 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11552 (wake_up_next_non_linked), (compute_next_non_linked),
11553 (single_queue_overrun_cb), (single_queue_underrun_cb),
11554 (single_queue_check_full), (gst_single_queue_new):
11555 * plugins/elements/gstmultiqueue.h:
11556 New multiqueue element, using GstDataQueue. Used for queuing multiple
11558 Closes #344639 and #347785
11560 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11562 * docs/pwg/advanced-types.xml:
11563 add more missing type details
11565 * tools/gst-run.c: (main):
11566 remove unused variable
11568 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11570 * docs/libs/Makefile.am:
11571 * docs/libs/gstreamer-libs.types:
11572 add types of base classes to enable gobject specific stuff in the docs
11574 * docs/random/ensonic/embedded.txt:
11575 more ideas about isolating platform specific things
11577 2006-11-20 Wim Taymans <wim@fluendo.com>
11579 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11581 * libs/gst/check/gstcheck.h:
11582 Fix compilation and running against 0.9.4. Fixes #377332.
11584 2006-11-20 Wim Taymans <wim@fluendo.com>
11586 * gst/gstsegment.c: (gst_segment_set_seek),
11587 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11588 (gst_segment_to_running_time):
11589 Fix boundary checking in to_running_time() and to_stream_time().
11592 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11593 stream and running time can now be calculated for the complete
11596 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11598 * gst/gstpad.c: (gst_pad_push_event):
11599 Can't access event structure after giving away ownership of
11602 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11604 * docs/random/ensonic/embedded.txt:
11605 * docs/random/ensonic/profiling.txt:
11606 * docs/random/ensonic/receipies.txt:
11609 2006-11-13 Wim Taymans <wim@fluendo.com>
11611 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11614 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11616 2006-11-13 Wim Taymans <wim@fluendo.com>
11618 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11620 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11621 Store new length in segment duration so we don't keep on calling the
11622 potentially expensize get_size() call. Fixes #370865.
11624 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11626 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11628 * win32/common/libgstreamer.def:
11629 Add two missing symbols (#366492).
11631 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11633 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11634 (gst_adapter_take_buffer):
11635 Fix format string to use all its arguments.
11636 Remove useless >= check on a guint
11638 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11640 * tests/examples/adapter/.cvsignore:
11641 Ignore build file as commanded by the build-bot
11643 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11645 * tests/examples/adapter/Makefile.am:
11646 * tests/examples/adapter/adapter_test.c: (run_test_take),
11647 (run_test_take_buffer), (run_tests), (main):
11649 Add new files from the previous commit
11651 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11655 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11656 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11657 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11658 * libs/gst/base/gstadapter.h:
11659 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11660 (GST_START_TEST), (gst_adapter_suite):
11661 * tests/examples/Makefile.am:
11662 Do some optimisation work in GstAdapter to avoid copies in more cases.
11663 It could still do slightly better by merging buffers when
11664 gst_buffer_is_span_fast is true, but is already faster.
11666 Also, avoid traversing a single-linked list to append each incoming
11667 buffer inside the adapter.
11669 Add simple test app that times the adapter behaviour in different
11670 situations, and extend the unit test to check that bytes enter and
11671 exit the adapter in their original order.
11673 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11675 * docs/random/draft-missing-plugins.txt:
11676 Update: use element message instead of adding a new message
11677 type to the core; don't provide GStreamer API to initiate the
11678 plugin download, just provide API to compose the strings needed
11679 and let an external libgimmestuff handle the rest.
11681 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11683 * tools/gst-inspect.c: (print_element_properties_info):
11684 Print a string instead of 'unknown type' for GValueArray properties
11686 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11688 * docs/random/draft-missing-plugins.txt:
11691 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11693 * tests/examples/typefind/typefind.c: (type_found), (main):
11694 Make typefind element example work again (#371894); add a
11697 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11699 * docs/random/draft-missing-plugins.txt:
11700 Commit initial draft about how to deal with missing plugins,
11701 needs work (API too).
11703 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11705 * docs/pwg/advanced-types.xml:
11706 documents the new caps elements (see #363118)
11708 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11710 * gst/gstplugin.c: (gst_plugin_load_file):
11711 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11712 (gst_file_src_map_region), (gst_file_src_start):
11713 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11714 (gst_file_index_commit):
11715 Use g_strerror() instead of strerror() - we want UTF-8.
11717 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11719 Patch by: Peter Kjellerstedt <pkj at axis com>
11721 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11722 Another printf fix (#371493).
11724 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11726 * tests/check/gst/gsttag.c:
11727 relicence (okay with author=company)
11729 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11731 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11732 (gst_pad_push_event):
11733 Enhance debug and improve docs
11738 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11740 * docs/random/ensonic/distributed.txt:
11741 * docs/random/ensonic/profiling.txt:
11744 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11746 * docs/gst/gstreamer-sections.txt:
11747 add new API and fix the build
11749 * gst/gstbin.c: (gst_bin_recalc_state):
11750 * gst/gstelement.c: (gst_element_message_full),
11751 (gst_element_get_state_func), (gst_element_set_state_func):
11752 use new API and improve logging
11754 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11756 API: add function to get StateChangereturn names to improve logs
11758 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11760 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11761 I'm considering shooting the next person to put strerror stuff
11762 in the translateable part of the message.
11764 2006-11-03 Wim Taymans <wim@fluendo.com>
11766 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11767 Get the type and printf conversion specifiers right.
11769 2006-11-03 Wim Taymans <wim@fluendo.com>
11771 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11773 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11774 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11775 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11776 Some small cleanups. Improve debugging.
11778 Signal all waiting threads with a broadcast instead of just one.
11781 2006-11-03 Wim Taymans <wim@fluendo.com>
11783 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11784 (gst_fd_src_create):
11785 Add some debugging.
11786 Only update fd when it's different from the old.
11788 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11790 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11791 Printf fixes for PPC/OSX, take two (#369366).
11793 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11795 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11797 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11798 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11799 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11800 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11801 don't cast to long long for portability reasons, but use
11802 GLib's types instead.
11804 2006-10-30 Michael Smith <msmith@fluendo.com>
11806 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11807 Get the arguments to lseek() the right way around.
11810 2006-10-30 Wim Taymans <wim@fluendo.com>
11812 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11815 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11817 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11819 Patch by: Kjartan Maraas <kmaraas at gnome org>
11821 * docs/design/part-MT-refcounting.txt:
11822 * docs/random/wtay/capsnego2-docs:
11825 Typo fixes (#366212).
11827 2006-10-28 Wim Taymans <wim@fluendo.com>
11829 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11832 * win32/common/libgstbase.def:
11833 * win32/common/libgstreamer.def:
11834 * win32/vs8/libgstbase.vcproj:
11835 * win32/vs8/libgstcontroller.vcproj:
11836 Add needed entries in .def files.
11838 Rearrange def files in vs8 solutions. Fixes #366286.
11840 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11842 * win32/common/gstconfig.h:
11843 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11844 hand-made win32 gstconfig.h. Fixes #366321.
11846 2006-10-27 Wim Taymans <wim@fluendo.com>
11848 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11849 (gst_ghost_pad_new_full):
11850 Make acceptcaps return TRUE when we don't have a target, just like
11853 2006-10-27 Wim Taymans <wim@fluendo.com>
11855 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11856 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11858 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11860 * gst/gststructure.c: (gst_structure_id_set_value):
11861 If someone tries to set a non-UTF8 string field on a structure,
11862 don't just print a warning, but also ignore the request and do
11863 not change/add that field to the structure.
11865 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11866 Test for the above.
11868 2006-10-25 David Schleef <ds@schleef.org>
11871 g_hash_table_insert() needs a cast to a non-const pointer duh.
11873 2006-10-25 David Schleef <ds@schleef.org>
11877 Change name parameter of _gst_debug_register_funcptr to const
11878 to reflect the constness of its use in the function as well
11879 as to quiet a gcc warning.
11881 2006-10-25 Edward Hervey <edward@fluendo.com>
11883 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11884 Don't push the buffer if it's empty.
11887 2006-10-24 Wim Taymans <wim@fluendo.com>
11892 * libs/gst/base/gstbasetransform.c:
11893 (gst_base_transform_sink_eventfunc):
11894 Debug segment values *after* updating them as this is more
11897 2006-10-23 Wim Taymans <wim@fluendo.com>
11899 * docs/design/part-events.txt:
11902 * docs/design/part-block.txt:
11903 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11904 (gst_pad_push_event):
11905 Revert BLOCKING patch, it tries to be smart without really having a
11906 clear idea what or how. So, now we discard all FLUSHING events again on
11907 a blocking pad. Should fix gnonlin again.
11909 2006-10-23 Wim Taymans <wim@fluendo.com>
11911 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11913 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11914 (gst_base_src_start), (gst_base_src_activate_push):
11915 Make sure size is always initialized. Fixes #364388.
11917 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11919 * docs/random/ensonic/distributed.txt:
11920 add some ideas about doing distributed processing
11922 * docs/random/ensonic/profiling.txt:
11923 get_rusage look promising
11925 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11927 * docs/manual/basics-helloworld.xml:
11928 Add a cast in example to fix compile warning
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 Relax arg checking again, -1 is allowed.
11936 2006-10-18 Wim Taymans <wim@fluendo.com>
11938 * gst/gstsegment.c: (gst_segment_set_last_stop),
11939 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11940 _set_last_stop() must be with a value != -1
11941 A _TYPE_SET to -1 means seek to 0.
11942 Calc last_stop correctly for negative rates.
11943 Make sure we work with positive durations when updating a segment.
11945 2006-10-18 Wim Taymans <wim@fluendo.com>
11947 * docs/design/part-live-source.txt:
11951 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11954 Add an explicit cast to GstBuffer** to keep old code that added an
11955 explicit cast to GstMiniObject** for gst_mini_object_replace()
11956 compiling without warning.
11958 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11960 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11961 check for validity of dates
11963 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11965 * docs/gst/gstreamer-sections.txt:
11966 Forgot this one, makes gtk-doc shut up.
11968 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11970 Patch by: Peter Kjellerstedt <pkj at axis com>
11973 Don't define xmlNodePtr to gpointer if the core was built with
11974 --disable-loadsave and --disable-registry, this will break
11975 applications that want to use libxml2 but are buildling against a
11976 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11977 instead so we don't have to mess with the libxml2 namespace
11980 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11983 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11984 type-punned pointer warnings.
11986 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11988 * gst/gstelement.h:
11989 Add casts to the correct return type to state <=> state transition
11992 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11994 * docs/design/part-live-source.txt:
11995 describe howto handle latency
11997 * docs/random/ensonic/profiling.txt:
12000 * tools/gst-plot-timeline.py:
12001 fix log parsing for solaris, remove unused function
12003 2006-10-16 Wim Taymans <wim@fluendo.com>
12005 * docs/design/part-trickmodes.txt:
12007 Update some docs regarding reverse playback.
12009 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
12011 Patch by: Marcus Granado <mrc dot gran at gmail com>
12013 * win32/vs8/grammar.vcproj:
12014 Error out with a warning if glib-genmarshal.exe is not in path,
12015 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12017 2006-10-13 Wim Taymans <wim@fluendo.com>
12019 * gst/gstsegment.c: (gst_segment_set_seek):
12020 When seeking to stop -1, set last_stop (current position) to the
12021 duration of the segment.
12023 2006-10-13 Wim Taymans <wim@fluendo.com>
12025 * gst/gstelement.h:
12026 Clarify _NO_PREROLL a bit more.
12031 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12032 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12033 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12034 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12035 due to wrong locking order. Fixes #361769.
12036 Remove some redundant/misplaced checks in pad_block.
12038 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12039 For negative rates, count backwards from the duration.
12041 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
12043 * gst/gsterror.c: (_gst_library_errors_init):
12044 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12045 up with something better).
12047 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12049 * win32/vs6/libgstreamer.dsp:
12050 * win32/vs7/libgstreamer.vcproj:
12051 * win32/vs8/libgstreamer.vcproj:
12052 Don't reference glib-compat.c which is currently not used and not
12053 disted; add gstquark.c which was recently added. Fixes #361730.
12055 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12057 * win32/common/libgstbase.def:
12058 * win32/common/libgstcontroller.def:
12059 * win32/common/libgstreamer.def:
12060 Add gst_caps_merge() and a bunch of other recently-added functions.
12063 2006-10-11 Wim Taymans <wim@fluendo.com>
12065 * docs/plugins/gstreamer-plugins.args:
12066 * docs/plugins/inspect/plugin-coreelements.xml:
12067 * docs/plugins/inspect/plugin-coreindexers.xml:
12068 Update element args.
12070 * gst/gstsystemclock.c:
12071 Small comment update.
12073 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12074 (gst_tee_request_new_pad), (gst_tee_release_pad),
12075 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12076 (gst_tee_sink_activate_pull):
12077 * plugins/elements/gsttee.h:
12079 Add default property defines.
12080 Implement release pad function.
12081 Give properties better blubs etc.
12082 Activate pads before adding them to a running tee.
12083 Do simple buffer_alloc on the first requested pad.
12084 Post error when activation fails.
12086 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12088 * gst/gst.c: (ensure_current_registry_forking):
12089 Check return value of write() to make compiler happy.
12091 2006-10-11 Wim Taymans <wim@fluendo.com>
12093 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12095 * plugins/elements/gstqueue.c: (gst_queue_chain):
12096 Recheck queue filledness after signalling the overrun when we're about
12097 to leak downstream because we released the lock when emitting the signal
12098 and the queue could be empty again. Fixes #352345.
12100 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12103 Fix refcounting here too, just like we did for _new_valist() a few
12104 days ago (#357180) (thanks to René Stadler). Also remove all those
12105 'Since: 0.9' from the gtk-doc blobs.
12107 * tests/check/libs/controller.c: (controller_refcount_new_list),
12108 (gst_controller_suite):
12109 Unit test for the above.
12111 2006-10-10 Wim Taymans <wim@fluendo.com>
12113 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12115 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12116 (gst_pad_save_thyself):
12118 Write pad direction in XML output. Fixes #345496.
12120 2006-10-10 Wim Taymans <wim@fluendo.com>
12122 Patch by: René Stadler <mail at renestadler dot de>
12124 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12125 (gst_controller_new_list), (_gst_controller_dispose),
12126 (_gst_controller_finalize), (_gst_controller_class_init):
12127 Take ref to controlled object so that it cannot disappear.
12130 2006-10-10 Wim Taymans <wim@fluendo.com>
12132 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12133 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12134 (gst_check_teardown_sink_pad):
12135 Activate/deactivate pads in setup/teardown respectively.
12137 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12139 Patch by: Josep Torra Valles <josep@fluendo.com>
12142 Cast values when making gstenumtypes.h. This pacifies Forte
12143 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12144 in the enumeration.
12146 2006-10-09 Wim Taymans <wim@fluendo.com>
12148 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12149 Rename some more @cur to @start to fix docs.
12151 * gst/gstsegment.c: (gst_segment_set_seek):
12153 time and start must always stay in sync as defined in design doc.
12155 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12156 Rename param to fix docs.
12158 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12159 Check that start and time are in sync.
12161 * tests/check/pipelines/parse-launch.c:
12162 (gst_parse_test_element_change_state):
12163 Activate pad before adding to the element.
12165 2006-10-09 Wim Taymans <wim@fluendo.com>
12167 * docs/design/part-qos.txt:
12172 Update seek event docs regarding negative rates.
12173 Rename @cur to @start.
12175 * gst/gstsegment.c: (gst_segment_set_seek):
12176 * gst/gstsegment.h:
12177 Update set_seek docs regarding negative rates.
12178 Correctly update last_stop to @stop when dealing with negative
12180 Rename @cur to @start.
12182 * tests/check/gst/gstpad.c: (GST_START_TEST):
12183 Activate pads before trying to use them.
12185 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12186 (gst_segment_suite):
12187 Add simple check for segments and negative rates.
12189 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12191 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12192 * gst/gsttaglist.h:
12193 * docs/gst/gstreamer-sections.txt:
12194 API: add gst_tag_list_is_empty() (#360467).
12196 * tests/check/gst/gsttag.c: (GST_START_TEST):
12199 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12201 * gst/gstmessage.h:
12202 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12203 a value that doesn't fit on enumeration.
12205 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12207 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12208 Remove local debugging system and use Gstreamer's instead.
12210 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12212 Patch by: Josep Torra Valles <josep@fluendo.com>
12214 * common/m4/gst-error.m4:
12215 Disable warning of statement not reached on Forte.
12216 * gst/gstmessage.h:
12217 Fix warning on Forte (value doesn't fit on enumeration).
12218 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12219 Fix warning on Forte (value doesn't fit on enumeration).
12220 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12221 DEBUG macro says it takes minimum of 2 args and so Forte
12222 complains about the use with just 1 arg.
12223 * plugins/elements/gstfdsink.c:
12224 * plugins/elements/gstfdsrc.c:
12225 * plugins/elements/gstfilesink.c:
12226 * plugins/elements/gstfilesrc.c:
12227 Use correct return type for the uri handler implementations.
12229 All these fix warnings in Forte. Fixes bug #360860.
12231 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12233 * gst/gstelement.h:
12234 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12235 format string, so don't use G_GNUC_PRINTF for those versions.
12237 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12239 * gst/gsttaglist.c: (gst_is_tag_list):
12240 * gst/gsttaglist.h:
12241 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12243 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12244 Small test for the above.
12246 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12248 * gst/gsttaglist.h:
12249 Less tabs, more spaces.
12251 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12254 Those two function declarations do actually belong there, revert
12255 commit from yesterday that turned them intro macros.
12257 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12259 Patch by: Josep Torra Valles <josep@fluendo.com>
12261 * gst/gst.c: (gst_init_get_option_group):
12262 Fix empty declaration and type mismatch.
12263 * gst/gstbin.c: (gst_bin_change_state_func):
12265 * gst/gstelement.c: (gst_element_continue_state),
12266 (gst_element_set_state_func), (gst_element_change_state),
12267 (gst_element_change_state_func):
12268 Fix type mismatches.
12269 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12270 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12271 Cast as appropriate.
12272 * gst/gstobject.c: (gst_class_signal_connect):
12273 Cast as appropriate. The function pointer parameter really
12274 has the wrong type but would break API if we change it.
12276 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12277 order of including string.h.
12278 * gst/gstutils.c: (gst_element_state_get_name):
12279 Remove unreachable line.
12280 * gst/gstxml.c: (gst_xml_parse_doc):
12282 All these caught by Forte.
12284 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12286 Patch by: Josep Torra Valles <josep@fluendo.com>
12288 * common/m4/gst-error.m4:
12290 We need to disable warnings on Forte for empty declarations
12291 due to gst-indent adding ;s to lines that just use macros
12292 where the macro actually doesn't need a ; at end to end
12295 2006-10-06 Wim Taymans <wim@fluendo.com>
12297 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12298 (gst_file_sink_close_file), (gst_file_sink_event),
12299 (gst_file_sink_render):
12300 Add some FIXME for the NEWSEGMENT handling.
12302 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12304 * gst/parse/grammar.y:
12305 Remove static function gst_parse_element_lock as all it does
12306 is return. Looks like cruft from 0.8.
12308 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12310 Patch by: Josep Torra Valles <josep@fluendo.com>
12312 * common/m4/gst-error.m4:
12314 * libs/gst/net/Makefile.am:
12315 Fix a compilation issue with Forte on Solaris. inet_aton is in
12318 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12320 * gst/gstpad.c: (pre_activate):
12321 * gst/gstregistry.c: (gst_registry_scan_path_level):
12322 * gst/gstregistryxml.c: (load_plugin):
12323 * libs/gst/controller/gstcontroller.c:
12324 (gst_controlled_property_set_interpolation_mode):
12325 * libs/gst/dataprotocol/dataprotocol.c:
12326 (gst_dp_packet_from_event_1_0):
12327 * libs/gst/net/gstnetclientclock.c:
12328 (gst_net_client_clock_observe_times):
12329 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12332 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12335 * docs/gst/gstreamer-sections.txt:
12336 * gst/gstconfig.h.in:
12337 * gst/gstelement.h:
12339 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12340 whether we can use G_GNUC_PRINTF in other header files and at
12341 least check the printf format/arguments of debug messages and
12342 GST_ELEMENT_ERROR messages when the printf extension is not
12344 Replace more tabs with spaces in gstinfo.h and remove two spurious
12345 function declarations in GST_DISABLE_DEBUG part with macros.
12347 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12349 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12350 More docs for the sync-message signal (mention that it is not
12351 emitted by default); log message structures of messages posted on
12354 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12356 * gst/gst.c: (ensure_current_registry_forking):
12357 Use a pipe pair to receive status results from the forked child, and
12358 ignore the result from waitpid. Fixes #355499
12360 2006-10-02 Wim Taymans <wim@fluendo.com>
12362 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12363 (gst_ghost_pad_suite):
12366 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12369 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12371 2006-10-02 Edward Hervey <edward@fluendo.com>
12373 * docs/design/part-block.txt:
12374 Further explain the use of flushing on blocked pads.
12375 * docs/gst/gstreamer-sections.txt:
12376 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12377 (gst_pad_push_event):
12379 Added new GstPadFlag : GST_PAD_BLOCKING.
12380 Adds the notion of pads really blocking, which enables to properly
12381 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12383 API: gst_pad_is_blocking()
12384 API: GST_PAD_IS_BLOCKING() macro
12385 API: GST_PAD_BLOCKING GstPadFlag
12387 2006-10-02 Wim Taymans <wim@fluendo.com>
12389 Patch by: mrcgran <mrc.gran at gmail dot com>
12391 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12392 Filter the proxied caps against the padtemplate if we have one.
12394 * gst/gstquery.c: (gst_query_new_segment):
12395 Add include for gstinfo.h so that compilation with
12396 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12398 2006-10-02 Wim Taymans <wim@fluendo.com>
12400 Patch by: Alessandro Decina <alessandro at nnva org>
12402 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12403 (gst_file_sink_set_location), (gst_file_sink_open_file),
12404 (gst_file_sink_close_file), (gst_file_sink_event),
12405 (gst_file_sink_render):
12406 Set file to NULL when closing filesink so that we can set a new filename
12407 in READY. Fixes #358613.
12409 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12411 Patch by: Alessandro Decina <alessandro at nnva org>
12413 * gst/gstevent.c: (_gst_event_copy):
12414 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12415 with event structures by setting the parent refcount address of the
12416 copied structure to the address of the refcount member of the newly
12417 copied event rather than the address of the refcount member of the
12418 original event. Fixes #358737.
12420 * tests/check/gst/gstevent.c: (GST_START_TEST):
12421 Unit test for the above.
12423 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12425 * docs/design/Makefile.am:
12426 Dist some more files.
12428 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12430 * tests/check/libs/controller.c: (GST_START_TEST),
12431 (gst_controller_suite):
12432 Add test for the previous fix; add some more tests
12433 for correct refcounting behaviour; fix a few leaks
12434 in test cases; call gst_controller_init() at start
12437 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12439 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12440 (gst_controller_set_from_list):
12441 Don't g_return_val_if_fail() on timed values with invalid timestamps
12442 inside a critical section without unlocking the mutex. Spotted by
12443 René Stadler. (#357617)
12444 Also, fix up refcounting properly: when returning an existing
12445 controller, we should increase the reference only once and not
12446 once per property and when trying to control a property again
12447 we should also increase the refcount.
12449 2006-09-29 Wim Taymans <wim@fluendo.com>
12451 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12452 * libs/gst/net/gstnettimeprovider.c:
12453 (gst_net_time_provider_thread):
12454 Stop reading commands when EOF as well.
12456 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12457 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12458 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12459 Unify description of the dump property.
12461 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12463 * tests/examples/manual/.cvsignore:
12464 OK, so it's actually cvsignore that needs changing. Stop laughing.
12466 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12468 * tests/examples/manual/Makefile.am:
12469 Gah, declare vars *before* using them
12471 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12473 * gst/gst.c: (init_pre), (scan_and_update_registry),
12474 (ensure_current_registry_nonforking),
12475 (ensure_current_registry_forking), (ensure_current_registry),
12476 (init_post), (gst_debug_help), (gst_deinit):
12477 * gst/gst_private.h:
12478 * gst/gstregistry.c: (gst_registry_finalize),
12479 (gst_registry_remove_features_for_plugin_unlocked),
12480 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12481 (gst_registry_scan_path),
12482 (_priv_gst_registry_remove_cache_plugins),
12483 (_priv_gst_registry_cleanup):
12484 * gst/gstregistry.h:
12485 Re-commit the registry changes, along with an extra fix:
12486 When a cached plugin is encountered at a different file path,
12487 update the stored path in the registry cache so that the parent
12488 process knows where it actually is now when it re-reads the registry
12489 cache. Fixes the thing that broke distcheck with the previous commit.
12491 * tests/check/Makefile.am:
12492 Clean up files named 'core' too when running make clean.
12494 * tests/examples/manual/Makefile.am:
12495 Set up a registry path for running these tests, and clean it properly
12498 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12501 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12502 want gmodule-no-export-2.0.pc instead so that we don't drag in
12503 --export-dynamic on every project that links to GStreamer.
12505 Also, make our export regex only match the start of symbols, rather
12506 than any symbol that contains '_gst' somewhere.
12508 * libs/gst/check/Makefile.am:
12509 The libgstcheck we build does however need export-dynamic, as it
12510 produces some symbols that don't match our _gst... style regex.
12513 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12515 * gst/gst.c: (init_pre), (scan_and_update_registry),
12516 (ensure_current_registry_nonforking),
12517 (ensure_current_registry_forking), (ensure_current_registry),
12518 (init_post), (gst_debug_help), (gst_deinit):
12519 * gst/gst_private.h:
12520 * gst/gstregistry.c: (gst_registry_finalize),
12521 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12522 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12523 (_gst_registry_cleanup):
12524 * gst/gstregistry.h:
12525 Revert previous change until I figure out why it breaks distcheck.
12527 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12529 * gst/gst.c: (init_pre), (scan_and_update_registry),
12530 (ensure_current_registry_nonforking),
12531 (ensure_current_registry_forking), (ensure_current_registry),
12532 (init_post), (gst_debug_help), (gst_deinit):
12534 Make init_pre and init_post take the full complement of GOptionFunc
12535 args so they can return useful GErrors. Make the registry updating
12538 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12539 ensure that the registry we're about to write out doesn't contain
12540 stale information about old-deleted plugin files.
12542 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12543 that deletion of plugin files is considered a registry change.
12545 * gst/gst_private.h:
12546 * gst/gstregistry.c: (gst_registry_finalize),
12547 (gst_registry_remove_features_for_plugin_unlocked),
12548 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12549 (gst_registry_scan_path),
12550 (_priv_gst_registry_remove_cache_plugins),
12551 (_priv_gst_registry_cleanup):
12552 * gst/gstregistry.h:
12553 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12554 by adding _priv prefix, so that they won't appear in the global
12555 symbol table. They still do atm though because of #318031. Move the
12556 prototypes to gst_private.h
12558 When removing a plugin, remove all features for that plugin too.
12561 2006-09-27 Wim Taymans <wim@fluendo.com>
12563 * docs/random/moving-plugins:
12564 Make it clear that the "compiled-in descriptions" really mean
12565 the element details.
12567 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12568 (gst_base_sink_wait_preroll):
12571 * docs/libs/gstreamer-libs-sections.txt:
12572 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12573 (gst_base_src_get_range), (gst_base_src_activate_push):
12574 * libs/gst/base/gstbasesrc.h:
12575 Added function to block while waiting for PLAYING, this function
12576 is used by live sources that block on the clock.
12577 API: gst_base_src_wait_playing()
12579 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12581 Patch by: Peter Kjellerstedt <pkj at axis com>
12584 gst-element-check.m4 is generated and should therefore be
12585 copied from the build dir rather than the source dir (#357593).
12586 'make distcheck' hasn't noticed this because we were disting
12587 the file as well, so stop doing that.
12589 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12591 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12592 Add some tests for gst_caps_intersect().
12594 * tools/gst-launch.c: (event_loop):
12595 Print all buffering percentages we get, even the 100% one.
12597 2006-09-26 Wim Taymans <wim@fluendo.com>
12599 * tools/gst-inspect.c: (print_element_properties_info),
12600 (print_signal_info):
12601 Fix printing of flags to match the look of enums.
12603 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12605 * gst/gstelementfactory.c:
12606 Fix typo in docs blurb.
12608 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12610 * gst/gsturi.c: (search_by_entry):
12611 Don't assert/crash here if a uri handler doesn't return any
12612 supported protocols. The list of protocols could be generated
12613 dynamically at runtime or at plugin registration, and an error
12614 in the underlying library shouldn't be fatal (#353301).
12616 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12619 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12620 (spotted by Peter Kjellerstedt).
12622 2006-09-23 Wim Taymans <wim@fluendo.com>
12624 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12626 * libs/gst/base/gstbasesrc.c:
12627 (gst_base_src_default_check_get_range), (gst_base_src_start),
12628 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12629 (gst_base_src_change_state):
12630 Match _start/_stop calls in the activate functions. Remove redundant
12631 _stop call from the state change function. Fixes #356910.
12632 Turn failure DEBUG into ERROR.
12634 2006-09-22 Wim Taymans <wim@fluendo.com>
12636 * docs/design/part-buffering.txt:
12637 * gst/gstmessage.c: (gst_message_new_buffering),
12638 (gst_message_parse_buffering):
12639 Update docs about buffering.
12641 * docs/design/part-trickmodes.txt:
12644 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12646 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12647 (gst_controller_new_list):
12648 Ref instances when returning them again (fixes #357180)
12650 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12652 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12653 Don't forget to release proxy lock when there's an error.
12655 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12658 Add extra initialisers for Caps things, to fix some plugin warnings
12661 2006-09-18 Wim Taymans <wim@fluendo.com>
12663 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12664 Also set template on the internal pad so that a getcaps from the
12665 target pad returns the template caps.
12667 2006-09-18 Wim Taymans <wim@fluendo.com>
12669 * gst/gstelement.c: (gst_element_post_message),
12670 (gst_element_dispose):
12671 Use _DEBUG_OBJECT some more.
12673 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12676 * tools/gst-launch.c: (main):
12677 If the toplevel element is not a GstPipeline, it must be put in a
12678 pipeline so that a bus and clock is selected.
12680 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12682 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12683 JITTER, RATE, and LATENCY query should be handled by the
12684 default case and not by the CONVERT query code.
12686 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12688 * gst/gstformat.c: (gst_format_register):
12689 Fix locking order (must take lock before using n_values).
12691 * gst/gstvalue.c: (gst_value_serialize_enum),
12692 (gst_value_deserialize_enum_iter_cmp),
12693 (gst_value_deserialize_enum):
12694 Fix serialisation/deserialisation of custom registered GstFormats.
12696 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12697 Unit test for custom format serialisation/deserialisation.
12699 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12701 * docs/pwg/building-boiler.xml:
12702 * plugins/elements/gstcapsfilter.c:
12703 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12706 2006-09-16 Edward Hervey <edward@fluendo.com>
12708 * libs/gst/base/gstbasetransform.c:
12709 (gst_base_transform_buffer_alloc):
12710 Check if requested caps are the same as the sinks caps IF
12711 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12713 This fixes the renegotiation issues stated in #352827.
12715 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12718 * docs/manual/advanced-autoplugging.xml:
12719 * tests/examples/Makefile.am:
12720 * tests/examples/manual/.cvsignore:
12721 * tests/examples/manual/Makefile.am:
12722 * tests/examples/manual/extract.pl:
12723 Extract the manual examples again like we used to do.
12726 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12728 * win32/common/config.h:
12731 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12734 Documents how to receive errors.
12736 2006-09-15 Wim Taymans <wim@fluendo.com>
12738 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12739 (event_loop), (main):
12740 Added some comments here and there.
12741 Post an application message when an interrupt is caught instead of doing
12742 an uncontrolled state change.
12743 Clean up the event loop.
12744 Handle buffering messages, pause/resume the pipeline.
12745 Make shutdown because of an interrupt more reliable.
12747 2006-09-15 Wim Taymans <wim@fluendo.com>
12749 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12750 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12751 (gst_base_sink_preroll_object):
12752 Make sure that our internal state is correct when we commit our state
12753 asynchronously. This solves a race where a state change to PLAYING
12754 could cause the sink to remain blocked in preroll in some situations.
12756 2006-09-15 Wim Taymans <wim@fluendo.com>
12758 * tools/gst-inspect.c: (print_element_properties_info),
12759 (print_signal_info):
12760 List flags as hex so it's easier to deal with.
12762 2006-09-15 Wim Taymans <wim@fluendo.com>
12764 * docs/libs/gstreamer-libs-sections.txt:
12765 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12766 (gst_base_sink_do_sync):
12767 * libs/gst/base/gstbasesink.h:
12768 Expose logic to wait for preroll so that subclasses such as audiosink
12769 can also use this method.
12770 API: gst_base_sink_wait_preroll()
12772 2006-09-15 Wim Taymans <wim@fluendo.com>
12774 * gst/gstobject.c: (gst_object_set_parent):
12775 * gst/gstpipeline.c: (do_pipeline_seek):
12776 Small cleanups in docs and code.
12778 * gst/gstsegment.c: (gst_segment_clip):
12779 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12780 if stop == start and start is in the segment, no clipping should be
12781 done. Also add a test for this.
12783 2006-09-15 Wim Taymans <wim@fluendo.com>
12785 * docs/design/part-buffering.txt:
12786 * docs/gst/gstreamer-sections.txt:
12787 * gst/gstmessage.c: (gst_message_new_buffering),
12788 (gst_message_parse_buffering):
12789 * gst/gstmessage.h:
12790 Added methods to create and parse BUFFERING messages.
12791 Added preliminary docs about buffering.
12792 API: gst_message_new_buffering
12793 API: gst_message_parse_buffering
12795 2006-09-06 Wim Taymans <wim@fluendo.com>
12798 Update documentation.
12800 * gst/gstelement.c: (gst_element_class_init),
12801 (gst_element_release_request_pad), (gst_element_set_clock),
12802 (gst_element_get_index), (gst_element_add_pad),
12803 (gst_element_remove_pad), (gst_element_get_random_pad),
12804 (gst_element_send_event), (gst_element_get_query_types),
12805 (gst_element_query), (gst_element_post_message),
12806 (gst_element_message_full), (gst_element_continue_state),
12807 (gst_element_lost_state), (gst_element_save_thyself),
12808 (gst_element_restore_thyself):
12809 Documentation updates.
12810 Rename last bit of the new-pad -> pad-added signal rename.
12811 Fix the case where an element query would only work if the source
12813 Avoid some useless type checking in message handling.
12818 Documentation updates.
12820 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12822 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12823 add an INFO line for when we actually update the fd
12825 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12830 === release 0.10.10 ===
12832 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12835 releasing 0.10.10, "Pais"
12837 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12839 * docs/manual/advanced-position.xml:
12840 Fix typo in sample code.
12842 2006-09-05 Wim Taymans <wim@fluendo.com>
12844 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12845 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12846 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12847 * libs/gst/net/gstnetclientclock.h:
12848 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12849 * libs/gst/net/gstnettimepacket.h:
12850 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12851 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12852 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12853 * libs/gst/net/gstnettimeprovider.h:
12854 Make stuff compile on windows. Fixes #345295.
12856 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12858 * gst/gst.c: (ensure_current_registry_forking):
12859 Print better details when child was terminated by signal.
12861 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12863 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12864 Print a warning rather than g_assert() if a plugin feature
12865 is a URI handler but returns no protocols (#353976).
12867 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12869 * docs/random/moving-plugins:
12872 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12874 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12875 Fix locking order, handle NULL function values properly.
12880 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12881 Initialise variable before using it and fix debug statement to
12882 print the address of the function rather than the address of the
12883 variable on the stack holding the address of the function.
12885 2006-09-01 Wim Taymans <wim@fluendo.com>
12887 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12888 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12889 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12890 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12891 (gst_ghost_pad_parent_unset),
12892 (gst_ghost_pad_internal_do_activate_push),
12893 (gst_ghost_pad_internal_do_activate_pull),
12894 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12895 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12896 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12897 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12898 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12899 (gst_ghost_pad_new_no_target_from_template),
12900 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12902 Avoid needless typechecking in macros.
12903 Since the internal pad is always present and never changes, there is
12904 no need to locking or ref when retrieving it.
12905 Improve debugging a bit.
12906 Handle link errors when setting the target. Fixes #341029.
12908 2006-09-01 Wim Taymans <wim@fluendo.com>
12910 * docs/libs/gstreamer-libs-sections.txt:
12911 * docs/plugins/gstreamer-plugins-sections.txt:
12912 Fix docs some more.
12914 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12915 (gst_collect_pads_event):
12916 * libs/gst/base/gstcollectpads.h:
12917 Documentation updates.
12918 Free queued buffer when removing a pad.
12920 2006-08-31 Michael Smith <msmith@fluendo.com>
12922 * gst/gstutils.c: (gst_element_link_pads),
12923 (gst_element_link_pads_filtered):
12924 Ensure that we set a capsfilter to NULL if we failed to link it
12925 when doing filtered linking, to avoid criticals.
12927 No need to check for unreffing srcpad, which is explicly NULLed
12928 above (a trivial code cleanup).
12930 2006-08-31 Wim Taymans <wim@fluendo.com>
12932 * docs/design/part-gstghostpad.txt:
12933 Update ascii art in documentation.
12935 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12936 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12937 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12938 (gst_ghost_pad_internal_do_activate_push),
12939 (gst_ghost_pad_internal_do_activate_pull),
12940 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12941 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12942 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12943 (gst_ghost_pad_set_target):
12944 Small cleanups and leak fixes.
12945 Remove some checks now that the internal pad is never NULL.
12946 Fix the case where linking pads without a target would create nasty
12947 criticals. Fixes #341029.
12948 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12949 value of _set_target().
12951 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12952 (gst_ghost_pad_suite):
12953 Some more tests for creating and linking untargeted ghostpads.
12955 2006-08-31 Edward Hervey <edward@fluendo.com>
12957 * docs/gst/gstreamer-sections.txt:
12958 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12959 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12960 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12961 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12962 (gst_ghost_pad_new_from_template),
12963 (gst_ghost_pad_new_no_target_from_template):
12964 * gst/gstghostpad.h:
12965 Refactored *_new() functions.
12966 Templates are now used as a g_object_new() parameter.
12967 Use template in _do_getcaps() if we don't have a target.
12968 Small documentation cleanups.
12969 Added two new constructors:
12970 gst_ghost_pad_new_from_template()
12971 gst_ghost_pad_new_no_target_from_template()
12972 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12973 (gst_ghost_pad_suite):
12974 Added tests for new ghostpad instanciation functions.
12976 API additions: gst_ghost_pad_new_from_template,
12977 gst_ghost_pad_new_no_target_from_template
12979 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12981 * docs/random/ensonic/profiling.txt:
12982 Ideas about qos profiling.
12984 2006-08-29 Wim Taymans <wim@fluendo.com>
12986 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12990 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12993 Improve and detypofy docs.
12995 * tests/check/Makefile.am:
12996 * tests/check/gst/.cvsignore:
12997 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12998 Add a basic test suite for GstXML.
13000 2006-08-29 Wim Taymans <wim@fluendo.com>
13002 * gst/gstelement.c: (activate_pads), (clear_caps),
13003 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13004 Clear the pad caps when the element shut down all of the pads and
13005 is not streaming data that could modify the caps.
13008 2006-08-28 Michael Smith <msmith@fluendo.com>
13010 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13011 Revert previous change; I misunderstood single-segment mode.
13013 2006-08-28 Michael Smith <msmith@fluendo.com>
13015 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13016 Unset DISCONT on buffers when using single-segment mode.
13018 2006-08-28 Wim Taymans <wim@fluendo.com>
13020 * gst/gstcaps.c: (gst_caps_merge_structure):
13022 Fix docs and indentation again.
13024 * tests/check/gst/gstquery.c: (GST_START_TEST):
13025 Fix leak in tests and add some more tests.
13027 2006-08-28 Edward Hervey <edward@fluendo.com>
13029 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13030 Inform GstSegment of the last stop position in order for the current
13031 segment to have a proper duration if it doesn't have a specific stop
13032 position from which a duration could be calculated.
13033 This bug was noticeable when a non-flushing, non-update new segment was
13034 followed by another segment (all buffers from the new segment were being
13037 2006-08-28 Wim Taymans <wim@fluendo.com>
13039 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13040 Small comment update.
13042 * plugins/elements/gstidentity.c: (gst_identity_class_init),
13043 (gst_identity_transform_ip):
13044 Drop-probability is broken, mention this in the code with a
13045 FIXME and also in the property description.
13046 Make silent also be silent about the drop messages.
13048 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
13050 * docs/manual/appendix-win32.xml:
13051 Remove mention of popt, we don't depend on that any
13052 longer (#353136). Add some comments pointing out that
13053 this section is slightly outdated.
13055 2006-08-28 Wim Taymans <wim@fluendo.com>
13057 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13059 * gst/gstquery.c: (gst_query_new_segment):
13060 * tests/check/gst/gstquery.c: (GST_START_TEST):
13061 Initialize variables when creating a new segment query.
13064 2006-08-28 Wim Taymans <wim@fluendo.com>
13066 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13068 * gst/gstelement.c: (gst_element_get_bus):
13069 * tests/check/gst/gstelement.c: (GST_START_TEST):
13070 Check for NULL before _reffing the bus. Fixes #353122.
13072 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13074 * docs/manual/basics-bus.xml:
13075 Docs update: fix wrong callback return value explanation; add
13076 some lines about the implicit relationship between main loop
13077 and main context; remove duplicate main loop variable declaration.
13079 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13081 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13082 Don't leak caps in unit test; add a few more simple
13085 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13087 * docs/gst/gstreamer-sections.txt:
13088 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13089 (gst_caps_structure_is_subset), (gst_caps_merge),
13090 (gst_caps_merge_structure):
13092 * libs/gst/base/gstbasetransform.c:
13093 (gst_base_transform_transform_caps):
13094 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13095 implement caps merging (fixes #352580)
13097 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13099 * tools/Makefile.am:
13100 * tools/gst-plot-timeline.py:
13101 add debug-log plotting developer tool (#340674)
13103 2006-08-23 Wim Taymans <wim@fluendo.com>
13105 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13106 (gst_pad_stop_task):
13107 Improve debugging for task functions.
13109 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13110 (gst_task_start), (gst_task_pause), (gst_task_join):
13111 Make sure that the task function started and finished after a
13113 Don't try to push the task function on the threadpool multiple
13115 Improve the g_warning message with some useful suggestions
13116 about how to fix the problem.
13118 2006-08-23 Wim Taymans <wim@fluendo.com>
13120 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13121 Handle RESYNC correctly in _proxy_getcaps.
13123 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13125 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13126 (gst_xml_parse_memory), (gst_xml_get_element):
13127 Chain up to parent class in dispose function and also
13128 unref the elements in the toplevel_elements GList.
13129 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13130 Always return a reference in gst_xml_get_element() rather
13131 than only sometimes.
13133 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13134 Don't leak GstXml object.
13136 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13138 * docs/gst/gstreamer-sections.txt:
13139 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13142 * libs/gst/base/gstbasetransform.c:
13143 (gst_base_transform_transform_caps):
13144 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13147 2006-08-21 Edward Hervey <edward@fluendo.com>
13149 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13150 Implement GObject::dispose virtual method in GstXML so we can free the
13151 top_elements GList.
13153 2006-08-21 Wim Taymans <wim@fluendo.com>
13155 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13156 (gst_buffer_create_sub):
13157 Copy duration/offset_end/caps when creating a subbuffer of the
13159 Make the subbuffer read-only when we make the metadata writable for
13160 now. Fixes #351768.
13162 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13163 Added check for metadata copy when creating subbuffers.
13165 2006-08-21 Edward Hervey <edward@fluendo.com>
13167 * libs/gst/base/gstbasetransform.c:
13168 (gst_base_transform_buffer_alloc):
13169 Only call downstream buffer_alloc if transform element is passthrough
13170 or always_in_place. Closes #350449.
13172 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13175 ChangeLog surgery to add comments to previous changes
13177 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13182 * gst/gstpad.c: (gst_pad_set_active):
13183 Be more verbose in the log
13185 * libs/gst/base/gstbasetransform.c:
13186 (gst_base_transform_transform_caps):
13187 Simplify caps to get rid of duplicates, fixes #345444
13189 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13193 Use these optimizations only internally.
13195 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13197 * gst/gstvalue.c: (gst_value_compare_list),
13198 (gst_value_compare_fraction_range),
13199 (gst_value_intersect_fraction_fraction_range),
13200 (gst_value_intersect_fraction_range_fraction_range),
13201 (gst_value_subtract_fraction_fraction_range),
13202 (gst_value_subtract_fraction_range_fraction_range),
13203 (gst_value_get_compare_func), (gst_value_compare),
13204 (gst_value_compare_with_func):
13206 Saves the expensive lookup of the compare function in many cases
13209 2006-08-18 Edward Hervey <edward@fluendo.com>
13211 * tests/check/gst/gstinfo.c: (gst_info_suite):
13212 Disable test that require gstdebug if it wasn't built in core.
13214 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13216 * docs/random/ensonic/logging.txt:
13219 * gst/gstinfo.c: (gst_debug_log_default):
13220 reorder fields, save some columns, add optional color codes for log
13223 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13225 * docs/random/ensonic/logging.txt:
13226 add ideas about making the logs a bit more useful
13228 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13230 * docs/pwg/advanced-events.xml:
13231 * docs/pwg/titlepage.xml:
13232 Update for 0.10 API (#340627). Add myself
13235 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13237 * docs/libs/gstreamer-libs-docs.sgml:
13238 * docs/libs/gstreamer-libs-sections.txt:
13239 * libs/gst/check/gstbufferstraw.c:
13240 Make gstcheck stuff show up in docs (still needs to
13241 be documented properly though).
13243 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13245 * docs/gst/gstreamer-sections.txt:
13247 * gst/gst.c: (init_post):
13248 * gst/gst_private.h:
13249 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13251 * gst/gstquery.c: (gst_query_new_position),
13252 (gst_query_set_position), (gst_query_parse_position),
13253 (gst_query_new_duration), (gst_query_set_duration),
13254 (gst_query_parse_duration), (gst_query_new_convert),
13255 (gst_query_set_convert), (gst_query_parse_convert),
13256 (gst_query_new_segment), (gst_query_set_segment),
13257 (gst_query_parse_segment), (gst_query_new_seeking),
13258 (gst_query_set_seeking), (gst_query_parse_seeking):
13259 Add internal helpers for pre-registering quarks from static strings
13260 and using the quark values directly instead of looking them up when
13261 creating and parsing queries. Can be used for event construction too.
13264 2006-08-16 Wim Taymans <wim@fluendo.com>
13269 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13271 * gst/gstutils.c: (gst_util_set_value_from_string):
13272 Fix memleak (#351502).
13274 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13275 Add unit test for most of gst_util_set_value_from_string()
13276 (not that one would want to encourage use of this function).
13278 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13280 * libs/gst/check/gstcheck.h:
13281 Use const gchar * variables in fail_unless_equals_string
13282 macro to avoid compiler warnings (and don't use tabs for
13285 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13287 * tools/gst-launch.c: (print_tag):
13288 More space on the left for the tag names, to cater
13289 for the 'extended comment' tag (not touching the
13290 string for the first line since it's translated).
13292 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13294 * libs/gst/check/gstcheck.h:
13295 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13296 print something when they fail.
13298 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13300 * docs/gst/gstreamer-sections.txt:
13301 * gst/gsttaglist.c: (_gst_tag_initialize):
13302 * gst/gsttaglist.h:
13303 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13304 Also change merge function for GST_TAG_COMMENT to
13307 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13309 * gst/gstinfo.c: (gst_debug_print_object):
13310 Make GST_PTR_FORMAT print messages as well.
13312 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13313 (GST_START_TEST), (gst_info_suite):
13316 2006-08-14 Edward Hervey <edward@fluendo.com>
13318 * gst/gstelementfactory.c: (gst_element_register):
13319 If the GstElementClass doesn't have a GstElementDetails with all fields
13320 filled up correctly (longname, description AND author), then error out
13321 nicely instead of crashing.
13323 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13325 * gst/gststructure.c:
13326 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13329 Expand on the difference between arrays and lists as we use them.
13331 2006-08-14 Wim Taymans <wim@fluendo.com>
13333 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13334 If the parent state change function failed, don't assume we can safely
13335 stop the source, this will be done when the pads are deactivated.
13337 2006-08-14 Wim Taymans <wim@fluendo.com>
13340 * gst/gsttask.c: (gst_task_join):
13343 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13344 (gst_pad_stop_task):
13345 When pad (de)activation failed for some reason, restore the old
13346 activation mode and set the pad to flushing instead of assuming the
13347 pad is deactivated.
13348 If the _task_join() failed, reinstall the task on the pad so that it can
13349 be stopped later and return an error.
13351 2006-08-11 Andy Wingo <wingo@pobox.com>
13354 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13355 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13356 is only for users of API that don't want to see deprecated
13357 functions in the headers; people that want to compile out
13358 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13359 CFLAGS. Fixes the build of multifdsink, or will soon..
13361 2006-08-11 Wim Taymans <wim@fluendo.com>
13363 * docs/gst/gstreamer-sections.txt:
13364 Add GstClockClass vmethod docs.
13367 Mark #endif with comment for associated #if
13369 * gst/gstclock.c: (gst_clock_id_wait):
13371 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13372 most clock implementations.
13374 Flesh out docs about resolution methods.
13375 API: GstClockClass::wait_jitter
13377 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13378 (gst_system_clock_async_thread),
13379 (gst_system_clock_id_wait_jitter_unlocked),
13380 (gst_system_clock_id_wait_jitter):
13381 Use base class wait_jitter variant for improved performance
13382 due to less clock polling.
13384 2006-08-11 Edward Hervey <edward@fluendo.com>
13386 * gst/gst.c: (gst_init_check), (init_post):
13387 Set gst as being initialized before scanning/updating the registry,
13388 since there might be my python plugin loader that calls gst_init() and
13389 we don't want to loop back in.
13392 2006-08-11 Wim Taymans <wim@fluendo.com>
13394 * docs/design/part-qos.txt:
13395 Bring docs in line with the code. Mostly the sign of the jitter was
13396 wrong in the docs. Fixes #349943.
13399 Fix the docs for the jitter.
13401 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13402 (gst_event_parse_tag), (gst_event_new_buffer_size),
13403 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13404 (gst_event_new_seek), (gst_event_parse_seek),
13405 (gst_event_new_navigation):
13406 Make sure the GstStructure has no parent when creating custom
13408 Add some more argument checking so that we avoid 0.0 rates.
13409 Flesh out the docs for the QoS event some more.
13411 2006-08-11 Wim Taymans <wim@fluendo.com>
13413 * docs/gst/gstreamer-sections.txt:
13414 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13415 (ensure_current_registry_forking), (ensure_current_registry),
13416 (parse_one_option), (parse_goption_arg), (gst_deinit),
13417 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13420 Added API and command line option to disable registry forking in
13421 addition to the environment variable.
13422 Constify some static arrays.
13423 Added some more debug.
13424 Don't deinit twice.
13425 API: gst_registry_fork_is_enabled()
13426 API: gst_registry_fork_set_enabled()
13427 API: --gst-disable-registry-fork command line option
13430 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13432 * gst/gst.c: (gst_init):
13433 Fix typo in error message.
13435 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13437 * libs/gst/controller/gstcontroller.h:
13438 fix ABI size-correction
13440 * tests/check/libs/gdp.c: (gst_dp_suite):
13441 make tests that use deprecated API conditional
13443 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13445 * docs/libs/gstreamer-libs-sections.txt:
13446 * libs/gst/controller/gstcontroller.c:
13447 (_gst_controller_get_property), (_gst_controller_set_property),
13448 (_gst_controller_init), (_gst_controller_class_init):
13449 * libs/gst/controller/gstcontroller.h:
13450 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13451 (gst_object_set_control_rate):
13452 API: add gst_object_{s,g}et_control_rate(), add private data section,
13455 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13456 * libs/gst/dataprotocol/dataprotocol.h:
13457 add deprecation guards to make gtk-doc happy and allow disabling cruft
13459 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13461 * tests/check/Makefile.am:
13462 * tests/check/gst/.cvsignore:
13463 Let's enable the new unit test as well.
13465 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13468 * docs/gst/gstreamer-sections.txt:
13469 * gst/gstconfig.h.in:
13470 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13471 (_gst_info_printf_extension_ptr),
13472 (_gst_info_printf_extension_segment):
13473 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13474 register that lets us easily dump GstSegments into debug
13477 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13478 (info_segment_format_printf_extension), (gst_info_suite):
13479 Add simple unit test that logs a bunch of different segments (not
13480 valgrinded at the moment because of leaks in
13481 gst_debug_add_log_function).
13483 2006-08-09 Edward Hervey <edward@fluendo.com>
13485 * libs/gst/base/gstbasetransform.c:
13486 (gst_base_transform_buffer_alloc):
13487 Even if we can't figure out the proper format to request downstream,
13488 call buffer_alloc() downstream with the input parameters without setting
13489 the caps on the srcpad. This will force negotiation in the chain
13493 2006-08-08 Edward Hervey <edward@fluendo.com>
13495 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13496 Unlinking from a pad without a target is now a perfectly valid case
13497 which should NOT raise an assertion.
13498 This case would happen if a linked ghostpad its target set to NULL after
13499 it was previously linked.
13501 2006-08-08 Edward Hervey <edward@fluendo.com>
13503 * tests/check/libs/gdp.c:
13504 Also comment out the test (see below).
13506 2006-08-08 Edward Hervey <edward@fluendo.com>
13508 * tests/check/libs/gdp.c: (gst_dp_suite):
13509 Use the architecture information from config.h and not gcc macros
13510 in order to properly disable a test that fails on PPC64.
13512 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13514 * gst/gstelement.c: (gst_element_remove_pad):
13515 Don't crash printing the warning if the pad has no parent.
13517 2006-08-02 Wim Taymans <wim@fluendo.com>
13519 * libs/gst/dataprotocol/dataprotocol.c:
13520 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13521 (gst_dp_crc), (gst_dp_header_payload_length),
13522 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13523 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13524 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13525 (gst_dp_event_from_packet), (gst_dp_validate_header),
13526 (gst_dp_validate_payload):
13527 Make debug category static
13528 Constify the crc table.
13529 Do some more arg checking in public functions.
13530 Fix some docs and do some small cleanups.
13532 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13533 Add some more checks to see if GDP deals with bogus input.
13535 2006-07-31 Wim Taymans <wim@fluendo.com>
13537 * gst/gstvalue.c: (gst_value_compare_list):
13538 Fix GstValueList comparison code. Fixes #347293.
13540 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13541 Check to test GstValueList comparison.
13543 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13545 * gst/gstelementfactory.c: (gst_element_factory_create):
13546 Remove unnecessary ref/unref pair
13548 * gst/parse/grammar.y:
13549 Make sure to free the parse buffer on all code paths.
13550 Move a g_free up to the error handler where it's easier to see.
13552 * tests/check/gst/gstevent.c: (test_event):
13553 Extending timeout for downstream travelling events to 10 seconds to
13554 hopefully avoid intermittent failure on the buildbots.
13556 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13557 Don't manually set the state of the src element - it will happen as a
13558 natural consequence of the pipeline changing state, and that way it
13559 will do it in the right order too.
13561 2006-07-31 Wim Taymans <wim@fluendo.com>
13563 * libs/gst/base/gstbasetransform.c:
13564 (gst_base_transform_buffer_alloc):
13565 Use OBJECT_LOCK and refcounting to get the pad caps in the
13566 buffer_alloc function because the caps could change while we are
13567 busy with them. Fixes #349105
13569 2006-07-31 Wim Taymans <wim@fluendo.com>
13571 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13572 Protect _PAD_CAPS with OBJECT_LOCK.
13574 2006-07-31 Wim Taymans <wim@fluendo.com>
13576 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13577 (gst_pad_get_property), (gst_pad_activate_pull),
13578 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13579 (gst_pad_set_activate_function),
13580 (gst_pad_set_activatepull_function),
13581 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13582 (gst_pad_set_getrange_function),
13583 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13584 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13585 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13586 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13587 (gst_pad_set_acceptcaps_function),
13588 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13589 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13590 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13591 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13592 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13593 (gst_pad_configure_sink), (gst_pad_configure_src),
13594 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13595 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13596 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13597 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13598 (gst_pad_send_event):
13599 Use _DEBUG_OBJECT when it makes sense.
13600 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13601 Small cleanups and code reflows.
13602 Avoid caps refcounting in _accept_caps.
13603 Refactor alloc_buffer so that the code performed on the peer is in a
13604 separate function. Also if the pad does not implement a buffer alloc
13605 function, we should still check if the pad is flushing before falling
13606 back to the default allocator.
13608 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13610 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13611 Make all uses of identity and fakesink have silent=true to avoid
13612 serialising every passing data structure, which is breaking tests
13613 on FC4 for some unknown reason.
13615 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13617 * gst/parse/Makefile.am:
13618 * gst/parse/grammar.y:
13619 * gst/parse/parse.l:
13620 Reverted previous patch as it required to bump the flex dependency to
13621 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13623 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13625 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13627 * gst/parse/Makefile.am:
13628 * gst/parse/grammar.y:
13629 * gst/parse/parse.l:
13630 push & pop the state of the lexer for reentrant use case
13633 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13635 * libs/gst/base/gstbasesrc.h:
13636 Note in the docs that the ::newsegment vfunc is not actually used by
13639 2006-07-28 Wim Taymans <wim@fluendo.com>
13641 * libs/gst/base/gstcollectpads.c:
13642 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13643 (gst_collect_pads_clear), (gst_collect_pads_flush),
13644 (gst_collect_pads_event), (gst_collect_pads_chain):
13645 When flushing a pad, also clear the queued buffer so that we don't
13646 accidentally use it when we shouldn't.
13647 Fix leaks by inreffing incomming buffer.
13648 Flush out queued buffers in case of errors.
13651 2006-07-28 Wim Taymans <wim@fluendo.com>
13653 * docs/random/phonon-gst:
13654 Random notes about a Phonon backend.
13656 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13658 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13660 * tests/check/libs/gdp.c: (gst_dp_suite):
13661 Take a whack at fixing the ppc compile using a different define to
13662 disable the broken test.
13664 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13665 Remove excess g_print()
13667 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13669 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13670 Oops, meant to uncomment this line too to dampen the noise a bit.
13672 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13674 * gst/parse/grammar.y:
13675 * gst/parse/parse.l:
13676 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13677 (GST_START_TEST), (parse_suite):
13678 Fix some of the leaks exposed by extending the parse-launch testsuite,
13679 and move the 3 I can't figure out into a separate test that won't run
13680 the pipelines unless the appropriate line is uncommented.
13682 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13684 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13685 Requesting 0 bytes before the end of the file should result in
13686 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13689 2006-07-27 Wim Taymans <wim@fluendo.com>
13691 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13692 Fix useless assert, a uint is always positive.
13694 * gst/gststructure.c: (gst_structure_nth_field_name),
13695 (gst_structure_foreach), (gst_structure_map_in_place):
13696 Check input arguments for public functions to avoid obvious crashes.
13698 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13699 * plugins/elements/gstfakesink.h:
13700 Do less useless typechecking.
13702 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13704 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13705 Do not use mmap() by default since there are a number of error
13706 conditions that we would like to handle in a non-fatal way that
13707 will result in a SIGBUS if we use mmap(). Examples: external
13708 devices (USB harddrive, portable music player) being unplugged
13709 while in use; file on mounted CD/DVD that can't be read because
13710 the medium is partly damaged. Fixes #348455 and #348475.
13712 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13715 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13716 rates are a gdouble
13718 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13720 * gst/gstregistry.c:
13721 Move big documentation comment into class section header, so that it
13722 appears in the API docs.
13724 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13726 * docs/gst/gstreamer-sections.txt:
13727 Oops. Commit the docs additions too for new API.
13728 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13730 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13732 * gst/gststructure.c: (gst_structure_id_set),
13733 (gst_structure_id_set_valist):
13734 * gst/gststructure.h:
13735 Add API for setting values into structures without performing
13736 a quark lookup, if the appropriate quark is already known.
13738 API: gst_structure_id_set
13739 API: gst_structure_id_set_valist
13741 * gst/parse/grammar.y:
13742 * gst/parse/parse.l:
13743 Remove some dead code shown by the coverage information.
13744 Don't throw a critical g_warning when encountering a syntax error,
13745 just warn and let the normal error path handle it.
13747 * plugins/elements/gstelements.c:
13748 Bump the rank of filesink up to PRIMARY so that it is preferred over
13749 gnomevfssink for file:// sink uri's
13751 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13752 (GST_START_TEST), (run_delayed_test),
13753 (gst_parse_test_element_base_init),
13754 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13755 (gst_parse_test_element_change_state),
13756 (gst_register_parse_element), (parse_suite):
13757 Beef up the tests for parse syntax to check that more error cases
13758 fail as they are supposed to. Increases the test coverage a bit.
13760 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13762 * docs/manual/basics-elements.xml:
13763 Fix gst_element_link() example.
13766 Mention in API docs that one should usually gst_bin_add()
13767 elements to a bin or pipeline before doing the linking.
13769 2006-07-26 Wim Taymans <wim@fluendo.com>
13771 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13772 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13773 Avoid function call for known types by keeping the buffer and
13774 subbuffer GType global.
13776 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13777 Random silly optimisations in read() path.
13779 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13781 * tools/gst-launch.c: (main):
13782 If the top-level of the parse is a normal bin, it doesn't do the
13783 right logic to run as a top-level element, so place it inside a
13786 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13788 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13789 Remove superfluous g_object_notify() calls, GObject does
13790 that for us automatically.
13792 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13795 on Win32, use dllspec to export the debug category symbols
13797 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13799 * gst/gsttaglist.c: (_gst_tag_initialize):
13800 Allow more than one GST_TAG_IMAGE per taglist.
13802 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13804 * gst/gstminiobject.c:
13806 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13807 (gst_fd_src_create):
13808 log recurring events at LOG level
13809 add more debug for when the fd gets set
13811 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13813 * gst/gstparse.c: (gst_parse_launch):
13814 Also remove reentrance checks if flex is MT safe (#348179)
13815 Fix my empty ChangeLog entry below
13817 2006-07-21 Andy Wingo <wingo@pobox.com>
13819 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13821 * libs/gst/check/Makefile.am
13822 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13823 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13824 * libs/gst/check/gstbufferstraw.h:
13825 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13826 functions, thus proving I am still a GStreamer haxor. OK I wrote
13827 them a long time ago, but anyways.
13829 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13832 * gst/gstparse.c: (gst_parse_launch):
13833 Check for flex version and omit mutex if we have a MT save flex
13836 2006-07-21 Wim Taymans <wim@fluendo.com>
13838 * gst/gstparse.c: (gst_parse_launch):
13839 Protect recursive calls to _parse with a recursive mutex
13842 2006-07-21 Wim Taymans <wim@fluendo.com>
13844 * tests/check/gst/gstpad.c: (GST_START_TEST):
13847 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13849 * gst/gstparse.c: (gst_parse_launch):
13850 Do not hang on recursive usage of gst_parse_launch()
13852 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13854 * gst/gsttaglist.c:
13855 Add some more docs, comments and FIXME 0.11s here and there
13856 and also fix some typos.
13858 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13860 * gst/gstsegment.h:
13861 Convert tabs to spaces for better readability.
13863 2006-07-20 Edward Hervey <edward@fluendo.com>
13865 * tests/check/libs/gdp.c: (gst_dp_suite):
13866 the test_buffer test fails at line 140 on ppc64 at the following
13868 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13869 GST_BUFFER_FLAG_IN_CAPS),
13870 "GST_BUFFER_IN_CAPS flag should have been copied !");
13871 See bug #348114 for more details.
13873 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13875 * docs/pwg/advanced-scheduling.xml:
13877 Fix typos (#348000).
13879 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13881 * docs/pwg/intro-basics.xml:
13882 Fix wrong links (#347927).
13884 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13886 * gst/gstregistry.h:
13887 * gst/gstregistryxml.c: (load_feature),
13888 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13889 * win32/common/config.h:
13890 make --disable-index work (#342564)
13892 2006-07-18 Wim Taymans <wim@fluendo.com>
13894 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13898 The attached patch adds two missing defines to gsttrace.h when tracing
13899 is disabled. It also corrects one existing define.
13902 2006-07-17 Wim Taymans <wim@fluendo.com>
13904 * docs/gst/gstreamer-sections.txt:
13905 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13907 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13908 Add two functions to check and change the SIGSEGV behaviour
13909 when loading plugins.
13910 Don't mess with the SIGSEGV handler when we were told not to.
13912 API: gst_segtrap_is_enabled
13913 API: gst_segtrap_set_enabled
13915 2006-07-14 Wim Taymans <wim@fluendo.com>
13917 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13918 * tests/check/elements/filesrc.c: (GST_START_TEST):
13919 Revert fix for regression in #347408 after release.
13921 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13923 Patch by: Antoine Tremblay <hexa00 at gmail com>
13925 * gst/gstutils.c: (gst_element_unlink):
13926 Free iterator when done (#347311).
13928 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13929 And add a test case for this.
13931 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13934 Bump nano back to CVS
13936 === release 0.10.9 ===
13938 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13941 releasing 0.10.9, "On the road again"
13943 2006-07-13 Wim Taymans <wim@fluendo.com>
13945 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13946 * tests/check/elements/filesrc.c: (GST_START_TEST):
13947 Revert pull-0 fix for release. Disable check. Fixes #347408.
13949 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13951 * libs/gst/dataprotocol/dataprotocol.c:
13952 (gst_dp_event_from_packet_1_0):
13953 Fixes #347337: failure to deserialize event packets with
13954 empty payload (only event type)
13956 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13959 do not install a .c file in the header directory
13961 2006-07-13 Edward Hervey <edward@fluendo.com>
13963 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13964 GhostPad no longer implicitely use the padtemplates of the targets.
13967 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13969 * gst/gstvalue.c: (gst_value_compare_list),
13970 (gst_value_compare_array), (_gst_value_initialize):
13971 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13972 Make GstValueArray comparison be order dependent as designed.
13973 Add checks for value lists and value array comparisons.
13976 2006-07-11 Edward Hervey <edward@fluendo.com>
13978 * gst/gstbin.c: (activate_pads),
13979 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13980 (gst_bin_change_state_func):
13981 (de)activate src pads before calling state_change on the childs.
13982 This is to avoid the case where a src ghostpad is blocked (holding the
13983 stream lock), which would block the deactivation of the ghostpad's
13985 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13986 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13987 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13988 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13989 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13990 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13991 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13992 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13993 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13994 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13995 (gst_ghost_pad_class_init),
13996 (gst_ghost_pad_internal_do_activate_push),
13997 (gst_ghost_pad_internal_do_activate_pull),
13998 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13999 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14000 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14001 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14002 GhostPads now create their internal GstProxyPad at creation (and not
14003 when they're linked, as it was being done previously).
14004 The internal and target pads are linked straight away.
14005 The data will also travel through the other pad in order to make
14006 pad blocking and probes non-hackish (the probe/block now really happens
14007 on the GhostPad and not on the target).
14008 * gst/gstpad.c: (gst_pad_set_blocked_async),
14009 (gst_pad_link_prepare), (gst_pad_push_event):
14010 Remove previous ghostpad cruft.
14011 * gst/gstutils.c: (gst_pad_add_data_probe),
14012 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14013 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14014 (gst_pad_remove_buffer_probe):
14015 Remove previous ghost pad cruft.
14016 Added more detailed debug statements.
14017 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14018 Fix the testsuite for refcounting changes.
14019 The comments about who has references were correct, but the refcount
14020 being checked wasn't the same (!?!).
14024 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14026 * docs/gst/gstreamer-sections.txt:
14027 * gst/gstconfig.h.in:
14028 More docs for configuration options, add docs to gtk-doc.
14030 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14033 * gst/gstconfig.h.in:
14034 * win32/common/config.h:
14035 Fix build when disabling tracing (fixes #344016). Also start to document
14036 the defines that disable the sub-systems.
14038 2006-07-10 Edward Hervey <edward@fluendo.com>
14040 * gst/gst.c: (ensure_current_registry_forking):
14041 let's make valgrind happy...
14043 2006-07-09 Wim Taymans <wim@fluendo.com>
14045 * gst/gstelement.c: (activate_pads),
14046 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14047 Better pad activation code: Reset the collect value too on resync.
14050 2006-07-09 Wim Taymans <wim@fluendo.com>
14052 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14053 (gst_pad_activate_push):
14054 Use some more macros where it makes sense.
14055 Allow pad mode switching instead of asserting. When a pad
14056 is activated in one mode and we activate it in another,
14057 deactivate it first before activating it in a different mode.
14060 2006-07-08 Andy Wingo <wingo@pobox.com>
14062 * tools/gst-launch.c (main): Handle err == NULL.
14064 * gst/gst.c (init_post, ensure_current_registry)
14065 (ensure_current_registry_forking)
14066 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14067 factoring out the registry scanning into separate functions. Don't
14068 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14069 Better environment var name/interface suggestions accepted.
14071 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14073 * gst/gstobject.c: (gst_object_set_name_default),
14074 (gst_object_set_name):
14075 Random micro-optimisation: don't use a hash table
14076 with strings as keys and the usual strdup/strcmp
14077 involved, but rather just use the GQuark of the
14078 type name as key, since it needs to be looked up
14079 anyway to get the type name string.
14081 * tests/check/gst/gstobject.c: (GST_START_TEST):
14084 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14086 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14087 (gst_bin_iterate_all_by_interface):
14088 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14089 GTypes are gulongs and thus the top 4 bytes might be cut
14090 off on some platforms when doing GPOINTER_TO_INT, leading
14091 to invalid GTypes and bad things happening (see RH bug #179654).
14092 Also add a check to make sure the type passed in is really
14095 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14100 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14104 * gst-element-check.m4:
14105 * gst-element-check.m4.in:
14106 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14107 instead of the unversioned gst-inspect (#324176, #168659).
14109 2006-07-06 Wim Taymans <wim@fluendo.com>
14111 * gst/gstmessage.h:
14112 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14115 2006-07-06 Wim Taymans <wim@fluendo.com>
14117 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14118 (gst_base_src_wait), (gst_base_src_update_length),
14119 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14120 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14121 (gst_base_src_loop), (gst_base_src_start),
14122 (gst_base_src_activate_pull):
14124 blocksize == 0 now means the default blocksize when working in push
14126 Remove some pointless asserts in _wait function.
14127 Fix offset/length calculations and EOS handling. We can now pull 0
14128 bytes as well, which is allowed.
14129 use _check_get_range() to decide if we can operate in _pull based
14131 Fix refcounting leak when check_get_range function was not
14133 API GstBaseSrc::blocksize range can be 0 too now (default)
14135 * tests/check/elements/filesrc.c: (GST_START_TEST),
14137 Added check to test _get_range() behaviour.
14139 2006-07-06 Wim Taymans <wim@fluendo.com>
14141 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14142 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14143 (gst_pad_pull_range):
14145 Lots of comments and docs added to the pad functions.
14146 Flesh out the expected behaviour of the get_range() functions.
14148 2006-07-06 Wim Taymans <wim@fluendo.com>
14153 * gst/gstiterator.h:
14157 Remove comma at end of enumerator list.
14159 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14161 * win32/common/libgstbase.def:
14162 * win32/common/libgstdataprotocol.def:
14163 * win32/common/libsgtreamer.def:
14164 Add new exported functions.
14166 2006-07-05 Wim Taymans <wim@fluendo.com>
14168 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14169 Add some more docs here and there.
14171 2006-07-05 Wim Taymans <wim@fluendo.com>
14173 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14174 (gst_base_sink_loop), (gst_base_sink_get_position):
14175 When operating in pull mode update the offset so that we
14178 2006-07-05 Wim Taymans <wim@fluendo.com>
14180 * gst/gstregistryxml.c: (read_string):
14181 Avoid strdup. (will happen in libxml, but hey!)
14184 Add some more docs.
14186 2006-07-05 Wim Taymans <wim@fluendo.com>
14188 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14189 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14190 (gst_buffer_suite):
14191 No point in checking if the size of the subbuffer > 0, the
14192 code handles it correclty as demonstrated by unit test.
14193 Also add a unit test for the zero sized _new_and_alloc and
14194 _copy. Fixes #346663.
14196 2006-07-05 Wim Taymans <wim@fluendo.com>
14198 * libs/gst/base/gstbasetransform.c:
14199 (gst_base_transform_prepare_output_buffer),
14200 (gst_base_transform_buffer_alloc),
14201 (gst_base_transform_handle_buffer):
14202 Make sure the buffer we pass to transform_ip has a refcount of
14203 1 and thus is writable. Fixes #343196
14205 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14207 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14208 (gst_file_src_init), (gst_file_src_set_property),
14209 (gst_file_src_get_property), (gst_file_src_map_region):
14210 * plugins/elements/gstfilesrc.h:
14211 Add "sequential" property, off by default, to use madvise and hint
14212 to the kernel that sequential access is desired.
14213 Touch all retrieved pages by default to ensure they are pulled
14214 into memory. (Closes #345720)
14216 2006-07-03 Wim Taymans <wim@fluendo.com>
14218 * docs/design/part-block.txt:
14219 * docs/design/part-dynamic.txt:
14220 Small docs updates.
14222 2006-07-03 Wim Taymans <wim@fluendo.com>
14224 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14225 (gst_caps_unref), (gst_static_caps_get),
14226 (gst_caps_append_structure):
14227 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14228 Use GSlice when the glib we build against is >= 2.10
14230 2006-07-03 Wim Taymans <wim@fluendo.com>
14232 * gst/gstelement.c: (gst_element_pads_activate):
14233 Small cleanup in pad activation code.
14235 2006-07-03 Wim Taymans <wim@fluendo.com>
14237 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14239 * gst/gst-i18n-app.h:
14240 * gst/gst-i18n-lib.h:
14241 * tools/gst-inspect.c: (print_signal_info):
14242 The attached patch will make the inclusion of gettext.h unconditional in
14243 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14244 libintl.h in tools/gst-inspect.c.
14245 This allows use of --disable-nls again and fixes #344642.
14247 2006-07-03 Edward Hervey <edward@fluendo.com>
14249 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14250 Implement pad blocking on events according to part-block.txt.
14251 More comments on behaviour.
14252 * tests/check/gst/gstevent.c: (test_event):
14253 Send event to peer pad of blocked pad (else it will block).
14255 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14257 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14258 (gst_check_run_suite):
14259 if we get the wrong message, give us the types as string
14260 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14262 * tests/check/elements/filesrc.c: (GST_START_TEST):
14263 add a test for trying to open a non-existing file
14265 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14267 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14268 add a test for adding self
14270 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14272 * libs/gst/check/gstcheck.h:
14273 add some assert_ as alias for fail_unless_*
14274 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14275 increase test coverage
14277 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14280 include lcov.mak for lcov coverage generation
14281 * tools/Makefile.am:
14284 2006-07-02 Edward Hervey <edward@fluendo.com>
14286 * tests/check/elements/.cvsignore:
14289 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14292 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14293 * tests/check/Makefile.am:
14294 clean up gcov files
14296 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14298 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14299 remove gst_caps_simplify; it was not declared and not used
14300 and deprecated in 0.8
14302 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14304 * docs/faq/gst-uninstalled:
14305 don't put empty paths on PYTHONPATH
14306 * docs/gst/gstreamer-sections.txt:
14307 remove some symbols that are not there
14309 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14311 * gst/gstcaps.c: (gst_caps_compare_structures):
14313 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14314 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14317 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14319 * libs/gst/dataprotocol/Makefile.am:
14320 build dataprotocol test by linking to the lib, instead of
14321 compiling the source, so we get coverage
14322 * tests/check/Makefile.am:
14323 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14324 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14325 add a test for filesrc
14327 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14329 * tests/check/gst/gststructure.c: (GST_START_TEST),
14330 (gst_structure_suite):
14331 Push coverage from 59.04% to 70.00%
14333 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14335 * tests/check/Makefile.am:
14336 gst-inspect every element; this makes sure that we also get
14337 coverage on element's get/set functions
14339 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14342 set CFLAGS and friends to -O0 if gcov is being used
14345 * libs/gst/base/Makefile.am:
14346 * libs/gst/check/Makefile.am:
14347 * libs/gst/controller/Makefile.am:
14348 * libs/gst/dataprotocol/Makefile.am:
14349 * libs/gst/net/Makefile.am:
14350 * plugins/elements/Makefile.am:
14351 * plugins/indexers/Makefile.am:
14352 add makefile rules to generate gcov data and clean up
14353 * tests/check/Makefile.am:
14354 add a coverage target that generates an html overview
14357 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14359 * tests/check/elements/fakesink.c:
14360 * tests/check/elements/fakesrc.c:
14361 * tests/check/elements/fdsrc.c:
14362 * tests/check/elements/identity.c:
14363 * tests/check/generic/sinks.c: (gst_sinks_suite):
14364 * tests/check/generic/states.c:
14365 * tests/check/gst/gst.c:
14366 * tests/check/gst/gstabi.c:
14367 * tests/check/gst/gstbin.c:
14368 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14369 * tests/check/gst/gstbus.c: (gst_bus_suite):
14370 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14371 * tests/check/gst/gstelement.c:
14372 * tests/check/gst/gstevent.c: (gst_event_suite):
14373 * tests/check/gst/gstghostpad.c:
14374 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14375 * tests/check/gst/gstmessage.c: (gst_message_suite):
14376 * tests/check/gst/gstminiobject.c:
14377 * tests/check/gst/gstobject.c:
14378 * tests/check/gst/gstpad.c:
14379 * tests/check/gst/gstpipeline.c:
14380 * tests/check/gst/gstplugin.c:
14381 * tests/check/gst/gstquery.c: (gst_query_suite):
14382 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14383 * tests/check/gst/gststructure.c:
14384 * tests/check/gst/gstsystemclock.c:
14385 * tests/check/gst/gsttag.c:
14386 * tests/check/gst/gsttask.c: (gst_task_suite):
14387 * tests/check/gst/gstutils.c:
14388 * tests/check/gst/gstvalue.c:
14389 * tests/check/libs/adapter.c:
14390 * tests/check/libs/basesrc.c:
14391 * tests/check/libs/collectpads.c:
14392 * tests/check/libs/controller.c:
14393 * tests/check/libs/gdp.c: (gst_dp_suite):
14394 * tests/check/libs/gstnetclientclock.c:
14395 * tests/check/libs/gstnettimeprovider.c:
14396 * tests/check/libs/libsabi.c: (libsabi_suite):
14397 * tests/check/libs/typefindhelper.c:
14398 * tests/check/pipelines/cleanup.c:
14399 * tests/check/pipelines/parse-launch.c:
14400 * tests/check/pipelines/simple-launch-lines.c:
14401 * tests/check/pipelines/stress.c: (stress_suite):
14404 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14406 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14407 * libs/gst/check/gstcheck.h:
14408 create a macro and function so that the simple unit test
14409 case can be just one macro to create main()
14411 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14413 * gst/gstbin.c: (gst_bin_restore_thyself):
14414 * gst/gstxml.c: (gst_xml_make_element):
14415 Fix deserialisation from XML. Set parent manually
14416 instead of using gst_bin_add(), since gst_bin_add()
14417 will unlink all pads of the element being added.
14420 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14422 Patch by: Peter Kjellerstedt <pkj at axis com>
14424 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14425 Fix missing g_strdup() and double free when using the
14426 --gst-plugin-load command line option (#346097).
14428 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14431 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14433 * libs/gst/net/gstnetclientclock.c:
14434 * libs/gst/net/gstnettimeprovider.c:
14435 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14437 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14439 * docs/manual/advanced-dataaccess.xml:
14440 Fix buffer probe example compilation in
14443 2006-06-22 Edward Hervey <edward@fluendo.com>
14445 * gst/gstelement.c: (gst_element_pads_activate):
14446 We need to deactivate src pads first and then sink pads.
14447 The reason is the src pads might be blocking while holding the streaming
14448 lock, so we need to deactivate them first so that deactivating the sink
14449 pads doesn't block (since it will require the streaming lock).
14451 2006-06-22 Wim Taymans <wim@fluendo.com>
14453 * libs/gst/base/gstbasetransform.c:
14454 (gst_base_transform_buffer_alloc):
14455 Forgot to remove two unneeded unrefs.
14456 Simplify a check _is_equal allready checks the obvious case.
14458 2006-06-22 Wim Taymans <wim@fluendo.com>
14460 * docs/design/part-block.txt:
14461 Some docs about what pad_block should do.
14463 2006-06-22 Wim Taymans <wim@fluendo.com>
14465 * gst/gstcaps.c: (gst_caps_replace):
14466 Fix crasher when passed NULL. Doc clarification.
14467 Optimize for the trivial case.
14469 * gst/gstpipeline.c: (gst_pipeline_change_state):
14472 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14473 Small documentation cleanup.
14475 * libs/gst/base/gstbasetransform.c:
14476 (gst_base_transform_buffer_alloc):
14477 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14478 is what we need and it avoids a whole lot of redundant
14479 refcount operations.
14481 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14483 Patch by: Philip Jägenstedt <philip at lysator liu se>
14485 * docs/manual/advanced-dataaccess.xml:
14486 Fix 'Embedding static elements' section to use
14487 GST_PLUGIN_DEFINE_STATIC (#345607).
14489 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14491 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14492 Attempt to 'fix' spuriously failing test case: it seems like the
14493 timeout of half a second is simply too small when the system is under
14494 load otherwise, and the timeout doesn't really seem to serve any
14495 particular purpose here. Give the pipeline a few seconds to preroll
14496 first, and then give it another half a second to go from PAUSED to
14497 PLAYING and marshal the message into the main thread.
14499 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14501 * tools/gst-feedback-m.m:
14502 Don't only use unversioned tools, try versioned tools as well
14505 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14507 * gst/gstbus.c: (gst_bus_class_init):
14508 Fix some typos, make docs more explicit.
14510 2006-06-20 Wim Taymans <wim@fluendo.com>
14512 * tests/check/gst/gstghostpad.c: (block_callback),
14513 (GST_START_TEST), (gst_ghost_pad_suite):
14514 Added some more ghostpad tests, mainly blocking
14517 2006-06-16 Wim Taymans <wim@fluendo.com>
14519 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14520 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14521 (gst_file_sink_event), (gst_file_sink_render):
14522 * plugins/elements/gstfilesink.h:
14523 Check if we can seek in the file instead of assuming
14524 we always can. Post an error when we are asked to seek in a
14525 non-seekable file (like a fifo). Fixes #343312.
14528 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14530 * tools/gst-launch.1.in:
14531 Un-garble (fourcc) bit in filtered caps section.
14533 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14535 * docs/manual/advanced-autoplugging.xml:
14536 * docs/manual/basics-helloworld.xml:
14537 * docs/manual/highlevel-components.xml:
14538 Don't leak bus reference in sample code.
14540 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14543 Add default for new --enable-plugin-docs switch.
14546 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14549 * docs/Makefile.am:
14550 Use new ENABLE_PLUGIN_DOCS conditional.
14552 2006-06-14 Wim Taymans <wim@fluendo.com>
14554 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14555 Make it clear with a FIXME and a real define what the #if 0
14556 previously disabled.
14558 2006-06-14 Wim Taymans <wim@fluendo.com>
14560 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14561 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14562 * libs/gst/base/gstbasetransform.c:
14563 (gst_base_transform_sink_eventfunc):
14564 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14565 Don't randomly and silently reset a segment when the format
14566 changes as this is a bug somewhere upstream. Fixes #330379.
14568 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14570 Patch by: Wouter Paesen <wouter at kangaroot net>
14572 * libs/gst/controller/gstcontroller.c:
14573 (gst_controlled_property_new):
14574 Fix controlling of float properties (#344849).
14576 * tests/check/libs/controller.c:
14577 (gst_test_mono_source_get_property),
14578 (gst_test_mono_source_set_property),
14579 (gst_test_mono_source_class_init), (GST_START_TEST):
14580 While we're at it, add some float stuff to unit test.
14582 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14585 * docs/images/gdp-header.svg:
14587 * docs/libs/Makefile.am:
14588 * docs/libs/gdp-header.png:
14589 * libs/gst/dataprotocol/dataprotocol.c:
14590 add it to the API docs
14591 * docs/manual/intro-motivation.xml:
14594 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14596 * gst/gst.c: (scan_and_update_registry), (init_post):
14597 If the fork()'ed child process can't write the updated registry cache
14598 file to disk for some reason, make it exit with a failure exit code,
14599 so that the parent can then re-scan the plugins itself and update the
14600 registry structures in memory and work with that (rather than failing
14601 when creating elements because seemingly no plugins are available).
14602 Refactor registry scanning code into separate function for this and
14603 also separate fork() and non-fork() code paths. Fixes #344748.
14605 2006-06-13 Wim Taymans <wim@fluendo.com>
14607 * docs/manual/advanced-dataaccess.xml:
14608 Fix wrong PluginDesc. Fixes #344755.
14610 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14612 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14613 Fix silly bug that prevented us from creating
14614 ~/.gstreamer-0.10 and writing the registry in one
14615 go (the first call to g_mkstemp() would overwrite the
14616 placeholder in the template string, so the second call
14617 to g_mkstemp() after creating the missing directory
14618 would then error out with 'invalid argument').
14620 2006-06-13 Edward Hervey <edward@fluendo.com>
14622 * gst/gst.c: (init_post):
14625 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14627 * gst/glib-compat-private.h:
14628 * gst/glib-compat.c:
14629 * gst/glib-compat.h:
14630 * gst/gstvalue.c: (gst_value_serialize_flags):
14631 remove GLib 2.6 compatibility code
14633 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14635 * gst/parse/Makefile.am:
14636 Fix build with 'make -j N' even more (#340016).
14638 2006-06-12 Wim Taymans <wim@fluendo.com>
14640 * docs/gst/gstreamer-sections.txt:
14643 2006-06-12 Wim Taymans <wim@fluendo.com>
14645 * gst/gstsegment.c: (gst_segment_set_duration),
14646 (gst_segment_set_last_stop), (gst_segment_set_seek),
14647 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14648 (gst_segment_to_running_time), (gst_segment_clip):
14649 Use G_UNLIKELY to help the compiler a bit.
14651 2006-06-12 Wim Taymans <wim@fluendo.com>
14653 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14655 * gst/gstevent.c: (gst_event_get_type):
14656 * gst/gstmessage.c:
14657 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14659 constify quark registration strings. Fixes #344115
14660 Avoid unneeded type checking is _pad_push() by internally
14661 calling gst_pad_chain_unchecked().
14663 2006-06-12 Wim Taymans <wim@fluendo.com>
14665 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14666 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14667 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14668 (gst_buffer_is_span_fast), (gst_buffer_span):
14669 Init _type for consistency.
14670 Use _FLAGS macro to avoid type check.
14671 Avoid unneeded type checks in subbufer code.
14673 2006-06-12 Wim Taymans <wim@fluendo.com>
14675 * gst/gst.c: (gst_debug_help):
14676 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14677 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14678 (gst_plugin_feature_list_free):
14679 * gst/gstregistry.c: (gst_registry_add_plugin),
14680 (gst_registry_add_feature), (gst_registry_plugin_filter),
14681 (gst_registry_feature_filter), (gst_registry_find_plugin),
14682 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14683 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14684 * gst/gstregistryxml.c: (load_feature),
14685 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14686 * gst/gstminiobject.c: (gst_mini_object_unref),
14687 (gst_mini_object_replace), (gst_value_mini_object_free),
14688 (gst_value_mini_object_copy):
14689 Use _CAST macros to avoid unneeded type checking.
14690 Added some more G_UNLIKELY.
14692 2006-06-12 Wim Taymans <wim@fluendo.com>
14695 Avoid unneeded type checking.
14696 API: GST_BUFFER_IS_DISCONT
14698 * gst/gstminiobject.h:
14699 Avoid type check in flag accessor.
14701 * gst/gstelementfactory.h:
14703 * gst/gstpluginfeature.h:
14705 API: GST_ELEMENT_FACTORY_CAST
14706 API: GST_PLUGIN_CAST
14707 API: GST_PLUGIN_FEATURE_CAST
14709 2006-06-12 Wim Taymans <wim@fluendo.com>
14711 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14712 (gst_object_unref):
14713 Add G_UNLIKELY in type registration.
14714 Avoid type check in _ref/_unref since that is also
14717 2006-06-12 Wim Taymans <wim@fluendo.com>
14719 * gst/gsterror.c: (gst_g_error_get_type):
14720 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14721 (gst_static_pad_template_get_type):
14722 * gst/gsttaglist.c: (gst_tag_list_get_type):
14723 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14724 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14725 * gst/gsturi.c: (gst_uri_handler_get_type):
14726 * gst/gstvalue.c: (gst_date_get_type):
14727 * gst/gstxml.c: (gst_xml_get_type):
14728 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14729 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14730 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14731 Add G_UNLIKELY in type registration.
14733 2006-06-12 Wim Taymans <wim@fluendo.com>
14735 * tools/gst-inspect.c: (print_signal_info):
14736 Properly print enum values.
14738 2006-06-12 Wim Taymans <wim@fluendo.com>
14740 * gst/gstinfo.c: (gst_debug_set_active),
14741 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14743 Add some G_[UN]LIKELY.
14744 Maintain __gst_debug_min to avoid formatting the arguments of
14745 debug messages that will be dropped anyway to avoid a lot of
14746 overhead from the debugging system.
14748 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14751 * po/POTFILES.skip:
14752 add missing files containing translatable strings, tell intltool about
14755 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14757 * tests/check/libs/.cvsignore:
14758 add test-binary to ignore list
14760 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14762 * docs/libs/gstreamer-libs-docs.sgml:
14763 reorder (put dp into a chapter) and indent
14765 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14770 === release 0.10.8 ===
14772 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14775 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14777 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14779 * gst/gst.c: (init_post):
14780 move pid declaration to declaration block
14782 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14784 * gst/gst.c: (init_post):
14785 use _exit() instead of exit() in our forked child; this ensures
14786 that none of the registered exit handlers from whatever is using
14787 GStreamer get executed. This fixes gnome-mixer-applet failing
14788 to load, because ORBit would shut down.
14789 Spotted by: Edward Hervey <edward@fluendo.com>
14790 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14793 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14798 === release 0.10.7 ===
14800 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14803 releasing 0.10.7, "Soepeke, ik zie ou"
14805 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14828 * win32/common/config.h:
14829 0.10.6.2 prerelease
14831 2006-06-07 Wim Taymans <wim@fluendo.com>
14833 * gst/gstindex.c: (gst_index_gtype_resolver):
14834 * tools/gst-xmlinspect.c: (print_plugin_info):
14835 Fix leak spotted by coverity checker. Fixes #343827
14836 Fix another other leak found by paolo borelli.
14838 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14840 * libs/gst/dataprotocol/dataprotocol.c:
14841 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14842 (gst_dp_version_get_type), (gst_dp_init),
14843 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14844 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14845 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14846 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14847 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14848 (gst_dp_packetizer_free):
14849 * libs/gst/dataprotocol/dataprotocol.h:
14850 API: add a GstDPPacketizer object, and create/free functions
14851 API: add GstDPVersion enum
14852 Add 1.0 event function that uses the string serialization
14853 Serialize more useful buffer flags
14856 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14858 * tests/check/Makefile.am:
14859 * tests/check/gst/gstabi.c:
14860 * tests/check/gst/struct_ppc64.h:
14861 * tests/check/libs/libsabi.c:
14862 * tests/check/libs/struct_ppc64.h:
14863 add ppc64 structure sizes
14865 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14867 * tests/check/Makefile.am:
14868 * tests/check/gst/gstabi.c:
14869 * tests/check/gst/struct_x86_64.h:
14870 * tests/check/libs/libsabi.c:
14871 * tests/check/libs/struct_x86_64.h:
14872 generate and add structure size lists for x86_64
14874 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14876 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14877 * libs/gst/check/gstcheck.h:
14878 factor out the method from tests that checks size of structures,
14879 and add code to generate the header containing these sizes
14880 * tests/check/gst/gstabi.c: (GST_START_TEST):
14881 * tests/check/gst/struct_i386.h:
14882 * tests/check/libs/libsabi.c: (GST_START_TEST):
14883 * tests/check/libs/struct_i386.h:
14886 2006-06-06 Michael Smith <msmith@fluendo.com>
14888 * gst/gstsegment.h:
14889 Don't use c++-style comments, fixes #343929
14891 2006-06-05 Edward Hervey <edward@fluendo.com>
14894 plugin_paths is not used if we build without registry support.
14896 * gst/gstsegment.c: (gst_segment_copy):
14897 _copy() was always returning NULL...
14899 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14901 * libs/gst/dataprotocol/dataprotocol.c:
14902 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14903 (gst_dp_packet_from_event):
14904 factor out CRC code
14906 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14908 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14909 make sure we unset caps
14911 2006-06-02 Michael Smith <msmith@fluendo.com>
14913 * libs/gst/check/gstcheck.c: (gst_check_init),
14914 (gst_check_chain_func):
14915 * libs/gst/check/gstcheck.h:
14916 Add a cond/mutex to the check support lib, signal this whenever we
14917 add to the buffers list. This will allow tests to not busy-wait on
14920 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14922 * libs/gst/dataprotocol/dataprotocol.c:
14923 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14924 (gst_dp_packet_from_event):
14925 factor out some common header init code
14927 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14929 * docs/libs/gstreamer-libs-sections.txt:
14930 * docs/libs/tmpl/gstdataprotocol.sgml:
14931 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14932 * libs/gst/dataprotocol/dataprotocol.h:
14933 API: make gst_dp_crc() public
14935 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14937 * plugins/indexers/gstindexers.c: (plugin_init):
14938 conditionally register fileindexer (fixes #343598)
14940 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14942 * gst/gsttagsetter.h:
14943 Can't cast ifaces to a class
14945 * libs/gst/net/gstnetclientclock.h:
14946 * libs/gst/net/gstnettimeprovider.h:
14947 * plugins/elements/gstfakesink.h:
14948 * plugins/elements/gstfakesrc.h:
14949 * plugins/elements/gstfdsink.h:
14950 * plugins/elements/gstfdsrc.h:
14951 * plugins/elements/gstfilesink.h:
14952 * plugins/elements/gstfilesrc.h:
14953 * plugins/elements/gstidentity.h:
14954 * plugins/elements/gstqueue.h:
14955 * plugins/elements/gsttee.h:
14956 * plugins/indexers/gstfileindex.c:
14957 * plugins/indexers/gstmemindex.c:
14958 * tests/old/examples/plugins/example.h:
14959 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14961 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14963 * libs/gst/dataprotocol/dataprotocol.c:
14964 (gst_dp_header_from_buffer):
14965 make sure we zero the whole ABI-compatible area
14967 2006-06-01 Wim Taymans <wim@fluendo.com>
14969 Patch by: Alessandro Decina <alessandro at nnva dot org>
14971 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14972 Make sure the EOS flag is cleared from pads after a flush
14973 or stop. Fixes #343538.
14975 * tests/check/libs/collectpads.c: (GST_START_TEST),
14976 (gst_collect_pads_suite):
14977 Added test for collectpads reusage after EOS.
14979 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14982 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14983 * win32/common/libgstbase.def:
14984 export gst_collect_pads_set_flushing
14985 * win32/common/libgstreamer.def:
14986 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14987 gst_value_fraction_multiply
14988 * win32/vs6/gst_inspect.dsp:
14989 add a link to intl.lib
14991 2006-05-30 Wim Taymans <wim@fluendo.com>
14993 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14994 (gst_collect_pads_chain):
14995 Handle the case where a pad is removed from the collection
14996 that could cause the other pads to become collectable.
14998 2006-05-30 Wim Taymans <wim@fluendo.com>
15000 * gst/gstelement.c:
15001 Clarify the use of _release_request_pad() and
15002 _get_request_pad() a bit better.
15004 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15005 (gst_adapter_take_buffer):
15006 Fix some doc and comment typos.
15008 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15010 * docs/gst/gstreamer-sections.txt:
15011 * docs/libs/gstreamer-libs-sections.txt:
15012 add declared symbols
15014 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
15016 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15017 Add debug that can be enabled using a #define at the top of the file,
15018 for dumping stats about how late/early we were when waking up from
15019 waiting on the clock.
15021 2006-05-30 Wim Taymans <wim@fluendo.com>
15023 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15024 When rebuilding the pad list, don't leak the previous list.
15026 2006-05-30 Wim Taymans <wim@fluendo.com>
15028 Patch by: Lutz Mueller <lutz at topfrose dot de>
15030 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15031 (gst_base_src_get_query_types), (gst_base_src_update_length):
15032 Publish supported query types.
15033 Update last_stop field in get_range mode so the position
15034 query works. Fixes #342321.
15036 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
15038 * docs/gst/gstreamer-sections.txt:
15039 * gst/gsttaglist.c: (_gst_tag_initialize):
15040 * gst/gsttaglist.h:
15041 API: add GST_TAG_PREVIEW_IMAGE (#343341).
15043 2006-05-30 Wim Taymans <wim@fluendo.com>
15045 Patch by: Alessandro Decina <alessandro at nnva dot org>
15047 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15048 Unlock mutex when removing an unknown pad.
15051 * tests/check/Makefile.am:
15052 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15053 (push_event), (setup), (teardown), (GST_START_TEST),
15054 (gst_collect_pads_suite), (main):
15055 Added collecpads check, disabled for now as check crashes for
15058 2006-05-29 Wim Taymans <wim@fluendo.com>
15060 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15061 Don't leak pads lists.
15063 2006-05-29 Wim Taymans <wim@fluendo.com>
15065 * docs/libs/gstreamer-libs-sections.txt:
15066 * libs/gst/base/gstcollectpads.c:
15067 (gst_collect_pads_set_flushing_unlocked),
15068 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15069 (gst_collect_pads_stop):
15070 * libs/gst/base/gstcollectpads.h:
15071 API: gst_collect_pads_set_flushing()
15072 Added api to set the pads to flushing, useful for seeking
15073 code in elements using collectpads.
15074 Clear segment when receiving a flush.
15076 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15078 * gst/gst.c: (add_path_func), (init_post):
15079 Don't scan registry paths passed via --gst-plugin-path immediately
15080 (will crash, because absolutely nothing is set up and no types are
15081 registered etc.); do this later in init_post(). Fixes #343057.
15083 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15085 * gst/gst.c: (init_post):
15086 if we have fork, fork while reading/rebuilding the registry
15087 so the parent doesn't take the hit of having all plugins loaded
15088 in memory. Fixes #342777.
15090 Check if we have fork()
15091 * win32/common/config.h.in:
15094 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15096 * plugins/elements/gstelements.c:
15097 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15098 (gst_file_src_init), (gst_file_src_set_property),
15099 (gst_file_src_get_property), (gst_file_src_start):
15100 * plugins/elements/gstfilesrc.h:
15101 API: GstFileSrc::use-mmap
15103 Add a use-mmap property to enable easier testing of all code paths.
15104 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15105 in the absence of gnomevfssrc. (Closes #340501)
15107 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15109 * tools/gst-inspect.c:
15110 Add missing include, removes warning of ngettext not being defined on
15113 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15115 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15116 Handle NULL input and output pointers silently as a failed conversion,
15117 rather than g_warnings.
15119 2006-05-25 Wim Taymans <wim@fluendo.com>
15121 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15122 Initialize variable before using. Fixes #342820.
15124 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15126 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15127 Fix off-by-one bug that would only allow peeks of N-1 bytes
15128 from the start even if the buffer to typefind on contains
15129 in fact N bytes of data (makes vorbis typefinding from a
15130 vorbis identification header buffer work).
15132 * tests/check/Makefile.am:
15133 * tests/check/libs/.cvsignore:
15134 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15135 (gst_typefindhelper_suite), (main), (foobar_typefind),
15137 Add very basic unit test for gst_type_find_helper_for_buffer()
15138 that checks for the problem fixed above.
15140 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15142 * tools/gst-inspect.c: (print_interfaces),
15143 (print_element_properties_info), (print_element_list), (main):
15144 add more translatable strings
15146 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15148 Patch by: Julien Moutte <julien at moutte net>
15150 * docs/gst/gstreamer-sections.txt:
15151 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15153 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15154 (gst_fake_sink_preroll):
15155 * plugins/elements/gstfakesink.h:
15156 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15158 2006-05-23 Wim Taymans <wim@fluendo.com>
15160 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15162 Added _CUSTOM error and success GstFlowReturn that can be
15163 used be elements internally.
15164 Added macro to check for SUCCESS flowreturns.
15165 API: GST_FLOW_CUSTOM_SUCCESS
15166 API: GST_FLOW_CUSTOM_ERROR
15167 API: GST_FLOW_IS_SUCCESS
15169 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15170 Added check for GstFlowReturn sanity.
15172 2006-05-23 Wim Taymans <wim@fluendo.com>
15174 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15176 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15177 (gst_collect_pads_event):
15178 clear/reset segment info in FLUSH_STOP.
15181 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15183 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15184 (gst_collect_pads_check_collected):
15185 Flush queued buffer on _stop(), fixes playing again (#342454)
15187 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15189 * tests/check/gst/gststructure.c: (GST_START_TEST),
15190 (gst_structure_suite):
15191 add a test for a complete structure
15193 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15195 * docs/faq/developing.xml:
15196 * docs/faq/faq.xml:
15197 * docs/faq/troubleshooting.xml:
15198 * docs/faq/using.xml:
15199 Some minor FAQ updates that won't change the fact that
15200 our FAQ is badly structured, full of information hardly
15201 anyone new to GStreamer needs to know and lacking lots
15202 of information people constantly ask for.
15204 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15206 * gst/gstpad.c: (gst_pad_set_caps):
15207 Short-circuit gst_pad_set_caps if setting the existing
15208 caps pointer again, and avoid printing debug and
15209 reffing/unreffing the caps.
15211 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15212 There's actually no need to set the caps before pushing -
15213 the acceptcaps method will handle it anyway.
15215 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15217 * docs/gst/gstreamer-sections.txt:
15218 * win32/common/libgstreamer.def:
15219 * gst/gstutils.c: (gst_element_seek_simple):
15221 API: add gst_element_seek_simple() (#342238).
15223 2006-05-18 Edward Hervey <edward@fluendo.com>
15225 * gst/gsttypefind.c: (gst_type_find_get_type):
15226 * gst/gsttypefind.h:
15227 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15228 registered for GstTypeFind pointers. This allows wrapping the structure
15229 in bindings (i.e. gst-python).
15231 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15233 * gst/gsttagsetter.c:
15234 Docs additions and fixes (see #339918).
15236 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15238 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15239 The caps intersection algorithm can produce multiple copies of the
15240 caps. Until that is fixed, we need to simplify the result to be
15241 sure whether the allowed caps are fixed or not.
15243 * plugins/elements/gstqueue.c: (gst_queue_init),
15244 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15245 (gst_queue_push_one):
15246 Proxied buffer alloc should not set the caps on the source pad.
15247 When pushing buffers, we always accept the caps change that triggers.
15248 This prevents negotiation errors caused by caps changing mid-stream
15249 and then being refused on our source pad (because upstream is now
15250 refusing those caps).
15252 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15254 * tests/examples/helloworld/helloworld.c: (main):
15255 Must plug audioconvert and audioresample between decoder
15258 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15260 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15261 (load_feature), (load_plugin):
15262 Allow empty strings for some of the plugin fields so we don't
15263 drop valid plugin entries that were written out correctly
15266 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15268 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15269 Use g_remove and g_rename instead of remove and rename that don't
15270 handle utf8 characters. rename was failing for users who had specific
15271 characters in their name then the registry was built at each
15273 * win32/vs6/gst_inspect.dsp:
15274 * win32/vs6/gst_launch.dsp:
15275 * win32/vs6/libgstbase.dsp:
15276 * win32/vs6/libgstcoreelements.dsp:
15277 * win32/vs6/libgstreamer.dsp:
15278 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15279 build of libgstreamer and clean unused libraries in projects link
15282 2006-05-17 Edward Hervey <edward@fluendo.com>
15284 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15285 The queue is not responsible for pushing an EOS when receiving a fatal
15286 flow error. It's up to the real element driving the pipeline to do that.
15288 2006-05-16 Edward Hervey <edward@fluendo.com>
15290 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15291 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15292 buffer returned a fatal error. It should just send an EOS and stop
15294 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15295 when pushing buffers on the queue and will be able to handle the event.
15297 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15299 * docs/manual/basics-bins.xml:
15300 * docs/manual/basics-init.xml:
15301 Fix typos and minor errors in sample code (#341856).
15303 2006-05-16 Wim Taymans <wim@fluendo.com>
15305 * docs/design/part-qos.txt:
15306 Fix indexes in formulas to make more sense.
15308 2006-05-15 Wim Taymans <wim@fluendo.com>
15310 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15311 Don't report POSITION based on clock time if sync is
15312 disabled in a sink.
15314 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15317 Add cast to make compiler happy - refcount variable was a gint
15318 in GstObject but is a guint in GObject and g_atomic_int_get()
15321 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15323 * gst/parse/Makefile.am:
15324 chain commands using &&, which also makes parallel make work
15326 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15328 * docs/gst/gstreamer-sections.txt:
15331 * gst/gstmessage.h:
15334 === release 0.10.6 ===
15336 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15339 releasing 0.10.6, "Take the cannoli"
15341 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15343 * tools/gst-launch.c: (print_tag):
15344 Fix use of uninitialized variable in the hypothetical
15345 case that some broken plugin creates a GST_TAG_IMAGE
15346 tag containing a NULL buffer (#341667).
15348 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15350 * tools/gst-launch.c: (print_tag):
15351 Print something more intelligible for image tags when
15352 using the -t switch (#341556).
15354 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15359 define GST_MAJORMINOR so we have it available in win32/common/config.h
15360 Possibly remove it from our Makefile.am files later
15361 * win32/common/config.h:
15362 * win32/common/config.h.in:
15363 added GST_MAJORMINOR
15364 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15365 * win32/common/gstversion.h:
15368 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15371 Update win32 files listing.
15372 * win32/common/gstversion.h:
15373 Add GST_MAJORMINOR definition.
15374 * win32/common/libgstreamer.def:
15375 Add new exported functions.
15377 2006-05-12 Michael Smith <msmith@fluendo.com>
15379 * gst/gstplugin.c: (gst_plugin_load_file):
15380 If an so file has no plugin entry point, unload the module.
15382 2006-05-11 Wim Taymans <wim@fluendo.com>
15384 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15385 (gst_queue_set_property):
15386 Don't forget to signal the _chain or _loop function
15387 when the queue size or thresholds change since that might
15388 cause them to make progres again.
15390 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15392 * gst/gstclock.c: (gst_clock_class_init):
15393 * gst/gstindex.c: (gst_index_class_init):
15394 * gst/gstobject.c: (gst_object_class_init):
15395 * gst/gstpad.c: (gst_pad_class_init):
15396 * gst/gstpipeline.c: (gst_pipeline_class_init):
15397 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15398 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15399 * libs/gst/base/gstbasetransform.c:
15400 (gst_base_transform_class_init):
15401 * libs/gst/net/gstnetclientclock.c:
15402 (gst_net_client_clock_class_init):
15403 * libs/gst/net/gstnettimeprovider.c:
15404 (gst_net_time_provider_class_init):
15405 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15406 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15407 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15408 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15409 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15410 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15411 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15412 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15413 * plugins/elements/gsttee.c: (gst_tee_class_init):
15414 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15415 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15416 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15418 2006-05-11 Wim Taymans <wim@fluendo.com>
15420 * gst/gstbuffer.c: (_gst_buffer_initialize):
15421 Register subbufer along with the buffer type so that
15422 it does not accidentally gets registered from N
15423 different streaming threads in a non threadsafe way.
15425 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15429 * gst/gstmessage.h:
15430 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15431 gst_event_ref() and gst_message_ref() functions again
15432 (ugly hack, please do fix if there's a better way besides
15433 overrides.txt, which doesn't seem to work).
15435 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15437 * libs/gst/check/gstcheck.h:
15438 add an assert for setting state to avoid lots of repetitive code
15441 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15443 * gst/gstvalue.c: (gst_value_serialize_flags):
15444 fix a leak if no flags are set
15445 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15448 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15450 * docs/manual/basics-pads.xml:
15451 Expand a bit on caps and filtered links and update
15452 examples that were still using the no longer existing
15453 gst_pad_link_filtered() (#338206).
15455 2006-05-10 Wim Taymans <wim@fluendo.com>
15457 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15458 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15459 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15460 (gst_collect_pads_stop):
15461 * libs/gst/base/gstcollectpads.h:
15462 No need to call _stop in _finalize.
15463 Iterate the main pad list in _finalize.
15464 Added some more debug.
15465 Free lists and data in the right order.
15466 Also free data whem doing _remove_pad when stopped for
15467 backward compatibility protect ::started with PAD_LOCK as
15470 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15472 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15473 (gst_structure_parse_value):
15475 rename a method so that it actually says what it does better
15477 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15479 * gst/gstevent.c: (_gst_event_initialize):
15480 * gst/gstformat.c: (_gst_format_initialize):
15481 make sure some essential types used by events are registered
15482 as part of gst_init()
15483 * gst/gstvalue.c: (gst_value_serialize_flags):
15484 if no flags are set, serialize them to a value that represents NONE
15485 so that deserializing them works
15486 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15487 add tests for serialization and deserialization of flags
15489 2006-05-10 Wim Taymans <wim@fluendo.com>
15491 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15492 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15493 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15494 (gst_collect_pads_event), (gst_collect_pads_chain):
15497 Catch and return errors from the collect function
15498 Refuse data on eos pads.
15500 2006-05-10 Edward Hervey <edward@fluendo.com>
15502 * gst/gstinterface.h:
15503 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15504 GInterface type checking.
15505 They were previously using non-defined macros.
15507 2006-05-09 Wim Taymans <wim@fluendo.com>
15509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15510 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15511 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15512 (gst_collect_pads_start), (gst_collect_pads_stop),
15513 (gst_collect_pads_peek), (gst_collect_pads_pop),
15514 (gst_collect_pads_available), (gst_collect_pads_read),
15515 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15516 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15517 (gst_collect_pads_chain):
15518 * libs/gst/base/gstcollectpads.h:
15519 Clean up the mess that is collectpads, add comments and
15520 FIXMEs where needed.
15521 Maintain a separate pad list so we can add pads while
15522 collecting the other ones. For this we need a new separate
15524 Fix memory leak in finalize.
15525 Refactor some weird code to set/unset pad flushing flags, mark
15527 Don't crash in _available, _read, _flush when we're EOS.
15529 * tests/check/libs/.cvsignore:
15530 Ignore adapter check binary.
15532 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15534 * gst/gstindex.c: (gst_index_resolver_get_type):
15535 * plugins/elements/gstfakesink.c:
15536 (gst_fake_sink_state_error_get_type):
15537 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15538 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15539 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15540 Const-ify GEnumValue arrays.
15542 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15544 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15545 Add test case for flags + gst_buffer_make_metadata_writable().
15547 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15549 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15550 gst_buffer_make_metadata_writable() should maintain the
15551 buffer flags (those that make sense at least) (see #340859).
15553 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15555 * tools/gst-inspect.c:
15556 * tools/gst-launch.c:
15557 * tools/gst-typefind.c:
15558 * tools/gst-xmlinspect.c:
15560 Fix up includes: need to include stdlib.h in tools.h for exit().
15562 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15564 * gst/gsttaglist.c: (_gst_tag_initialize):
15565 * gst/gsttaglist.h:
15566 API: add GST_TAG_IMAGE tag (#340721).
15568 2006-05-08 Wim Taymans <wim@fluendo.com>
15571 Added some docs for the segment query.
15573 2006-05-08 Wim Taymans <wim@fluendo.com>
15575 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15576 (gst_base_src_loop), (gst_base_src_change_state):
15577 Always push non-flushing serialized events in the streaming
15580 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15582 * gst/gsterror.c: (_gst_stream_errors_init):
15583 Add a missing error string.
15585 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15587 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15588 Add applied_rate to the debug
15590 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15591 Copy applied_rate into the outgoing NEWSEGMENT event
15593 2006-05-08 Wim Taymans <wim@fluendo.com>
15595 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15597 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15598 (gst_base_sink_change_state):
15599 call ::unlock before taking the PREROLL_LOCK so we can safely
15600 handle elements that lock in ::render.
15603 2006-05-08 Edward Hervey <edward@fluendo.com>
15605 * autogen.sh: (CONFIGURE_DEF_OPT):
15606 Darwin's libtoolize is in fact called glibtoolize.
15607 Adding glibtoolize to the list of accepted names for libtoolize.
15609 2006-05-08 Wim Taymans <wim@fluendo.com>
15611 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15612 Unify error handling, don't post an error message
15613 when a push() returns EOS but perform our normal EOS
15614 handling code. Fixes #340772.
15616 2006-05-08 Wim Taymans <wim@fluendo.com>
15618 * docs/design/part-overview.txt:
15619 Make upsteam/downstream concepts more clear.
15620 Give an example of serialized/non-serialized events.
15622 * docs/design/part-events.txt:
15623 * docs/design/part-streams.txt:
15624 Mention applied_rate.
15626 * docs/design/part-trickmodes.txt:
15627 Mention applied rate, flesh out some more use cases.
15629 * gst/gstevent.c: (gst_event_new_new_segment),
15630 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15631 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15632 (gst_event_parse_tag), (gst_event_new_buffer_size),
15633 (gst_event_parse_buffer_size), (gst_event_new_qos),
15634 (gst_event_parse_qos), (gst_event_parse_seek),
15635 (gst_event_new_navigation):
15637 Add applied_rate field to NEWSEGMENT event.
15638 API: gst_event_new_new_segment_full()
15639 API: gst_event_parse_new_segment_full()
15641 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15642 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15643 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15644 * gst/gstsegment.h:
15645 Add applied_rate to GstSegment structure.
15646 Make calculation of stream_time and running_time more correct
15647 wrt rate/applied_rate.
15648 Add some more docs.
15649 API: GstSegment::applied_rate field
15650 API: gst_segment_set_newsegment_full();
15652 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15653 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15654 * libs/gst/base/gstbasetransform.c:
15655 (gst_base_transform_sink_eventfunc),
15656 (gst_base_transform_handle_buffer):
15657 Parse and use applied_rate in the GstSegment field.
15659 * tests/check/gst/gstevent.c: (GST_START_TEST):
15660 Add check for applied_rate field.
15662 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15663 (gstsegments_suite):
15664 Add more checks for various GstSegment operations.
15666 2006-05-08 Wim Taymans <wim@fluendo.com>
15668 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15669 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15670 (gst_base_sink_get_position), (gst_base_sink_change_state):
15671 Store the sync time of the buffer end position separatly in a
15672 new variable eos_rtime so we can properly sync the EOS event.
15674 Fix the docs for gst_base_sink_set_qos_enabled().
15675 Don't set segment start to invalid value when we receive a
15676 non TIME newsegment.
15677 get closer to handling position reporting for negative rates
15680 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15683 Docs about how to print caps for debug purposes.
15685 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15686 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15688 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15690 * gst/gstelement.c:
15691 use full enum names and preprend a '%' in docs strings to make recent
15692 gtk-doc turn that into a link
15694 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15696 * docs/manual/basics-bins.xml:
15697 * docs/manual/basics-bus.xml:
15698 * docs/manual/basics-pads.xml:
15699 Some typo fixes, some additions, some clarifications.
15701 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15703 * tools/gst-inspect.c: (main):
15704 * tools/gst-launch.c: (main):
15705 * tools/gst-run.c: (main):
15706 * tools/gst-typefind.c: (main):
15707 * tools/gst-xmlinspect.c: (main):
15708 Use the string passed to g_option_context_new() for
15709 what it's intended for - the program name is already
15712 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15714 * tools/Makefile.am:
15715 * tools/gst-inspect.c: (main):
15716 * tools/gst-launch.c: (main):
15717 * tools/gst-xmlinspect.c: (main):
15719 Add back --version command line option (#340460).
15721 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15722 Add --version option and use GOption for argument parsing; refactor a
15723 bit; accept directories as arguments and recurse into them; lastly,
15724 print a decent error message when things go wrong.
15726 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15728 * docs/manual/basics-bins.xml:
15729 Don't mention GstThread (#340611)
15730 * docs/manual/basics-elements.xml:
15731 Update link to GObject tutorial (#340607)
15733 2006-05-05 Wim Taymans <wim@fluendo.com>
15736 * gst/gstminiobject.c:
15737 Add note about refcounting and miniobject/buffer writeability
15738 to docs. Fixes #340604
15740 * gst/gstelementfactory.h:
15741 Added some explanation about @klass.
15743 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15745 * docs/manual/intro-motivation.xml:
15746 * docs/manual/manual.xml:
15747 Avoid CORBA & Bonobo references (#340598)
15749 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15751 * docs/manual/basics-bus.xml:
15752 * docs/manual/basics-pads.xml:
15753 Fix up some inaccuracies and omissions (#340609)
15755 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15757 * gst/gstghostpad.c:
15758 Small typo in docs (#340625)
15760 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15762 * gst/parse/Makefile.am:
15763 Make 'make -j' proof (see #340698).
15765 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15768 Require GLib-2.8 here as well.
15770 2006-05-05 Wim Taymans <wim@fluendo.com>
15772 * gst/glib-compat.c:
15773 * gst/gst.c: (init_pre):
15774 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15775 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15776 (gst_object_dispatch_properties_changed):
15778 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15779 * gst/gststructure.c: (gst_structure_set_valist):
15780 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15781 Remove pre glib2.8 compatibility, fixes #340508
15783 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15785 * gst/gsttaglist.h:
15786 Mention type of tags in doc blurbs.
15788 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15790 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15791 (gst_pad_configure_src), (gst_pad_push):
15792 Restore acceptcaps checking behaviour now that good plugins have
15795 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15797 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15804 * gst/gstmessage.c:
15808 * gst/parse/Makefile.am:
15809 * libs/gst/base/gstadapter.c:
15810 * libs/gst/base/gstbasesrc.c:
15811 * libs/gst/base/gstpushsrc.c:
15812 * libs/gst/base/gsttypefindhelper.c:
15813 * plugins/elements/gstfakesrc.c:
15814 * plugins/elements/gstidentity.c:
15815 Make sure gstprivate.h and/or config.h are
15816 always included first, otherwise some of our
15817 defines (like _FILE_OFFSET_BITS) might be
15818 redefined in the system headers. Fixes build
15819 on opensolaris (#340016).
15821 2006-05-04 Wim Taymans <wim@fluendo.com>
15823 * docs/libs/gstreamer-libs-sections.txt:
15824 API: addition: gst_adapter_take_buffer()
15826 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15827 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15828 (gst_adapter_available_fast):
15829 * libs/gst/base/gstadapter.h:
15830 Prepare for optimizing the hell out of this hugely inefficient
15832 Added gst_adapter_take_buffer() so we can at least start thinking
15833 about subbuffering and merging.
15834 Added some comments.
15836 * tests/check/Makefile.am:
15837 * tests/check/libs/adapter.c: (GST_START_TEST),
15838 (gst_adapter_suite), (main):
15839 Added GstAdapter check.
15841 2006-05-04 Wim Taymans <wim@fluendo.com>
15843 * docs/design/part-overview.txt:
15844 Fix some typos, add blurb about buffer flags.
15846 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15848 * docs/libs/gstreamer-libs-sections.txt:
15849 make sure GstBaseTransformClass shows up in the docs
15850 * libs/gst/base/gstbasetransform.c:
15851 * libs/gst/base/gstbasetransform.h:
15852 move docs so gtk-doc picks it up now
15854 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15856 * docs/libs/gstreamer-libs-sections.txt:
15857 add missing symbols to docs
15859 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15862 back out the newsegment handling change, see #340060 for ongoing
15865 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15867 * tools/gst-run.c: (get_candidates), (main):
15868 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15869 work); fix typo in error message. Fixes #340079.
15871 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15873 * common/Makefile.am:
15874 * docs/Makefile.am:
15875 * docs/faq/Makefile.am:
15876 * docs/gst/Makefile.am:
15877 * docs/libs/Makefile.am:
15878 * docs/manual/Makefile.am:
15879 * docs/plugins/Makefile.am:
15880 * docs/pwg/Makefile.am:
15881 * docs/slides/Makefile.am:
15883 * common/upload.mak:
15884 move upload.mak to common
15886 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15888 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15889 add more asserts on refcounts
15890 do more cleanup at end of tests
15891 fix test leaks showing in FC5
15893 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15895 * plugins/elements/gsttypefindelement.c:
15896 (gst_type_find_element_handle_event):
15897 reverted wrong change and reflowed code to avoid others falling into
15900 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15902 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15903 fix changelog entry about last collectpads change,
15904 add notes about proper fix
15906 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15909 * gst/gstregistry.c: (gst_registry_scan_path_level),
15910 (gst_registry_scan_path):
15911 * gst/gstregistry.h:
15912 only write out registry if it has changed, fixes #338339
15914 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15917 * gst/gstpipeline.c:
15918 * plugins/elements/gstcapsfilter.c:
15919 * plugins/elements/gstfakesink.c:
15920 * plugins/elements/gstfakesrc.c:
15921 * plugins/elements/gstfdsink.c:
15922 * plugins/elements/gstfdsrc.c:
15923 * plugins/elements/gstfilesink.c:
15924 * plugins/elements/gstfilesrc.c:
15925 * plugins/elements/gstidentity.c:
15926 * plugins/elements/gstqueue.c:
15927 * plugins/elements/gsttee.c:
15928 * plugins/elements/gsttypefindelement.c:
15929 (gst_type_find_element_handle_event):
15930 make GstElementDetails const
15932 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15934 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15935 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15936 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15937 more detailed debug and formatting cleanup,
15938 forward newsegments to src-pad (so that e.g. adder not eats them)
15940 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15942 * gst/gstutils.c: (gst_element_link_pads):
15943 cleanup double code
15945 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15947 * libs/gst/controller/gstcontroller.c:
15948 (gst_controller_sync_values):
15950 * tests/check/libs/controller.c: (GST_START_TEST),
15951 (gst_controller_suite):
15952 a new test for live value handling
15954 2006-04-28 Wim Taymans <wim@fluendo.com>
15956 * gst/gstutils.c: (push_and_ref):
15957 Added some more docs.
15958 Fix refcount issue whith gst_element_found_tags() helper
15959 function. Fixes #338335
15961 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15962 Added testsuite for gst_element_found_tags().
15964 2006-04-28 Michael Smith <msmith@fluendo.com>
15966 * gst/gstvalue.c: (gst_value_serialize_flags):
15967 Avoid NULL dereference when trying to serialize flags containing
15970 2006-04-28 Michael Smith <msmith@fluendo.com>
15972 * plugins/elements/gsttypefindelement.c:
15973 (gst_type_find_element_handle_event):
15974 If we get EOS before any data is accumulated, don't use
15975 uninitialised local variables.
15977 2006-04-28 Michael Smith <msmith@fluendo.com>
15979 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15980 (gst_dp_event_from_packet):
15981 Fixes in reading/writing events over GDP (not currently used?) -
15982 dereferencing NULL events for unknown/invalid event types, memory
15983 leak, and change g_warning to GST_WARNING.
15985 2006-04-28 Wim Taymans <wim@fluendo.com>
15987 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15988 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15989 (gst_base_sink_get_position), (gst_base_sink_change_state):
15990 When frame dropping is enabled, we should not ignore frames
15991 without a duration.
15992 Update some documentation.
15994 2006-04-28 Wim Taymans <wim@fluendo.com>
15996 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15997 (gst_base_src_send_event), (gst_base_src_change_state):
15998 Documentation updates.
16000 2006-04-28 Wim Taymans <wim@fluendo.com>
16002 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16003 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16004 handle EAGAIN, EINTR and short writes correctly. Also clean
16005 up some error cases, avoid a deadlock on bad file descriptors and
16006 use GST_DEBUG_OBJECT.
16009 2006-04-28 Wim Taymans <wim@fluendo.com>
16011 * gst/gstvalue.c: (gst_value_serialize_buffer),
16012 (gst_value_deserialize_buffer):
16013 Don't try to serialize a GValue with a NULL buffer.
16016 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16017 Added check for serialisation of NULL buffers.
16019 2006-04-28 Wim Taymans <wim@fluendo.com>
16021 * gst/gstminiobject.c: (gst_value_take_mini_object):
16022 Taking a NULL miniobject is valid, fix the case where
16023 we try to unref the NULL miniobject.
16025 2006-04-28 Wim Taymans <wim@fluendo.com>
16027 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16029 * gst/gstbin.c: (gst_bin_handle_message_func):
16031 Don't leak bin refcount when a state recalc is
16032 in progress and we delay another one #339808.
16034 2006-04-28 Wim Taymans <wim@fluendo.com>
16036 * docs/design/part-TODO.txt:
16037 Mention QoS as an ongoing work item.
16039 * docs/design/part-buffering.txt:
16040 New doc about buffering that needs to be fleshed out
16043 * docs/design/part-qos.txt:
16044 More QoS policy for decoders/demuxers/transforms
16046 * docs/design/part-trickmodes.txt:
16049 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16054 === release 0.10.5 ===
16056 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16059 releasing 0.10.5, "Fogo"
16061 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16063 patch by: Wim Taymans
16065 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16066 (gst_pad_configure_src), (gst_pad_push):
16067 * gst/gstpipeline.c: (gst_pipeline_init):
16068 Fix internal data flow errors. Fixes #338711.
16070 2006-04-12 Wim Taymans <wim@fluendo.com>
16072 * tests/check/gst/gstelement.c: (GST_START_TEST):
16073 Don't leak the factory.
16075 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16078 * win32/common/config.h:
16081 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16083 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16084 (gst_controller_unset_all):
16085 Free allocated GstTimedValues when freeing list nodes.
16086 Should fix leaks 'make check-valgrind' complains about.
16088 * win32/common/libgstcontroller.def:
16089 Add gst_controller_unset_all.
16091 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16093 * docs/libs/gstreamer-libs-sections.txt:
16094 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16095 (gst_controller_unset_all):
16096 * libs/gst/controller/gstcontroller.h:
16097 API: Added new method gst_controller_unset_all()
16098 fixed gst_controller_unset()
16099 * tests/check/libs/controller.c: (GST_START_TEST),
16100 (gst_controller_suite):
16101 Added two testcases for new and fixed method
16103 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16105 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16106 MSG_DONTWAIT is not defined on Cygwin, so work
16107 around that (fixes #317048).
16109 2006-04-11 Wim Taymans <wim@fluendo.com>
16111 * gst/gstelementfactory.c: (gst_element_register),
16112 (gst_element_factory_create), (gst_element_factory_make):
16115 Updated docs (Fixes #131079)
16117 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16120 * tests/check/gst/gstelement.c: (GST_START_TEST),
16121 (gst_element_suite):
16122 Added testcase for elementfactory class field.
16124 2006-04-10 Wim Taymans <wim@fluendo.com>
16126 * gst/gstsegment.c:
16127 Added some more docs.
16129 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16130 (gst_base_sink_reset_qos):
16131 Calculate more accurate rate values.
16133 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16135 * gst/gst_private.h:
16136 add a new #ifdef to use __declspec(dllimport) only for
16137 other modules and not for gstreamer core
16138 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16139 use gst_guint64_to_gdouble for conversion
16140 * win32/common/libgstreamer.def:
16141 add new exported functions
16142 * win32/vs6/gst_inspect.dsp:
16143 * win32/vs6/gst_launch.dsp:
16144 * win32/vs6/libgstbase.dsp:
16145 * win32/vs6/libgstcontroller.dsp:
16146 * win32/vs6/libgstcoreelements.dsp:
16147 * win32/vs6/libgstdataprotocol.dsp:
16148 * win32/vs6/libgstnet.dsp:
16149 update project files
16151 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16153 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16154 * gst/gstclock.c: (gst_clock_class_init):
16155 * gst/gstelement.c: (gst_element_class_init):
16156 * gst/gstindex.c: (gst_index_class_init):
16157 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16158 * gst/gstobject.c: (gst_object_class_init),
16159 (gst_signal_object_class_init):
16160 * gst/gstpad.c: (gst_pad_class_init):
16161 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16162 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16163 * gst/gstregistry.c: (gst_registry_class_init):
16164 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16165 * gst/gsttask.c: (gst_task_class_init):
16166 * gst/gstxml.c: (gst_xml_class_init):
16167 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16168 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16169 (gst_base_src_loop):
16170 * libs/gst/controller/gstcontroller.c:/
16171 (_gst_controller_class_init):
16172 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16173 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16174 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16175 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16176 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16177 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16179 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16181 * gst/gstpad.c: (gst_pad_link):
16182 Must set peer pads before calling the link function, otherwise
16183 a task started from a link function might get a flow-not-linked
16184 result when trying to push because the other thread where the
16185 linking happens hasn't had a chance to set the peers yet. This
16186 might happen for example when a queue gets linked to a downstream
16187 element, as queue starts a streaming task when its source pad
16188 gets linked. Happens in real life when playing back flac/musepack
16189 files in playbin (#332390).
16191 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16195 * libs/gst/base/gstadapter.h:
16196 * libs/gst/base/gstbasesink.h:
16197 * libs/gst/base/gstbasesrc.h:
16198 * libs/gst/base/gstbasetransform.h:
16199 * libs/gst/base/gstcollectpads.h:
16200 * libs/gst/base/gstpushsrc.h:
16201 Fix broken GObject macros
16203 2006-04-07 Wim Taymans <wim@fluendo.com>
16205 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16206 Initialize start and stop times, thanks valgrind.
16208 2006-04-07 Wim Taymans <wim@fluendo.com>
16210 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16211 Be a bit nicer to badly behaving upstream elements that expect
16212 us to deal with non TIME segments and timestamps (such as fakesrc
16215 2006-04-07 Wim Taymans <wim@fluendo.com>
16218 Small documentation clarification about the signal watch.
16220 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16221 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16222 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16223 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16224 (gst_base_sink_get_position_last),
16225 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16226 Convert and store timestamps in stream time and running time, the
16227 raw timestamps are not useful, also document this better.
16228 Use different window sizes for good and bad QoS observations so
16229 we react to badness a little quicker.
16230 Keep track of the amount of rendered and dropped buffers.
16231 Send QoS timestamps in running time.
16233 * libs/gst/base/gstbasetransform.c:
16234 (gst_base_transform_sink_eventfunc),
16235 (gst_base_transform_handle_buffer):
16236 Compare QoS timestamps against running time.
16238 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16241 Typo fixes in docs.
16243 2006-04-06 Michael Smith <msmith@fluendo.com>
16245 * gst/gstpad.c: (gst_pad_set_property):
16246 Use g_value_get_object() instead of g_value_dup_gst_object(),
16247 to avoid double-reffing the pad template (which we then sink,
16248 so this worked previously if (and only if) the pad template
16251 * gst/gstpadtemplate.c: (gst_pad_template_init),
16252 (gst_pad_template_pad_created):
16253 Never return floating references to pad templates, create
16254 them as initially-sunken.
16256 Document an extra function (and make this stop sinking our
16257 pad template, since that is now guaranteed to do nothing,
16258 since we created it sunken).
16260 * gst/gstghostpad.c:
16263 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16265 * gst/gstinfo.c: (__gst_in_valgrind):
16268 * plugins/elements/gsttypefindelement.c:
16269 (gst_type_find_element_chain):
16270 Don't leak buffer caps.
16272 2006-04-06 Michael Smith <msmith@fluendo.com>
16274 * gst/parse/grammar.y:
16275 Fix a leak in parse-launch for any source-or-sink named element
16278 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16279 Unref the pipeline if it exists after we've failed parsing.
16281 2006-04-05 Michael Smith <msmith@fluendo.com>
16283 * gst/gstpipeline.c: (gst_pipeline_init):
16284 When we create a pipeline bus, initially create it in flushing mode.
16285 Fixes leaks in at least one test, and makes a new pipeline work the
16286 same as one that has gone to READY and then back to NULL.
16288 * gst/gstelement.c:
16291 2006-04-05 Michael Smith <msmith@fluendo.com>
16293 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16294 Unref a pad we reffed.
16295 * tests/check/gst/gstutils.c: (GST_START_TEST):
16298 2006-04-05 Michael Smith <msmith@fluendo.com>
16300 * gst/gstquery.c: (gst_query_set_formats),
16301 (gst_query_set_formatsv):
16302 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16304 2006-04-05 Michael Smith <msmith@fluendo.com>
16306 * tests/check/generic/sinks.c: (GST_START_TEST):
16307 Fix a variety of memleaks in sinks check, which are only sometimes
16308 shown by running the tests under valgrind (weird?).
16310 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16312 * docs/version.entities.in:
16313 Fix the substituted entity name after thomas' changes on the
16316 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16318 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16321 2006-04-05 Andy Wingo <wingo@pobox.com>
16323 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16325 * libs/gst/base/gstbasetransform.c
16326 (gst_base_transform_sink_eventfunc): When resetting our segment on
16327 FLUSH_STOP, also update the flag saying we haven't seen a
16330 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16332 Patch by: Paolo Borelli <pborelli at katamail dot com>
16334 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16335 (gst_plugin_check_license):
16336 minor clean-ups: G_DEFINE_TYPE already takes care of the
16337 parent_class stuff, no need to do it twice. Mark array of
16338 license strings as constant. (#337103)
16340 2006-04-04 Michael Smith <msmith@fluendo.com>
16342 * tools/gst-inspect.c: (print_element_list):
16343 Free the right plugin list; fixes a memory leak.
16345 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16347 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16349 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16350 Don't error out on empty buffers (#336945).
16352 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16354 * docs/libs/gstreamer-libs-sections.txt:
16355 * gst/gsttaglist.c:
16356 * libs/gst/base/gstbasesink.c:
16357 * libs/gst/base/gstbasesink.h:
16358 * libs/gst/base/gstbasesrc.c:
16359 * libs/gst/base/gstbasesrc.h:
16360 Documentation updates. Make BaseSink and BaseSrc docs contain the
16361 class structure so that people can actually see the prototypes for
16362 virtual functions they're supposed to be overriding.
16364 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16366 * plugins/elements/gsttypefindelement.c:
16367 (gst_type_find_element_chain):
16368 More debug info; when skipping typefinding, send cached
16369 events in all cases.
16371 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16374 use new AS_VERSION and AS_NANO macros
16375 * gst/gst-i18n-lib.h:
16378 * gst/gstversion.h.in:
16379 * win32/common/config.h:
16380 * win32/common/config.h.in:
16383 2006-03-31 Michael Smith <msmith@fluendo.com>
16385 * plugins/elements/gsttypefindelement.c:
16386 (gst_type_find_element_chain):
16387 Do not typefind content if the buffers already have caps.
16388 Neccesary for icydemux (#333657), and the right thing to do anyway.
16390 2006-03-30 Wim Taymans <wim@fluendo.com>
16392 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16393 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16394 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16395 (gst_base_sink_record_qos_observation),
16396 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16397 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16398 (gst_base_sink_change_state):
16399 More QoS measurements as described in the design doc.
16400 Get rid of ringbuffer with observations, running average is
16401 more simple and equally good.
16402 Calculates valid proportion now.
16403 Added beginning of flood measurement.
16405 2006-03-29 Wim Taymans <wim@fluendo.com>
16407 * docs/design/part-qos.txt:
16409 Small documentation updates and additions.
16411 2006-03-29 Wim Taymans <wim@fluendo.com>
16413 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16414 (gst_base_src_send_event), (gst_base_src_loop),
16415 (gst_base_src_change_state):
16416 Perform the EOS logic when we reach the segment stop position.
16417 Fix compilation on gcc4.1
16419 2006-03-29 Wim Taymans <wim@fluendo.com>
16421 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16423 * plugins/elements/gstqueue.c: (gst_queue_init),
16424 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16425 (gst_queue_set_property):
16426 * plugins/elements/gstqueue.h:
16427 In queue, when EOS is received, if minimum threshold > max_size -
16428 current_level, there is chance that queue blocks forever in conditional
16429 item del wait. This is because the queue is not emptied completely due
16430 to minimum threshold. Here is another approach. Instead of setting
16431 cur_levels to max in EOS, just zero all minimum threshold levels. This
16432 should make sure that queue gives out all data. When going to READY
16433 (stop) state, just reset the original minimum threshold levels.
16436 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16438 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16439 (gst_type_find_element_handle_event),
16440 (gst_type_find_element_send_cached_events),
16441 (gst_type_find_element_change_state):
16442 * plugins/elements/gsttypefindelement.h:
16443 When typefinding is done in push mode, we should cache
16444 events we receive during typefinding instead of just
16445 dropping them (e.g. newsegment, custom events from
16446 dvdreadsrc etc.) and then send them out once we've
16447 determined the type of the stream (and decodebin
16448 has had a chance to plug in a decoder/demuxer).
16450 2006-03-27 Wim Taymans <wim@fluendo.com>
16452 * docs/design/part-qos.txt:
16455 2006-03-27 Wim Taymans <wim@fluendo.com>
16457 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16459 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16460 (gst_base_src_send_event), (gst_base_src_change_state):
16461 Handle element seek correctly when we are streaming.
16464 2006-03-24 Michael Smith <msmith@fluendo.com>
16466 * docs/faq/gst-uninstalled:
16467 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16468 allow you to correctly run intalled applications built against old
16469 core, using plugins that require updated core (e.g. running
16470 installed totem against a full uninstalled gstreamer stack)
16472 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16474 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16477 2006-03-24 Wim Taymans <wim@fluendo.com>
16479 * docs/gst/gstreamer-sections.txt:
16480 Rearrange the order of the methods so that related methods
16481 are grouped together in sections.
16483 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16485 * gst/gstelement.c:
16486 Little clarification in the docs
16488 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16492 * plugins/elements/gstidentity.c:
16493 * plugins/elements/gstqueue.c:
16494 * plugins/elements/gsttee.c:
16495 * plugins/elements/gsttypefindelement.c:
16496 GST_ELEMENT_DETAILS formatting
16498 2006-03-24 Wim Taymans <wim@fluendo.com>
16500 * libs/gst/base/gstbasesink.h:
16501 Only add fields, not insert or we break ABI.
16503 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16505 * win32/common/libgstbase.def:
16506 * win32/common/libgstreamer.def:
16507 Update, add recently added functions.
16509 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16511 * docs/gst/gstreamer-sections.txt:
16512 * gst/gstutils.c: (gst_pad_query_peer_position),
16513 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16515 API: add some new utility functions:
16516 - gst_pad_query_peer_position()
16517 - gst_pad_query_peer_duration()
16518 - gst_pad_query_peer_convert()
16520 2006-03-23 Wim Taymans <wim@fluendo.com>
16522 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16523 (gst_base_sink_init), (gst_base_sink_finalize),
16524 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16525 (gst_base_sink_set_property), (gst_base_sink_get_property),
16526 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16527 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16528 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16529 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16530 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16531 (gst_base_sink_preroll_object), (gst_base_sink_event),
16532 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16533 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16534 (gst_base_sink_query), (gst_base_sink_change_state):
16535 Decouple max-lateness and the fact that QoS messages are generated
16536 with a new property (qos).
16537 added API: GstBaseSink::async_play()
16538 Add vmethod so subclasses can be notified of ASYNC playing
16540 Collect timestamp start and stop to report better current
16541 position in EOS/PLAYING/PAUSED/READY/NULL.
16542 Refactor QoS/frame dropping and other measurements.
16543 API: GstBaseSrc::qos
16546 * libs/gst/base/gstbasesink.h:
16547 Added Private struct.
16548 API: gst_base_sink_set_qos_enabled()
16549 API: gst_base_sink_is_qos_enabled()
16551 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16553 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16554 If compiling against GLib-2.8 or newer, try to read the
16555 registry file using GMappedFile first before falling back
16556 to fopen() + fread() (#332151).
16558 2006-03-22 Wim Taymans <wim@fluendo.com>
16560 * gst/gstinfo.c: (gst_debug_set_active),
16561 (gst_debug_category_set_threshold):
16562 Disable debugging unless explicitly activated.
16565 2006-03-22 Wim Taymans <wim@fluendo.com>
16567 * gst/gstelement.c: (gst_element_set_locked_state),
16568 (gst_element_dispose):
16569 Cleanup the error case.
16571 * gst/gstobject.c: (gst_object_dispose):
16572 print a critical when some object was disposed with
16573 a parent, also revive the object since it might
16576 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16578 * tools/gst-launch.1.in:
16581 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16584 * tests/check/Makefile.am:
16585 disable some tests when we don't have a registry
16586 * tests/check/gst/gstutils.c: (gst_utils_suite):
16587 don't build the part that needs parsing
16589 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16592 * tests/examples/Makefile.am:
16593 fix --disable-parse build
16595 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16597 * tools/gst-feedback.1.in:
16598 Fix typo: s/feeback/feedback/ (#133494).
16600 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16602 * tools/Makefile.am:
16603 * tools/gst-launch.1.in:
16604 Add FILES section and correct entry about GST_REGISTRY_PATH
16605 environment variable (#133495; #133494).
16607 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16609 * tools/Makefile.am:
16610 * tools/gst-md5sum.1.in:
16611 * tools/gst-md5sum.c:
16612 Remove gst-md5sum and man page (the md5sink element
16613 required was removed ages ago)
16615 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16617 * gst/gststructure.c: (gst_structure_id_set_value):
16618 Make sure that string fields in structures/taglists
16619 contain valid UTF-8 - we don't want to pass rubbish to
16620 applications because of a buggy plugin (cp. #334167).
16622 2006-03-21 Edward Hervey <edward@fluendo.com>
16624 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16625 (gst_bin_handle_message_func):
16626 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16627 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16628 (gst_element_set_bus_func):
16629 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16630 * gst/gstminiobject.c: (gst_value_set_mini_object),
16631 (gst_value_take_mini_object):
16632 * gst/gstpad.c: (gst_pad_set_pad_template):
16633 * gst/gstpipeline.c: (gst_pipeline_dispose),
16634 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16635 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16636 (gst_collect_pads_chain):
16637 * libs/gst/net/gstnettimeprovider.c:
16638 (gst_net_time_provider_set_property):
16639 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16640 It's in fact all issues with gst_*object_replace().
16642 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16644 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16646 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16647 * pkgconfig/gstreamer-check.pc.in:
16648 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16650 2006-03-21 Edward Hervey <edward@fluendo.com>
16654 * gst/gstmessage.h:
16655 gst_[buffer|event|message]_ref() macros are replaced by a static
16656 inline functions because gcc-4.1 will about if the return value
16658 * tests/check/gst/gstevent.c: (event_probe):
16659 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16661 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16664 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16665 the type' case. (Closes: #335195 for now). In the future, when we
16666 depend on GLib 2.10, we could also intern the type name using
16667 g_intern_static_string()
16669 2006-03-20 Wim Taymans <wim@fluendo.com>
16671 * gst/gstbin.c: (gst_bin_handle_message_func),
16672 (bin_query_max_init), (bin_query_position_fold),
16673 (bin_query_position_done), (gst_bin_query):
16674 Position query should also take max of all streams.
16676 2006-03-20 Wim Taymans <wim@fluendo.com>
16678 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16679 (gst_fake_src_finalize):
16680 Fix leaks in fakesrc.
16682 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16683 Fix leaks in the testcase.
16685 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16687 * gst/gst_private.h:
16688 add win32 specific import decoration(__declspec(dllimport))
16689 for all extern GstDebugCategory * variables
16690 * win32/common/libgstbase.def:
16691 * win32/common/libgstcontroller.def:
16692 * win32/common/libgstreamer.def:
16693 Add some exports, remove empty lines
16694 * win32/common/libgstdataprotocol.def:
16695 * win32/common/libgstdataprotocol.dsp:
16696 * win32/common/libgstnet.def:
16697 * win32/common/libgstnet.dsp:
16698 new project files and exportation files added
16700 2006-03-19 Wim Taymans <wim@fluendo.com>
16702 * tests/check/libs/basesrc.c: (eos_event_counter):
16703 Use proper return value for probe.
16705 2006-03-17 Wim Taymans <wim@fluendo.com>
16707 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16709 Don't leak buffers, caps and pads on negotiation errors.
16711 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16713 * docs/faq/cvs.xml:
16714 * docs/faq/dependencies.xml:
16715 * docs/faq/developing.xml:
16716 * docs/faq/faq.xml:
16717 * docs/faq/general.xml:
16718 * docs/faq/getting.xml:
16719 * docs/faq/legal.xml:
16720 * docs/faq/troubleshooting.xml:
16721 * docs/faq/using.xml:
16722 Faq review and update.
16724 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16726 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16728 Don't pound the cpu to pieces by checking get_caps when accept_caps
16729 is called with the same caps as the pad already has.
16730 Use GST_DEBUG_OBJECT when outputting caps change information.
16732 2006-03-15 Wim Taymans <wim@fluendo.com>
16734 * gst/gstclock.c: (gst_clock_class_init):
16737 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16742 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16743 (gst_pad_accept_caps), (gst_pad_configure_sink),
16744 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16745 Make the default acceptcaps behaviour be to check the requested
16746 caps against the gst_pad_get_caps output.
16748 Ensure that gst_pad_accept_caps is used to check caps when a pad
16749 doesn't have a setcaps function, so that pads automatically refuse
16750 caps that they don't allow in their pad template. (Fixes #332986)
16752 When a buffer with attached caps is pushed, ensure that the source
16753 pad receives those caps even if the element didn't call
16754 gst_pad_set_caps first.
16756 2006-03-15 Wim Taymans <wim@fluendo.com>
16758 * libs/gst/base/gstadapter.c:
16761 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16763 * win32/common/libgstbase.def:
16764 * win32/common/libgstcontroller.def:
16765 * win32/common/libgstreamer.def:
16766 Add a whole bunch of missing functions (#334434).
16768 2006-03-14 Wim Taymans <wim@fluendo.com>
16770 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16771 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16772 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16773 Better debug info when we receive a segment event.
16774 Reorganize a bit so we can pass the get_times() results around.
16775 Use the segment format when calculating the running time.
16776 Don't do QoS is sync is disabled or we have no clock or the
16777 element does not want us to sync to the clock.
16778 Don't drop buffers if QoS is disabled for now.
16780 2006-03-14 Wim Taymans <wim@fluendo.com>
16782 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16783 Marked the stats property as unimplemented so people don't get
16785 Add debug message when regression goes wrong.
16786 Added some more docs.
16788 2006-03-14 Wim Taymans <wim@fluendo.com>
16790 * gst/gstsegment.c: (gst_segment_to_stream_time):
16791 Return correct return type in case of errors.
16793 2006-03-14 Wim Taymans <wim@fluendo.com>
16795 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16796 Don't segfault on invalid formats.
16798 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16800 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16801 Can't use gst_segment_to_running_time() when the segment
16802 is not in GST_TIME_FORMAT (like with filesink, for example).
16803 Stops flac encoding pipelines from spewing critical warnings
16806 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16808 * gst/gstpipeline.c: (gst_pipeline_class_init):
16809 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16811 * plugins/elements/gsttypefindelement.c:
16812 (gst_type_find_element_handle_event):
16813 Don't try to typefind empty streams.
16815 2006-03-14 Wim Taymans <wim@fluendo.com>
16817 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16818 (gst_base_sink_do_qos):
16819 Separate QoS calculation.
16820 Only drop buffers when lateness is bigger than the
16821 duration of the buffer.
16823 2006-03-13 Wim Taymans <wim@fluendo.com>
16825 * gst/gstpipeline.c: (gst_pipeline_set_property),
16826 (gst_pipeline_get_property), (do_pipeline_seek),
16827 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16828 (gst_pipeline_get_delay):
16829 Don't deadlock when reading properties.
16831 2006-03-13 Wim Taymans <wim@fluendo.com>
16833 * libs/gst/base/gstbasetransform.c:
16834 (gst_base_transform_class_init), (gst_base_transform_init),
16835 (gst_base_transform_sink_event),
16836 (gst_base_transform_sink_eventfunc),
16837 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16838 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16839 (gst_base_transform_set_property),
16840 (gst_base_transform_get_property),
16841 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16842 (gst_base_transform_set_qos_enabled),
16843 (gst_base_transform_is_qos_enabled):
16844 * libs/gst/base/gstbasetransform.h:
16845 Make basetransform virtual method for src events too.
16846 Handle QOS in basetransform.
16847 API: gst_base_transform_update_qos()
16848 API: gst_base_transform_set_qos_enabled()
16849 API: gst_base_transform_is_qos_enabled()
16851 2006-03-13 Wim Taymans <wim@fluendo.com>
16853 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16854 (gst_base_sink_do_sync):
16856 Use QOS debug category.
16858 2006-03-13 Wim Taymans <wim@fluendo.com>
16860 * plugins/elements/gstqueue.c:
16861 Very small doc update.
16863 2006-03-13 Wim Taymans <wim@fluendo.com>
16865 * gst/gst_private.h:
16866 * gst/gstinfo.c: (_gst_debug_init):
16867 Added QOS debug category
16869 2006-03-13 Wim Taymans <wim@fluendo.com>
16871 * docs/gst/gstreamer-sections.txt:
16872 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16874 * gst/gstbus.c: (gst_bus_class_init):
16877 * gst/gstelement.c: (gst_element_set_locked_state):
16878 * gst/gstsegment.c:
16879 Documentation updates.
16881 * gst/gstpipeline.c: (gst_pipeline_get_type),
16882 (gst_pipeline_class_init), (gst_pipeline_init),
16883 (gst_pipeline_dispose), (gst_pipeline_set_property),
16884 (gst_pipeline_get_property), (do_pipeline_seek),
16885 (gst_pipeline_send_event), (gst_pipeline_change_state),
16886 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16887 (gst_pipeline_get_delay):
16888 * gst/gstpipeline.h:
16889 Added methods for setting the delay.
16890 API: gst_pipeline_set_delay()
16891 API: gst_pipeline_get_delay()
16892 Add pipeline debug category
16895 Don't reset stream time when seek failed.
16897 2006-03-13 Wim Taymans <wim@fluendo.com>
16899 * docs/design/draft-klass.txt:
16900 * docs/design/part-clocks.txt:
16901 * docs/design/part-events.txt:
16902 * docs/design/part-gstbin.txt:
16903 * docs/design/part-gstpipeline.txt:
16904 * docs/design/part-messages.txt:
16905 * docs/design/part-negotiation.txt:
16906 * docs/design/part-overview.txt:
16907 * docs/design/part-preroll.txt:
16908 * docs/design/part-seeking.txt:
16909 * docs/design/part-states.txt:
16910 * docs/design/part-streams.txt:
16911 Documentation updates.
16913 2006-03-12 Julien MOUTTE <julien@moutte.net>
16915 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16916 us to leak strings...
16918 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16920 * libs/gst/net/gstnettimeprovider.c:
16922 * win32/common/config.h:
16925 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16927 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16930 Don't check for libgnomeui (leftover from old examples
16931 that aren't built or disted any longer) (#334303).
16933 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16935 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16936 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16937 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16938 there's no space left on the device.
16940 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16943 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16944 to cast the input to GstClockTime before comparing with
16945 another GstClockTime value.
16947 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16952 === release 0.10.4 ===
16954 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16957 releasing 0.10.4, "Light"
16959 2006-03-10 Michael Smith <msmith@fluendo.com>
16961 * libs/gst/dataprotocol/dataprotocol.c:
16962 Fix docs for dataprocotol to not get the return types completely
16963 wrong for a few functions.
16965 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16967 * docs/gst/gstreamer-sections.txt:
16968 * gst/gstpipeline.c: (gst_pipeline_class_init),
16969 (gst_pipeline_init), (gst_pipeline_set_property),
16970 (gst_pipeline_get_property), (gst_pipeline_change_state),
16971 (gst_pipeline_set_auto_flush_bus),
16972 (gst_pipeline_get_auto_flush_bus):
16973 * gst/gstpipeline.h:
16974 Add new API: gst_pipeline_set_auto_flush_bus() and
16975 gst_pipeline_get_auto_flush_bus() to disable automatic
16976 flushing of the pipeline's GstBus when going from READY
16977 to NULL state (#332045).
16979 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16981 * docs/gst/gstreamer-sections.txt:
16982 * gst/gsturi.c: (gst_uri_has_protocol):
16984 Add new API: gst_uri_has_protocol() (#333779).
16986 2006-03-09 Wim Taymans <wim@fluendo.com>
16988 * gst/gstclock.c: (gst_clock_entry_new),
16989 (gst_clock_id_compare_func), (gst_clock_id_wait),
16990 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16991 (gst_clock_init), (gst_clock_get_internal_time),
16992 (gst_clock_set_master), (do_linear_regression),
16993 (gst_clock_add_observation), (gst_clock_set_property):
16997 Fix a possible segfault when the window-size is made smaller.
16998 Calculate jitter before performing the clock wait. Ideally
16999 the clock implementation should calculate jitter but we need
17000 API breakage for that.
17002 * gst/gstsystemclock.c: (gst_system_clock_init):
17005 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17006 Remove leftover else
17008 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17009 (gst_systemclock_suite):
17010 Added check to test GST_CLOCK_DIFF.
17012 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17014 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17015 (gst_type_find_helper_get_range):
17016 If we are provided with the size, we should implement
17017 GstTypeFind::get_length, so that typefind functions who
17018 want to can actually peek at the middle of a file.
17020 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
17022 * docs/manual/advanced-dataaccess.xml:
17023 Add some very very basic error checking.
17025 * docs/pwg/appendix-checklist.xml:
17026 Some updates to the list of things to check when writing an element.
17028 2006-03-08 Wim Taymans <wim@fluendo.com>
17030 * docs/design/part-element-transform.txt:
17031 Added some docs about the design of tranform elements.
17033 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17034 (gst_base_src_loop), (gst_base_src_change_state):
17035 Mark buffers with the DISCONT flag.
17037 2006-03-08 Michael Smith <msmith@fluendo.com>
17039 * gst/gstregistry.h:
17040 * gst/gstregistryxml.c: (gst_registry_save),
17041 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17042 (gst_registry_xml_save_pad_template),
17043 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17044 (gst_registry_xml_write_cache):
17045 Rewrite registry-saving to avoid race conditions and check for
17048 2006-03-08 Wim Taymans <wim@fluendo.com>
17050 * libs/gst/base/gstbasetransform.c:
17051 (gst_base_transform_transform_caps),
17052 (gst_base_transform_transform_size),
17053 (gst_base_transform_prepare_output_buffer),
17054 (gst_base_transform_get_unit_size),
17055 (gst_base_transform_buffer_alloc),
17056 (gst_base_transform_handle_buffer),
17057 (gst_base_transform_change_state):
17058 Cleanups, separate normal flow from errors, add sensible
17060 Don't try to renegotiate when allocating an output buffer.
17061 Also copy DISCONT buffer flag when copying a buffer.
17062 Reset the transform after we finish streaming, not during.
17064 2006-03-08 Wim Taymans <wim@fluendo.com>
17066 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17067 Use last buffer timestamp in qos message.
17069 2006-03-07 Wim Taymans <wim@fluendo.com>
17071 Patch by: Christophe Fergeau
17073 * docs/pwg/advanced-tagging.xml:
17074 * docs/pwg/building-pads.xml:
17077 2006-03-07 Wim Taymans <wim@fluendo.com>
17079 * docs/libs/gstreamer-libs-sections.txt:
17080 Added basesink new methods.
17084 Docs updates. Flesh out the QoS docs.
17086 * libs/gst/base/gstadapter.c:
17087 Small doc clarification about ownership and flushing.
17089 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17090 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17091 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17092 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17093 * libs/gst/base/gstbasesink.h:
17095 Added new methods to allow subclass to control max-lateness
17097 Generate very basic QoS events based on last sync observation.
17098 Updated docs, fix typo, added some QoS blurb.
17100 * libs/gst/base/gstbasesrc.c:
17101 Remove obsolete _get_state() calls from docs.
17103 2006-03-07 Wim Taymans <wim@fluendo.com>
17105 * docs/libs/gstreamer-libs-sections.txt:
17106 * libs/gst/base/gstbasetransform.h:
17107 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17108 Fix docs for GstBaseSrc.
17110 2006-03-07 Wim Taymans <wim@fluendo.com>
17112 * docs/gst/gstreamer-sections.txt:
17115 * libs/gst/base/gstbasetransform.h:
17116 Small documentation fixes.
17118 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17121 Document thread-unsafety of gst_value_register_foo_func()
17122 when used at the same time as gst_value_foo() (#322628).
17124 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17126 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17127 (gst_push_src_check_get_range):
17128 Push sources don't support pull mode by default.
17130 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17132 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17133 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17134 (gst_base_src_default_check_get_range):
17135 * libs/gst/base/gstbasesrc.h:
17136 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17137 provide default implementation, and rename
17138 gst_base_src_check_get_range() to
17139 gst_base_src_pad_check_get_range() for clarity.
17141 2006-03-06 Wim Taymans <wim@fluendo.com>
17143 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17144 Make property overridable.
17146 2006-03-06 Wim Taymans <wim@fluendo.com>
17148 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17149 (gst_base_sink_init), (gst_base_sink_set_property),
17150 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17151 * libs/gst/base/gstbasesink.h:
17152 API addition: Make max-lateness a property.
17154 2006-03-06 Wim Taymans <wim@fluendo.com>
17156 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17157 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17158 Don't ever draw a frame that is >10ms late.
17160 2006-03-06 Michael Smith <msmith@fluendo.com>
17162 * gst/gstmessage.c: (_gst_message_copy):
17163 When copying a message, set the parent_refcount of the enclosed
17164 structure to point at the copy, not the original message.
17166 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17168 Patch by: Christophe Fergeau
17171 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17172 usable in c++ code (#333417)
17174 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17177 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17179 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17181 * libs/gst/base/gstbasetransform.c:
17182 (gst_base_transform_transform_caps):
17183 Make sure caps are writable before passing them to
17186 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17189 Fix some minor docs errors.
17191 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17193 Patch by: Ross Burton <ross at burtonini dot com>
17195 * gst/gsterror.c: (_gst_resource_errors_init):
17197 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17199 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17202 Add a check and output a g_warning when GStreamer is built
17203 against GLib 2.6 but running against 2.8 or higher, and vice
17204 versa. (Closes: #323542)
17206 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17208 * gst/parse/parse.l:
17209 Commit patch for parse_launch syntax from #331255. Removes
17210 support for quoted strings and mimetypes when writing filtered
17211 caps. See the bug report for more details - I'm pretty sure this
17212 obscure feature is not in use by _anyone_ anywhere.
17214 With this simple change, the size of the gstreamer.so here
17215 drops from 2193KB to 1565KB.
17217 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17219 * plugins/elements/gsttypefindelement.h:
17220 * plugins/elements/gsttypefindelement.c:
17221 (gst_type_find_element_src_event), (start_typefinding),
17222 (stop_typefinding), (gst_type_find_element_handle_event),
17223 (gst_type_find_element_chain),
17224 (gst_type_find_element_chain_do_typefinding):
17225 Use gst_type_find_helper_for_buffer() for chain-based
17228 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17230 * plugins/elements/gsttypefindelement.c:
17231 (gst_type_find_element_class_init),
17232 (gst_type_find_element_set_property),
17233 (gst_type_find_element_get_property):
17234 Deprecate "maximum" property (not only was it only taken into
17235 account for typefinding in push-mode anyway, it also was never
17236 actually possible to set it in the first place because the
17237 property was registered with the numeric property ID for the
17238 "minimum" property). Register "maximum" property correctly,
17239 for the sake of future copy'n'pasters. Remove some cruft
17240 from property get/set functions.
17242 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17244 * plugins/elements/gsttypefindelement.c:
17245 (gst_type_find_element_activate):
17246 Use gst_type_find_helper_get_range() here, so we
17247 can honour the "minimum" property and also emit
17248 the signal with the correct probability of the found caps.
17250 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17252 * docs/libs/gstreamer-libs-sections.txt:
17253 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17254 (helper_find_suggest), (gst_type_find_helper_get_range),
17255 (gst_type_find_helper):
17256 * libs/gst/base/gsttypefindhelper.h:
17257 New API: gst_type_find_helper_get_range() (#333042).
17259 2006-03-02 Michael Smith <msmith@fluendo.com>
17261 * gst/gstregistryxml.c: (load_feature):
17262 Asserting on a failure to read part of the registry is Not Cool.
17263 Just log a warning and return NULL (which is already handled)
17265 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17267 * win32/common/libgstbase.def:
17268 added export of gst_type_find_helper_for_buffer
17269 * win32/common/libgstbase.def:
17270 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17271 gst_ghost_pad_get_target
17273 2006-02-28 Wim Taymans <wim@fluendo.com>
17275 * docs/design/draft-klass.txt:
17277 Added Connector to mark elements that are only used to
17278 allow pipeline connections.
17279 Moved Debug to extra feature since most of them are
17280 functionally something else.
17282 2006-02-28 Wim Taymans <wim@fluendo.com>
17284 * docs/design/draft-klass.txt:
17285 Some updates and clarifications.
17287 2006-02-28 Wim Taymans <wim@fluendo.com>
17289 * docs/design/draft-klass.txt:
17290 Proposal for klass field values.
17292 * docs/design/part-streams.txt:
17293 Start of a doc describing stream anatomy.
17295 2006-02-28 Wim Taymans <wim@fluendo.com>
17297 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17298 Help the compiler a bit with type registration.
17299 Use existing forward cod path instead of duplicating it when
17300 handling a message.
17302 * gst/gstbus.c: (gst_bus_get_type):
17303 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17304 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17305 * gst/gstclock.c: (gst_clock_get_type):
17306 * gst/gstelement.c: (gst_element_get_type),
17307 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17308 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17309 * gst/gstminiobject.c: (gst_mini_object_get_type):
17310 * gst/gstpad.c: (gst_pad_get_type):
17311 * gst/gstsegment.c: (gst_segment_get_type):
17312 * gst/gststructure.c: (gst_structure_get_type):
17313 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17314 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17316 Help compiler with type registration.
17318 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17321 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17323 * plugins/elements/gsttypefindelement.c:
17324 (gst_type_find_element_handle_event):
17325 When we get an EOS event and have not found a type yet
17326 (most likely because we had not yet accumulated
17327 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17328 type given the data we have so far. Fixes typefinding
17329 for very short streams again, most notably quicktime
17330 redirections as used on Apple's trailer site (#331701).
17332 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17334 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17335 (gst_type_find_helper):
17336 Try typefinding factories with the highest rank first.
17338 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17340 * docs/libs/gstreamer-libs-docs.sgml:
17341 * docs/libs/gstreamer-libs-sections.txt:
17342 * libs/gst/base/gsttypefindhelper.c:
17343 Add section for typefind helper and add documentation
17344 for the old and the new function.
17346 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17348 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17349 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17350 (gst_type_find_helper_for_buffer):
17351 * libs/gst/base/gsttypefindhelper.h:
17352 New API: gst_type_find_helper_for_buffer() (#332723).
17354 2006-02-27 Michael Smith <msmith@fluendo.com>
17356 Patch by: Loïc Minier
17359 * docs/Makefile.am:
17360 * docs/slides/Makefile.am:
17361 prevent CVS directories getting disted.
17363 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17365 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17366 Use the REFCOUNTING category for caps refcounting.
17368 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17370 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17371 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17373 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17375 * plugins/elements/gsttypefindelement.c:
17376 (gst_type_find_element_activate):
17377 Use gst_pad_check_pull_range() before _activate_pull()
17378 to avoid unnecessary open/close (see #331690).
17380 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17383 Docs enhancement: make it crystal clear what the
17384 gst_pad_add_*_probe() callbacks should look like.
17386 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17388 * libs/gst/base/gstbasesrc.c:
17389 Document how applications can stop recording from
17390 live sources (see #330996).
17392 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17394 * tests/check/Makefile.am:
17395 * tests/check/libs/basesrc.c: (eos_event_counter),
17396 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17397 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17398 (gst_basesrc_suite), (main):
17399 ... and add some tests for the base source EOS stuff.
17401 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17403 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17404 Test case originally showed the problem fixed below,
17405 but was then amended. Add checks back at the place
17406 where they used to be.
17408 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17410 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17411 (gst_base_src_init), (gst_base_src_loop),
17412 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17413 (gst_base_src_change_state):
17414 * libs/gst/base/gstbasesrc.h:
17415 Don't unconditionally send EOS when going from PAUSED to
17416 READY state, esp. make sure we don't send two EOS events
17417 in some cases (e.g. one when reaching EOS and one when
17418 going from PAUSED to READY). Also, we don't want to send
17419 EOS events when operating in pull mode. However, we do
17420 want to send an EOS event when shutting down a live
17421 source explicitly, for example (fixes #330996).
17423 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17425 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17426 Update src->read_position after a seek when not using mmap.
17427 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17429 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17435 Make things work with --disable-parse as they do with
17436 --disable-load-save - the symbols involved disappear, but the
17437 header is still installed and GST_DISABLE_PARSE is included via
17440 2006-02-20 Julien MOUTTE <julien@moutte.net>
17442 * libs/gst/base/gstbasetransform.c:
17443 (gst_base_transform_change_state): Fix a stupid bug. I was
17444 sure I compiled that.
17446 2006-02-20 Julien MOUTTE <julien@moutte.net>
17448 * gst/gstpad.c: (gst_pad_set_blocked_async):
17449 * gst/gstutils.c: (gst_pad_add_data_probe),
17450 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17451 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17452 (gst_pad_remove_buffer_probe): Make those function act on the
17453 ghostpad target when it's a ghostpad. (Closes #331727)
17455 2006-02-20 Julien MOUTTE <julien@moutte.net>
17457 * libs/gst/base/gstbasetransform.c:
17458 (gst_base_transform_change_state): Make basetransform reusable.
17461 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17463 * docs/random/release:
17464 Move the current documentation of how to do a release to the top
17467 * gst/gstbin.c: (gst_bin_class_init),
17468 (gst_bin_handle_message_func):
17469 Allow multiple state-recalculation threads. (Closes #328873)
17471 2006-02-19 Julien MOUTTE <julien@moutte.net>
17473 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17474 * gst/gstpad.c: (gst_pad_set_event_function),
17475 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17476 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17477 2 strings. You can't use the STR_NULL macro on that.
17479 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17481 * gst/gstpad.c: (gst_pad_set_event_function),
17482 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17483 (gst_pad_set_getcaps_function)
17484 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17485 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17486 So now, we can use --gst-debug-level=5 on Windows
17487 * win32/common/libgstcontroller.def:
17488 Added export of gst_controller_init
17489 * win32/vs6/libgstcontroller.dsp:
17490 Fixed Release post build configuration
17492 2006-02-17 Wim Taymans <wim@fluendo.com>
17494 * tests/check/gst/gstquery.c: (GST_START_TEST):
17495 Added another check.
17497 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17499 * plugins/elements/gsttypefindelement.c: (find_peek):
17500 We can do peeks at non-zero offsets, as long as they
17501 fall within the buffer we have.
17503 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17505 * tests/check/Makefile.am:
17506 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17507 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17508 (parse_suite), (main):
17509 Add testsuite for parse launch syntax
17511 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17513 * plugins/elements/gsttypefindelement.c:
17514 (gst_type_find_element_chain):
17515 When typefinding is unsuccessful in the chain function, don't
17516 error out immediately. Only error out with NO_CAPS_FOUND if
17517 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17518 otherwise simply wait for more data so we can try typefinding
17519 again with more data later. Also, don't attempt to typefind
17520 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17521 this should improve typefinding from network sources where the
17522 size of the first buffer can be somewhat random.
17524 2006-02-14 Wim Taymans <wim@fluendo.com>
17526 * docs/gst/gstreamer-sections.txt:
17527 * gst/gstpadtemplate.c:
17528 * gst/gstpadtemplate.h:
17529 Fix padtemplate docs, fixes #328805.
17531 2006-02-14 Wim Taymans <wim@fluendo.com>
17533 * tools/gst-launch.c: (main):
17534 NO_PREROLL is not an ERROR so don't send confusing messages
17537 2006-02-14 Wim Taymans <wim@fluendo.com>
17539 Patch by: Torsten Schoenfeld
17541 * gst/gstregistry.c: (gst_registry_get_default),
17542 (_gst_registry_cleanup):
17543 Protect default registry with lock and ref/sink it.
17546 2006-02-14 Wim Taymans <wim@fluendo.com>
17549 * gst/gstquery.c: (gst_query_list_add_format),
17550 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17551 (gst_query_parse_formats_nth):
17552 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17555 2006-02-14 Wim Taymans <wim@fluendo.com>
17557 * docs/gst/gstreamer-sections.txt:
17558 Reworked query docs.
17560 * gst/gstquery.c: (gst_query_new_formats),
17561 (gst_query_list_add_format), (gst_query_set_formats),
17562 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17563 (gst_query_parse_formats_nth):
17565 Flesh out formats query, added some new methods.
17566 Fix part of #324398.
17568 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17569 Added query creation tests.
17571 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17573 * gst/gstpad.c: (fixate_value):
17574 Add a default fixation for fraction lists.
17576 2006-02-13 Wim Taymans <wim@fluendo.com>
17578 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17579 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17582 Detect and warn for obvious deadlocks. fixes #320340
17583 Fix error case where lock was not released.
17585 * tests/check/Makefile.am:
17586 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17587 (task_func), (gst_element_suite), (main):
17590 2006-02-13 Wim Taymans <wim@fluendo.com>
17592 * docs/gst/gstreamer-sections.txt:
17594 Add new functions to docs.
17596 2006-02-13 Wim Taymans <wim@fluendo.com>
17598 * docs/design/part-TODO.txt:
17599 Updated TODO list, basesrc supports seeking to non-bytes
17602 * docs/design/part-element-sink.txt:
17605 * gst/gstbin.c: (bin_replace_message),
17606 (gst_bin_handle_message_func):
17607 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17608 * gst/gstevent.c: (gst_event_finalize):
17609 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17610 (gst_pad_send_event):
17611 Use shiny new _TYPE_NAME macros.
17613 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17614 Move debug statement up.
17616 * gst/gstelement.c: (gst_element_set_locked_state):
17617 Add some debugging.
17619 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17621 * docs/gst/gstreamer-sections.txt:
17622 * gst/gstmessage.h:
17624 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17625 macros (#330906). Also, document the already existing
17626 GST_QUERY_TYPE macro.
17628 2006-02-13 Wim Taymans <wim@fluendo.com>
17630 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17631 (event_probe), (GST_START_TEST):
17632 Only events up to the pipeline EOS are counted, there are
17633 some more when going to NULL currently which we don't care
17636 2006-02-13 Wim Taymans <wim@fluendo.com>
17638 * gst/gstpad.c: (gst_pad_send_event):
17639 Correctly check flushing and emit probes. fixes #330125
17641 2006-02-10 Andy Wingo <wingo@pobox.com>
17643 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17645 (gst_bus_init): Cache the location of the private data in the
17646 instance structure.
17647 (gst_bus_enable_sync_message_emission)
17648 (gst_bus_disable_sync_message_emission): Implement new public
17650 (gst_bus_post): Emit the sync-message signal if the user asked for
17653 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17654 location of the bus-private structure.
17655 (gst_bus_enable_sync_message_emission)
17656 (gst_bus_disable_sync_message_emission): API addition
17658 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17660 Patch by: Vincent Torri
17662 * docs/pwg/building-boiler.xml:
17663 PWG patch from #326800
17665 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17668 * docs/Makefile.am:
17669 * docs/design/Makefile.am:
17672 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17677 === release 0.10.3 ===
17679 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17682 releasing 0.10.3, "Like a virgin"
17684 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17687 2nd prerelease of 0.10.3
17688 Bump libtool versioning.
17690 2006-02-07 Andy Wingo <wingo@pobox.com>
17692 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17693 update last_stop if we're in TIME format and the timestamp is
17696 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17697 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17698 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17699 If we get a new newsegment with a different format, adapt
17702 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17703 of 0. Not a problem, really.
17705 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17708 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17713 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17716 project files updated to the default vs7 configuration
17717 * win32/common/libgstbase.def:
17718 * win32/common/libgstreamer.def:
17720 removed empty lines,
17721 sorted all exported symbols alphabetically
17722 * win32/common/dirent.c:
17723 * win32/common/dirent.h:
17724 * win32/common/gchar.h:
17725 use windows line end.
17727 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17729 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17730 Send EOS event when stopping.
17732 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17735 Tell folks what to do if the plugin-foobar.xml file
17736 hasn't been generated for a newly-added plugin.
17738 2006-02-05 Julien MOUTTE <julien@moutte.net>
17740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17741 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17742 (gst_collect_pads_start), (gst_collect_pads_stop),
17743 (gst_collect_pads_event): Collectpads now holds a reference
17744 to the GstPad that was added. Indeed we don't want to look
17745 at pads that might just go away with no warning...
17747 2006-02-05 Julien MOUTTE <julien@moutte.net>
17749 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17750 (gst_collect_pads_start), (gst_collect_pads_stop),
17751 (gst_collect_pads_event), (gst_collect_pads_chain):
17752 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17753 Mark Nauwelaerts's patch on bug #328491.
17755 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17757 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17759 Add some simple tests for gst_parse_bin_from_description() and
17760 gst_bin_find_unconnected_pad() (#329069).
17762 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17764 * tools/gst-launch.c: (event_loop), (main):
17765 Catch errors during preroll (#320084).
17767 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17769 * plugins/elements/gsttypefindelement.c:
17770 (gst_type_find_element_activate):
17771 Post TYPE_NOT_FOUND error message when typefinding
17772 is unsuccessful in the activate function as well.
17774 2006-02-02 Wim Taymans <wim@fluendo.com>
17776 * docs/design/part-element-sink.txt:
17779 2006-02-02 Wim Taymans <wim@fluendo.com>
17781 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17782 (gst_base_sink_render_object),
17783 (gst_base_sink_queue_object_unlocked):
17784 Only keep track of prerollable items when we are
17786 Before rendering after preroll, always check if we
17788 Added some more debugging.
17790 2006-02-02 Wim Taymans <wim@fluendo.com>
17792 * gst/gstelement.c: (gst_element_continue_state),
17793 (gst_element_set_state_func), (gst_element_change_state):
17794 Fixed #326576, been running this for quite some time with
17795 no regressions at all.
17797 2006-02-02 Wim Taymans <wim@fluendo.com>
17800 Added more suppressions
17802 2006-02-02 Wim Taymans <wim@fluendo.com>
17804 * docs/design/part-element-sink.txt:
17807 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17808 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17809 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17810 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17811 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17812 (gst_base_sink_preroll_object),
17813 (gst_base_sink_queue_object_unlocked),
17814 (gst_base_sink_queue_object), (gst_base_sink_event),
17815 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17816 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17817 (gst_base_sink_get_position), (gst_base_sink_change_state):
17818 * libs/gst/base/gstbasesink.h:
17819 Totally refactored matching the design doc.
17820 Use two segments, one to clip incomming buffers and another to
17822 Handle queueing correctly, bypass the queue when playing.
17823 Make EOS cancelable.
17824 Handle errors correctly when operating in pull based mode.
17826 * tests/check/elements/fakesink.c: (GST_START_TEST),
17828 Added new check for sinks.
17830 2006-02-02 Wim Taymans <wim@fluendo.com>
17832 * gst/gstsegment.c: (gst_segment_clip):
17833 No reason to refuse to clip when start == -1
17835 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17838 * docs/manual/intro-basics.xml:
17839 * docs/manual/intro-preface.xml:
17840 * docs/manual/manual.xml:
17841 * docs/pwg/advanced-dparams.xml:
17842 * docs/pwg/intro-basics.xml:
17843 * docs/pwg/intro-preface.xml:
17844 * docs/pwg/pwg.xml:
17845 describe dparams (controller) for plugins
17846 unify docs a little more
17848 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17850 * docs/gst/gstreamer-sections.txt:
17851 * gst/gstutils.c: (element_find_unconnected_pad),
17852 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17854 Add new API: gst_parse_bin_from_description() and
17855 gst_bin_find_unconnected_pad() (#329069).
17857 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17859 * docs/manual/README:
17860 uncover a nasty detail of the docs build
17862 2006-01-31 Wim Taymans <wim@fluendo.com>
17864 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17865 Don't cache duration messages if we're not going to use or
17868 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17870 * docs/manual/advanced-dparams.xml:
17871 * docs/pwg/advanced-dparams.xml:
17875 * libs/gst/controller/lib.c: (gst_controller_init):
17878 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17880 * gst/gstelement.c: (gst_element_message_full):
17881 also show file/line/func if no additional debug was given
17883 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17885 * win32/vs7/grammar.vcproj:
17886 activate copy of autogenerated files for Release mode
17888 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17890 * win32/common/libgstreamer.def:
17891 export gst_value_compare
17893 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17895 * plugins/elements/Makefile.am:
17896 * plugins/elements/gstelements.c:
17897 * plugins/elements/gstfdsink.c: (_do_init),
17898 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17899 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17900 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17901 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17902 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17903 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17904 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17905 * plugins/elements/gstfdsink.h:
17906 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17908 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17910 * docs/manual/advanced-dparams.xml:
17911 describe controller
17912 * docs/manual/advanced-position.xml:
17913 * docs/manual/basics-init.xml:
17914 * docs/manual/manual.xml:
17915 * docs/manual/titlepage.xml:
17916 * docs/pwg/pwg.xml:
17917 * docs/pwg/titlepage.xml:
17918 cleanup xml (more to come)
17919 * libs/gst/controller/gstcontroller.c:
17922 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17924 * win32/vs6/grammar.dsp:
17925 add autogen of gstmarshal.c,h for Release mode
17927 2006-01-30 Wim Taymans <wim@fluendo.com>
17929 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17930 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17931 (gst_base_sink_handle_object), (gst_base_sink_event),
17932 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17933 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17934 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17935 (gst_base_sink_deactivate), (gst_base_sink_activate),
17936 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17937 (gst_base_sink_query), (gst_base_sink_change_state):
17938 Basesink cleanups, remove some old code.
17939 Handle the case where a subclass can preroll in the render
17940 method (mostly audiosinks).
17941 Handle more events.
17942 Remove some locks around variables that are now protected
17943 with the PREROLL_LOCK (clock_id, flushing, ..).
17944 Optimize position query some more, do correct locking.
17945 Remove old code to push queue in state change, this is not
17946 needed anymore since preroll blocks on all prerollable items
17948 Almost implemented as described in design doc.
17950 2006-01-30 Wim Taymans <wim@fluendo.com>
17952 * tests/check/gst/gstbin.c: (GST_START_TEST):
17953 Wait for refcount to settle down before checking.
17955 2006-01-30 Wim Taymans <wim@fluendo.com>
17957 * docs/design/part-element-sink.txt:
17958 Pseudo code overview of desired sink behaviour regarding
17961 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17962 * win32/vs6/grammar.dsp:
17963 fix some bugs in Release mode for autogenerated files
17965 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17966 * win32/common/libgstbase.def:
17967 * win32/common/libgstreamer.def:
17968 export some new symbols: gst_base_src_set_format,
17969 gst_iterator_next, gst_structure_set_valist
17971 2006-01-29 Julien MOUTTE <julien@moutte.net>
17973 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17974 Set pad functions unconditionally. Fixes #329105.
17976 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17978 add vs8 project files created by Sergey Scobich
17980 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17982 * gst/gstutils.c: (gst_element_unlink_pads):
17983 Don't leak pad references.
17985 * tests/check/elements/fakesink.c: (GST_START_TEST):
17986 * tests/check/generic/sinks.c: (GST_START_TEST):
17987 * tests/check/generic/states.c: (GST_START_TEST):
17988 * tests/check/gst/gstbin.c: (GST_START_TEST):
17989 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17990 * tests/check/gst/gstelement.c: (GST_START_TEST):
17991 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17992 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17993 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17994 Fix a bunch of leaks. Make generic/sinks.c
17995 use a bit less cpu by slowing the buffer rate
17996 between fakesrc and fakesink.
17998 2006-01-27 Stefan Kost <ensonic@users.sf.net>
18000 * gst/gstelement.c: (gst_element_send_event):
18003 * gst/gstiterator.c:
18004 * gst/gstiterator.h:
18005 * gst/gstpad.c: (gst_pad_send_event):
18006 * gst/gststructure.c:
18010 * libs/gst/base/gstadapter.c:
18011 doc fixes, to link to function, just write gst_cool_function(), don't
18014 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18016 * plugins/elements/gsttee.c: (gst_tee_do_push),
18017 (gst_tee_handle_buffer):
18018 Always prefer an actual return value from a src
18019 pad in place of NOT_LINKED. This means we return
18020 WRONG_STATE when all src pads are WRONG_STATE
18021 instead of NOT_LINKED.
18023 Lock when replacing the last message to prevent
18024 racing with the get_property method.
18028 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18030 * tests/check/Makefile.am:
18031 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18033 Add a very simple check that should have caught the memleak I fixed
18034 last night (if not for the slice allocator hiding it)
18036 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18038 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18039 (gst_bin_remove_func), (gst_bin_handle_message_func),
18040 (bin_query_duration_fold), (bin_query_generic_fold):
18041 Clean up references to the clock provider when disposed or when
18042 handling a clock-lost message from it.
18044 Unref sinks when performing a query via gst_iterator_fold, as the
18045 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18047 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18048 (gst_clock_set_master):
18049 Drop our reference to the master clock, if any, when we are disposed.
18051 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18052 Chain up in dispose.
18054 2006-01-26 Wim Taymans <wim@fluendo.com>
18056 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18057 Add some debugging.
18059 2006-01-26 Julien MOUTTE <julien@moutte.net>
18061 * plugins/elements/gsttee.c: (gst_tee_do_push),
18062 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18063 handles pad being NOT_LINKED or in WRONG_STATE.
18065 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18070 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18073 remove obsolete entry
18075 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18077 * docs/gst/gstreamer-sections.txt:
18078 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18079 (gst_bin_iterate_sources), (gst_bin_send_event):
18081 * gst/gstelement.c: (gst_element_send_event):
18083 * gst/gstpad.c: (gst_pad_send_event):
18084 added code for downstream events, reviewed docs in gstevent.c
18086 2006-01-25 Julien MOUTTE <julien@moutte.net>
18088 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18089 We only query position using the clock in the playing state.
18090 Query peer in the other cases.
18091 * win32/common/config.h: Updates.
18093 2006-01-24 Wim Taymans <wim@fluendo.com>
18095 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18096 A clock entry that is scheduled for the exact time of the
18097 clock is still in time.
18099 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18100 (gst_base_sink_do_sync):
18101 Add some more debug info.
18103 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18106 Add new vs7 project files and solution.
18108 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18111 all files removed as they were out-dated.
18113 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18115 * docs/random/release:
18117 * gst/gstbin.c: (gst_bin_init):
18118 * gst/gstbus.c: (gst_bus_new):
18120 * gst/gstpipeline.c: (gst_pipeline_init):
18121 use gst_bus_new(), improve logging, fix docs
18122 * win32/common/config.h:
18123 update for cvs build
18125 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18128 up required version of automake to 1.7
18130 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18132 * win32/common/libgstreamer.def:
18133 export gst_buffer_is_metadata_writable
18135 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18137 * docs/gst/gstreamer-sections.txt:
18139 Add gst_event_replace() (#327001)
18141 2006-01-20 Wim Taymans <wim@fluendo.com>
18143 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18144 Make it actually compile too..
18146 2006-01-20 Wim Taymans <wim@fluendo.com>
18149 Clarify behaviour of _is_equal() when passing NULL parameters.
18151 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18152 (gst_pad_set_caps):
18153 Cleanups. Don't unref NULL caps.
18154 When setting the same caps, protect caps of the pad with
18156 Use full functionality of _is_equal() when comparing caps.
18158 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18161 Don't loop infinitely if there are no buffers to present. Partially
18162 fixes #327197, but collectpads is just broken for reusing elements
18163 to do multiple encodes atm.
18165 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18167 * tools/gst-inspect.c: (print_element_features):
18168 * tools/gst-xmlinspect.c: (main):
18169 URL_HANDLER is not a plugin feature we can search for in
18172 2006-01-19 Edward Hervey <edward@fluendo.com>
18174 * gst/gstelement.c: (gst_element_pads_activate):
18175 When activating, do src pads first, then sink pads.
18176 When de-activating, do sink pads first, then src pads.
18178 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18180 * docs/gst/gstreamer-sections.txt:
18181 Add gst_index_add_associationv to the docs
18183 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18188 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18189 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18190 Do some refactoring. Doesn't actually change functionality,
18191 but makes landing the DRAIN event easier later.
18193 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18195 * docs/pwg/advanced-scheduling.xml:
18196 Update from 0.9.x to 0.10 API and make example a bit
18199 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18201 * docs/gst/gstreamer-sections.txt:
18202 Add gst_buffer_(is|make)_metadata_writable methods.
18204 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18206 * docs/design/part-sparsestreams.txt:
18207 Update sparse streams doc, hopefully for greater clarity
18209 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18211 * docs/design/part-events.txt:
18212 Remove mention of FILLER events.
18215 * docs/design/part-sparsestreams.txt:
18216 Write some things about using NEWSEGMENT to keep sparse streams
18219 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18221 * gst/gstbin.c: (gst_bin_dispose):
18222 Guard gst_object_unref call against a NULL object (dispose
18223 can theoretically be called multiple times).
18225 2006-01-18 Wim Taymans <wim@fluendo.com>
18227 * gst/gstbin.c: (gst_bin_element_set_state):
18228 * gst/gstclock.c: (gst_clock_id_wait):
18229 Added some more debug info.
18231 * libs/gst/base/gstadapter.c:
18234 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18235 (gst_base_sink_do_sync), (gst_base_sink_chain):
18236 Added some comments.
18238 2006-01-18 Wim Taymans <wim@fluendo.com>
18240 * tests/check/Makefile.am:
18241 * tests/check/elements/fakesink.c: (chain_async_buffer),
18242 (chain_async), (chain_async_return), (GST_START_TEST),
18243 (fakesink_suite), (main):
18244 Added fakesink test that checks prerolling and clipping
18247 * tests/check/gst/gstutils.c: (GST_START_TEST):
18248 Make check run faster so that buildbots don't timeout.
18250 2006-01-18 Wim Taymans <wim@fluendo.com>
18252 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18253 (gst_base_sink_do_sync):
18255 When the sink finishes blocking on the preroll buffer, it can
18256 immediatly render it instead of rendering when the next buffer
18259 2006-01-18 Wim Taymans <wim@fluendo.com>
18261 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18262 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18263 (gst_base_sink_chain):
18265 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18266 Don't store _last_stop if the buffer is dropped.
18268 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18270 * plugins/elements/gsttypefindelement.c:
18271 (gst_type_find_element_class_init):
18272 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18273 object method handler that sets the caps on the pad and we want
18274 that to happen before we emit the signal (fixes e.g. feeding a
18275 plain text file to decodebin).
18277 2006-01-18 Christian Schaller <Christian@fluendo.com>
18279 * gst/gstplugin.c: Add MPL and Proprietary as license options
18281 2006-01-18 Andy Wingo <wingo@pobox.com>
18283 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18284 symbol was exported before, it appears this was just an oversight.
18286 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18288 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18289 prototype to gint. OK since this prototype was not in the header.
18291 2006-01-17 Andy Wingo <wingo@pobox.com>
18293 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18294 registry while we remove plugins.
18296 * tools/gst-inspect.c (print_element_info): Don't unref the
18297 factory arg, that should be the responsibility of whatever code
18298 received the ref. Fixes a double-free when called from
18299 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18300 (main): Unref the factory if we have one.
18301 (print_element_list): No change -- relies on the
18302 plugin_feature_list_free to free the list of features.
18304 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18306 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18307 (gst_buffer_make_metadata_writable):
18309 * libs/gst/base/gstbasetransform.c:
18310 (gst_base_transform_prepare_output_buf):
18311 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18312 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18313 Replace gst_buffer_(make|is)_metadata_writable patch now
18314 that the release is out.
18316 2006-01-17 Andy Wingo <wingo@pobox.com>
18318 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18319 in the present tense without reference to versions.
18321 * gst/gstregistry.c (gst_registry_add_plugin)
18322 (gst_registry_remove_plugin, gst_registry_remove_feature)
18323 (gst_registry_find_feature, gst_registry_get_feature_list)
18324 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18325 (gst_registry_lookup, gst_registry_scan_path)
18326 (_gst_registry_remove_cache_plugins)
18327 (gst_registry_get_feature_list_by_plugin): Add argument
18330 === release 0.10.2 ===
18332 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18335 releasing 0.10.2, "If man is five"
18337 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18341 * libs/gst/base/gstbasetransform.c:
18342 (gst_base_transform_prepare_output_buf):
18343 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18344 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18345 Back out patch until after the release.
18347 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18349 * gst/gstminiobject.c:
18350 Spelling fix in docs.
18351 * ChangeLog - remove conflict indicator
18353 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18355 Reviewed By: Andy Wingo
18357 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18358 (gst_buffer_make_metadata_writable):
18360 Add gst_buffer_(is|make)_metadata_writable as analogues of
18361 gst_buffer_(is|make)_writable.
18363 * libs/gst/base/gstbasetransform.c:
18364 (gst_base_transform_prepare_output_buf):
18365 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18366 Use name gst_buffer_(is|make)_metadata_writable functions.
18368 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18369 Test gst_buffer_(is|make)_metadata_writable
18373 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18375 * docs/manual/Makefile.am:
18376 don't do parallel make
18379 * win32/common/config.h.in:
18380 add generations for HOST_CPU and GST_MAJORMINOR
18381 * win32/common/config.h:
18382 commit generated result
18384 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18386 * docs/manual/appendix-integration.xml:
18387 Update GNOME integration section to use gst_init_get_option_group()
18388 instead of the old popt stuff (#322911). Also, GNOME applications
18389 should now use gconf*sink and gconf*src instead of the old gconf
18392 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18395 * docs/gst/gstreamer-docs.sgml:
18396 * docs/gst/gstreamer-sections.txt:
18397 * docs/libs/gstreamer-libs-sections.txt:
18398 add new API entries to the docs
18399 * libs/gst/controller/Makefile.am:
18400 * libs/gst/controller/gstcontroller.c:
18401 * libs/gst/controller/gstcontroller.h:
18402 * libs/gst/controller/gstcontrollerprivate.h:
18403 * libs/gst/controller/gsthelper.c:
18404 * libs/gst/controller/gstinterpolation.c:
18405 move private structs to private header
18407 gstreamer-0.7 -> gstreamer-0.10
18408 * tests/check/libs/struct_i386.h:
18409 remove private structs
18411 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18413 * plugins/indexers/Makefile.am:
18414 Fixes as part of #317048
18416 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18418 * plugins/indexers/Makefile.am:
18419 fix #316086 - compilation when mmap is missing
18421 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18423 * libs/gst/base/gstbasesink.c:
18424 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18425 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18426 * win32/common/config.h:
18427 added some defines GST_MAJORMINOR and HOST_CPU
18428 * win32/common/libgstbase.def:
18429 * win32/common/libgstreamer.def:
18430 added some exported functions.
18432 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18434 * libs/gst/controller/gstcontroller.c:
18435 (gst_controlled_property_set_interpolation_mode),
18436 (gst_controlled_property_new):
18437 * libs/gst/controller/gstcontroller.h:
18438 * libs/gst/controller/gstinterpolation.c:
18439 (interpolate_none_get_string_value_array):
18440 make G_TYPE_STRING controlable
18442 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18445 * tools/gst-feedback.1.in:
18446 * tools/gst-inspect.1.in:
18447 * tools/gst-launch.1.in:
18448 * tools/gst-md5sum.1.in:
18449 * tools/gst-typefind.1.in:
18450 * tools/gst-xmlinspect.1.in:
18451 * tools/gst-xmllaunch.1.in:
18452 cleanup man-pages, remove reference to gst-register, document env-vars
18454 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18456 * gst/gstbuffer.c: (gst_buffer_span):
18457 gst_buffer_span should copy the timestamp of the first buffer
18458 if they were both originally overlapping subbuffers of the
18459 same parent, using the same logic as the 'slow copy' case.
18461 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18463 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18464 Need to awaken ALL the pads when we pop a buffer, otherwise
18465 collectpads only works when there is 2 input streams.
18467 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18469 * docs/random/ensonic/media-device-daemon.txt:
18472 fix doc example, add clarification
18473 * tools/gst-launch.1.in:
18474 add initial info about GST_PLUGIN_PATH, needs more work
18476 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18478 * docs/manual/basics-bins.xml:
18479 * docs/manual/basics-elements.xml:
18480 * docs/manual/intro-basics.xml:
18481 Some more minor docs additions and updates.
18483 2006-01-11 Wim Taymans <wim@fluendo.com>
18485 * docs/manual/basics-bins.xml:
18486 * docs/manual/basics-elements.xml:
18487 Some small fixes as pointed out by Ser-ver on IRC.
18489 2006-01-10 Edward Hervey <edward@fluendo.com>
18491 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18492 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18493 the single-segment mode.
18495 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18497 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18499 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18500 (gst_base_src_perform_seek), (gst_base_src_send_event),
18501 (gst_base_src_set_property), (gst_base_src_get_property),
18502 (gst_base_src_loop), (gst_base_src_start),
18503 (gst_base_src_activate_push):
18504 * libs/gst/base/gstbasesrc.h:
18505 Name (private) union; makes Sun's Forte compiler happy (#324900).
18507 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18510 gst-register is gone.
18512 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18514 * gst/gstvalue.c: (_gst_value_initialize):
18515 make the G_TYPE_DATE instantiation work if debug is disabled
18517 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18519 * gst/gstmessage.c: (gst_message_parse_tag),
18520 (gst_message_parse_error), (gst_message_parse_warning):
18521 Don't crash when return location for error/warning debug
18522 string is NULL; add fact that return locations can be
18523 NULL to docs where appropriate.
18525 2006-01-05 Wim Taymans <wim@fluendo.com>
18527 * gst/gstplugin.c: (gst_plugin_load_file):
18528 Replace strdup by g_strdup.
18530 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18532 * docs/pwg/advanced-types.xml:
18535 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18537 submitted by: Abel Cheung
18541 Added Chinese (traditional) translation
18543 2006-01-04 Wim Taymans <wim@fluendo.com>
18545 * docs/manual/basics-pads.xml:
18546 * docs/plugins/Makefile.am:
18547 * docs/plugins/gstreamer-plugins-docs.sgml:
18548 * docs/plugins/gstreamer-plugins-sections.txt:
18549 * docs/pwg/advanced-clock.xml:
18550 * docs/pwg/advanced-scheduling.xml:
18551 * docs/pwg/advanced-types.xml:
18552 * plugins/elements/gstfdsink.c:
18553 * plugins/elements/gstfdsrc.c:
18554 * plugins/elements/gstfdsrc.h:
18555 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18556 * plugins/elements/gstidentity.h:
18557 * plugins/elements/gstqueue.h:
18558 * plugins/elements/gsttee.c:
18559 * plugins/elements/gsttee.h:
18560 * plugins/elements/gsttypefindelement.c:
18561 (gst_type_find_element_class_init):
18562 * plugins/elements/gsttypefindelement.h:
18563 Small updates to various docs.
18564 Added core plugins to docs.
18566 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18569 add a suppression for liboil's uninitialized variable
18571 2006-01-02 James Livingston <jrl at ids dot org dot au>
18573 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18576 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18577 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18578 compiler switch is being used (#325429).
18580 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18582 * gst/gstbin.c: (gst_bin_query):
18583 Disable duration query caching in bins until it gets
18584 fixed (see #324807).
18586 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18588 * tools/gst-inspect.c: (print_element_properties_info):
18589 Handle properties of POINTER and BOXED type.
18591 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18593 * gst/gst.c: (init_post):
18594 Init tags stuff and some other things before loading
18595 any static plugins (there may be other static plugins
18596 than just the GStreamer ones, and they may want to
18597 register their own tags or formats or whatever, and
18598 preferably without segfaulting).
18600 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18601 Print at least a warning in the debug logs if we drop a
18602 query just because we don't know how to adjust the value
18603 in the particular format.
18605 2005-12-24 David Schleef <ds@schleef.org>
18607 * tools/gstreamer-completion:
18608 Replacement for gst-complete written in sh and sed. Only
18609 completes names of features, but that's 90% of what I want
18610 it for. Properties are not available in registry.xml. (Maybe
18613 === release 0.10.1 ===
18615 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18618 releasing 0.10.1, "Nollaig chridheil"
18620 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18622 * docs/faq/cvs.xml:
18623 Add missing quote, should be make ERROR_CFLAGS="".
18625 2005-12-20 Wim Taymans <wim@fluendo.com>
18627 * docs/design/part-trickmodes.txt:
18628 More documentation on trickmodes.
18630 2005-12-20 Edward Hervey <edward@fluendo.com>
18632 * gst/gstcaps.c: (gst_static_caps_get_type):
18634 API addition: GST_TYPE_STATIC_CAPS
18635 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18636 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18637 * gst/gstpadtemplate.h:
18638 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18639 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18642 2005-12-18 Wim Taymans <wim@fluendo.com>
18644 * libs/gst/base/gstadapter.c:
18645 * libs/gst/base/gstadapter.h:
18646 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18647 (gst_base_sink_get_position):
18648 * libs/gst/base/gstbasesink.h:
18649 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18650 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18651 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18652 (gst_base_src_send_event), (gst_base_src_update_length),
18653 (gst_base_src_get_range), (gst_base_src_loop),
18654 (gst_base_src_start):
18655 * libs/gst/base/gstbasesrc.h:
18656 * libs/gst/base/gstbasetransform.h:
18657 * libs/gst/base/gstcollectpads.h:
18658 * libs/gst/base/gstpushsrc.c:
18659 * libs/gst/base/gstpushsrc.h:
18660 * libs/gst/dataprotocol/dataprotocol.c:
18661 * libs/gst/dataprotocol/dataprotocol.h:
18662 * libs/gst/net/gstnetclientclock.h:
18663 * libs/gst/net/gstnettimeprovider.h:
18664 Documentation updates.
18666 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18668 * docs/manual/basics-helloworld.xml:
18669 Remove superfluous closing bracket in helloworld example.
18671 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18673 * tools/gst-launch.1.in:
18674 Update gst-launch man page; add a section with useful
18675 environment variables. Fixes #323882.
18677 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18680 * gst/gst_private.h:
18681 change some char* into char[]
18683 2005-12-16 Wim Taymans <wim@fluendo.com>
18685 * gst/gstregistryxml.c: (load_feature):
18687 Don't use g_object_unref on GstObjects so that we avoid
18688 leaks on unsafe glibs.
18690 2005-12-16 Wim Taymans <wim@fluendo.com>
18692 * gst/gstbin.c: (gst_bin_recalc_state):
18695 2005-12-16 Wim Taymans <wim@fluendo.com>
18697 * common/check.mak:
18698 Added make forever target for check.
18700 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18702 * gst/gst.c: (init_post):
18703 make the registry cache file HOST_CPU-dependent
18705 2005-12-16 Andy Wingo <wingo@pobox.com>
18707 * plugins/elements/gstbufferstore.c
18708 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18711 * tests/check/gst/gstobject.c
18712 (test_fake_object_name_threaded_unique): Pay attention to
18713 g_list_sort return value.
18715 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18717 * tools/gst-feedback-m.m:
18718 Update for 0.9/0.10 (fixes #323870).
18720 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18722 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18723 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18725 * tests/check/gst/gstminiobject.c: (my_foo_init),
18726 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18727 (test_value_collection), (gst_mini_object_suite):
18728 Add test to ensure refcounts end up as expected when passing
18729 GstMiniObjects through g_object_get() and g_object_set().
18731 2005-12-14 Julien MOUTTE <julien@moutte.net>
18733 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18734 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18735 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18736 of collectpads. This version removes a lot of races without
18737 touching API/ABI. Yay !
18739 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18741 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18742 Don't allow activation of a srcpad in pull_range if it has no
18744 Change some debug statements to be a little clearer
18746 * plugins/elements/gsttypefindelement.c:
18747 (gst_type_find_handle_src_query):
18748 Check that we have a peer before executing queries thereupon.
18750 * tests/examples/metadata/read-metadata.c: (message_loop):
18751 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18752 immediately return us any available message with 0 timeout.
18754 2005-12-12 Michael Smith <msmith@fluendo.com>
18756 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18757 Don't unref factories after calling them.
18758 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18759 * plugins/elements/gsttypefindelement.c:
18760 (gst_type_find_element_chain):
18761 Free lists of factories after using them. Fixing typefinding memory
18764 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18766 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18767 (gst_plugin_feature_load):
18768 more meaningful debug output
18770 * tests/Makefile.am:
18771 * tests/old/examples/Makefile.am:
18772 make make distcheck happy again
18774 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18776 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18777 Catch the special case where we are operating chain-based,
18778 but the downstream peer pad has no chain function. Emit a
18779 custom error message in this case instead of letting the
18780 core generate one implying that this is some sort of core
18781 bug. It's not, it just means that whatever got plugged
18782 into the pipeline downstream when we announced the type
18783 can only operate pull-based, while our source can only
18784 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18785 Error string has not been marked for translation yet, as
18786 it probably needs some more work first.
18788 (gst_type_find_element_get_best_possibility):
18789 Add helper function to find the best of all available
18790 found possibilities that qualify given the min. threshold.
18792 (gst_type_find_element_handle_event):
18793 Fix the case where we get an EOS while still in TYPEFIND
18794 mode (we want to chose the best of all possible types,
18795 not just the first type that happens to be in our unsorted
18796 list of possible types).
18798 (gst_type_find_element_chain):
18799 Make sure we return GST_FLOW_ERROR when we errored out
18800 in stop_typefinding(); also, don't just find the best of
18801 all found type entries and then use the last examined
18802 type entry, but actually use the best entry.
18804 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18806 * tests/examples/typefind/typefind.c: (type_found):
18807 * tests/examples/xml/runxml.c: (xml_loaded):
18808 More gcc4 fixes and a mem leak fix.
18810 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18812 * tests/examples/xml/createxml.c: (object_saved):
18815 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18817 * tests/Makefile.am:
18818 enable the examples even more
18820 2005-12-12 Andy Wingo <wingo@pobox.com>
18822 * libs/gst/net/gstnettimeprovider.c
18823 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18824 (gst_net_time_provider_set_property)
18825 (gst_net_time_provider_get_property):
18826 API addition: Export "active" as a GObject property.
18827 (gst_net_time_provider_thread): Only respond to time queries if
18828 the time provider is active.
18830 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18831 NetTimeProvider, preserving binary compat.
18833 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18835 * tests/examples/controller/audio-example.c: (main):
18836 * tests/examples/launch/Makefile.am:
18837 convert comments again
18839 2005-12-12 Wim Taymans <wim@fluendo.com>
18841 * libs/gst/base/gstpushsrc.c:
18844 2005-12-12 Wim Taymans <wim@fluendo.com>
18846 * docs/libs/gstreamer-libs-sections.txt:
18847 Added new symbol to docs.
18849 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18850 (gst_base_src_init), (gst_base_src_set_format),
18851 (gst_base_src_default_query), (gst_base_src_query),
18852 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18853 (gst_base_src_perform_seek), (gst_base_src_send_event),
18854 (gst_base_src_default_event), (gst_base_src_event_handler),
18855 (gst_base_src_set_property), (gst_base_src_get_property),
18856 (gst_base_src_wait), (gst_base_src_do_sync),
18857 (gst_base_src_update_length), (gst_base_src_get_range),
18858 (gst_base_src_check_get_range), (gst_base_src_loop),
18859 (gst_base_src_default_negotiate), (gst_base_src_start),
18860 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18861 (gst_base_src_change_state):
18862 * libs/gst/base/gstbasesrc.h:
18863 Implement seeking to other formats than _BYTES.
18864 Implement more seeking methods correctly.
18866 Added query vmethod.
18867 Added do_seek vmethod to make life easier for subclasses
18869 API addition: gst_base_src_set_format()
18871 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18873 * tests/examples/Makefile.am:
18876 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18879 * docs/random/ensonic/media-device-daemon.txt:
18880 * tests/examples/controller/.cvsignore:
18881 * tests/examples/controller/Makefile.am:
18882 * tests/examples/controller/audio-example.c: (main):
18883 * tests/examples/helloworld/.cvsignore:
18884 * tests/examples/helloworld/Makefile.am:
18885 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18886 * tests/examples/launch/.cvsignore:
18887 * tests/examples/launch/Makefile.am:
18888 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18889 * tests/examples/metadata/.cvsignore:
18890 * tests/examples/metadata/Makefile.am:
18891 * tests/examples/metadata/read-metadata.c: (message_loop),
18892 (make_pipeline), (print_tag), (main):
18893 * tests/examples/queue/.cvsignore:
18894 * tests/examples/queue/Makefile.am:
18895 * tests/examples/queue/queue.c: (event_loop), (main):
18896 * tests/examples/typefind/.cvsignore:
18897 * tests/examples/typefind/Makefile.am:
18898 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18900 * tests/examples/xml/.cvsignore:
18901 * tests/examples/xml/Makefile.am:
18902 * tests/examples/xml/createxml.c: (object_saved), (main):
18903 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18904 * tests/old/examples/Makefile.am:
18905 * tests/old/examples/TODO:
18906 * tests/old/examples/controller/.cvsignore:
18907 * tests/old/examples/controller/Makefile.am:
18908 * tests/old/examples/controller/audio-example.c:
18909 * tests/old/examples/helloworld/.cvsignore:
18910 * tests/old/examples/helloworld/Makefile.am:
18911 * tests/old/examples/helloworld/helloworld.c:
18912 * tests/old/examples/launch/.cvsignore:
18913 * tests/old/examples/launch/Makefile.am:
18914 * tests/old/examples/launch/mp3parselaunch.c:
18915 * tests/old/examples/launch/mp3play:
18916 * tests/old/examples/manual/Makefile.am:
18917 * tests/old/examples/metadata/Makefile.am:
18918 * tests/old/examples/metadata/read-metadata.c:
18919 * tests/old/examples/queue/.cvsignore:
18920 * tests/old/examples/queue/Makefile.am:
18921 * tests/old/examples/queue/queue.c:
18922 * tests/old/examples/typefind/.cvsignore:
18923 * tests/old/examples/typefind/Makefile.am:
18924 * tests/old/examples/typefind/typefind.c:
18925 * tests/old/examples/xml/.cvsignore:
18926 * tests/old/examples/xml/Makefile.am:
18927 * tests/old/examples/xml/createxml.c:
18928 * tests/old/examples/xml/runxml.c:
18929 applied some simple fixing to some examples
18930 re-enabled the working examples
18932 2005-12-12 Wim Taymans <wim@fluendo.com>
18934 * gst/gstsegment.c: (gst_segment_init),
18935 (gst_segment_set_last_stop), (gst_segment_set_seek),
18936 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18937 (gst_segment_to_running_time):
18938 Added more documentation.
18939 Make sure the last_pos value is updated properly.
18940 Make sure to_stream_time and to_running_time don't
18941 operate on wrong values.
18943 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18946 2005-12-12 Michael Smith <msmith@fluendo.com>
18948 * plugins/elements/gsttypefindelement.c: (free_entry),
18949 (gst_type_find_element_chain):
18950 Now that we're not leaking factories, make sure we keep references
18951 to them while we need them.
18953 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18955 * tests/check/gst/struct_i386.h:
18956 ifdef out the XML structs
18958 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18960 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18961 floor is not needed, F is always positive; this obviates the
18962 need for adding -lm when building without libxml
18964 2005-12-12 Wim Taymans <wim@fluendo.com>
18966 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18967 Take current playback rate into account when reporting
18970 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18972 * docs/manual/mime-world.fig:
18973 Let's try this again, this time with a file that is
18974 actually in XFig format.
18976 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18978 * docs/manual/mime-world.fig:
18979 Add audioconvert element to diagram so that it
18980 matches the text and the code (fixes #319526).
18982 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18984 * docs/pwg/building-chainfn.xml:
18985 * docs/pwg/building-pads.xml:
18986 * docs/pwg/building-state.xml:
18987 * docs/pwg/other-source.xml:
18988 Update state change stuff for 0.10 (fixes #322969).
18990 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18992 * docs/manual/advanced-dataaccess.xml:
18993 * docs/manual/appendix-checklist.xml:
18994 * docs/manual/appendix-programs.xml:
18995 * docs/manual/basics-pads.xml:
18996 * docs/manual/highlevel-components.xml:
18997 * docs/manual/manual.xml:
18998 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18999 add converters in front of pipelines; remove curly
19000 brackets for threads stuff, they no longer exist; use
19001 GST_TYPE_FRACTION for framerates; update some pieces of
19002 code to 0.10, but there's plenty more to do.
19004 * docs/manual/appendix-porting.xml:
19005 Expand on asynchroneous state changes; s/0.9/0.10/;
19006 mention disappearance of gst_init_get_popt_table()
19009 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19011 * docs/faq/using.xml:
19012 Spider no longer exists, and neither does gst-launch-ext.
19013 Update examples to use decodebin and playbin and put
19014 converters in front of sinks (fixes #323726).
19016 2005-12-09 Michael Smith <msmith@fluendo.com>
19018 * plugins/elements/gsttypefindelement.c: (find_peek),
19019 (gst_type_find_element_chain):
19020 Fix leaking element factories in typefinding.
19021 Fix problem where we forgot about a probable type on non-seekable
19022 files, and thus later mis-typefound it.
19024 2005-12-09 Michael Smith <msmith@fluendo.com>
19026 * common/m4/gst-makecontext.m4:
19027 * common/m4/gst-mcsc.m4:
19029 * win32/common/config.h:
19030 * win32/common/config.h.in:
19031 Remove makecontext stuff; not used in 0.10 and causes problems on
19032 HPUX according to bug #322441
19034 2005-12-07 Wim Taymans <wim@fluendo.com>
19036 * tests/check/Makefile.am:
19037 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19039 * tests/check/libs/struct_i386.h:
19040 Added ABI check for libs
19042 2005-12-07 Wim Taymans <wim@fluendo.com>
19044 * tests/check/Makefile.am:
19045 And add the struct_i386.h to dist.
19047 2005-12-07 Wim Taymans <wim@fluendo.com>
19049 * tests/check/Makefile.am:
19050 * tests/check/gst/.cvsignore:
19051 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19053 * tests/check/gst/struct_i386.h:
19054 Added check for ABI compatibility.
19056 2005-12-07 Wim Taymans <wim@fluendo.com>
19058 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19059 (gst_fake_src_get_times), (gst_fake_src_create):
19060 Fix broken sync option, fixes #323259
19062 2005-12-07 Wim Taymans <wim@fluendo.com>
19067 * gst/gstcaps.c: (gst_caps_is_equal):
19068 Don't assert on NULL <--> X. Fixes #323260
19070 * gst/gstminiobject.c: (gst_mini_object_replace):
19071 If we're doing atomic operations, we might just as well use
19072 the proper way to get an atomic pointer.
19074 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19075 Clean up debugging.
19077 2005-12-07 Michael Smith <msmith@fluendo.com>
19079 * gst/parse/grammar.y:
19080 Remove handling of { } for threads.
19082 2005-12-06 David Schleef <ds@schleef.org>
19084 * libs/gst/base/gstbasetransform.c: speling fix.
19086 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19088 * docs/libs/tmpl/gstdataprotocol.sgml:
19089 * docs/random/omega/testing/gstobject.c:
19092 * gst/gstelement.c:
19093 * gst/gstelementfactory.c:
19096 * gst/gstghostpad.c:
19098 * gst/gstpadtemplate.c:
19099 * gst/gstregistryxml.c:
19100 * gst/gsttaglist.c:
19101 * gst/gsttagsetter.c:
19102 * gst/gsttypefind.c:
19104 * libs/gst/base/gstbasesrc.c:
19105 * libs/gst/net/gstnetclientclock.c:
19106 * libs/gst/net/gstnettimeprovider.c:
19107 * plugins/elements/gstfakesrc.c:
19108 * plugins/elements/gstfdsrc.c:
19109 * plugins/elements/gstfilesrc.c:
19110 * plugins/elements/gstidentity.c:
19111 * plugins/elements/gstqueue.c:
19112 * plugins/elements/gsttypefindelement.c:
19113 * plugins/indexers/gstfileindex.c:
19114 * plugins/indexers/gstmemindex.c:
19115 * tests/check/gst/gsttag.c:
19116 * tests/old/examples/cutter/cutter.c:
19117 * tests/old/examples/mixer/mixer.c:
19118 * tests/old/examples/xml/runxml.c: (main):
19119 * tests/old/testsuite/caps/normalisation.c:
19120 * tests/old/testsuite/debug/global.c:
19121 * tests/old/testsuite/parse/parse1.c:
19122 * tools/gst-xmlinspect.c:
19123 * win32/common/dirent.c:
19126 === release 0.10.0 ===
19128 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19131 releasing 0.10.0, "Maroilles"
19133 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19135 submitted by: Funda Wang <fundawang@linux.net.cn>
19139 added Chinese (Traditional) translation
19141 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19143 * docs/gst/gstreamer-sections.txt:
19144 * docs/libs/tmpl/gstdataprotocol.sgml:
19145 * docs/random/thomasvs/TODO:
19150 2005-12-05 Andy Wingo <wingo@pobox.com>
19152 patch by: Wim Taymans <wim@fluendo.com>
19154 * libs/gst/base/gstbasetransform.c
19155 (gst_base_transform_prepare_output_buf)
19156 (gst_base_transform_buffer_alloc):
19157 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19158 alloc_buffer_and_set_caps.
19160 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19161 set_caps on the source pad.
19162 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19163 alloc_buffer used to do. Fixes #322874.
19165 * docs/gst/gstreamer-sections.txt:
19166 * docs/design/part-negotiation.txt:
19167 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19170 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19172 patch by: Sebastien Moutte
19175 * win32/common/config.h.in:
19176 * win32/vs6/libgstcontroller.dsp:
19179 2005-12-05 Wim Taymans <wim@fluendo.com>
19181 * gst/gstcaps.c: (gst_caps_is_equal):
19182 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19183 (gst_fake_src_create):
19184 Back out previous code changes, leave doc updates, file bugs
19187 2005-12-05 Wim Taymans <wim@fluendo.com>
19189 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19190 (gst_fake_src_get_times), (gst_fake_src_create):
19191 * plugins/elements/gstfakesrc.h:
19192 Fix broken sync code.
19194 2005-12-05 Wim Taymans <wim@fluendo.com>
19196 * gst/gstcaps.c: (gst_caps_is_equal):
19197 Comparing NULL against !NULL yields different caps, not a
19200 2005-12-05 Wim Taymans <wim@fluendo.com>
19202 * gst/gstpipeline.c:
19203 Fix small typo in docs.
19205 2005-12-05 Andy Wingo <wingo@pobox.com>
19207 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19209 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19210 registries/plugins with a MAJORMINOR one.
19211 (plugin_desc): Rename library from gstcoreleements to
19212 staticelements. Fixes #323222.
19214 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19217 Change debug category to 'collectpads' from 'collect_pads'
19220 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19222 patch by: Sebastien Moutte
19224 * libs/gst/controller/gstinterpolation.c:
19225 use convert function for uint64/double
19226 * win32/vs6/libgstcontroller.dsp:
19229 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19231 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19232 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19234 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19235 add tests that seem to show that the guint64/gdouble conversions
19238 2005-12-02 Wim Taymans <wim@fluendo.com>
19240 * gst/gstregistry.c: (gst_registry_add_path):
19241 * gst/gstregistry.h:
19242 * gst/gstregistryxml.c:
19245 2005-12-02 Wim Taymans <wim@fluendo.com>
19247 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19248 (gst_util_uint64_scale_int):
19251 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19252 Add debug log line.
19254 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19257 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19260 * win32/common/config.h:
19261 * win32/vs6/gstreamer.dsw:
19262 * win32/vs6/libgstcoreelements.dsp:
19263 * win32/vs6/libgstelements.dsp:
19264 renamed core elements plugin
19266 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19268 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19270 do piece-wise major/minor comparison so 0.9 < 0.10
19271 also allow .exe extensions for tools
19273 2005-12-02 Michael Smith <msmith@fluendo.com>
19276 Escape a % to make gtkdoc happier; bug 322958.
19278 === release 0.9.7 ===
19280 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19283 releasing 0.9.7, "My Dog Has No Nose"
19285 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19287 * common/gst-xmlinspect.py:
19289 * docs/libs/tmpl/gstdataprotocol.sgml:
19290 * docs/random/release:
19309 * win32/common/config.h:
19310 * win32/common/config.h.in:
19311 * win32/vs6/gst_inspect.dsp:
19312 * win32/vs6/gst_launch.dsp:
19313 * win32/vs6/libgstbase.dsp:
19314 * win32/vs6/libgstelements.dsp:
19315 * win32/vs6/libgstreamer.dsp:
19316 * win32/vs7/GStreamer.vcproj:
19317 * win32/vs7/gst-inspect.vcproj:
19318 * win32/vs7/gst-launch.vcproj:
19319 * win32/vs7/libgstbase.vcproj:
19320 bump GST_MAJORMINOR to 0.10
19321 reset libtool version
19323 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19327 Added Bulgarian translation by (Alexander Shopov)
19329 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19331 * tests/check/gst/gstplugin.c:
19334 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19336 * common/gst-xmlinspect.py:
19337 * common/gtk-doc-plugins.mak:
19339 * docs/Makefile.am:
19340 * docs/gst/Makefile.am:
19341 * docs/gst/gstreamer-docs.sgml:
19342 * docs/gst/gstreamer-sections.txt:
19343 * docs/gst/gstreamer.types:
19344 * docs/gst/gstreamer.types.in:
19345 * docs/plugins/Makefile.am:
19346 * docs/plugins/gstreamer-plugins-docs.sgml:
19347 * docs/plugins/gstreamer-plugins-sections.txt:
19348 * docs/plugins/gstreamer-plugins.types:
19349 * docs/plugins/inspect.stamp:
19350 * docs/plugins/inspect/plugin-coreelements.xml:
19351 * docs/plugins/inspect/plugin-coreindexers.xml:
19352 * docs/plugins/scanobj-build.stamp:
19353 * gstreamer.spec.in:
19354 * plugins/elements/Makefile.am:
19355 * plugins/elements/gstelements.c:
19356 * plugins/elements/gstfakesink.c:
19357 * plugins/elements/gstfakesrc.c:
19358 * plugins/elements/gstfilesink.c:
19359 * plugins/elements/gstfilesrc.c:
19360 * plugins/elements/gstqueue.c:
19361 * plugins/indexers/Makefile.am:
19362 * plugins/indexers/gstindexers.c:
19363 document core plugins in a separate document just like all the
19365 rename these plugins to something starting with core
19367 2005-12-01 Andy Wingo <wingo@pobox.com>
19369 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19370 padding here before, but it missed the commit.
19372 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19374 * libs/gst/controller/gstinterpolation.c:
19375 whitespace prices have crashed, we should feel free to use some now
19376 use gst_guint64_to_gdouble
19378 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19380 * libs/gst/controller/gstcontroller.c:
19381 * libs/gst/controller/gsthelper.c:
19382 * libs/gst/controller/gstinterpolation.c:
19383 * libs/gst/controller/lib.c:
19384 wrap config.h include
19386 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19388 * docs/gst/gstreamer-sections.txt:
19391 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19393 * plugins/elements/gstelements.c:
19394 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19395 (gst_fd_sink__class_init), (gst_fd_sink__init),
19396 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19397 (gst_fd_sink__get_property):
19398 * plugins/elements/gstfdsink.h:
19399 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19400 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19401 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19402 (gst_fd_src_unlock), (gst_fd_src_set_property),
19403 (gst_fd_src_get_property), (gst_fd_src_create),
19404 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19405 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19406 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19407 (gst_fd_src_uri_handler_init):
19408 * plugins/elements/gstfdsrc.h:
19409 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19412 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19414 * docs/gst/Makefile.am:
19415 * docs/gst/gstreamer.types.in:
19419 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19425 * gst/gstregistry.h:
19426 * tests/benchmarks/complexity.c:
19427 * tests/benchmarks/mass-elements.c:
19428 * tests/check/Makefile.am:
19429 * tools/Makefile.am:
19430 * tools/gst-inspect.c:
19431 * tools/gst-xmlinspect.c:
19432 various fixes to make
19433 --disable-nls --disable-registry --disable-loadsave
19434 --disable-parse --disable-gst-debug
19435 work and get the core .so down to 360444 bytes after stripping
19437 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19442 * docs/random/thomasvs/TODO:
19443 * tests/Makefile.am:
19447 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19449 * win32/GStreamer.vcproj:
19452 * win32/Makefile.inspect:
19453 * win32/Makefile.launch:
19454 * win32/Makefile.register:
19455 * win32/README.txt:
19456 * win32/gst-inspect.vcproj:
19457 * win32/gst-launch.vcproj:
19458 * win32/gst-register.vcproj:
19459 * win32/gstelements.vcproj:
19460 * win32/gstgetbits.def:
19461 * win32/gstgetbits.vcproj:
19462 * win32/gstreamer-dbg.def:
19463 * win32/gstreamer.def:
19464 * win32/libgstbase.def:
19465 * win32/libgstbase.vcproj:
19466 * win32/link_oldruntime.c:
19470 * win32/msvc71.sln:
19471 move even more stuff, win32/ is nice and clean now
19473 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19475 * libs/gst/control/.cvsignore:
19480 * win32/gstbytestream.def:
19481 * win32/gstbytestream.vcproj:
19482 * win32/gstconfig.h:
19483 * win32/gstenumtypes.c:
19484 * win32/gstenumtypes.h:
19485 * win32/gstoptimalscheduler.vcproj:
19486 * win32/gstversion.h:
19488 * win32/testsuite/bins.vcproj:
19489 * win32/testsuite/bytestream.vcproj:
19490 * win32/testsuite/caps.vcproj:
19491 * win32/testsuite/cleanup.vcproj:
19492 * win32/testsuite/clock.vcproj:
19493 * win32/testsuite/debug.vcproj:
19494 * win32/testsuite/dlopen.vcproj:
19495 * win32/testsuite/dynparams.vcproj:
19496 * win32/testsuite/elements.vcproj:
19497 * win32/testsuite/ghostpads.vcproj:
19498 * win32/testsuite/indexers.vcproj:
19499 * win32/testsuite/negotiation.vcproj:
19500 * win32/testsuite/parse.vcproj:
19501 * win32/testsuite/plugin.vcproj:
19502 * win32/testsuite/refcounting.vcproj:
19503 * win32/testsuite/schedulers.vcproj:
19504 * win32/testsuite/states.vcproj:
19505 * win32/testsuite/tags.vcproj:
19506 * win32/testsuite/threads.vcproj:
19507 remove old win32 stuff that isn't maintained and should be
19510 2005-11-30 Andy Wingo <wingo@pobox.com>
19512 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19513 loading the gst.interfaces python module bork.
19515 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19516 available since GLib 2.2. Fixes #318031.
19518 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19521 * check/.cvsignore:
19522 * check/Makefile.am:
19523 * check/elements/.cvsignore:
19524 * check/elements/fakesrc.c:
19525 * check/elements/fdsrc.c:
19526 * check/elements/identity.c:
19527 * check/generic/.cvsignore:
19528 * check/generic/states.c:
19529 * check/gst-libs/.cvsignore:
19530 * check/gst-libs/controller.c:
19531 * check/gst-libs/gdp.c:
19532 * check/gst/.cvsignore:
19533 * check/gst/capslist.h:
19535 * check/gst/gstbin.c:
19536 * check/gst/gstbuffer.c:
19537 * check/gst/gstbus.c:
19538 * check/gst/gstcaps.c:
19539 * check/gst/gstelement.c:
19540 * check/gst/gstevent.c:
19541 * check/gst/gstghostpad.c:
19542 * check/gst/gstiterator.c:
19543 * check/gst/gstmessage.c:
19544 * check/gst/gstminiobject.c:
19545 * check/gst/gstobject.c:
19546 * check/gst/gstpad.c:
19547 * check/gst/gstpipeline.c:
19548 * check/gst/gstplugin.c:
19549 * check/gst/gstsegment.c:
19550 * check/gst/gststructure.c:
19551 * check/gst/gstsystemclock.c:
19552 * check/gst/gsttag.c:
19553 * check/gst/gstutils.c:
19554 * check/gst/gstvalue.c:
19555 * check/net/.cvsignore:
19556 * check/net/gstnetclientclock.c:
19557 * check/net/gstnettimeprovider.c:
19558 * check/pipelines/.cvsignore:
19559 * check/pipelines/cleanup.c:
19560 * check/pipelines/simple_launch_lines.c:
19561 * check/pipelines/stress.c:
19562 * check/states/.cvsignore:
19563 * check/states/sinks.c:
19565 * examples/Makefile.am:
19566 * examples/appreader/.cvsignore:
19567 * examples/appreader/Makefile.am:
19568 * examples/appreader/appreader.c:
19569 * examples/controller/.cvsignore:
19570 * examples/controller/Makefile.am:
19571 * examples/controller/audio-example.c:
19572 * examples/cutter/.cvsignore:
19573 * examples/cutter/Makefile.am:
19574 * examples/cutter/cutter.c:
19575 * examples/cutter/cutter.h:
19576 * examples/events/Makefile.am:
19577 * examples/events/seek.c:
19578 * examples/helloworld/.cvsignore:
19579 * examples/helloworld/Makefile.am:
19580 * examples/helloworld/helloworld.c:
19581 * examples/helloworld2/.cvsignore:
19582 * examples/helloworld2/Makefile.am:
19583 * examples/helloworld2/helloworld2.c:
19584 * examples/launch/.cvsignore:
19585 * examples/launch/Makefile.am:
19586 * examples/launch/mp3parselaunch.c:
19587 * examples/launch/mp3play:
19588 * examples/manual/.cvsignore:
19589 * examples/manual/Makefile.am:
19590 * examples/manual/extract.pl:
19591 * examples/metadata/Makefile.am:
19592 * examples/metadata/read-metadata.c:
19593 * examples/mixer/.cvsignore:
19594 * examples/mixer/Makefile.am:
19595 * examples/mixer/mixer.c:
19596 * examples/mixer/mixer.h:
19597 * examples/pingpong/.cvsignore:
19598 * examples/pingpong/Makefile.am:
19599 * examples/pingpong/pingpong.c:
19600 * examples/plugins/.cvsignore:
19601 * examples/plugins/Makefile.am:
19602 * examples/plugins/example.c:
19603 * examples/plugins/example.h:
19604 * examples/pwg/.cvsignore:
19605 * examples/pwg/Makefile.am:
19606 * examples/pwg/extract.pl:
19607 * examples/queue/.cvsignore:
19608 * examples/queue/Makefile.am:
19609 * examples/queue/queue.c:
19610 * examples/queue2/.cvsignore:
19611 * examples/queue2/Makefile.am:
19612 * examples/queue2/queue2.c:
19613 * examples/queue3/.cvsignore:
19614 * examples/queue3/Makefile.am:
19615 * examples/queue3/queue3.c:
19616 * examples/queue4/.cvsignore:
19617 * examples/queue4/Makefile.am:
19618 * examples/queue4/queue4.c:
19619 * examples/retag/.cvsignore:
19620 * examples/retag/Makefile.am:
19621 * examples/retag/retag.c:
19622 * examples/retag/transcode.c:
19623 * examples/thread/.cvsignore:
19624 * examples/thread/Makefile.am:
19625 * examples/thread/thread.c:
19626 * examples/typefind/.cvsignore:
19627 * examples/typefind/Makefile.am:
19628 * examples/typefind/typefind.c:
19629 * examples/xml/.cvsignore:
19630 * examples/xml/Makefile.am:
19631 * examples/xml/createxml.c:
19632 * examples/xml/runxml.c:
19633 * tests/Makefile.am:
19634 * tests/check/Makefile.am:
19635 * testsuite/.cvsignore:
19636 * testsuite/Makefile.am:
19638 * testsuite/caps/.cvsignore:
19639 * testsuite/caps/Makefile.am:
19640 * testsuite/caps/app_fixate.c:
19641 * testsuite/caps/audioscale.c:
19642 * testsuite/caps/caps.c:
19643 * testsuite/caps/caps.h:
19644 * testsuite/caps/caps_strings:
19645 * testsuite/caps/compatibility.c:
19646 * testsuite/caps/deserialize.c:
19647 * testsuite/caps/enumcaps.c:
19648 * testsuite/caps/eratosthenes.c:
19649 * testsuite/caps/filtercaps.c:
19650 * testsuite/caps/fixed.c:
19651 * testsuite/caps/fraction-convert.c:
19652 * testsuite/caps/fraction-multiply-and-zero.c:
19653 * testsuite/caps/intersect2.c:
19654 * testsuite/caps/intersection.c:
19655 * testsuite/caps/normalisation.c:
19656 * testsuite/caps/random.c:
19657 * testsuite/caps/renegotiate.c:
19658 * testsuite/caps/sets.c:
19659 * testsuite/caps/simplify.c:
19660 * testsuite/caps/string-conversions.c:
19661 * testsuite/caps/structure.c:
19662 * testsuite/caps/subtract.c:
19663 * testsuite/caps/union.c:
19664 * testsuite/debug/.cvsignore:
19665 * testsuite/debug/Makefile.am:
19666 * testsuite/debug/category.c:
19667 * testsuite/debug/commandline.c:
19668 * testsuite/debug/global.c:
19669 * testsuite/debug/output.c:
19670 * testsuite/debug/printf_extension.c:
19671 * testsuite/dlopen/.cvsignore:
19672 * testsuite/dlopen/Makefile.am:
19673 * testsuite/dlopen/dlopen_gst.c:
19674 * testsuite/dlopen/loadgst.c:
19675 * testsuite/elements/.cvsignore:
19676 * testsuite/elements/Makefile.am:
19677 * testsuite/elements/gst-inspect-check.in:
19678 * testsuite/elements/struct_i386.h:
19679 * testsuite/elements/struct_size.c:
19680 * testsuite/indexers/.cvsignore:
19681 * testsuite/indexers/Makefile.am:
19682 * testsuite/indexers/cache1.c:
19683 * testsuite/indexers/indexdump.c:
19684 * testsuite/parse/.cvsignore:
19685 * testsuite/parse/Makefile.am:
19686 * testsuite/parse/parse1.c:
19687 * testsuite/parse/parse2.c:
19688 * testsuite/plugin/.cvsignore:
19689 * testsuite/plugin/Makefile.am:
19690 * testsuite/plugin/README:
19691 * testsuite/plugin/dynamic.c:
19692 * testsuite/plugin/linked.c:
19693 * testsuite/plugin/loading.c:
19694 * testsuite/plugin/registry.c:
19695 * testsuite/plugin/static.c:
19696 * testsuite/plugin/static2.c:
19697 * testsuite/plugin/testplugin.c:
19698 * testsuite/plugin/testplugin2.c:
19699 * testsuite/plugin/testplugin2_s.c:
19700 * testsuite/plugin/testplugin_s.c:
19701 * testsuite/refcounting/.cvsignore:
19702 * testsuite/refcounting/Makefile.am:
19703 * testsuite/refcounting/bin.c:
19704 * testsuite/refcounting/element.c:
19705 * testsuite/refcounting/element_pad.c:
19706 * testsuite/refcounting/mainloop.c:
19707 * testsuite/refcounting/mem.c:
19708 * testsuite/refcounting/mem.h:
19709 * testsuite/refcounting/object.c:
19710 * testsuite/refcounting/pad.c:
19711 * testsuite/refcounting/sched.c:
19712 * testsuite/refcounting/thread.c:
19713 * testsuite/states/.cvsignore:
19714 * testsuite/states/Makefile.am:
19715 * testsuite/states/bin.c:
19716 * testsuite/states/locked.c:
19717 * testsuite/states/parent.c:
19718 * testsuite/threads/.cvsignore:
19719 * testsuite/threads/159566.c:
19720 * testsuite/threads/159852.c:
19721 * testsuite/threads/Makefile.am:
19722 * testsuite/threads/queue.c:
19723 * testsuite/threads/signals.c:
19724 * testsuite/threads/staticrec.c:
19725 * testsuite/threads/thread.c:
19726 * testsuite/threads/threadb.c:
19727 * testsuite/threads/threadc.c:
19728 * testsuite/threads/threadd.c:
19729 * testsuite/threads/threade.c:
19730 * testsuite/threads/threadf.c:
19731 * testsuite/threads/threadg.c:
19732 * testsuite/threads/threadh.c:
19733 * testsuite/threads/threadi.c:
19734 move all of these under tests
19736 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19739 * tests/Makefile.am:
19742 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19744 * docs/gst/gstreamer-sections.txt:
19745 * tests/sched/.cvsignore:
19746 * tests/sched/Makefile.am:
19747 * tests/sched/cases/(fs-fs).xml:
19748 * tests/sched/cases/(fs-i-fs).xml:
19749 * tests/sched/cases/(fs-i-i-fs).xml:
19750 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19751 * tests/sched/dynamic-pipeline.c:
19752 * tests/sched/interrupt1.c:
19753 * tests/sched/interrupt2.c:
19754 * tests/sched/interrupt3.c:
19755 * tests/sched/runtestcases:
19756 * tests/sched/runxml.c:
19757 * tests/sched/sched-stress.c:
19758 * tests/sched/sort.c:
19759 * tests/sched/testcases:
19760 * tests/sched/testcases1.tc:
19761 * tests/seeking/.cvsignore:
19762 * tests/seeking/Makefile.am:
19763 * tests/seeking/seeking1.c:
19764 * tests/threadstate/.cvsignore:
19765 * tests/threadstate/Makefile.am:
19766 * tests/threadstate/test1.c:
19767 * tests/threadstate/test2.c:
19768 * tests/threadstate/threadstate1.c:
19769 * tests/threadstate/threadstate2.c:
19770 * tests/threadstate/threadstate3.c:
19771 * tests/threadstate/threadstate4.c:
19772 * tests/threadstate/threadstate5.c:
19773 remove obsolete tests
19775 * tests/bench-complexity.scm:
19776 * tests/bench-mass_elements.scm:
19777 * tests/complexity.c:
19778 * tests/complexity.gnuplot:
19779 * tests/instantiate/.cvsignore:
19780 * tests/instantiate/Makefile.am:
19781 * tests/instantiate/caps.c:
19782 * tests/mass_elements.c:
19783 * tests/network-clock-utils.scm:
19784 * tests/network-clock.scm:
19786 First pass at cleaning up tests/ dir before moving the rest
19787 Combined with CVS surgery
19789 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19792 queue has moved, update
19794 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19796 * docs/gst/gstreamer-sections.txt:
19797 remove double entries from the docs
19798 * gst/gst_private.h:
19799 * gst/gstinfo.c: (_gst_debug_init):
19800 remove the THREAD debug category
19804 * docs/gst/gstreamer.types:
19805 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19806 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19807 completely move queue and fix up debugging categories
19809 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19811 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19812 make initialization portable, using LL is not
19814 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19816 * win32/common/gstconfig.h:
19819 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19821 * win32/common/libgstreamer.def:
19822 rename symbols; sort base section
19824 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19826 * gst/gstclock.c: (do_linear_regression):
19827 remove crack non-portable handrolled DEBUG macro
19829 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19831 * docs/random/release:
19833 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19834 (gst_object_flags_get_type), (register_gst_bin_flags),
19835 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19836 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19837 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19838 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19839 (gst_caps_flags_get_type), (register_gst_clock_return),
19840 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19841 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19842 (gst_clock_flags_get_type), (register_gst_state),
19843 (gst_state_get_type), (register_gst_state_change_return),
19844 (gst_state_change_return_get_type), (register_gst_state_change),
19845 (gst_state_change_get_type), (register_gst_element_flags),
19846 (gst_element_flags_get_type), (register_gst_core_error),
19847 (gst_core_error_get_type), (register_gst_library_error),
19848 (gst_library_error_get_type), (register_gst_resource_error),
19849 (gst_resource_error_get_type), (register_gst_stream_error),
19850 (gst_stream_error_get_type), (register_gst_event_type_flags),
19851 (gst_event_type_flags_get_type), (register_gst_event_type),
19852 (gst_event_type_get_type), (register_gst_seek_type),
19853 (gst_seek_type_get_type), (register_gst_seek_flags),
19854 (gst_seek_flags_get_type), (register_gst_format),
19855 (gst_format_get_type), (register_gst_index_certainty),
19856 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19857 (gst_index_entry_type_get_type),
19858 (register_gst_index_lookup_method),
19859 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19860 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19861 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19862 (gst_index_flags_get_type), (register_gst_debug_level),
19863 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19864 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19865 (gst_iterator_result_get_type), (register_gst_iterator_item),
19866 (gst_iterator_item_get_type), (register_gst_message_type),
19867 (gst_message_type_get_type), (register_gst_mini_object_flags),
19868 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19869 (gst_pad_link_return_get_type), (register_gst_flow_return),
19870 (gst_flow_return_get_type), (register_gst_activate_mode),
19871 (gst_activate_mode_get_type), (register_gst_pad_direction),
19872 (gst_pad_direction_get_type), (register_gst_pad_flags),
19873 (gst_pad_flags_get_type), (register_gst_pad_presence),
19874 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19875 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19876 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19877 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19878 (gst_plugin_flags_get_type), (register_gst_rank),
19879 (gst_rank_get_type), (register_gst_query_type),
19880 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19881 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19882 (gst_tag_flag_get_type), (register_gst_task_state),
19883 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19884 (gst_alloc_trace_flags_get_type),
19885 (register_gst_type_find_probability),
19886 (gst_type_find_probability_get_type), (register_gst_uri_type),
19887 (gst_uri_type_get_type), (register_gst_parse_error),
19888 (gst_parse_error_get_type):
19889 * win32/common/gstenumtypes.h:
19890 * win32/common/gstversion.h:
19891 update visual studio generated files
19893 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19895 * win32/vs6/libgstbase.dsp:
19896 * win32/vs6/libgstelements.dsp:
19897 update project files for new locations
19899 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19904 reinstate and update
19909 * docs/random/LICENSE:
19912 2005-11-30 Edward Hervey <edward@fluendo.com>
19914 * gst/gsttypefind.c: (gst_type_find_register):
19915 * gst/gsttypefind.h:
19916 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19917 (gst_type_find_factory_dispose):
19918 * gst/gsttypefindfactory.h:
19919 Fix memory leak in GstTypeFindFactory.
19921 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19924 * plugins/elements/Makefile.am:
19925 * plugins/elements/gstelements.c:
19926 * plugins/elements/gstqueue.c:
19927 move queue from core to the elements plugin
19929 2005-11-29 Andy Wingo <wingo@pobox.com>
19931 * libs/gst/base/gstbasetransform.h:
19932 * libs/gst/base/gstbasesrc.h:
19933 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19935 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19936 of pointers by which to pad very extensible base classes (like the
19937 ones in libs/gst/base).
19939 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19941 * docs/gst/gstreamer-docs.sgml:
19942 * docs/gst/gstreamer-sections.txt:
19943 * docs/libs/gstreamer-libs-docs.sgml:
19944 * docs/libs/gstreamer-libs-sections.txt:
19945 moving documentation from core to lib
19947 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19949 * check/Makefile.am:
19951 * docs/gst/Makefile.am:
19953 * gst/base/.cvsignore:
19954 * gst/base/Makefile.am:
19956 * gst/base/gstadapter.c:
19957 * gst/base/gstadapter.h:
19958 * gst/base/gstbasesink.c:
19959 * gst/base/gstbasesink.h:
19960 * gst/base/gstbasesrc.c:
19961 * gst/base/gstbasesrc.h:
19962 * gst/base/gstbasetransform.c:
19963 * gst/base/gstbasetransform.h:
19964 * gst/base/gstcollectpads.c:
19965 * gst/base/gstcollectpads.h:
19966 * gst/base/gstpushsrc.c:
19967 * gst/base/gstpushsrc.h:
19968 * gst/base/gsttypefindhelper.c:
19969 * gst/base/gsttypefindhelper.h:
19970 * gst/check/Makefile.am:
19971 * gst/check/gstcheck.c:
19972 * gst/check/gstcheck.h:
19973 * gst/net/Makefile.am:
19974 * gst/net/gstnet.h:
19975 * gst/net/gstnetclientclock.c:
19976 * gst/net/gstnetclientclock.h:
19977 * gst/net/gstnettimepacket.c:
19978 * gst/net/gstnettimepacket.h:
19979 * gst/net/gstnettimeprovider.c:
19980 * gst/net/gstnettimeprovider.h:
19981 * libs/gst/Makefile.am:
19982 * libs/gst/base/Makefile.am:
19983 * libs/gst/base/gstbasetransform.c:
19984 * libs/gst/check/Makefile.am:
19985 * plugins/elements/Makefile.am:
19987 CVS surgery + support to move base, check, and net out of gst
19990 2005-11-29 Andy Wingo <wingo@pobox.com>
19992 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19994 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19997 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19999 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20001 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20003 * gst/gstobject.h: (struct _GstObject): Only one pointer of
20004 padding; reduces object size by about 30%. We don't expect
20005 anything else to go into gstobject.
20007 * gst/gstminiobject.h (struct _GstMiniObject)
20008 (struct _GstMiniObjectClass): Only one pointer of padding; the
20009 payload is only a pointer and two ints anyway. For the class there
20010 are only two methods as well.
20012 * gst/gstelement.h (struct _GstElementClass): Removed
20013 the state_changed signal callback, it is not used.
20015 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20017 * docs/gst/gstreamer.types:
20018 fix includes, though they are a little dinky
20020 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20022 * check/Makefile.am:
20023 look in the right place for elements, a lot more chance of
20026 remove indexers and elements subdirs
20027 * plugins/Makefile.am:
20028 make indexers conditional
20030 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20034 * plugins/elements/Makefile.am:
20035 * plugins/elements/gstcapsfilter.c:
20036 * plugins/elements/gstfilesink.c:
20037 * plugins/elements/gstfilesrc.c:
20038 * plugins/elements/gstidentity.c:
20039 * plugins/indexers/Makefile.am:
20040 do CVS surgery and related build fixery to move elements
20041 and indexers in a new gstreamer/plugins directory, out of the
20044 2005-11-29 Andy Wingo <wingo@pobox.com>
20046 * check/Makefile.am:
20047 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20048 * pkgconfig/gstreamer-net.pc.in:
20049 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20052 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20054 * tools/Makefile.am:
20055 * tools/gst-complete.1.in:
20056 * tools/gst-complete.c:
20057 * tools/gst-compprep.1.in:
20058 * tools/gst-compprep.c:
20059 removing -compprep and -complete
20061 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20063 * gst/gstevent.c: (gst_event_new_new_segment),
20064 (gst_event_parse_new_segment):
20066 fix #320529 - clean up new_segment API and structure.
20067 Let's hope everyone was using the methods, and not the structure.
20069 2005-11-29 Edward Hervey <edward@fluendo.com>
20071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20072 (gst_base_sink_event), (gst_base_sink_do_sync),
20073 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20074 Properly handle non GST_FORMAT_TIME segment
20075 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20076 Properly handle non GST_FORMAT_TIME segment
20077 * gst/gstsegment.c:
20078 This function is valid if the accumulator is 0 and the format
20079 is different from the requested format.
20081 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20083 * docs/gst/gstreamer-sections.txt:
20084 Add gst_query_new_seeking and gst_query_parse_seeking to the
20087 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20089 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20090 Treat a pad alloc with new caps the same as if we were not
20091 negotiated, in order to allow a changing upstream output
20092 to produce a new format of data.
20094 2005-11-29 Edward Hervey <edward@fluendo.com>
20096 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20097 (gst_base_transform_event), (gst_base_transform_eventfunc):
20098 The event virtual method is now properly implemented, with a default
20100 Sub classes should call the parent_class event method. They should
20101 return FALSE if they had a problem handling the given event, or don't
20102 want GstBaseTransform to send that even downstream
20103 * gst/elements/gstidentity.c: (gst_identity_class_init),
20104 (gst_identity_init), (gst_identity_event),
20105 (gst_identity_transform_ip), (gst_identity_set_property),
20106 (gst_identity_get_property):
20107 * gst/elements/gstidentity.h:
20108 Added the single-segment boolean property.
20109 If set to TRUE, it will output a single segment of data, starting from
20110 0, will eat up all incoming newsegment, and modify the timestamp of the
20111 buffers accordingly
20113 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20115 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20116 Don't ref NULL target pad (#322751). Improve docs.
20118 2005-11-29 Michael Smith <msmith@fluendo.com>
20120 * gst/gstregistryxml.c: (load_plugin):
20121 Don't crash if we failed to load a feature from a plugin.
20123 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20125 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20127 use more check API and less GLib API
20129 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20132 don't run checks if we don't have check
20133 * common/check.mak:
20134 remove the registry when running make torture
20135 * docs/gst/gstreamer-sections.txt:
20136 remove second multiply
20137 * gst/gstqueue.c: (gst_queue_loop):
20138 fix a compile warning when disabling debug
20140 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20143 Hey! Let's print the pad name if the pointer != NULL instead
20144 of when it == NULL :-)
20146 2005-11-28 Wim Taymans <wim@fluendo.com>
20148 * check/gst/gstutils.c: (GST_START_TEST):
20149 Updated check, add some scaling accuracy checking code.
20151 * gst/gstutils.c: (gst_util_div128_64),
20152 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20153 (gst_util_uint64_scale_int):
20154 Fix 6 times faster division code. Optimize for common
20155 1/1 and less common X/1 cases.
20157 2005-11-28 Wim Taymans <wim@fluendo.com>
20159 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20162 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20163 (do_linear_regression), (gst_clock_add_observation):
20165 Release lock when the clock cannot be slaved.
20166 Catch the case where the regression returned an invalid denominator.
20168 * gst/gstutils.c: (gst_util_div128_64_iterate),
20169 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20170 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20171 Add protentially more performant non-iterative 128/64 divide function
20172 that unfortunatly does not work yet.
20173 Shortcut the trivial 0/X = 0 case.
20174 Remove the warnings on overflow.
20176 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20178 * gst/gstplugin.c: (gst_plugin_register_func):
20179 everything causing a plugin not to load should be at least a WARNING
20181 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20183 * docs/random/ensonic/dparams.txt:
20184 some TODOs for the next dev cycle
20185 * libs/gst/controller/gstcontroller.c:
20186 (gst_controlled_property_set_interpolation_mode),
20187 (gst_controlled_property_new):
20188 * libs/gst/controller/gstcontroller.h:
20189 use base type to assign acccessor functions
20191 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20193 * check/Makefile.am:
20194 Oops, that should have been top_srcdir
20196 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20198 * check/Makefile.am:
20199 * check/elements/fdsrc.c: (GST_START_TEST):
20200 Use a cmdline define to specify the location of a file to use for
20201 testing, to avoid breaking distcheck.
20203 2005-11-28 Andy Wingo <wingo@pobox.com>
20205 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20207 2005-11-28 Edward Hervey <edward@fluendo.com>
20209 * tools/gst-launch.c: (main):
20210 Clarify the output strings, makes it easier to translate.
20213 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20216 don't try and build net if we don't even have <sys/socket.h>
20218 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20220 * check/Makefile.am:
20221 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20222 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20223 Add tests for fdsrc seekability
20225 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20226 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20227 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20228 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20229 * gst/elements/gstfdsrc.h:
20230 fdsrc should not be a 'live' source.
20231 Implement seeking on seekable fd's.
20233 * gst/gstquery.c: (gst_query_new_seeking),
20234 (gst_query_parse_seeking):
20236 Implement SEEKING query functions:
20237 *_new_seeking and *_parse_seeking
20239 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20241 * gst/gstelement.c: (gst_element_dispose):
20244 * gst/gstiterator.c:
20245 * gst/gststructure.c:
20248 * libs/gst/controller/gstcontroller.c:
20249 (gst_controlled_property_set_interpolation_mode):
20250 * libs/gst/controller/gstcontroller.h:
20251 * libs/gst/controller/gstinterpolation.c:
20252 (interpolate_none_get_enum_value_array):
20253 support controlling enums
20255 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20258 Improve documentation for gst_value_union().
20261 Change return value for union, intersect and subtract functions
20262 from gint to gboolean.
20264 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20266 * gst/gstvalue.c: (gst_value_serialize_any_list),
20267 (gst_value_transform_any_list_string),
20268 (gst_value_deserialize_list), (gst_value_deserialize_array),
20269 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20270 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20271 (gst_value_set_fraction_range_full),
20272 (gst_value_deserialize_fraction_range),
20273 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20274 (gst_value_deserialize_boolean),
20275 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20276 (gst_value_serialize_float), (gst_value_deserialize_float),
20277 (gst_string_wrap), (gst_value_deserialize_string),
20278 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20279 (gst_value_union_int_range_int_range),
20280 (gst_value_intersect_int_range_int_range),
20281 (gst_value_intersect_double_range_double_range),
20282 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20283 (gst_value_subtract_int_range_int_range),
20284 (gst_value_subtract_double_double_range),
20285 (gst_value_subtract_double_range_double_range),
20286 (gst_value_deserialize_fraction):
20288 Use gint, gdouble and gchar in our API instead of int, double and
20289 char (and make usage in gstvalue.c more consistent).
20291 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20293 * check/Makefile.am:
20294 * libs/gst/controller/Makefile.am:
20295 * libs/gst/dataprotocol/Makefile.am:
20296 fix up Makefile.am and remove GST_ENABLE_NEW
20298 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20302 * gst/base/Makefile.am:
20303 * gst/check/Makefile.am:
20304 * gst/elements/Makefile.am:
20305 * gst/net/Makefile.am:
20306 update LDFLAGS use some more
20308 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20310 * common/m4/gst-doc.m4:
20313 2005-11-26 Edward Hervey <edward@fluendo.com>
20315 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20316 This shouldn't issue a g_warning since it returns NULL if it
20317 couldn't find the plugin, and all functions using this behave
20318 properly on a NULL return. Switching to a GST_WARNING.
20320 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20322 * gst/gstbin.c: (gst_bin_handle_message_func):
20323 Don't leak clock messages.
20325 2005-11-25 Wim Taymans <wim@fluendo.com>
20327 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20328 (gst_util_uint64_scale_int):
20329 Optimisations, remove unneeded vars.
20331 2005-11-25 Wim Taymans <wim@fluendo.com>
20333 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20334 Added more checks for the high precision uint64 cases.
20336 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20337 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20338 Implement high precision (guint64 * guint64) / guint64.
20340 2005-11-24 Wim Taymans <wim@fluendo.com>
20342 * gst/base/gstbasesrc.c: (gst_base_src_query):
20343 Fix wrong percentage query.
20345 * gst/gstutils.c: (gst_util_uint64_scale),
20346 (gst_util_uint64_scale_int):
20347 Add some more common cases that can be handled
20348 efficiently to _scale.
20350 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20352 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20353 (gst_mini_object_suite):
20354 don't use check calls from threads; check probably isn't
20355 threadsafe and using a lock to make it threadsafe would
20356 defeat the purpose of this check
20357 * gst/check/gstcheck.c:
20358 * gst/check/gstcheck.h:
20359 use GST_DEBUG some more
20361 2005-11-24 Wim Taymans <wim@fluendo.com>
20363 * gst/gstutils.c: (gst_util_uint64_scale),
20364 (gst_util_uint64_scale_int):
20365 Chain trivial case to _scale_int.
20367 2005-11-24 Wim Taymans <wim@fluendo.com>
20369 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20370 Added test for scaling.
20375 * gst/gstutils.c: (gst_util_uint64_scale_int):
20376 Implemented high precision scaling code.
20378 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20381 do not crash on pad==NULL
20383 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20385 Patch by: Stefan Kost
20387 * common/gtk-doc.mak:
20388 * docs/gst/Makefile.am:
20389 * docs/libs/Makefile.am:
20390 Fix distcheck issues for the libraries docs build
20393 2005-11-24 Michael Smith <msmith@fluendo.com>
20395 * docs/manual/basics-helloworld.xml:
20396 Fix bug #315027: memory leak in example code in docs.
20398 2005-11-24 Michael Smith <msmith@fluendo.com>
20400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20401 Unlock the PREROLL_LOCK in a failure case.
20403 2005-11-24 Wim Taymans <wim@fluendo.com>
20405 * docs/gst/gstreamer-sections.txt:
20406 * gst/base/gstadapter.h:
20407 * gst/base/gstbasesink.h:
20408 * gst/base/gstbasesrc.h:
20409 * gst/base/gstbasetransform.h:
20410 * gst/base/gstpushsrc.h:
20411 * gst/elements/gstfakesink.h:
20412 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20413 * gst/elements/gstfakesrc.h:
20414 * gst/elements/gstfilesink.h:
20415 * gst/elements/gstfilesrc.h:
20418 * gst/gstbuffer.c: (_gst_buffer_copy):
20421 * gst/gstchildproxy.c:
20423 * gst/gstelement.c:
20424 * gst/gstelementfactory.c:
20425 * gst/gstelementfactory.h:
20427 * gst/gstghostpad.h:
20429 * gst/gstinterface.h:
20430 * gst/gstminiobject.c:
20431 * gst/gstminiobject.h:
20434 * gst/gstpadtemplate.h:
20435 * gst/gstpipeline.h:
20436 * gst/gstpluginfeature.h:
20439 * gst/gsttaglist.c:
20440 * gst/gsttaglist.h:
20441 * gst/gsttagsetter.c:
20442 * gst/gsttagsetter.h:
20445 * gst/gsttypefind.h:
20448 * gst/net/gstnetclientclock.c:
20449 * gst/net/gstnetclientclock.h:
20450 * gst/net/gstnettimepacket.c:
20451 * gst/net/gstnettimeprovider.c:
20452 * gst/net/gstnettimeprovider.h:
20455 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20457 * configure.ac: back to HEAD
20459 === release 0.9.6 ===
20461 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20464 releasing 0.9.6, "Always On Time"
20466 2005-11-23 Wim Taymans <wim@fluendo.com>
20468 * docs/gst/gstreamer-sections.txt:
20469 * gst/glib-compat.c:
20470 * gst/gsttagsetter.c:
20472 * gst/net/gstnetclientclock.c:
20473 * gst/net/gstnettimepacket.h:
20476 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20478 * docs/faq/using.xml:
20479 * docs/libs/tmpl/gstcontrol.sgml:
20480 * docs/manual/advanced-dparams.xml:
20481 * docs/manual/appendix-checklist.xml:
20482 * docs/manual/basics-elements.xml:
20483 * docs/pwg/other-source.xml:
20484 * docs/random/moving-plugins:
20486 * tools/gst-launch.1.in:
20487 remove mentions of sinesrc
20489 2005-11-23 Michael Smith <msmith@fluendo.com>
20491 * docs/gst/gstreamer-sections.txt:
20492 Update for new API and API changes.
20494 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20496 Documentation typo fix.
20497 * gst/net/gstnettimepacket.c:
20498 Documentation fixes for arguments.
20500 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20502 * gst/gststructure.c: (gst_structure_get_fraction),
20503 (gst_structure_parse_value),
20504 (gst_structure_fixate_field_nearest_fraction):
20505 * gst/gststructure.h:
20506 * gst/gstutils.c: (gst_util_uint64_scale_int):
20508 * scripts/update-funcnames:
20510 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20511 Make gst_structure_fixate_field_nearest_fraction take a numerator
20512 and denominator argument instead of a GValue
20513 add gst_structure_get_fraction helper function.
20515 2005-11-23 Wim Taymans <wim@fluendo.com>
20517 * docs/design/part-TODO.txt:
20520 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20521 * gst/net/gstnetclientclock.h:
20522 Use parent fields for timeout and window_size.
20524 2005-11-23 Andy Wingo <wingo@pobox.com>
20526 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20527 rate_num/rate_denom change.
20529 * gst/net/gstnetclientclock.c
20530 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20531 OBJECT_LOCK. Don't call add_observation with the lock.
20533 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20535 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20537 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20538 deal with rate as a fraction whose numerator and denominator are
20539 GstClockTime values.
20540 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20541 master; the other fields are protected by the SLAVE_LOCK.
20542 (do_linear_regression): Note that this must be called with the
20544 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20545 OBJECT_LOCK. Call set_calibration instead of touching the
20546 variables directly.
20547 (gst_clock_set_property, gst_clock_get_property): Protect
20548 master/slave parameters with the SLAVE_LOCK.
20550 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20551 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20552 note that all of the instance variables that add_observation and
20553 the set_master functions use are protected by that lock and not
20555 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20557 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20558 the caller to take the object lock.
20560 2005-11-23 Wim Taymans <wim@fluendo.com>
20562 * gst/gsterror.c: (_gst_core_errors_init):
20564 Add error for clock stuff.
20566 * gst/gstpipeline.c: (gst_pipeline_change_state),
20567 (gst_pipeline_set_clock):
20568 Post clock error when clock cannot be used in a pipeline.
20570 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20572 * docs/gst/gstreamer-sections.txt:
20573 make two symbols from gstinfo private for the docs
20574 * gst/base/gstcollectpads.h:
20576 fix doc typos, update docs
20578 2005-11-22 Wim Taymans <wim@fluendo.com>
20580 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20581 (gst_base_sink_wait), (gst_base_sink_do_sync),
20582 (gst_base_sink_handle_event):
20583 * gst/base/gstbasesink.h:
20584 No need to store the clock, the parent element class already
20587 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20588 Updates for clock_set returning a gboolean
20590 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20591 (gst_clock_id_wait_async), (gst_clock_class_init),
20592 (gst_clock_init), (gst_clock_finalize),
20593 (gst_clock_get_internal_time), (gst_clock_get_time),
20594 (gst_clock_slave_callback), (gst_clock_set_master),
20595 (gst_clock_get_master), (do_linear_regression),
20596 (gst_clock_add_observation), (gst_clock_set_property),
20597 (gst_clock_get_property):
20599 Implement master/slave. When setting a clock as a slave, a
20600 periodic timeout is scheduled to sample master and slave times.
20601 Then the slave clock is recalibrated to match offset and rate
20602 of the master clock.
20603 Update logging a bit.
20604 Add flag so that a clock can state that is cannot be slaved to
20607 * gst/gstelement.c: (gst_element_set_clock):
20608 * gst/gstelement.h:
20609 The set clock returns a gboolean for when an element cannot
20610 deal with the selected clock in the pipeline.
20612 * gst/gstpipeline.c: (gst_pipeline_change_state),
20613 (gst_pipeline_set_clock):
20614 * gst/gstpipeline.h:
20615 Handle the case where the selected clock cannot be set on
20618 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20619 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20620 (gst_net_client_clock_set_property),
20621 (gst_net_client_clock_get_property),
20622 (gst_net_client_clock_observe_times):
20623 * gst/net/gstnetclientclock.h:
20624 Use regression code in GstClock parent, remove duplicated
20627 2005-11-22 Michael Smith <msmith@fluendo.com>
20629 * gst/gstutils.c: (gst_util_clock_time_scale):
20631 * docs/gst/gstreamer-sections.txt:
20632 Rename method to have extra underscore.
20634 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20636 * gst/elements/Makefile.am:
20637 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20638 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20639 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20640 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20641 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20642 * gst/elements/gstfakesrc.h:
20643 * gst/gstqueue.c: (queue_leaky_get_type):
20644 correctly fix GEnumValues so that nick is the short lowercase
20646 * tools/gst-inspect.c: (print_element_properties_info):
20647 also show the nick, since it's useful to use from parse_launch
20651 2005-11-22 Michael Smith <msmith@fluendo.com>
20653 * gst/gstutils.c: (gst_util_clocktime_scale):
20655 * docs/gst/gstreamer-sections.txt:
20656 Add util method for scaling a clocktime by a fraction. Useful
20657 implementation is left as an exercise for the reader.
20659 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20661 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20662 If needed, allocate storage in the destination value during
20665 2005-11-22 Edward Hervey <edward@fluendo.com>
20667 * docs/gst/gstreamer-sections.txt:
20670 * gst/gsturitype.c:
20671 * gst/gsturitype.h:
20672 * gst/gstutils.c: (gst_util_set_object_arg):
20673 * tools/gst-compprep.c: (main):
20674 * tools/gst-inspect.c: (print_element_properties_info):
20675 Removed GstURI, closes bug #321061
20677 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20679 * check/gst/gststructure.c: (GST_START_TEST):
20680 * gst/gststructure.c: (gst_structure_parse_value):
20681 Oops, broke automatic string type parsing.
20682 Add a test to catch it in future.
20684 2005-11-22 Andy Wingo <wingo@pobox.com>
20686 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20687 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20688 Actually rename the function implementations. Grr.
20690 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20692 * check/gst/capslist.h:
20694 * check/gst/gststructure.c: (GST_START_TEST),
20695 (gst_structure_suite):
20696 Test automatic value type detection in gst_structure_from_string.
20697 * gst/gststructure.c: (gst_structure_parse_value):
20698 Add fraction as a type we try and guess automatically in
20699 caps/structure strings.
20701 2005-11-22 Andy Wingo <wingo@pobox.com>
20703 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20705 * gst/gsttagsetter.h:
20706 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20707 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20708 (gst_tag_setter_add_tag_valist)
20709 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20710 _add_values, _add_valist, and _add_valist_values. Since this is an
20711 interface the function suffixes should be more explicit so
20712 language binding don't end up with element.add_valist ->
20713 gst_tag_setter_add_valist, for example. Fixes #322069.
20715 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20717 * check/gst/gstcaps.c: (GST_START_TEST):
20718 Extend caps string tests to check that a caps to string
20719 conversion is reversible and produces the same caps.
20721 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20722 Output "fraction" as the generic type fraction range, so caps
20723 serialisation and deserialisation works.
20724 * check/gst/capslist.h:
20725 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20726 Support 'MIN' and 'MAX' for deserialising fractions.
20728 2005-11-22 Andy Wingo <wingo@pobox.com>
20730 * gst/gstevent.h (gst_event_new_new_segment)
20731 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20732 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20733 Renamed from *_newsegment, *_buffersize, *_notarget.
20735 * scripts/update-funcnames: New script, performs the changes
20738 2005-11-22 Wim Taymans <wim@fluendo.com>
20740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20741 Make sure the GstFlowReturn is returned.
20743 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20744 (gst_bus_add_signal_watch):
20746 add gst_bus_add_signal_watch_full.
20748 * gst/gstplugin.c: (gst_plugin_load_file):
20749 Small style cleanup.
20751 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20753 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20754 Block the fakesrc srcpad when we send an event, to avoid
20755 contention on the stream_lock causing random test failures.
20757 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20759 * check/gst/gstvalue.c: (GST_START_TEST):
20760 * gst/gstvalue.c: (gst_value_fraction_subtract):
20763 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20766 include "gstchildproxy.h"
20767 * gst/gstchildproxy.h:
20768 * libs/gst/controller/gstcontroller.h:
20769 use G_GNUC_NULL_TERMINATED
20771 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20773 * check/gst/capslist.h:
20774 * check/gst/gstcaps.c: (GST_START_TEST):
20775 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20776 * gst/gststructure.c: (gst_structure_parse_range),
20777 (gst_structure_fixate_field_nearest_fraction):
20778 * gst/gststructure.h:
20779 * gst/gstvalue.c: (gst_value_init_fraction_range),
20780 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20781 (gst_value_collect_fraction_range),
20782 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20783 (gst_value_set_fraction_range_full),
20784 (gst_value_get_fraction_range_min),
20785 (gst_value_get_fraction_range_max),
20786 (gst_value_serialize_fraction_range),
20787 (gst_value_transform_fraction_range_string),
20788 (gst_value_compare_fraction_range),
20789 (gst_value_deserialize_fraction_range),
20790 (gst_value_intersect_fraction_fraction_range),
20791 (gst_value_intersect_fraction_range_fraction_range),
20792 (gst_value_subtract_fraction_fraction_range),
20793 (gst_value_subtract_fraction_range_fraction),
20794 (gst_value_subtract_fraction_range_fraction_range),
20795 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20796 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20797 (gst_value_transform_string_fraction), (_gst_value_initialize):
20799 Implement fraction ranges and extend GstFraction to support
20800 arithmetic subtraction, as well as deserialization from integer
20801 strings such as "100"
20802 Add a testsuite as for int and double range set operations
20804 2005-11-21 Andy Wingo <wingo@pobox.com>
20806 * gst/gsttaglist.h:
20808 * gst/gststructure.h: Add glib-compat.h.
20810 2005-11-21 Wim Taymans <wim@fluendo.com>
20812 * gst/gstbin.c: (gst_bin_change_state_func):
20815 2005-11-21 Wim Taymans <wim@fluendo.com>
20817 * gst/gstsegment.h:
20818 And add a nice define too.
20820 2005-11-21 Wim Taymans <wim@fluendo.com>
20822 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20823 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20824 (gst_segment_set_duration), (gst_segment_set_last_stop),
20825 (gst_segment_set_seek), (gst_segment_set_newsegment),
20826 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20827 (gst_segment_clip):
20828 * gst/gstsegment.h:
20829 Make binding friendly.
20831 2005-11-21 Andy Wingo <wingo@pobox.com>
20833 * gst/gsttagsetter.h:
20834 * gst/gsttaglist.h:
20835 * gst/gststructure.h:
20837 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20840 * gst/gsterror.c (_gst_core_errors_init):
20841 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20844 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20845 (noinst_HEADERS): noinst the -private.
20847 2005-11-21 Michael Smith <msmith@fluendo.com>
20850 * gst/gstregistry.h:
20851 Remove unimplemented declarations for which we can see no sensible
20854 2005-11-21 Andy Wingo <wingo@pobox.com>
20856 * gst/gst.h: Include glib-compat.h.
20858 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20860 * gst/glib-compat.c: Include the public and the private header.
20862 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20866 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20868 * check/gst/gstevent.c (create_custom_events): Check that
20869 FLUSH_STOP is serialized.
20871 * check/elements/identity.c (event_func):
20872 * check/elements/fakesrc.c (event_func): No stream lock, the core
20875 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20876 stream lock taking, yay.
20878 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20879 ensure that core takes the stream lock.
20881 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20884 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20885 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20886 it already. For the flush start we do take it though so we get the
20887 right preroll state change messages.
20889 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20890 the stream lock here, the core does it for us.
20892 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20893 GST_STREAM_GET_LOCK.
20894 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20895 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20896 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20897 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20898 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20899 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20901 * gst/gstpad.c: Update for stream lock name change.
20903 * gst/base/gstbasesink.c: Update for preroll lock name change.
20905 2005-11-21 Wim Taymans <wim@fluendo.com>
20907 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20908 (gst_clock_get_master):
20910 * gst/gstsystemclock.c: (gst_system_clock_init):
20911 Convert Clock flags to object flags.
20912 Added methods to manage master/slave clocks.
20914 2005-11-21 Wim Taymans <wim@fluendo.com>
20916 * check/gst/gstsegment.c: (GST_START_TEST):
20917 * docs/design/part-TODO.txt:
20918 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20919 (gst_base_sink_event), (gst_base_sink_do_sync),
20920 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20921 (gst_base_sink_query), (gst_base_sink_change_state):
20922 * gst/base/gstbasesink.h:
20923 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20924 (gst_base_src_default_newsegment),
20925 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20926 (gst_base_src_get_range), (gst_base_src_loop),
20927 (gst_base_src_change_state):
20928 * gst/base/gstbasesrc.h:
20929 * gst/base/gstbasetransform.c:
20930 (gst_base_transform_prepare_output_buf),
20931 (gst_base_transform_event), (gst_base_transform_change_state):
20932 * gst/base/gstbasetransform.h:
20933 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20934 (gst_collect_pads_event):
20935 * gst/base/gstcollectpads.h:
20936 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20937 (gst_fake_src_create):
20938 * gst/elements/gstfakesrc.h:
20939 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20940 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20941 (gst_segment_set_last_stop), (gst_segment_set_seek),
20942 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20943 (gst_segment_to_running_time), (gst_segment_clip):
20944 * gst/gstsegment.h:
20945 More segment updates, replace code in plugins with segment
20948 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20950 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20951 Don't ignore sscanf results
20953 2005-11-21 Andy Wingo <wingo@pobox.com>
20955 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20958 * *.c: Ran scripts/update-macros. Oh yes.
20960 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20961 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20964 * scripts/update-macros: New script. Run it on your files to
20965 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20968 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20970 * docs/gst/Makefile.am:
20971 * docs/gst/gstreamer-docs.sgml:
20972 * docs/gst/gstreamer-sections.txt:
20973 * docs/gst/gstreamer.types:
20975 more docs fixes, add new api to the docs
20977 2005-11-21 Andy Wingo <wingo@pobox.com>
20979 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20980 state_broadcast call.
20982 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20984 2005-11-21 Julien MOUTTE <julien@moutte.net>
20986 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20987 function calls for arrays.
20989 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20991 * docs/random/ensonic/media-device-daemon.txt:
20992 wild idea, can this be done?
20993 * docs/gst/gstreamer-sections.txt:
20998 * gst/gstpluginfeature.c:
21002 doc fixes and additions
21004 2005-11-21 Andy Wingo <wingo@pobox.com>
21006 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
21007 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
21008 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
21009 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21010 private to the basesrc implementation.
21012 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21013 behalf of event function if necessary. It should no longer be
21014 necessary to take the stream lock in pad's event functions. Fixes
21017 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21018 * docs/gst/gstreamer-sections.txt:
21019 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21020 (gst_structure_fixate_field_nearest_double),
21021 (gst_structure_fixate_field_boolean):
21022 * gst/gststructure.h:
21023 * win32/common/libgstreamer.def:
21024 * win32/gstreamer.def:
21026 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21029 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21031 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21032 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21033 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21034 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21035 (gst_fdsrc_uri_handler_init):
21036 * gst/elements/gstfdsrc.h:
21037 Port fd:// URI handler from 0.8 to fdsrc
21039 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21041 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21042 (gst_value_serialize_fourcc):
21044 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21045 consistent with our other format defines (#320324).
21047 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21049 * gst/gstvalue.c: (gst_value_is_fixed):
21050 Revert previous commit. Value lists are by definition
21051 not fixed, as they are a list of possible values.
21053 2005-11-21 Andy Wingo <wingo@pobox.com>
21055 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21056 during the stable series if we need it. Fixes #319178.
21058 * gst/gstevent.c (gst_event_new_filler): Removed.
21060 * check/gst/gstevent.c: Update comment about filler events.
21062 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21064 * gst/gstvalue.c: (gst_value_is_fixed):
21065 Should handle both value arrays and value lists.
21067 2005-11-21 Andy Wingo <wingo@pobox.com>
21069 patch by: Alessandro Dessina <alessandro nnva org>
21071 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21072 functions to access arrays. Fixes #321962.
21074 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21076 * docs/gst/gstreamer.types:
21077 gst_collectpads_get_type => gst_collect_pads_get_type.
21079 * gst/base/gstbasetransform.c:
21080 Remove unused SIGNAL_HANDOFF enum.
21082 2005-11-21 Andy Wingo <wingo@pobox.com>
21084 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21085 the event type (upstream, downstream, serialized). Renamed
21086 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21087 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21088 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21090 * gst/gstevent.c: Update for new CUSTOM event names.
21092 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21095 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21098 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21100 * docs/gst/gstreamer-sections.txt:
21101 * win32/common/libgstbase.def:
21102 * win32/libgstbase.def:
21103 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21104 (gst_collect_pads_class_init), (gst_collect_pads_init),
21105 (gst_collect_pads_finalize), (gst_collect_pads_new),
21106 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21107 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21108 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21109 (gst_collect_pads_start), (gst_collect_pads_stop),
21110 (gst_collect_pads_peek), (gst_collect_pads_pop),
21111 (gst_collect_pads_available), (gst_collect_pads_read),
21112 (gst_collect_pads_flush), (gst_collect_pads_event),
21113 (gst_collect_pads_chain):
21114 * gst/base/gstcollectpads.h:
21115 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21116 unimplemented functions as unimplemented. Add padding to
21117 GstCollectData. (#320766, #320423)
21119 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21121 * gst/gstmessage.c:
21122 Improve docs for DURATION message (usage of duration parameter)
21125 2005-11-20 Wim Taymans <wim@fluendo.com>
21127 * check/Makefile.am:
21128 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21132 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21133 (gst_segment_set_seek), (gst_segment_set_newsegment),
21134 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21135 (gst_segment_clip):
21136 * gst/gstsegment.h:
21137 Added segment helper structure and methods. Not fully implemented
21139 Added segment check.
21141 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21143 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21144 Add a deserialisation test for fractions
21145 * examples/metadata/read-metadata.c: (message_loop),
21146 (make_pipeline), (main):
21147 Fix up metadata reading sample.
21148 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21150 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21151 Don't try and fixate empty caps
21152 * gst/gst_private.h:
21153 Wrap in G_BEGIN_DECLS/G_END_DECLS
21154 * gst/gstvalue.c: (gst_value_collect_fraction),
21155 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21156 (gst_value_transform_string_fraction),
21157 (gst_value_compare_fraction):
21158 Add some extra guards to ensure that we don't end up
21159 with an invalid denominator of 0 in a gstfraction and
21160 that fractions always get reduced.
21162 2005-11-20 Wim Taymans <wim@fluendo.com>
21164 * docs/gst/gstreamer-sections.txt:
21166 * gst/gstelement.c:
21175 2005-11-20 Wim Taymans <wim@fluendo.com>
21177 * docs/design/part-TODO.txt:
21179 Make a proper enum of the flag.
21181 2005-11-19 Wim Taymans <wim@fluendo.com>
21183 * docs/design/part-TODO.txt:
21184 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21185 (gst_format_to_quark), (gst_format_register):
21187 * gst/gstquery.c: (_gst_query_initialize),
21188 (gst_query_type_get_name), (gst_query_type_to_quark),
21189 (gst_query_type_register):
21191 Add type to quark and type to string conversions.
21193 2005-11-19 Andy Wingo <wingo@pobox.com>
21195 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21198 2005-11-19 Wim Taymans <wim@fluendo.com>
21200 * docs/design/part-TODO.txt:
21201 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21202 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21203 (gst_bin_handle_message_func):
21205 Make message handling overridable.
21207 2005-11-19 Andy Wingo <wingo@pobox.com>
21209 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21212 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21214 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21215 is a GstClockTime. Fixes #321710.
21217 * gst/gstclock.h (GstClock): Remove offset property. Add
21218 internal_calibration and external_calibration. Fix padding. Pad
21219 also by GstClockTime so we don't run into problems.
21221 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21222 (gst_clock_get_rate_offset): Remove.
21223 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21226 * gst/gstutils.c (g_static_rec_cond_wait)
21227 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21229 * gst/gstbin.c: Remove terrible continue_state prototype.
21231 * gst/gstelement.h (gst_element_continue_state): Make public.
21233 * gst/gstelement.h:
21234 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21235 by continue_state. Fixes #319389.
21237 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21238 Really fixes #168438. However I don't see anywhere where the
21239 filter function is called... stupid GStreamer...
21241 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21242 don't have a dispose function, so it won't get called when the
21243 object is unreffed, but oh well!
21245 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21246 allows a destroy function to be set so user_data can be freed.
21248 (gst_index_set_filter): Call gst_index_set_filter_full.
21250 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21252 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21253 string should produce an error, given the lack of a way to
21254 represent NULL strings. Fixes #165650.
21257 * gst/gstvalue.c (gst_value_array_append_value)
21258 (gst_value_array_prepend_value, gst_value_array_get_size)
21259 (gst_value_array_get_value): New API, copied from
21260 gst_value_list_*, only operates on arrays.
21261 (gst_value_list_append_value, gst_value_list_prepend_value)
21262 (gst_value_list_concat, gst_value_list_get_size)
21263 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21265 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21266 init_list, because it works on both.
21267 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21268 (gst_value_copy_list_or_array): Renamed from copy_list.
21269 (gst_value_free_list_or_array): Renamed from free_list.
21270 (gst_value_collect_list_or_array): Renamed from collect_list.
21271 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21272 (gst_value_list_or_array_peek_pointer): Renamed from
21274 (_gst_value_array_value_table, _gst_value_list_value_table):
21275 Update value table functions.
21276 (gst_value_compare_list_or_array): Renamed from compare_list.
21278 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21281 * gst/gsttaglist.c:
21282 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21283 GstTagList*. Fixes #143472.
21285 * gst/gststructure.h: Clarify what the foreach/map functions can
21286 or can't do to their arguments.
21288 2005-11-18 Wim Taymans <wim@fluendo.com>
21290 * gst/gstclock.c: (gst_clock_set_calibration),
21291 (gst_clock_get_calibration):
21293 Calibration can be set with internal time equal to current
21296 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21302 2005-11-18 Andy Wingo <wingo@pobox.com>
21305 * pkgconfig/gstreamer-net.pc.in:
21306 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21307 * pkgconfig/Makefile.am: Add net pkgconfig files.
21309 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21312 * gst/gstghostpad.c:
21318 2005-11-18 Andy Wingo <wingo@pobox.com>
21320 * gst/net/gstnetclientclock.c: Turn off debugging.
21322 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21323 times connverge somewhat. Can't make a real test.
21325 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21326 integer arithmetic. Return the minimum of the domain, which can be
21327 set as "internal" for gst_clock_set_calibration.
21328 (gst_net_client_clock_observe_times): Call _set_calibration.
21329 (gst_net_client_clock_new): Call _set_calibration instead of
21332 * check/net/gstnetclientclock.c (test_functioning): Use the right
21336 * gst/gstclock.c (gst_clock_get_calibration)
21337 (gst_clock_set_calibration): New functions, obsolete the ones I
21338 added yesterday. Doh. Precision issues mean we have to extrapolate
21339 from a point in the more recent past than 1970.
21340 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21342 (gst_clock_adjust_unlocked): Use the right calibration data.
21344 2005-11-18 Edward Hervey <edward@fluendo.com>
21346 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21347 Also reset the ->current_* values in READY->PAUSED
21349 2005-11-18 Andy Wingo <wingo@pobox.com>
21351 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21352 Whoops, check the right fd. Also add some debugging.
21353 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21354 (do_linear_regression): Add a crapload of debugging. Subtract off
21355 the minimum values from the input series to discard unneeded bits.
21356 Use only int arithmetic. There is still double arithmetic when
21357 calculating the intercept that needs fixing. Return boolean to
21358 indicate success; FALSE would mean the domain or range is too
21359 great. Still needs fixes.
21361 2005-11-18 Wim Taymans <wim@fluendo.com>
21363 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21364 For the current position in stream time, we need to subtract
21367 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21368 Release lock before calling the callback function of async
21371 2005-11-18 Andy Wingo <wingo@pobox.com>
21373 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21374 Port goes all the way to MAXUINT16.
21376 * gst/net/gstnettimeprovider.c: Make the port range the same as
21377 for the kernel: 0 assigns, otherwise ports are less than
21380 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21383 * check/net/gstnetclientclock.c (test_functioning): Add the start
21386 2005-11-18 Wim Taymans <wim@fluendo.com>
21388 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21389 (gst_bin_remove_func), (bin_bus_handler):
21391 Removing a clock provider from a bin, triggers a clock lost message
21392 so that a new clock will be selected.
21393 Adding a clock to a bin triggers a clock provider message.
21394 Make sure we reselect a clock when we received a clock lost message.
21395 Keep a reference to the element that provided the clock.
21397 2005-11-18 Andy Wingo <wingo@pobox.com>
21399 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21400 the clock initially so it produces values around the base time.
21401 (gst_net_client_clock_class_init): Typo fix.
21402 (gst_net_client_clock_thread): Add note on when the socket gets
21405 2005-11-17 Wim Taymans <wim@fluendo.com>
21407 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21408 Free remote and local time arrays.
21410 2005-11-17 Wim Taymans <wim@fluendo.com>
21412 * gst/net/gstnetclientclock.c: (do_linear_regression),
21413 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21414 Fix compilation, uninitialized vars and a forgotten continue.
21416 2005-11-17 Andy Wingo <wingo@pobox.com>
21418 * check/Makefile.am (check_PROGRAMS):
21419 * check/net/gstnetclientclock.c: Add a most minimal test for the
21420 net client clock. More to come later.
21422 * gst/net/gstnet.h:
21423 * gst/net/Makefile.am: Add netclientclock.
21425 * gst/net/gstnetclientclock.h:
21426 * gst/net/gstnetclientclock.c: New files, implement an untested
21427 GstClock that takes its time from a network time provider.
21428 Implements the algorithm in network-clock.scm.
21430 * tests/network-clock.scm (*window-size*): Rename from
21432 * tests/network-clock.scm (network-time):
21433 * tests/network-clock-utils.scm (q-push): Update callers.
21435 2005-11-17 Wim Taymans <wim@fluendo.com>
21437 * gst/gstbin.c: (gst_bin_provide_clock_func),
21438 (gst_bin_sort_iterator_new):
21439 And unref the child too..
21441 2005-11-17 Wim Taymans <wim@fluendo.com>
21443 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21444 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21445 Refactor the sort iterator so it can be used while holding the
21447 Make clock selection select a clock closest to the source.
21449 2005-11-17 Michael Smith <msmith@fluendo.com>
21451 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21452 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21454 Anonymous structs are a gcc (and some other compilers) extension, so
21455 don't use them. Since this is only for ABI-compatibility, and our
21456 API/ABI freeze is over in a few days, this whole thing will only
21457 last a few days, so don't bother trying to think up a meaningful
21458 name for the struct.
21460 2005-11-17 Andy Wingo <wingo@pobox.com>
21462 * gst/gstclock.h (GstClock): Add rate and offset properties,
21463 preserving ABI stability. Add rate/offset accessors. Will file bug
21464 for the freeze break.
21466 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21467 and offset, trying to keep precision and avoiding
21468 underflow/overflow.
21469 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21470 functions. Make gst_clock_set_time_adjust obsolete.
21471 (gst_clock_set_time_adjust): Note that this function is obsolete.
21472 Will file bug soon.
21474 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21475 greppable by using GST_PADDING-1+1.
21477 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21479 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21481 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21482 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21484 * gst/gstpadtemplate.h:
21485 * gst/gstpluginfeature.h:
21486 Don't use c++ style comments in headers (#321638).
21488 2005-11-16 Andy Wingo <wingo@pobox.com>
21490 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21493 * check/net/gstnettimeprovider.c: Check to see that the time
21494 provider actually provides times. Works, yo!
21496 2005-11-16 Wim Taymans <wim@fluendo.com>
21498 * check/Makefile.am:
21501 * check/elements/fakesrc.c: (GST_START_TEST):
21502 Set element to NULL before disposing it.
21504 2005-11-16 Andy Wingo <wingo@pobox.com>
21506 * gst/net/Makefile.am:
21507 * gst/net/gstnet.h:
21508 * gst/net/gstnettimeprovider.c:
21509 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21510 provider, include it from gstnet.h, and add it to the build.
21512 * gst/net/gstnettimepacket.h:
21513 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21514 sending and receiving.
21516 2005-11-16 Wim Taymans <wim@fluendo.com>
21518 * check/Makefile.am:
21519 Enable valgrind check.
21521 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21522 (gst_fake_src_alloc_buffer):
21525 2005-11-16 Wim Taymans <wim@fluendo.com>
21527 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21528 Call parent finalize too.
21530 2005-11-16 Wim Taymans <wim@fluendo.com>
21532 * check/Makefile.am:
21533 Enable valgrind check that should work fine now.
21535 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21536 * gst/gstqueue.c: (gst_queue_init):
21537 Fix memleaks in pad allocation.
21539 2005-11-16 Andy Wingo <wingo@pobox.com>
21541 * gst/net/Makefile.am:
21542 * gst/net/gstnet.h: New part of core to hold network elements and
21543 objects. Put in core because it exposes API that applications want
21544 to use. The library is named libgstnet-tempname right now because
21545 of the existing libgstnet in gst-plugins-base. Solution is
21546 probably to rename the one in plugins-base; will file a bug for
21549 * gst/net/gstnettimeprovider.c:
21550 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21551 get_time call over the network.
21554 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21556 * check/Makefile.am:
21557 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21558 get additions shortly.
21560 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21562 * gst/gstpad.c: (gst_pad_new_from_static_template):
21564 add gst_pad_new_from_static_template functions
21565 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21566 (gst_check_setup_sink_pad):
21567 * gst/elements/gsttee.c: (gst_tee_init):
21570 2005-11-16 Wim Taymans <wim@fluendo.com>
21572 * gst/gstpad.c: (gst_pad_pause_task):
21573 Removed warning, it's not really an error either.
21575 2005-11-16 Wim Taymans <wim@fluendo.com>
21577 * gst/base/gstbasetransform.c:
21578 (gst_base_transform_prepare_output_buf),
21579 (gst_base_transform_event):
21580 Check if the caps are NULL, this can happen if the element
21581 is shutting down and the pad caps are set to NULL.
21583 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21585 * gst/elements/gsttee.c: (gst_tee_init):
21586 fix pad template leak in tee
21588 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21590 * gst/glib-compat.c: (g_value_dup_gst_object):
21591 * gst/glib-compat.h:
21592 * gst/gstpad.c: (gst_pad_set_property):
21593 use gst_object_ref when setting the pad template; this will
21594 trigger the pad template leaks on GLib 2.6 and the slaves
21596 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21598 * gst/glib-compat.c: (gst_flags_get_first_value):
21599 * gst/glib-compat.h:
21600 * gst/gstregistryxml.c:
21601 remove functions copied from GLib 2.6
21603 2005-11-16 Michael Smith <msmith@fluendo.com>
21606 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21607 do, but only breaks with newer valgrind versions. We're not a
21608 valgrind tool, we have no link-time dependencies on libcoregrind.
21610 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21612 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21614 * gst/gstmessage.h:
21617 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21619 * gst/base/gstbasesrc.c: (gst_base_src_init):
21620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21621 * gst/gstqueue.c: (gst_queue_init):
21622 * gst/gstregistryxml.c: (load_feature):
21623 Revert all these unrefs, they don't even pass make check !
21625 2005-11-15 Johan Dahlin <johan@gnome.org>
21627 * gst/base/gstbasesrc.c: (gst_base_src_init):
21628 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21629 * gst/gstqueue.c: (gst_queue_init):
21630 Free pad templates, fixes a couple of leaks.
21632 2005-11-15 Daniel Fischer <dan at f3c dot com>
21634 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21636 * gst/gstpad.c: (gst_pad_get_property):
21637 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21638 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21641 2005-11-15 Wim Taymans <wim@fluendo.com>
21646 2005-11-15 Andy Wingo <wingo@pobox.com>
21648 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21650 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21651 using GST_CLOCK_TIME_NONE to disable base time management.
21652 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21653 time if it was NONE before.
21654 (gst_pipeline_change_state): Only munge the base time if
21655 stream_time != GST_CLOCK_TIME_NONE.
21657 * check/gst/gstpipeline.c (test_base_time): Punt around the
21658 problem of the probe not being called, because that's not the
21659 issue I'm looking at. Add a check that setting stream_time to NONE
21660 disables base time management.
21662 2005-11-15 Wim Taymans <wim@fluendo.com>
21664 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21665 segment_stop == -1 at startup.
21667 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21668 (gst_base_transform_change_state):
21669 Init segment values at start.
21671 2005-11-15 Wim Taymans <wim@fluendo.com>
21673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21674 0 segment values are 0 in any format.
21676 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21677 * gst/base/gstbasetransform.h:
21678 Parse newsegment correctly in basetransform
21680 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21681 Sync to clock using updated segment values.
21683 2005-11-15 Andy Wingo <wingo@pobox.com>
21685 * check/gst/gstpipeline.c (test_base_time): Add check that the
21686 base time and stream time are reset correctly.
21688 2005-11-15 Wim Taymans <wim@fluendo.com>
21690 * docs/design/part-TODO.txt:
21691 Some more TODO items.
21693 2005-11-15 Andy Wingo <wingo@pobox.com>
21695 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21696 error if the user selected "no clock" as the clocking method.
21698 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21699 timestamps with live capture.
21701 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21702 is 0 but we are a live source, timestamp the buffers using the
21705 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21707 * docs/gst/gstreamer-sections.txt:
21709 * gst/gstghostpad.c:
21714 2005-11-14 Wim Taymans <wim@fluendo.com>
21717 add suppressions from Wim's Debian machine
21719 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21722 add suppressions from Andy's AMD64 Ubuntu machine
21724 2005-11-14 Andy Wingo <wingo@pobox.com>
21726 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21727 STATE_LOCK not necessary. Fixes #311489.
21729 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21732 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21733 this function is not implemented.
21735 2005-11-14 Julien MOUTTE <julien@moutte.net>
21737 * gst/base/gstbasetransform.c:
21738 (gst_base_transform_prepare_output_buf):
21739 Ref the source pad caps while we need them.
21742 2005-11-11 Wim Taymans <wim@fluendo.com>
21744 * docs/gst/gstreamer-sections.txt:
21745 Added some docs for GstCollectData.
21747 * gst/base/gstadapter.c:
21748 Some small code example fix.
21750 * gst/base/gstcollectpads.c:
21751 * gst/base/gstcollectpads.h:
21752 Document some more.
21754 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21756 * configure.ac: back to HEAD
21758 === release 0.9.5 ===
21760 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21763 releasing 0.9.5, "Bike Lunch Day"
21765 2005-11-11 Wim Taymans <wim@fluendo.com>
21767 * gst/gstbuffer.c: (_gst_buffer_copy):
21770 * gst/gstcaps.c: (gst_caps_is_equal):
21772 Make _is_equal fast in the trivial cases.
21774 * gst/gstminiobject.c:
21775 * gst/gstminiobject.h:
21776 More docs. Spifify .h file.
21781 2005-11-11 Wim Taymans <wim@fluendo.com>
21783 * gst/base/gstbasetransform.c:
21784 (gst_base_transform_prepare_output_buf),
21785 (gst_base_transform_handle_buffer):
21787 If we're processing a buffer and need to allocate an output
21788 buffer, we cannot accept a format change. If we did get a
21789 format change, we have to alloc a buffer ourselves of the
21792 2005-11-11 Wim Taymans <wim@fluendo.com>
21794 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21795 While checking the flag for reentrancy in the gstcaps function
21796 is nice to detect recursive invocations, it also makes it
21797 impossible to call getcaps from multiple threads, which must be
21798 possible. So, checking for recursive calls has to go.
21800 2005-11-11 Michael Smith <msmith@fluendo.com>
21802 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21803 Don't sync on buffers that fall partially outside our current
21804 segment. Prevents an assertion failure/abort playing some files.
21806 2005-11-10 Andy Wingo <wingo@pobox.com>
21808 * check/gst/gstbin.c (test_message_state_changed_children): Style
21811 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21812 gst_bus_poll with the signal watch. Ensures that poll and a signal
21813 watch see the same messages.
21815 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21816 a poll and a watch at the same time get the same messages.
21818 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21820 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21821 * gst/gstcaps.c: (gst_caps_intersect):
21822 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21823 and it's not needed.
21825 2005-11-10 Wim Taymans <wim@fluendo.com>
21827 * docs/design/part-TODO.txt:
21830 2005-11-10 Wim Taymans <wim@fluendo.com>
21832 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21833 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21834 (gst_base_src_do_sync), (gst_base_src_get_range):
21835 Implement clock sync in base class.
21837 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21839 patch by: Tim-Philipp Müller <tim at centricular dot net>
21841 * gst/gststructure.c: (gst_structure_parse_field),
21842 (gst_structure_from_string):
21843 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21844 so that gst_parse_launch() can deal with spaces in filtered link
21845 caps (fixes #164479)
21846 * check/gst/capslist.h:
21847 * check/gst/gststructure.c: (GST_START_TEST):
21848 add unit tests for this change
21850 2005-11-10 Wim Taymans <wim@fluendo.com>
21852 * docs/gst/gstreamer-sections.txt:
21853 * gst/gstelement.c:
21854 * gst/gstelement.h:
21855 Fix docs, move some STATE macros to private.
21857 2005-11-10 Wim Taymans <wim@fluendo.com>
21859 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21860 Added check for bug #317341
21864 Some more spiffifying.
21866 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21867 Call peer linkfunction if we are a source pad. Totally fixes
21871 Update docs, source pads should call the peer linkfunction
21872 so they can atomically perform the pad link.
21874 2005-11-09 Wim Taymans <wim@fluendo.com>
21878 Uber-spiffy-spiffify some more.
21880 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21882 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21883 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21884 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21885 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21886 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21887 * gst/gstpad.c: (gst_pad_init):
21888 Use GST_DEBUG_FUNCPTR() more extensively.
21890 2005-11-09 Wim Taymans <wim@fluendo.com>
21892 * gst/gstobject.c: (gst_object_class_init):
21894 Documentation fixes.
21896 2005-11-09 Edward Hervey <edward@fluendo.com>
21898 * gst/gsttypefindfactory.c:
21901 2005-11-09 Edward Hervey <edward@fluendo.com>
21903 * gst/base/gsttypefindhelper.c:
21904 * gst/gsttypefind.c:
21905 * gst/gsttypefind.h:
21908 2005-11-09 Wim Taymans <wim@fluendo.com>
21910 * gst/gstiterator.c:
21917 2005-11-09 Wim Taymans <wim@fluendo.com>
21923 2005-11-09 Wim Taymans <wim@fluendo.com>
21925 * docs/gst/gstreamer-sections.txt:
21926 Moved the message async delivery private lock and cond
21927 to the private section.
21929 * gst/gstmessage.c:
21930 * gst/gstmessage.h:
21933 2005-11-09 Edward Hervey <edward@fluendo.com>
21935 * docs/gst/gstreamer-sections.txt:
21938 Document GstURIHandler
21940 2005-11-09 Wim Taymans <wim@fluendo.com>
21942 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21943 (gst_iterator_find_custom):
21944 * gst/gstiterator.h:
21947 2005-11-09 Wim Taymans <wim@fluendo.com>
21950 Document another field.
21952 * gst/gststructure.c:
21953 * gst/gststructure.h:
21956 2005-11-09 Wim Taymans <wim@fluendo.com>
21959 Documented structs.
21961 2005-11-09 Wim Taymans <wim@fluendo.com>
21963 * docs/gst/gstreamer-sections.txt:
21964 Added some new macros.
21971 2005-11-09 Wim Taymans <wim@fluendo.com>
21973 * docs/design/part-TODO.txt:
21974 Some more items for the TODO
21980 2005-11-09 Andy Wingo <wingo@pobox.com>
21982 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21983 to work on something else now tho...
21985 * gst/base/gstadapter.c: More adapter docs.
21987 * gst/elements/gstfilesink.c (gst_file_sink_start)
21988 (gst_file_sink_stop): New functions, replace the state change
21990 (gst_file_sink_class_init): Hook up the start and stop functions.
21991 (gst_file_sink_base_init): Don't set the state change handler any
21992 more. It was a bit ugly too, being set from here...
21993 (gst_file_sink_get_property, gst_file_sink_set_property):
21995 (gst_file_sink_set_location): More robust check that doesn't call
21996 GST_STATE. Ugggggg.
21998 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
22000 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22001 Hold STREAM_LOCK while pushing newsegment or tag events as well.
22003 2005-11-08 Wim Taymans <wim@fluendo.com>
22005 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22006 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22007 (gst_base_sink_chain), (gst_base_sink_change_state):
22008 * gst/base/gstbasesink.h:
22009 * gst/base/gstbasesrc.h:
22010 * gst/gstelement.h:
22012 Avoid excessive typechecking in macros.
22014 * gst/gstminiobject.c: (gst_mini_object_get_type),
22015 (gst_mini_object_init), (gst_mini_object_new),
22016 (gst_mini_object_free):
22017 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22018 (gst_object_finalize):
22019 Remove cruft code, optimize alloc_trace.
22021 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
22023 * docs/faq/gst-uninstalled:
22024 fix up PS1 for systems that try to reset it
22026 2005-11-07 Wim Taymans <wim@fluendo.com>
22028 * gst/base/gstbasesrc.c: (gst_base_src_init),
22029 (gst_base_src_get_range):
22030 Set the segment_end to -1 initially. Fixed typefind.
22032 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
22034 * gst/base/gstadapter.c:
22035 Debug category should be 'adapter', not 'GstAdapter'.
22037 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22038 (gst_collectpads_class_init), (gst_collectpads_init),
22039 (gst_collectpads_peek), (gst_collectpads_pop),
22040 (gst_collectpads_event), (gst_collectpads_chain):
22041 Add debug category and some debugging output. Use boilerplate
22042 macros. Remove some extraneous words from docs.
22044 2005-11-05 Andy Wingo <wingo@pobox.com>
22046 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22049 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22051 * docs/gst/gstreamer-sections.txt:
22054 * gst/gstminiobject.h:
22059 2005-11-04 Wim Taymans <wim@fluendo.com>
22061 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22062 Small update to stop at the configured segment_end
22065 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22067 * gst/gstregistry.c:
22068 * gst/gstregistry.h:
22071 2005-11-04 Edward Hervey <edward@fluendo.com>
22073 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22074 Check if we are doing a segment seek and have arrived at the
22075 end of that segment.
22077 2005-11-04 Wim Taymans <wim@fluendo.com>
22079 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22080 Don't leak a mutex unlock in case of an error.
22085 2005-11-04 Wim Taymans <wim@fluendo.com>
22087 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22089 Get the context to wake up only once.
22091 2005-11-03 Wim Taymans <wim@fluendo.com>
22093 * check/states/sinks.c: (GST_START_TEST):
22094 Uncomment fixed check.
22096 * docs/design/part-TODO.txt:
22099 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22100 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22101 (gst_base_sink_get_position):
22102 If we are going to PLAYING, post the right pending state
22103 when we post the intermediate paused message.
22105 * gst/gstelement.c: (gst_element_continue_state),
22106 (gst_element_set_state_func), (gst_element_change_state):
22107 Don't post state changes that were between the same state
22108 and were not ASYNC.
22110 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22112 * docs/gst/gstreamer-sections.txt:
22115 * gst/gstminiobject.h:
22118 more docs and doc style fixes
22120 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22122 * docs/gst/gstreamer-sections.txt:
22123 * gst/gstelement.c:
22124 * gst/gstminiobject.c:
22127 2005-11-03 Andy Wingo <wingo@pobox.com>
22129 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22130 state-changed messages actually have the right order and the right
22133 2005-11-03 Wim Taymans <wim@fluendo.com>
22135 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22136 Added some more checks. Specifically the case where NO_PREROLL
22137 elements are in the pipeline.
22139 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22140 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22141 (gst_base_sink_get_position):
22142 Post READY->PAUSED state change messages too.
22143 Fix bug where VOID was posted as pending state...
22145 * gst/gstbin.c: (gst_bin_recalc_state):
22146 use _element_continue_state() to continue the state change.
22148 * gst/gstelement.c: (gst_element_continue_state),
22149 (gst_element_commit_state), (gst_element_set_state_func),
22150 (gst_element_change_state), (gst_element_change_state_func):
22151 Lots of state change cleanups, assign the STATE_RETURN in
22152 a new continue_state() function that also propagates the
22153 last return value from a state change to the app.
22154 Update some debug statements with proper category.
22156 2005-11-03 Wim Taymans <wim@fluendo.com>
22158 * docs/design/part-events.txt:
22159 * docs/design/part-gstpipeline.txt:
22160 * docs/design/part-messages.txt:
22161 * docs/design/part-overview.txt:
22162 * docs/design/part-seeking.txt:
22163 * docs/design/part-states.txt:
22164 * docs/design/part-trickmodes.txt:
22165 * docs/manual/advanced-position.xml:
22166 Small docs updates.
22169 People think !! is ugly, this looks better.
22171 * gst/gstpad.c: (gst_pad_set_blocked_async):
22172 Remove !! since it's fixed elsewhere now.
22174 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22176 * gst/gstminiobject.h:
22178 Add !! to _FLAG_IS_SET macros to make the result boolean.
22180 2005-11-03 Edward Hervey <edward@fluendo.com>
22182 * gst/gstpad.c: (gst_pad_set_blocked_async):
22183 comparing a flag and a gboolean rarely returns coherent results...
22184 Added two characters (!!) to make that work correctly.
22186 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22188 * gst/gstbus.c: (gst_bus_class_init):
22191 * gst/gstqueue.c: (gst_queue_loop):
22192 Don't assume a miniobject that isn't a buffer is an
22193 event (it could be that there is a refcounting
22194 problem somewhere and the pointer is stale and
22195 refers to an already destroyed miniobject).
22197 2005-11-03 Julien MOUTTE <julien@moutte.net>
22199 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22201 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22203 * docs/manual/advanced-position.xml:
22204 Update seek example and explanations to current 0.9 API.
22206 * gst/elements/gsttypefindelement.c:
22207 (gst_type_find_element_activate):
22208 Remove FIXME comment now that the found caps
22211 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22213 * gst/gstregistryxml.c: (load_feature):
22214 Add another GST_STR_NULL instance
22216 2005-11-02 Edward Hervey <edward@fluendo.com>
22218 * gst/gstpad.c: (handle_pad_block):
22219 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22221 2005-11-02 Wim Taymans <wim@fluendo.com>
22226 * gst/gstelement.c: (gst_element_commit_state):
22227 Remove unused value.
22229 * gst/gstiterator.c:
22230 Mention that the returned element is reffed in the docs.
22232 2005-11-02 Wim Taymans <wim@fluendo.com>
22234 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22235 (gst_pad_push), (gst_pad_push_event):
22236 Unlock blocked pads when they are flushed.
22238 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22241 * docs/gst/gstreamer-sections.txt:
22244 * gst/gstregistry.c: (gst_registry_scan_path_level):
22245 fix for a nasty little missed situation where an installed plug-in
22246 which was in the cache did not get overridden by an uninstalled one
22247 which was earlier in the plugin path because the newly created plugin
22248 for the uninstalled one (not in the registry) didn't get its
22249 ->registered set to TRUE
22251 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22253 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22254 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22255 (gst_collectpads_is_active), (gst_collectpads_collect),
22256 (gst_collectpads_collect_range), (gst_collectpads_start),
22257 (gst_collectpads_stop), (gst_collectpads_peek),
22258 (gst_collectpads_pop), (gst_collectpads_available),
22259 (gst_collectpads_read), (gst_collectpads_flush):
22260 Guard public API with assertions.
22263 Fix docs for gst_pad_set_link_function().
22265 2005-11-02 Johan Dahlin <johan@gnome.org>
22267 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22268 Unref found_caps after we used it.
22270 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22272 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22273 Don't try to ref NULL.
22275 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22277 * win32/common/config.h.in:
22278 provide a GST_FUNCTION that just gives a string for now
22280 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22282 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22283 (gst_object_flags_get_type), (register_gst_bin_flags),
22284 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22285 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22286 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22287 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22288 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22289 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22290 (gst_clock_flags_get_type), (register_gst_state),
22291 (gst_state_get_type), (register_gst_state_change_return),
22292 (gst_state_change_return_get_type), (register_gst_state_change),
22293 (gst_state_change_get_type), (register_gst_element_flags),
22294 (gst_element_flags_get_type), (register_gst_core_error),
22295 (gst_core_error_get_type), (register_gst_library_error),
22296 (gst_library_error_get_type), (register_gst_resource_error),
22297 (gst_resource_error_get_type), (register_gst_stream_error),
22298 (gst_stream_error_get_type), (register_gst_event_type),
22299 (gst_event_type_get_type), (register_gst_seek_type),
22300 (gst_seek_type_get_type), (register_gst_seek_flags),
22301 (gst_seek_flags_get_type), (register_gst_format),
22302 (gst_format_get_type), (register_gst_index_certainty),
22303 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22304 (gst_index_entry_type_get_type),
22305 (register_gst_index_lookup_method),
22306 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22307 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22308 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22309 (gst_index_flags_get_type), (register_gst_debug_level),
22310 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22311 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22312 (gst_iterator_result_get_type), (register_gst_iterator_item),
22313 (gst_iterator_item_get_type), (register_gst_message_type),
22314 (gst_message_type_get_type), (register_gst_mini_object_flags),
22315 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22316 (gst_pad_link_return_get_type), (register_gst_flow_return),
22317 (gst_flow_return_get_type), (register_gst_activate_mode),
22318 (gst_activate_mode_get_type), (register_gst_pad_direction),
22319 (gst_pad_direction_get_type), (register_gst_pad_flags),
22320 (gst_pad_flags_get_type), (register_gst_pad_presence),
22321 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22322 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22323 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22324 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22325 (gst_plugin_flags_get_type), (register_gst_rank),
22326 (gst_rank_get_type), (register_gst_query_type),
22327 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22328 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22329 (gst_tag_flag_get_type), (register_gst_task_state),
22330 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22331 (gst_alloc_trace_flags_get_type),
22332 (register_gst_type_find_probability),
22333 (gst_type_find_probability_get_type), (register_gst_uri_type),
22334 (gst_uri_type_get_type), (register_gst_parse_error),
22335 (gst_parse_error_get_type):
22336 * win32/common/gstversion.h:
22337 update win32 copies
22339 2005-11-01 Luca Ognibene <luogni@tin.it>
22342 fix docs. popt is dead, long live GOption.
22344 2005-10-31 Wim Taymans <wim@fluendo.com>
22349 2005-10-31 Andy Wingo <wingo@pobox.com>
22353 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22355 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22356 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22357 the possibility of deadlocks here if code calling notify() or
22358 set() has a lock that can be taken in another notify handler (ABBA
22359 with class lock and e.g. python GIL state lock).
22361 2005-10-28 Julien MOUTTE <julien@moutte.net>
22363 * gst/gstbus.c: Doc updates.
22365 2005-10-28 Wim Taymans <wim@fluendo.com>
22367 * docs/design/part-TODO.txt:
22368 * gst/gstiterator.c:
22369 * gst/gstsystemclock.c:
22370 * gst/gstsystemclock.h:
22373 2005-10-28 Edward Hervey <edward@fluendo.com>
22375 * docs/gst/gstreamer-docs.sgml:
22376 * docs/gst/gstreamer-sections.txt:
22377 the GstURIType documentation page is private, it only defines GstURIType
22378 which should be defined in the GstURIHandler page
22380 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22382 * gst/gstbin.c: (gst_bin_class_init):
22385 Documentation updates.
22387 2005-10-28 Wim Taymans <wim@fluendo.com>
22389 * docs/gst/gstreamer-sections.txt:
22392 Documented the clocks.
22394 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22396 * docs/gst/gstreamer-sections.txt:
22397 move some macros to private sections
22398 * gst/gstminiobject.c:
22399 * gst/gstminiobject.h:
22400 add descriptions provided by ds and some more
22402 mark macro as to be removed
22404 2005-10-28 Wim Taymans <wim@fluendo.com>
22406 * docs/design/part-TODO.txt:
22407 Add an item to TODO.
22409 * gst/gstiterator.c: (gst_iterator_fold),
22410 (gst_iterator_find_custom):
22411 * gst/gstiterator.h:
22414 2005-10-28 Wim Taymans <wim@fluendo.com>
22416 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22417 (gst_base_transform_init):
22420 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22421 An EOS event marks the queue as completely filled.
22423 2005-10-27 Wim Taymans <wim@fluendo.com>
22425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22426 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22427 Some more debugging.
22429 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22430 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22431 (gst_base_transform_event), (gst_base_transform_getrange),
22432 (gst_base_transform_chain):
22433 * gst/base/gstbasetransform.h:
22435 Protect transform and concurrent buffer alloc with a new lock.
22436 Try not to break ABI/API.
22438 2005-10-27 Wim Taymans <wim@fluendo.com>
22440 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22441 (gst_base_src_init), (gst_base_src_query),
22442 (gst_base_src_default_newsegment),
22443 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22444 (gst_base_src_send_event), (gst_base_src_event_handler),
22445 (gst_base_src_pad_get_range), (gst_base_src_loop),
22446 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22447 (gst_base_src_start), (gst_base_src_deactivate),
22448 (gst_base_src_activate_push), (gst_base_src_change_state):
22449 Move some stuff around and cleanup things.
22451 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22453 * gst/base/gstbasesrc.c: (gst_base_src_query):
22454 Add missing break statements.
22456 2005-10-27 Wim Taymans <wim@fluendo.com>
22458 * check/gst/gstbin.c: (GST_START_TEST):
22459 An extra refcount is taken in basesrc.
22461 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22462 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22463 (gst_base_src_loop):
22464 Small cleanups, check for flushing after being unlocked from the
22465 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22466 Don't send out EOS when going to READY.
22468 2005-10-27 Wim Taymans <wim@fluendo.com>
22470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22471 (gst_base_sink_get_position):
22474 * gst/gstbin.c: (message_check), (bin_replace_message),
22475 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22476 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22477 (bin_query_duration_init), (bin_query_duration_fold),
22478 (bin_query_duration_done), (bin_query_generic_fold),
22480 * tools/gst-launch.c: (main):
22483 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22485 * examples/controller/audio-example.c: (main):
22486 * examples/queue/queue.c: (event_loop):
22487 * gst/base/gstbasetransform.h:
22488 * gst/gstelement.c: (gst_element_send_event):
22490 * gst/gstpad.c: (gst_pad_send_event):
22493 changing log priority in error situations
22495 2005-10-25 Wim Taymans <wim@fluendo.com>
22497 * gst/gstbin.c: (message_check), (bin_replace_message),
22498 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22499 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22500 (bin_query_duration_init), (bin_query_duration_fold),
22501 (bin_query_duration_done), (bin_query_generic_fold),
22503 Some doc and debug updates.
22504 Cache previously requested query DURATION for speed. invalidate
22505 cached duration if element posts a DURATION message.
22507 2005-10-25 Wim Taymans <wim@fluendo.com>
22509 * docs/design/part-TODO.txt:
22512 * gst/gstbin.c: (message_check), (bin_replace_message),
22513 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22514 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22515 (bin_query_duration_init), (bin_query_duration_fold),
22516 (bin_query_duration_done), (bin_query_generic_fold),
22518 Handle SEGMENT_START/DONE messages correctly.
22519 More evolved query algorithm that handles duration queries
22522 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22523 (gst_element_get_state_func), (gst_element_abort_state),
22524 (gst_element_commit_state), (gst_element_lost_state):
22525 Some more debugging.
22527 * gst/gstmessage.h:
22530 2005-10-25 Wim Taymans <wim@fluendo.com>
22532 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22533 Don't use invalid stream_time.
22535 * gst/gstevent.c: (gst_event_new_newsegment):
22536 stream_time in newsegment cannot be undefined.
22538 2005-10-24 Wim Taymans <wim@fluendo.com>
22543 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22545 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22547 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22549 * docs/libs/tmpl/gstdparam.sgml:
22550 * docs/libs/tmpl/gstdplinint.sgml:
22551 * docs/libs/tmpl/gstdpman.sgml:
22552 * docs/libs/tmpl/gstdpsmooth.sgml:
22553 * docs/libs/tmpl/gstunitconvert.sgml:
22556 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22561 === release 0.9.4 ===
22563 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22566 releasing 0.9.4, "Tyrannosaurus Rex"
22568 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22570 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22571 (gst_file_sink_get_current_offset):
22572 Use fseeko() and ftello() if available. When falling back on
22573 lseek() to get the current offset, fflush() first to make sure
22574 everything is up-to-date and we get the right offset.
22576 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22579 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22580 * gst/gsterror.c: (_gst_stream_errors_init):
22582 * gst/gstqueue.c: (gst_queue_loop):
22584 remove prematurely added error category and clean up the instances
22586 2005-10-21 Wim Taymans <wim@fluendo.com>
22588 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22589 (gst_base_sink_get_position), (gst_base_sink_query),
22590 (gst_base_sink_change_state):
22591 Simply set the right flag when going to playing, that's all
22592 we need to do instead of calling a function inside the object
22593 lock (that could take the lock as well and deadlock)
22595 2005-10-21 Wim Taymans <wim@fluendo.com>
22597 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22598 (gst_base_src_loop):
22599 Don't warn, the peer element knows what to do best when
22600 the seek failed, it might try something else.
22602 2005-10-21 Wim Taymans <wim@fluendo.com>
22604 * gst/base/gstbasesrc.c: (gst_base_src_init),
22605 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22608 2005-10-21 Wim Taymans <wim@fluendo.com>
22610 * docs/design/part-segments.txt:
22613 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22614 Correctly set caps, even on the subbufer.
22616 2005-10-21 Wim Taymans <wim@fluendo.com>
22618 * docs/gst/gstreamer-docs.sgml:
22619 * docs/gst/gstreamer-sections.txt:
22620 * gst/gstelement.h:
22623 * gst/gstmessage.h:
22626 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22630 And 2% more doc coverage.
22632 2005-10-21 Andy Wingo <wingo@pobox.com>
22634 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22635 position reporting.
22637 2005-10-20 Wim Taymans <wim@fluendo.com>
22639 * gst/gsterror.c: (gst_error_get_message):
22642 * gst/gststructure.c:
22647 2005-10-20 Wim Taymans <wim@fluendo.com>
22652 Another 1% more coverage.
22654 2005-10-20 Wim Taymans <wim@fluendo.com>
22656 * docs/gst/gstreamer-sections.txt:
22657 * gst/gstelement.c: (gst_element_get_state_func),
22658 (gst_element_abort_state), (gst_element_commit_state),
22659 (gst_element_lost_state):
22661 * gst/gstquery.c: (gst_query_set_position),
22662 (gst_query_parse_position), (gst_query_set_duration),
22663 (gst_query_parse_duration), (gst_query_new_convert):
22665 Yay! 1% more docs coverage.
22667 2005-10-20 Wim Taymans <wim@fluendo.com>
22670 * gst/gstquery.c: (gst_query_set_position),
22671 (gst_query_parse_position), (gst_query_set_duration),
22672 (gst_query_parse_duration), (gst_query_new_convert):
22674 * gst/gstutils.c: (gst_element_query_convert):
22676 Docs and consistency fixes.
22678 2005-10-20 Wim Taymans <wim@fluendo.com>
22684 2005-10-20 Wim Taymans <wim@fluendo.com>
22686 * gst/gstbin.c: (message_check), (bin_replace_message),
22687 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22688 (update_degree), (gst_bin_sort_iterator_next),
22689 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22690 Reworked the message handling a bit, cache the messages instead of
22691 only the senders. alows us to do more in the future.
22693 2005-10-20 Wim Taymans <wim@fluendo.com>
22695 * docs/design/part-TODO.txt:
22698 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22699 (gst_base_sink_query):
22700 Don't use clock time to report position when in EOS.
22702 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22704 * tools/gst-inspect.c: (print_interfaces),
22705 (print_element_properties_info), (print_element_info):
22706 Fix interface output with gst-inspect -a; don't print
22707 newlines after double/float properties.
22709 2005-10-20 Wim Taymans <wim@fluendo.com>
22711 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22712 (gst_base_sink_query):
22713 Speed up current position calculation.
22715 * gst/base/gstbasesrc.c: (gst_base_src_query),
22716 (gst_base_src_default_newsegment):
22717 Correctly set stream position in newsegment.
22719 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22720 (update_degree), (gst_bin_sort_iterator_next),
22721 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22722 * gst/gstmessage.c: (gst_message_new_custom):
22723 Clean up debugging info
22725 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22726 (gst_queue_loop), (gst_queue_handle_src_query):
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 Fix query handling again.
22735 2005-10-19 Wim Taymans <wim@fluendo.com>
22737 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22738 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22739 * gst/base/gstbasesrc.c: (gst_base_src_query):
22740 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22741 * gst/elements/gsttypefindelement.c:
22742 (gst_type_find_handle_src_query), (find_element_get_length),
22743 (gst_type_find_element_activate):
22746 * gst/gstquery.c: (gst_query_new_position),
22747 (gst_query_set_position), (gst_query_parse_position),
22748 (gst_query_new_duration), (gst_query_set_duration),
22749 (gst_query_parse_duration), (gst_query_set_segment),
22750 (gst_query_parse_segment):
22752 Bundling query position/duration is not a good idea since duration
22753 does not change much and we don't want to recalculate it for every
22754 position query, so they are separated again..
22755 Base value in segment query is not needed.
22757 * gst/gstqueue.c: (gst_queue_handle_src_query):
22758 * gst/gstutils.c: (gst_element_query_position),
22759 (gst_element_query_duration), (gst_pad_query_position),
22760 (gst_pad_query_duration):
22762 Updates for query API change.
22763 Added some docs here and there.
22765 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22767 * check/gst/gstbin.c: (GST_START_TEST):
22768 * check/gst/gstghostpad.c: (GST_START_TEST):
22769 * check/pipelines/cleanup.c: (GST_START_TEST):
22770 wait on thread to die so we can check refcount correctly
22772 2005-10-18 Wim Taymans <wim@fluendo.com>
22774 * check/pipelines/stress.c: (GST_START_TEST):
22775 Make check a little more time consuming.
22777 2005-10-18 Wim Taymans <wim@fluendo.com>
22779 * check/Makefile.am:
22780 * check/pipelines/stress.c: (GST_START_TEST),
22781 (simple_launch_lines_suite), (main):
22782 Small state change torture test.
22784 * docs/design/part-states.txt:
22785 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22786 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22787 (gst_base_sink_change_state):
22788 Never take state lock from streaming thread, clean up ugly
22789 hacks. Unfortunatly core does not yet support nice ways to
22790 async commit state.
22792 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22794 Start state recalc if a STATE_DIRTY message is posted, but only
22795 on the toplevel bin.
22797 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22798 (gst_element_get_state_func), (gst_element_abort_state),
22799 (gst_element_commit_state), (gst_element_lost_state),
22800 (gst_element_set_state_func), (gst_element_change_state):
22801 * gst/gstelement.h:
22802 State variables are now protected with the LOCK, the state
22803 lock is only used to serialize _set_state().
22805 2005-10-18 Wim Taymans <wim@fluendo.com>
22807 * check/gst/gstbin.c: (GST_START_TEST):
22808 * check/gst/gstmessage.c: (GST_START_TEST):
22809 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22810 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22812 * gst/gstelement.c: (gst_element_abort_state),
22813 (gst_element_commit_state), (gst_element_lost_state):
22814 * gst/gstmessage.c: (gst_message_new_state_changed),
22815 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22816 (gst_message_new_segment_done), (gst_message_new_duration),
22817 (gst_message_parse_state_changed),
22818 (gst_message_parse_segment_start),
22819 (gst_message_parse_segment_done), (gst_message_parse_duration):
22820 * gst/gstmessage.h:
22821 * tools/gst-launch.c: (event_loop):
22822 Seriously, this is better than a previous commit as we only need
22823 to notify the fact that an element changed state in a streaming
22824 thread, marking the state of the parents dirty, hence the
22825 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22828 2005-10-18 Wim Taymans <wim@fluendo.com>
22830 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22831 (gst_bin_recalc_func):
22832 * gst/gstelement.c: (gst_element_set_clock),
22833 (gst_element_abort_state), (gst_element_lost_state):
22834 Cleanups, prepare for state change fixes.
22836 2005-10-18 Wim Taymans <wim@fluendo.com>
22839 * gst/gstelement.c: (gst_element_class_init),
22840 (gst_element_set_state), (gst_element_set_state_func):
22841 * gst/gstelement.h:
22842 Pending ABI changes.
22843 GThreadPool in GstBinClass to monitor async state changes.
22844 state_cookie in GstElement to detect concurrent gst/set state.
22845 set_state is now virtual too in case a very complicated element
22846 has to be constructed.
22848 2005-10-18 Wim Taymans <wim@fluendo.com>
22850 * check/gst/gstbin.c: (GST_START_TEST):
22851 * check/gst/gstmessage.c: (GST_START_TEST):
22852 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22853 * gst/gstbin.c: (bin_bus_handler):
22854 * gst/gstelement.c: (gst_element_commit_state),
22855 (gst_element_lost_state):
22856 * gst/gstmessage.c: (gst_message_new_state_changed),
22857 (gst_message_new_segment_start), (gst_message_new_segment_done),
22858 (gst_message_new_duration), (gst_message_parse_state_changed),
22859 (gst_message_parse_segment_start),
22860 (gst_message_parse_segment_done), (gst_message_parse_duration):
22861 * gst/gstmessage.h:
22862 * tools/gst-launch.c: (event_loop):
22863 Make messages future proof.
22864 state-change gets a flag if it was a message comming from the
22866 segment-start/stop can also be specified in other formats.
22867 A message to notify an app that a pipeline changed playback
22869 Also fix a GstMessage leak in -launch
22871 2005-10-18 Andy Wingo <wingo@pobox.com>
22873 * gst/gstelement.c (gst_element_dispose): More helpful message.
22875 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22877 reviewed by: <delete if not using a buddy>
22879 * common/gtk-doc.mak:
22881 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22883 * gst/gstregistry.c: (gst_registry_scan_path_level):
22884 unref a plug-in we get that was already initialized
22886 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22888 * docs/gst/gstreamer-sections.txt:
22889 * docs/libs/gstreamer-libs-sections.txt:
22890 * gst/gstelement.h:
22891 add new api entries
22892 hide internal macro
22894 2005-10-17 Andy Wingo <wingo@pobox.com>
22896 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22899 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22901 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22903 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22904 (gst_element_get_state_func): Better debug message.
22905 (gst_element_commit_state): s/INFO/DEBUG/.
22906 (gst_element_lost_state, gst_element_change_state):
22908 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22909 (gst_message_new_custom): s/INFO/LOG/.
22911 2005-10-17 Michael Smith <msmith@fluendo.com>
22913 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22914 Check if end time is valid using end time, not start time.
22916 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22918 * check/gst-libs/controller.c: (GST_START_TEST),
22919 (gst_controller_suite):
22920 * libs/gst/controller/gstcontroller.c:
22921 (gst_controlled_property_set_interpolation_mode):
22922 * libs/gst/controller/gstcontroller.h:
22923 * libs/gst/controller/gstinterpolation.c:
22924 * testsuite/controller/.cvsignore:
22925 * testsuite/controller/Makefile.am:
22926 * testsuite/controller/interpolator.c:
22927 merge controller testsuites
22929 remove mem-chunk from docs
22931 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22933 * gst/gstmemchunk.c:
22934 * gst/gstmemchunk.h:
22935 * gst/gsttrashstack.c:
22936 * gst/gsttrashstack.h:
22937 out. get out. you're fired. to the Attic !
22939 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22941 * gst/gstcaps.c: (gst_caps_intersect):
22942 fix signedness issues in a (hopefully) correct way
22943 * gst/gstelement.c: (gst_element_pads_activate):
22945 * gst/gstobject.c: (gst_object_set_parent):
22948 2005-10-17 Julien MOUTTE <julien@moutte.net>
22950 * gst/gstvalue.h: Fix prototypes.
22952 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22954 * docs/gst/gstreamer-sections.txt:
22955 * gst/gst.c: (gst_version_string):
22957 * gst/gstversion.h.in:
22958 * win32/common/libgstreamer.def:
22959 add gst_version_string ()
22961 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22965 * gst/gst.c: (init_post):
22966 * win32/common/config.h.in:
22968 * gst/gstcaps.c: (gst_caps_intersect):
22969 use gint64, the range could be bigger than a guint
22971 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22974 document potential problem in 2038
22976 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22978 * gst/gstcaps.c: (gst_caps_intersect):
22979 Fix guint j diving under 0
22981 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22984 * win32/common/config.h:
22985 * win32/common/config.h.in:
22986 check for process.h, declares getpid() on Windows
22988 include process.h if we have it
22989 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22990 * gst/gstmemchunk.h:
22991 fix signedness issues
22992 * win32/common/libgstreamer.def:
22995 2005-10-16 Julien MOUTTE <julien@moutte.net>
22997 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22998 fix. Because of unsigned ints, caps intersection was going nuts and
22999 trying to access structures with G_MAXUINT index. That fixes
23000 videotestsrc ! ffmpegcolorspace ! fakesink
23001 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23004 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23007 use the gettext macro
23008 * gst/elements/gstelements.c:
23010 * gst/indexers/gstindexers.c:
23011 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23012 * win32/common/config.h:
23014 * win32/common/config.h.in:
23015 add the template to generate config.h
23016 * win32/common/gstenumtypes.c:
23017 * win32/common/gstversion.h:
23020 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * gst/gst.c: (gst_version):
23023 * gst/gstversion.h.in:
23026 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23029 Oops, add missing closing bracket.
23031 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23034 use common m4's for argument checking
23036 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23038 * docs/gst/gstreamer-sections.txt:
23040 Add GST_EVENT_TYPE_NAME() macro.
23042 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23045 * gst/gstpluginfeature.c:
23047 privatize more symbols
23049 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23052 add srcdir, builddir includes to GST_ALL_CFLAGS, since
23053 everything that uses GStreamer API should have the includes
23055 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23057 * docs/gst/gstreamer-sections.txt:
23058 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23060 give each value a _get_type, removes the DATA exports
23062 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23066 remove _gst_registry_auto_load, not used anymore
23067 * gst/gstbin.c: (gst_bin_get_type):
23069 * gst/gstelement.c: (gst_element_get_type):
23070 * gst/gstelement.h:
23071 * gst/gstobject.c: (gst_object_get_type):
23073 * gst/gstpad.c: (gst_pad_get_type):
23075 make _get_type functions similar, fixes data export from library
23077 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23080 correctly make conditionals
23081 * gst/elements/Makefile.am:
23082 * gst/elements/gstelements.c:
23083 fix typo causing fdsrc not to build
23085 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23087 * testsuite/Makefile.am:
23088 * testsuite/bytestream/.cvsignore:
23089 * testsuite/bytestream/Makefile.am:
23090 * testsuite/bytestream/filepadsink.c:
23091 * testsuite/bytestream/gstbstest.c:
23092 * testsuite/bytestream/test1.c:
23093 * testsuite/bytestream/testfile1:
23094 * testsuite/caps/normalisation.c:
23095 * testsuite/caps/random.c: (main):
23096 * testsuite/cleanup/.cvsignore:
23097 * testsuite/cleanup/Makefile.am:
23098 * testsuite/cleanup/cleanup1.c:
23099 * testsuite/cleanup/cleanup2.c:
23100 * testsuite/cleanup/cleanup3.c:
23101 * testsuite/cleanup/cleanup4.c:
23102 * testsuite/cleanup/cleanup5.c:
23103 * testsuite/controller/interpolator.c:
23104 * testsuite/debug/printf_extension.c: (main):
23105 * testsuite/elements/tee.c:
23106 * testsuite/negotiation/.cvsignore:
23107 * testsuite/negotiation/Makefile.am:
23108 * testsuite/negotiation/pad_link.c:
23109 * testsuite/pad/Makefile.am:
23110 * testsuite/pad/chainnopull.c:
23111 * testsuite/pad/getnopush.c:
23112 * testsuite/pad/link.c:
23113 * testsuite/refcounting/sched.c: (create_pipeline):
23114 * testsuite/registry/Makefile.am:
23115 * testsuite/registry/gst-print-formats.c:
23116 * testsuite/schedulers/.cvsignore:
23117 * testsuite/schedulers/142183-2.c:
23118 * testsuite/schedulers/142183.c:
23119 * testsuite/schedulers/143777-2.c:
23120 * testsuite/schedulers/143777.c:
23121 * testsuite/schedulers/147713.c:
23122 * testsuite/schedulers/147819.c:
23123 * testsuite/schedulers/147894-2.c:
23124 * testsuite/schedulers/147894.c:
23125 * testsuite/schedulers/Makefile.am:
23126 * testsuite/schedulers/group_link.c:
23127 * testsuite/schedulers/queue_link.c:
23128 * testsuite/schedulers/relink.c:
23129 * testsuite/schedulers/unlink.c:
23130 * testsuite/schedulers/unref.c:
23131 * testsuite/schedulers/useless_iteration.c:
23132 * testsuite/states/bin.c:
23133 clean out/remove some stuff from the testsuite directories
23135 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23138 check for some headers
23139 * gst/elements/Makefile.am:
23140 * gst/elements/gstelements.c:
23141 don't compile fdsrc without sys/socket.h
23142 * gst/indexers/Makefile.am:
23143 * gst/indexers/gstindexers.c: (plugin_init):
23144 don't compile fileindex without mmap
23146 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23153 * check/Makefile.am:
23154 * docs/gst/Makefile.am:
23155 * examples/helloworld/Makefile.am:
23157 * gst/base/Makefile.am:
23158 * gst/check/Makefile.am:
23159 * gst/elements/Makefile.am:
23160 * gst/indexers/Makefile.am:
23161 * gst/parse/Makefile.am:
23162 * libs/gst/controller/Makefile.am:
23163 * libs/gst/dataprotocol/Makefile.am:
23164 * examples/helloworld/helloworld.c: (event_loop):
23165 compile fixes, though it's not being compiled currently
23167 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23169 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23170 Add some simple tests for the new taglist date API.
23172 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23174 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23175 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23176 Beautify 'last-message' output: print 'none' for buffer timestamps
23177 and durations if none is set; improve alignment with next messages.
23179 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23181 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23182 * gst/gstpluginfeature.h:
23183 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23184 * gst/gstregistry.h:
23185 * docs/gst/gstreamer-sections.txt:
23186 Add new API to check plugin feature version requirements.
23188 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23189 Some basic tests for the above.
23191 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23193 * gst/gststructure.c: (gst_structure_to_string):
23194 guard against NULL printf - happens when for example
23195 a message structure with GstClock gets serialized
23197 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23199 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23200 Fix presumable copy'n'pasto.
23202 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23204 * gst/elements/gstfakesrc.h:
23205 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23206 * gst/elements/gsttypefindelement.c:
23207 fix some signedness
23208 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23209 I wonder if this could actually write +2GB files before
23211 2005-10-13 Andy Wingo <wingo@pobox.com>
23213 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23214 Fix Timmeke Waymans bug.
23215 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23216 string of the proper length to gst_caps_from_string. There's a
23217 potential for, before this fix, that this could cause someone
23218 connecting over the network to cause a segfault if the payload is
23219 not NUL-terminated.
23221 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23223 * docs/design/draft-push-pull.txt:
23224 * docs/design/part-overview.txt:
23225 * docs/random/TODO-pre-0.9:
23226 * docs/random/old/ChangeLog.gstreamer:
23227 * gst/base/gstpushsrc.c:
23231 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23233 * gst/glib-compat.c: (gst_flags_get_first_value):
23234 * gst/glib-compat.h:
23235 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23236 (gst_value_compare_double), (gst_value_serialize_flags):
23237 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23240 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23243 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23245 * tools/gst-launch.c: (event_loop):
23246 print out clock nicely
23248 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23250 * docs/gst/gstreamer-sections.txt:
23251 * gst/gsttaglist.h:
23252 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23253 (gst_tag_list_get_date_index):
23254 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23255 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23257 2005-10-13 Julien MOUTTE <julien@moutte.net>
23259 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23260 (gst_collectpads_chain):
23261 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23264 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23266 * docs/gst/gstreamer-sections.txt:
23269 * tools/gst-inspect.c: (main):
23270 * tools/gst-launch.c: (main):
23271 * tools/gst-run.c: (main):
23272 * tools/gst-xmlinspect.c: (main):
23273 fix GOption context leaks
23276 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23280 * win32/common/config.h:
23282 * win32/vs6/grammar.dsp:
23283 * win32/vs6/libgstelements.dsp:
23284 * win32/vs6/libgstreamer.dsp:
23287 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23289 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23290 * gst/base/gstbasesrc.c: (gst_base_src_query):
23291 fix more guint64<->gdouble conversions
23293 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23296 add win32-update target
23297 * win32/common/gstconfig.h:
23298 * win32/common/gstenumtypes.c:
23299 * win32/common/gstenumtypes.h:
23300 * win32/common/gstversion.h:
23301 add files that visual studio can't generate
23303 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23306 add a win32-update target
23309 2005-10-12 Wim Taymans <wim@fluendo.com>
23311 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23312 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23313 * gst/gstelement.c: (gst_element_commit_state),
23314 (gst_element_set_state):
23315 Protect flags with proper lock.
23316 unref provided cached clock in dispose.
23318 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23321 * gst/gstminiobject.h:
23323 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23324 removed unused flags from miniobject
23327 2005-10-12 Wim Taymans <wim@fluendo.com>
23329 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23330 (gst_file_sink_event), (gst_file_sink_render):
23331 Flush before seeking.
23333 2005-10-12 Andy Wingo <wingo@pobox.com>
23335 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23336 always been the case.
23338 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23340 * check/gst/gstbin.c: (GST_START_TEST):
23341 * docs/gst/gstreamer-sections.txt:
23342 * gst/base/gstbasesink.c: (gst_base_sink_init):
23343 * gst/base/gstbasesrc.c: (gst_base_src_init),
23344 (gst_base_src_get_range), (gst_base_src_check_get_range),
23345 (gst_base_src_start), (gst_base_src_stop):
23346 * gst/base/gstbasesrc.h:
23347 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23348 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23349 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23353 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23355 * gst/gstelement.c: (gst_element_is_locked_state),
23356 (gst_element_set_locked_state), (gst_element_commit_state),
23357 (gst_element_set_state):
23358 * gst/gstelement.h:
23359 * gst/gstindex.c: (gst_index_init):
23361 * gst/gstminiobject.h:
23362 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23363 (gst_object_set_parent):
23365 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23366 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23368 * gst/gstpadtemplate.h:
23369 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23370 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23371 * gst/gstpipeline.h:
23372 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23373 (gst_file_index_commit):
23374 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23375 * testsuite/pad/link.c: (gst_test_src_init),
23376 (gst_test_filter_init), (gst_test_sink_init):
23377 * testsuite/states/locked.c: (main):
23378 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23379 moved bitshift from macro to enum definition
23381 2005-10-12 Wim Taymans <wim@fluendo.com>
23383 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23384 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23385 (gst_file_sink_render):
23386 Some more debugging info.
23388 2005-10-12 Wim Taymans <wim@fluendo.com>
23390 * docs/design/part-states.txt:
23391 * tools/gst-launch.c: (main):
23393 Revert non-intentional change.
23395 2005-10-12 Wim Taymans <wim@fluendo.com>
23397 * check/gst/gstbin.c: (GST_START_TEST):
23398 * check/gst/gstelement.c: (GST_START_TEST):
23399 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23400 * check/gst/gstghostpad.c: (GST_START_TEST):
23401 * check/gst/gstpipeline.c: (GST_START_TEST):
23402 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23403 * check/states/sinks.c: (GST_START_TEST):
23404 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23405 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23406 (gst_bin_remove_func), (gst_bin_get_state_func),
23407 (gst_bin_recalc_state), (gst_bin_change_state_func),
23409 * gst/gstelement.c: (gst_element_get_state_func),
23410 (gst_element_get_state), (gst_element_abort_state),
23411 (gst_element_commit_state), (gst_element_set_state),
23412 (gst_element_change_state), (gst_element_change_state_func):
23413 * gst/gstelement.h:
23414 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23415 (gst_pipeline_provide_clock_func):
23416 * gst/gstutils.c: (gst_element_link_pads_filtered):
23417 * tools/gst-launch.c: (main):
23418 * tools/gst-typefind.c: (main):
23419 Use GstClockTime in _get_state() instead of GTimeVal.
23420 Remove old code in gstutils.c
23422 2005-10-12 Andy Wingo <wingo@pobox.com>
23424 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23427 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23428 there is no task. Shouldn't affect any code, as nothing in our
23429 plugins checks this return value.
23430 (gst_pad_stop_task): Also take the stream lock if the pad has no
23431 task. Docs updated.
23433 2005-10-12 Wim Taymans <wim@fluendo.com>
23435 * gst/gstpad.c: (pre_activate), (post_activate),
23436 (gst_pad_activate_pull), (gst_pad_activate_push):
23437 Cleanup activation code. Reset old state if
23440 2005-10-12 Wim Taymans <wim@fluendo.com>
23442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23443 (gst_base_sink_change_state):
23444 No need to prerol after receiving EOS.
23446 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23447 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23448 * gst/elements/gstidentity.c: (gst_identity_event):
23449 Print events more verbosely.
23451 2005-10-12 Wim Taymans <wim@fluendo.com>
23453 * check/Makefile.am:
23454 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23455 * check/states/sinks2.c:
23456 Moved sinks2 testcode in sinks check.
23458 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23459 (gst_bin_remove_func), (gst_bin_recalc_state),
23460 (gst_bin_change_state_func), (bin_bus_handler):
23461 Fix potential race condition when _get_state() iterated over an
23462 ASYNC element right before it posted a state completion.
23465 Do proper cast here.
23467 * gst/gstevent.c: (gst_event_new_newsegment),
23468 (gst_event_parse_newsegment):
23469 A playback rate of 0.0 is not allowed.
23471 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23473 * win32/common/config.h:
23474 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23475 (_trewinddir), (_ttelldir), (_tseekdir):
23476 * win32/common/dirent.h:
23477 * win32/common/gtchar.h:
23478 * win32/common/libgstbase.def:
23479 * win32/common/libgstreamer.def:
23480 * win32/vs6/grammar.dsp:
23481 * win32/vs6/gst_inspect.dsp:
23482 * win32/vs6/gst_launch.dsp:
23483 * win32/vs6/gstreamer.dsw:
23484 * win32/vs6/libgstbase.dsp:
23485 * win32/vs6/libgstelements.dsp:
23486 * win32/vs6/libgstreamer.dsp:
23487 Visual Studio 6 project files, and a new common directory.
23490 2005-10-11 Wim Taymans <wim@fluendo.com>
23492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23493 (gst_base_sink_do_sync), (gst_base_sink_query),
23494 (gst_base_sink_change_state):
23495 * gst/base/gstbasesink.h:
23496 Correctly parse newsegment info.
23498 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23500 * gst/gst.c: (init_post):
23501 split plugin paths correctly
23503 2005-10-11 Wim Taymans <wim@fluendo.com>
23505 * check/gst/gstevent.c: (GST_START_TEST):
23506 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23507 (gst_base_sink_change_state):
23508 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23509 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23510 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23511 * gst/gstevent.c: (gst_event_new_newsegment),
23512 (gst_event_parse_newsegment):
23514 Added extra flag to newsegment for future API freeze.
23515 Updated check and base elements.
23517 2005-10-11 Julien MOUTTE <julien@moutte.net>
23519 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23520 (gst_collectpads_add_pad), (gst_collectpads_pop),
23521 (gst_collectpads_event), (gst_collectpads_chain):
23522 * gst/base/gstcollectpads.h: Handle EOS correctly.
23524 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23526 * tools/gst-launch.c: (main):
23527 more null protecting
23529 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23531 * gst/gst-i18n-lib.h:
23532 check for ENABLE_NLS, not GETTEXT_PACKAGE
23533 * gst/gstregistry.c: (gst_registry_add_plugin),
23534 (gst_registry_scan_path_level),
23535 (_gst_registry_remove_cache_plugins):
23536 protect possibly NULL strings
23537 * gst/parse/types.h:
23538 config.h already included before
23539 * tools/gst-inspect.c: (main):
23540 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23541 check for ENABLE_NLS, not GETTEXT_PACKAGE
23542 * tools/gst-launch.c: (main):
23543 check for ENABLE_NLS, not GETTEXT_PACKAGE
23545 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23548 if we don't have glib, fail before testing 2.8
23549 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23550 fix a leak, should fix plugins-base testsuite
23552 2005-10-11 Andy Wingo <wingo@pobox.com>
23554 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23555 take the mode we're going to as an arg. Go head and set the mode
23556 and flushing flags now, so that if the activate function starts a
23557 thread all the flags will be in the right state.
23558 (post_activate): Renamed also. Just handle making sure streaming
23559 finishes for the deactivation case, and setting the deactivated
23561 (gst_pad_set_active): Complain loudly if deactivation fails.
23562 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23563 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23564 remove the terrible hack.
23566 2005-10-11 Wim Taymans <wim@fluendo.com>
23568 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23569 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23570 (gst_bin_recalc_state), (gst_bin_change_state_func),
23571 (gst_bin_dispose), (bin_bus_handler):
23573 Prepare to make current EOS message queue more generic.
23576 * gst/gstevent.c: (gst_event_new_newsegment),
23577 (gst_event_parse_newsegment):
23579 Rename base to stream_time.
23581 * gst/gstmessage.h:
23584 2005-10-11 Wim Taymans <wim@fluendo.com>
23586 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23587 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23588 (gst_bin_change_state_func), (bin_bus_handler):
23590 Work on proper clock selection.
23592 2005-10-11 Edward Hervey <edward@fluendo.com>
23594 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23595 * libs/gst/controller/gstcontroller.h:
23596 Added GList* version of _remove_properties() in order to be able to wrap
23599 2005-10-11 Wim Taymans <wim@fluendo.com>
23601 * docs/design/part-states.txt:
23604 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23605 (gst_bin_change_state_func), (bin_bus_handler):
23606 Doc updates. Don't distribute the same clock over and over again.
23612 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23613 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23614 (gst_pad_send_event):
23616 Make probe emission threadsafe again.
23617 Register quarks and move _get_name() from utils.
23620 * gst/gstpipeline.c: (gst_pipeline_class_init),
23621 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23622 Only redistribute the clock of it changed.
23624 * gst/gstsystemclock.h:
23629 Moved the _flow_get_name() to GstPad.
23631 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23633 * check/gst-libs/gdp.c: (GST_START_TEST):
23634 * check/gst/gstcaps.c: (GST_START_TEST):
23635 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23636 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23637 (gst_dp_packet_from_caps):
23638 fix more valgrind warnings before turning up the heat
23640 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23642 * gst/parse/grammar.y:
23643 some cleanup before the hacking
23645 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23647 * gst/base/gstbasesrc.c: (gst_base_src_query):
23649 * gst/gstutils.c: (gst_guint64_to_gdouble),
23650 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23652 externalize, basesrc uses it
23653 obviously the implementation needs testing
23655 2005-10-10 Wim Taymans <wim@fluendo.com>
23657 * tests/sched/Makefile.am:
23658 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23659 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23661 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23663 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23664 apparently converting from guint64 to double is not implemented
23667 2005-10-10 Wim Taymans <wim@fluendo.com>
23669 * check/Makefile.am:
23670 * check/generic/states.c: (GST_START_TEST):
23671 * check/gst/gstbin.c: (GST_START_TEST):
23672 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23673 * check/states/sinks.c: (GST_START_TEST):
23674 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23676 Check fixes, use API as stated in design docs, remove hacks.
23678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23679 (gst_base_sink_change_state):
23680 Catch stopping our task while we're shutting down.
23682 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23683 (gst_bin_remove_func), (gst_bin_get_state_func),
23684 (gst_bin_recalc_state), (gst_bin_change_state_func),
23687 * gst/gstelement.c: (gst_element_init),
23688 (gst_element_get_state_func), (gst_element_abort_state),
23689 (gst_element_commit_state), (gst_element_lost_state),
23690 (gst_element_set_state), (gst_element_change_state),
23691 (gst_element_change_state_func):
23692 * gst/gstelement.h:
23693 New state change algorithm (see #318116)
23695 * gst/gstpipeline.c: (gst_pipeline_class_init),
23696 (gst_pipeline_init), (gst_pipeline_set_property),
23697 (gst_pipeline_get_property), (do_pipeline_seek),
23698 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23699 * gst/gstpipeline.h:
23700 Remove crude state change hacks.
23703 Remove crude hacks.
23705 * tools/gst-launch.c: (main):
23706 Fixes for state change. Needs some more work to fully use the
23709 2005-10-10 Andy Wingo <wingo@pobox.com>
23711 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23713 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23714 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23717 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23719 * gst/gstiterator.c: (gst_iterator_new):
23720 Fix my previous commit: GTypes passed to gst_iterator_new()
23721 can be fundamental types.
23723 2005-10-10 Wim Taymans <wim@fluendo.com>
23725 * gst/gstelement.c: (gst_element_iterate_pad_list),
23726 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23727 (gst_element_iterate_sink_pads):
23728 Use src/sink pads lists for the respective iterators instead
23731 2005-10-10 Andy Wingo <wingo@pobox.com>
23733 Merged in popt removal + GOption addition patch from Ronald, bug
23736 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23737 GstElement macros around, remove popt-related symbols, add goption
23740 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23742 * docs/gst/Makefile.am:
23743 * docs/libs/Makefile.am: No POPT_CFLAGS.
23745 * examples/manual/Makefile.am:
23746 * docs/manual/basics-init.xml: Doc updates with an example.
23748 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23749 (gst_init), (parse_one_option), (parse_goption_arg):
23750 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23751 bit of hand merging and debugging to get the GOption stuff working
23754 * tests/Makefile.am:
23755 * tools/Makefile.am:
23756 * tools/gst-inspect.c: (main):
23757 * tools/gst-launch.c: (main):
23758 * tools/gst-run.c: (main):
23759 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23761 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23763 * gst/gstiterator.c: (gst_iterator_new):
23764 Add assertions to make sure passed GType is likely to really
23765 be a GType (as the compiler won't catch it if the size and
23766 GType arguments get mixed up, see #318447).
23768 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23770 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23772 * gst/gstbin.c: (gst_bin_iterate_sorted):
23773 Pass GType and size arguments to gst_iterator_new() in the right
23774 order (maybe we should make _new() take the GType as first argument
23775 just like _new_list()?) (#318447).
23778 2005-10-10 Wim Taymans <wim@fluendo.com>
23780 * gst/gstelement.c: (gst_element_finalize):
23781 And free the GStaticRecMutex too
23783 2005-10-10 Andy Wingo <wingo@pobox.com>
23785 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23786 Allocate and free the mutex properly.
23788 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23790 (GstElement): The state_lock is now recursive. Rebuild your
23791 plugins, suckers. Old macros adapted.
23793 * docs/gst/gstreamer-sections.txt: Doc updates.
23796 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23797 (g_static_rec_cond_wait): Ported from state changes patch, while
23798 we wait on bug #317802 to be solved in a well-distributed GLib.
23800 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23801 gst_element_change_state, variable name changes.
23802 (gst_element_change_state): Split out of gst_element_set_state in
23803 preparation for the state change merge. Doesn't pay attention to
23804 the 'transition' argument.
23805 (gst_element_set_state): Updates, hopefully purely cosmetic.
23806 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23807 state change patch.
23808 (gst_element_get_state_func): Renamed from get_state, cosmetic
23811 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23813 * gst/elements/gstelements.c:
23814 * win32/GStreamer.vcproj:
23816 * win32/dirent.c: (_tseekdir):
23817 * win32/gst-inspect.vcproj:
23818 * win32/gst-launch.vcproj:
23819 * win32/gstconfig.h:
23820 * win32/gstelements.vcproj:
23821 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23822 * win32/gstreamer.def:
23823 * win32/msvc71.sln:
23824 updates for the win32 build (patch from Sebastien Moutte)
23826 2005-10-10 Andy Wingo <wingo@pobox.com>
23828 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23829 gst_bin_get_state, cleaned up (but no logic changes).
23830 (bin_element_is_sink): Comment updates.
23831 (sink_iterator_filter): Remove needless cast.
23832 (gst_bin_iterate_sinks): Doc update.
23833 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23834 cleaned up (but no logic changes).
23836 * check/states/sinks.c (test_src_sink): Cleanups from the state
23838 (test_livesrc_sink): Sync on the state.
23840 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23841 the state change patch.
23843 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23846 * check/gst/gstbin.c: Merge in some style fixes and additional
23847 checks from Wim's state change patch.
23849 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23851 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23852 (gst_type_find_helper):
23853 Check whether we have the requested data already in our list of
23854 cached buffers before pulling a new buffer; also make the buffer
23855 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23857 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23862 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23863 don't use long long, it's not portable. Replacing with
23864 gint64 seems to work; let's hope no skeletons fall out of the closet.
23866 2005-10-10 Andy Wingo <wingo@pobox.com>
23868 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23870 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23872 * docs/gst/gstreamer-sections.txt:
23877 * gst/gstmessage.c: (gst_message_parse_state_changed):
23880 more docs, fix compilation
23882 2005-10-09 Philippe Khalaf <burger@speedy.org>
23883 * gst/gstmessage.c:
23884 Fixed a few forgotten variables on previous commit
23886 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23888 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23889 Fix evil typefind crasher: getrange() might return a short
23890 buffer at the end of a file, but gst_type_find_peek() must
23891 either return the full data as requested or NULL, but
23892 never a short buffer.
23894 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23896 * gst/gstmessage.c: (gst_message_new_state_changed),
23897 (gst_message_parse_state_changed):
23898 * gst/gstmessage.h:
23899 don't use "new", it's a C++ keyword
23901 2005-10-08 Wim Taymans <wim@fluendo.com>
23903 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23904 * gst/gstelement.c: (gst_element_post_message):
23905 * gst/gstpipeline.c: (gst_pipeline_change_state):
23906 Small docs and debug updates.
23908 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23910 * docs/gst/gstreamer-sections.txt:
23911 * gst/gstelementfactory.c:
23913 * gst/gsttaglist.c:
23916 2005-10-08 Wim Taymans <wim@fluendo.com>
23918 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23919 (gst_bin_dispose), (bin_bus_handler):
23920 Fix typos, add comments.
23921 Clear EOS list when going to PAUSED from any direction and do it
23922 in a threadsafe way.
23923 Get base time in a threadsafe way too.
23924 Fix confusing debug in the change_state function.
23925 Various other small cleanups.
23927 * gst/gstelement.c: (gst_element_post_message):
23928 Fix very verbose bus posting code.
23930 * gst/gstpipeline.c: (gst_pipeline_class_init),
23931 (gst_pipeline_set_property), (gst_pipeline_get_property),
23932 (gst_pipeline_change_state):
23933 Small ARG_ -> PROP_ cleanup
23935 2005-10-08 Wim Taymans <wim@fluendo.com>
23937 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23938 Do a less CPU demanding EOS check because we can.
23940 2005-10-08 Wim Taymans <wim@fluendo.com>
23942 * libs/gst/dataprotocol/dataprotocol.c:
23943 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23944 (gst_dp_packet_from_event):
23945 * libs/gst/dataprotocol/dataprotocol.h:
23946 * libs/gst/dataprotocol/dp-private.h:
23947 It's about time we bump the version number.
23948 Since event types don't fit in the guint8 anymore describing
23949 the payload type, make payload type 16 bits wide.
23951 2005-10-08 Wim Taymans <wim@fluendo.com>
23953 * docs/design/part-TODO.txt:
23954 * docs/design/part-clocks.txt:
23955 * docs/design/part-events.txt:
23956 * docs/design/part-gstbin.txt:
23957 * docs/design/part-gstelement.txt:
23958 * docs/design/part-gstpipeline.txt:
23959 * docs/design/part-live-source.txt:
23960 * docs/design/part-messages.txt:
23961 * docs/design/part-overview.txt:
23962 * docs/design/part-states.txt:
23965 2005-10-08 Wim Taymans <wim@fluendo.com>
23969 Fix event quark registration.
23970 Add some space between events so we can insert them in the
23973 2005-10-08 Wim Taymans <wim@fluendo.com>
23975 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23976 (gst_base_sink_handle_buffer):
23977 Better log message.
23980 * gst/gstelement.h:
23983 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23984 (gst_queue_set_property), (gst_queue_get_property):
23986 Remove old unused properties.
23988 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23989 * docs/gst/gstreamer-sections.txt:
23990 * gst/gstmessage.c:
23991 * gst/gstmessage.h:
23992 * gst/gstminiobject.c:
23993 * gst/gstminiobject.h:
23997 lots of new docs and doc fixes
23999 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24001 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24003 * gst/gstregistry.c: (gst_registry_lookup_locked),
24004 (gst_registry_scan_path_level):
24005 * gst/gstregistryxml.c: (load_plugin):
24006 Only ever load one plugin for a given plugin basename.
24007 This ensures correct overriding of GST_PLUGIN_PATH over
24008 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24009 system installed plugins.
24011 2005-10-08 Wim Taymans <wim@fluendo.com>
24013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24014 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24015 Prepare for doing QOS.
24017 2005-10-08 Wim Taymans <wim@fluendo.com>
24019 * check/gst/gstbin.c: (GST_START_TEST):
24020 * check/pipelines/cleanup.c: (GST_START_TEST):
24021 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24022 Allow new clock message too.
24024 2005-10-08 Wim Taymans <wim@fluendo.com>
24026 * gst/gstmessage.c: (gst_message_new_error),
24027 (gst_message_new_warning), (gst_message_new_tag),
24028 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24029 (gst_message_new_clock_lost), (gst_message_new_new_clock),
24030 (gst_message_new_segment_start), (gst_message_new_segment_done),
24031 (gst_message_parse_state_changed),
24032 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24033 (gst_message_parse_new_clock):
24034 * gst/gstmessage.h:
24035 Also carry the clock in question.
24037 2005-10-08 Wim Taymans <wim@fluendo.com>
24039 * gst/gstmessage.c: (gst_message_new_custom),
24040 (gst_message_new_eos), (gst_message_new_error),
24041 (gst_message_new_warning), (gst_message_new_tag),
24042 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24043 (gst_message_new_new_clock), (gst_message_new_segment_start),
24044 (gst_message_new_segment_done), (gst_message_parse_state_changed),
24045 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24046 * gst/gstmessage.h:
24048 Added clock related messages.
24050 * gst/gstpipeline.c: (gst_pipeline_change_state):
24051 Post message when the clock changed.
24053 * tools/gst-launch.c: (event_loop):
24056 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
24058 * tools/gst-inspect.c: (print_element_properties_info):
24059 Can't pass NULL strings to g_print() on windows.
24061 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24063 * docs/Makefile.am:
24064 * docs/gst/Makefile.am:
24065 * docs/gst/gstreamer-docs.sgml:
24066 * docs/gst/running.xml:
24067 * docs/version.entities.in:
24068 add a chapter on running GStreamer.
24069 document GST_DEBUG and GST_PLUGIN* env vars
24071 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24076 remove PLUGINS_BUILDDIR stuff
24077 * gst/gst.c: (init_post):
24078 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24080 remove, it was condescending and not needed
24082 2005-10-08 Wim Taymans <wim@fluendo.com>
24084 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24085 (gst_base_sink_handle_object), (gst_base_sink_event),
24086 (gst_base_sink_wait), (gst_base_sink_handle_event),
24087 (gst_base_sink_change_state):
24088 * gst/base/gstbasesink.h:
24089 Repost EOS message while going to PLAYING if still EOS.
24090 Make sure that when receiving a FLUSH_START we don't attempt
24091 to sync on the clock anymore.
24093 2005-10-08 Wim Taymans <wim@fluendo.com>
24095 * tools/gst-launch.c: (event_loop):
24096 Better message printout.
24098 2005-10-08 Wim Taymans <wim@fluendo.com>
24100 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24101 (gst_bin_child_proxy_get_children_count):
24102 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24103 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24104 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24105 (gst_child_proxy_set_valist):
24106 * gst/parse/grammar.y:
24107 Make ChildProxy threadsafe and fix mem leaks.
24109 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24111 * gst/gst.c: (init_post):
24112 debug the GST_PLUGIN_ env vars
24114 2005-10-08 Wim Taymans <wim@fluendo.com>
24116 * check/gst/gstbin.c: (GST_START_TEST):
24117 * check/gst/gstmessage.c: (GST_START_TEST):
24118 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24119 * gst/gstelement.c: (gst_element_commit_state),
24120 (gst_element_lost_state):
24121 * gst/gstmessage.c: (gst_message_new_state_changed),
24122 (gst_message_parse_state_changed):
24123 * gst/gstmessage.h:
24124 * tools/gst-launch.c: (event_loop):
24125 Added extra field to STATE_CHANGE message with the pending
24126 state, which will be different from the new state soon.
24128 2005-10-08 Wim Taymans <wim@fluendo.com>
24130 * gst/gstbus.c: (gst_bus_pop):
24132 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24133 Small cleanups and doc updates.
24135 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24137 * gst/gst.c: (init_pre):
24138 * gst/gstbin.c: (gst_bin_add_func):
24139 log distributing clocks and base time
24140 * gst/gstregistry.c: (gst_registry_add_plugin),
24141 (gst_registry_scan_path_level), (gst_registry_scan_path):
24142 clean up the debugging output a little
24143 * gst/gstutils.c: (gst_element_state_get_name):
24144 warn about a memleak (I've actually seen this be used, though
24145 it was probably a bug)
24147 2005-10-07 Wim Taymans <wim@fluendo.com>
24149 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24150 (gst_base_src_init), (gst_base_src_default_newsegment),
24151 (gst_base_src_newsegment), (gst_base_src_do_seek),
24152 (gst_base_src_loop), (gst_base_src_start):
24153 * gst/base/gstbasesrc.h:
24154 Make the newsegment event customizable by subclasses.
24156 2005-10-07 Wim Taymans <wim@fluendo.com>
24158 * gst/gstevent.c: (gst_event_new_buffersize),
24159 (gst_event_parse_buffersize):
24161 New event for future idea.
24163 2005-10-07 Andy Wingo <wingo@pobox.com>
24165 * gst/gstelement.c (gst_element_post_message): Doc update.
24167 * docs/gst/gstreamer-sections.txt: Update.
24169 * gst/gstmessage.c (gst_message_new_application): Made into a
24170 function like honest API calls.
24171 (gst_message_new_element): New message type.
24173 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24175 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24176 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24179 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24180 NO_PREROLL from gst_element_change_state to fall through.
24182 2005-10-07 Wim Taymans <wim@fluendo.com>
24184 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24185 (gst_ghost_pad_do_activate_push):
24186 Activating a ghostpad with no internal pad in push mode
24189 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24192 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24193 Fixes compilation on Windows.
24195 2005-10-07 Michael Smith <msmith@fluendo.com>
24197 * tools/gst-inspect.c:
24198 Print out feature and plugin count at the end when printing out
24201 2005-10-04 Michael Smith <msmith@fluendo.com>
24203 * gst/gsterror.c: (_gst_stream_errors_init):
24204 Add another error string used in a few existing plugins.
24207 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24208 * tools/gst-inspect.c: (print_element_info):
24209 When a feature disappears from a plugin (and the feature exists in
24210 the cached registry file), things went horribly wrong. This isn't a
24211 complete fix, we should actually be removing the 'missing' features
24212 from the features list when we load the actual plugin. That's not
24215 2005-10-04 Johan Dahlin <johan@gnome.org>
24217 * check/gst/gstiterator.c: (GST_START_TEST):
24218 * gst/gstbin.c: (gst_bin_iterate_elements),
24219 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24220 * gst/gstelement.c: (gst_element_iterate_pads):
24221 * gst/gstformat.c: (gst_format_iterate_definitions):
24222 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24223 (gst_iterator_new_list), (gst_iterator_filter):
24224 * gst/gstiterator.h:
24225 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24226 Add a GType to GstIterator, update callsites and tests.
24228 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24230 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24231 give events a chance to be handled by event probes when the pad
24234 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24236 * gst/gstevent.c: (gst_event_type_get_name),
24237 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24239 add string representations for event types
24241 2005-10-06 Wim Taymans <wim@fluendo.com>
24243 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24244 Don't use NULL pointers.
24246 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24248 * gst/gst_private.h:
24250 * gst/gstelement.c:
24252 * gst/gstpluginfeature.c:
24253 widen the debug category in output to fit the biggest one we have
24254 add a bus category and use it
24255 play with the colors
24256 fix up some categories
24258 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24260 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24261 add push activation of sink ghost pads.
24262 Andye, please verify
24264 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24266 * gst/gstutils.c: (gst_element_link_pads):
24267 fix a bug in the case where neither element has a pad
24268 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24269 add a test for that case
24271 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24273 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24274 emit have-data before checking for peers. This allows
24275 for probe handlers to connect elements. This helps autopluggers.
24276 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24278 add six checks, linked/unlinked with no/true/false probe
24280 2005-10-04 Wim Taymans <wim@fluendo.com>
24282 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24283 (gst_fake_sink_event), (gst_fake_sink_preroll),
24284 (gst_fake_sink_render), (gst_fake_sink_change_state):
24285 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24286 (gst_fake_src_get_property), (gst_fake_src_create),
24287 (gst_fake_src_stop):
24288 * gst/elements/gstidentity.c: (gst_identity_stop):
24289 Protect last_message with lock.
24291 2005-10-04 Edward Hervey <edward@fluendo.com>
24294 Added precision in the comments for GST_FORMAT_DEFAULT
24296 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24298 * tools/gst-launch.c: (main):
24299 Don't try to run erroneous pipelines.
24301 2005-10-04 Julien MOUTTE <julien@moutte.net>
24303 * gst/gstbus.c: We don't need this header.
24305 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24308 back to development
24310 === release 0.9.3 ===
24312 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24316 Releasing 0.9.3, "Unregistered"
24318 2005-10-03 Andy Wingo <wingo@pobox.com>
24320 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24321 whereby calling a pad's activatepush() function can start a thread
24322 that starts to push or pull before the pad gets the FLUSHING flag
24323 unset. Hack around it by holding the stream lock until the flag is
24324 set. Need to replace this with a proper solution. Together with
24325 the ghost pad fixes, this fixes mp3 playing/tagreading.
24327 * docs/design/part-gstghostpad.txt: Add a note about activation of
24328 proxy pads outside of ghost pads.
24330 * gst/gstghostpad.c: Implement the ghost pad activation design.
24332 2005-10-02 Andy Wingo <wingo@pobox.com>
24334 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24335 It is volatile, after all.
24337 * docs/design/part-gstghostpad.txt: Flesh out activation with
24340 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24343 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24346 Fix (unused) AM_CONDITIONAL tests.
24348 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24350 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24352 * gst/gstutils.c: (gst_pad_query_convert):
24353 Add assertion that makes sure src_val is >=0, just like
24354 gst_query_new_convert() has. (#315895)
24356 2005-09-30 Edward Hervey <edward@fluendo.com>
24358 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24359 Let's not iterate pads we're not interested in, it avoids getting
24360 sky-high refcounts on sinkpad.
24362 2005-09-30 Wim Taymans <wim@fluendo.com>
24364 * gst/gstelement.c: (gst_element_set_state),
24365 (gst_element_change_state):
24366 Small tweak, element in ASYNC remains ASYNC.
24368 2005-09-30 Wim Taymans <wim@fluendo.com>
24370 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24371 Only error is an error.
24373 * gst/gstbin.c: (gst_bin_change_state):
24376 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24377 Also call pad_block in pad alloc.
24379 * gst/gstutils.c: (gst_flow_get_name):
24382 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24384 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24385 (gst_base_src_get_range):
24386 Fix documentation typos. Add some more debug info.
24388 2005-09-29 David Schleef <ds@schleef.org>
24390 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24391 more end-user friendly.
24392 * tools/gst-inspect.c: (main): Check if command-line argument is
24393 a file and attempt to load that file as a plugin.
24395 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24397 * check/gst/gstbin.c:
24398 * check/states/sinks.c:
24399 fix tests for the new warning
24400 * check/gst/gstpipeline.c:
24401 add a test for pipeline and bus interaction
24402 * gst/gstelement.c:
24403 elements should be NULL if they get disposed; add a warning if not
24405 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24408 for 2.6 refcounting, make debug log more correct by printing
24409 the actual refcounts at the time of swap (Wim)
24411 2005-09-29 Andy Wingo <wingo@pobox.com>
24413 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24414 removes signal watches previously added via
24415 gst_bus_add_signal_watch.
24416 (gst_bus_add_signal_watch): Don't return the source id, just store
24417 it on the bus if there wasn't an id already.
24419 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24420 add_signal_watch and remove_signal_watch.
24422 2005-09-29 Edward Hervey <edward@fluendo.com>
24424 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24425 Better if we actually iterate the list :)
24427 2005-09-29 Wim Taymans <wim@fluendo.com>
24429 * check/gst/gstbin.c: (GST_START_TEST):
24430 Change for new bus API.
24432 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24433 (send_messages), (GST_START_TEST), (gstbus_suite):
24434 Change for new bus signal API.
24436 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24437 (gst_bus_source_prepare), (gst_bus_source_check),
24438 (gst_bus_create_watch), (gst_bus_add_watch_full),
24439 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24440 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24442 Remove support for multiple GSources operating on different
24443 message types as it is too complex and unneeded when using
24445 Added support for receiving signals from the bus.
24447 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24449 * docs/libs/tmpl/gstdataprotocol.sgml:
24450 * docs/manual/advanced-dataaccess.xml:
24451 * gst/elements/gstcapsfilter.c:
24453 rename filter-caps to caps property
24455 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24457 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24458 More robust fraction string parsing.
24460 * docs/pwg/appendix-porting.xml:
24461 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24463 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24465 * gst/gstcaps.c: (gst_caps_do_simplify):
24466 Thou shalt not free a structure and then continue using it
24467 in the next loop iteration.
24469 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24471 Add test case for caps simplification.
24473 2005-09-29 Wim Taymans <wim@fluendo.com>
24475 * check/gst/gstbin.c: (GST_START_TEST):
24478 2005-09-29 Wim Taymans <wim@fluendo.com>
24480 * check/gst/gstbin.c: (GST_START_TEST):
24483 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24484 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24485 (find_element), (gst_bin_sort_iterator_next),
24486 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24487 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24488 (gst_bin_change_state), (gst_bin_dispose):
24489 A bin does not have a bus, it gets the bus from the parent.
24491 * gst/gstelement.c: (gst_element_requires_clock),
24492 (gst_element_provides_clock), (gst_element_is_indexable),
24493 (gst_element_is_locked_state), (gst_element_change_state),
24494 (gst_element_set_bus_func):
24497 * gst/gstpipeline.c: (gst_pipeline_class_init),
24498 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24499 The pipeline provides a bus.
24501 2005-09-28 Johan Dahlin <johan@gnome.org>
24503 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24504 gst_structure_get_enum instead of gst_structure_get_int
24506 * gst/gststructure.c (gst_structure_get_enum): Impl.
24508 * gst/gststructure.h (gst_structure_get_enum): Add
24510 * docs/gst/gstreamer-sections.txt: Ditto
24512 * gst/gstmessage.c (gst_message_new_state_changed): Use
24513 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24514 which does introspection.
24515 Reviewed by Christian Schaller
24517 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24519 * gst/gstinfo.c: (gst_debug_log_default):
24520 don't do dummy g_strdup()s
24521 * libs/gst/controller/gstcontroller.c:
24522 (on_object_controlled_property_changed),
24523 (gst_controlled_property_new), (gst_controller_new_valist),
24524 (gst_controller_new_list),
24525 (gst_controller_remove_properties_valist), (gst_controller_set),
24526 (gst_controller_get), (gst_controller_sync_values),
24527 (gst_controller_get_value_array), (_gst_controller_class_init),
24528 (gst_controller_get_type):
24529 * libs/gst/controller/gstcontroller.h:
24530 * libs/gst/controller/gstinterpolation.c:
24531 (gst_controlled_property_find_timed_value_node):
24532 convert // to /**/ comments
24534 2005-09-28 Wim Taymans <wim@fluendo.com>
24536 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24537 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24538 (gst_bus_sync_signal_handler):
24540 Added async-message and sync-message signals to the bus.
24541 Added helper BusFunc to emit signals for all posted messages.
24543 * gst/gstmessage.c: (gst_message_type_get_name),
24544 (gst_message_type_to_quark), (gst_message_get_type):
24545 * gst/gstmessage.h:
24546 Register quarks for message names.
24548 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24550 * docs/libs/gstreamer-libs-sections.txt:
24551 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24552 (gst_controller_new_list):
24553 * libs/gst/controller/gstcontroller.h:
24554 added another constructor for language bindings
24556 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24558 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24562 * gst/gstinfo.c: (_gst_debug_init):
24563 slightly more readable color for refcount debugging
24565 2005-09-28 Wim Taymans <wim@fluendo.com>
24567 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24568 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24569 (find_element), (gst_bin_sort_iterator_next),
24570 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24571 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24572 (gst_bin_change_state), (gst_bin_dispose):
24573 Small doc fixes. get_clock -> provide_clock.
24575 * gst/gstelement.c: (gst_element_class_init),
24576 (gst_element_provides_clock), (gst_element_provide_clock),
24577 (gst_element_get_clock), (gst_element_commit_state),
24578 (gst_element_lost_state):
24579 * gst/gstelement.h:
24580 Make get/set_clock() symetric. Add provide_clock vmethod since
24581 that is actually what this function does.
24583 * gst/gstpipeline.c: (gst_pipeline_class_init),
24584 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24585 (gst_pipeline_get_clock):
24586 get_clock -> provide_clock.
24588 2005-09-28 Andy Wingo <wingo@pobox.com>
24590 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24591 lieu of real docs...
24593 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24595 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24597 * gst/elements/gstcapsfilter.c:
24598 * gst/elements/gstfakesink.c:
24599 * gst/elements/gstfakesrc.c:
24600 * gst/elements/gstfdsink.c:
24601 * gst/elements/gstfdsrc.c:
24602 * gst/elements/gstfilesink.c:
24603 * gst/elements/gstfilesrc.c:
24604 * gst/elements/gstidentity.c:
24605 * gst/elements/gsttee.c:
24606 * gst/elements/gsttypefindelement.c:
24607 Make element details static.
24609 2005-09-28 Wim Taymans <wim@fluendo.com>
24611 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24612 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24613 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24614 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24615 (gst_bin_change_state), (gst_bin_dispose):
24616 Some documentation updates.
24617 Clean up dispose handlers.
24619 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24620 * gst/gstpad.c: (gst_pad_dispose):
24621 Clean up dispose handler.
24623 * gst/gstpipeline.c: (gst_pipeline_change_state):
24624 Removed spurious UNLOCK.
24626 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24628 * docs/gst/gstreamer-sections.txt:
24629 * gst/base/gstbasesrc.h:
24630 * gst/gstelement.h:
24634 * gst/gstpipeline.c:
24635 * gst/gstpipeline.h:
24638 added two new functions to the docs
24639 documents all undocumented GstXXXFlags
24640 completed some incomplete docs
24642 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24644 * gst/gstbin.c: (gst_bin_dispose):
24645 * gst/gstelement.c: (gst_element_dispose):
24646 remove now useless and leaky resurrection code in dispose
24647 * gst/base/gstbasesrc.c: (gst_base_src_init):
24648 * gst/gstelementfactory.c: (gst_element_factory_create):
24649 * gst/gstobject.c: (gst_object_set_parent):
24652 2005-09-27 Wim Taymans <wim@fluendo.com>
24654 * docs/design/part-TODO.txt:
24657 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24658 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24659 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24660 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24661 (gst_bin_change_state):
24662 * gst/gstelement.h:
24663 Remove element variable, we keep element info in the iterator now.
24665 2005-09-27 Andy Wingo <wingo@pobox.com>
24667 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24670 2005-09-27 Wim Taymans <wim@fluendo.com>
24672 * check/gst/gstbin.c: (GST_START_TEST):
24673 Enable check that works now.
24675 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24676 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24677 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24678 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24679 (gst_bin_change_state):
24681 Redid the state change algorithm using a topological sort algo.
24682 Handles all cases correctly.
24683 Exposed iterator for state change order.
24685 * gst/gstelement.h:
24686 Temp storage for state changes. Need to get rid of this soon.
24688 2005-09-27 Wim Taymans <wim@fluendo.com>
24690 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24691 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24692 (link_fold_func), (gst_pad_proxy_setcaps):
24693 Leak fixes, the fold functions need to unref the passed object and
24694 _get_parent_*() returns ref to parent.
24696 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24698 * check/gst/gstbuffer.c: (test_make_writable):
24699 Plug leak in test case and fix 'make check-valgrind'
24701 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24703 * gst/gstbuffer.c: (gst_subbuffer_init):
24704 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24705 works correctly in all circumstances (we could have just copied
24706 the parent buffer's readonly flag, but conceptually it seems
24707 cleaner to mark all subbuffers as read-only). (based on patch
24708 by Alessandro Decina, #314710).
24710 * check/gst/gstbuffer.c: (create_read_only_buffer),
24711 (test_make_writable), (test_subbuffer_make_writable),
24713 Add some tests for gst_buffer_make_writable().
24715 2005-09-27 Wim Taymans <wim@fluendo.com>
24717 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24718 use gst_object_has_ancestor().
24720 * gst/gstobject.c: (gst_object_has_ancestor):
24722 gst_object_has_ancestor() copied from gstbin.c as it is a
24725 * tests/instantiate/create.c: (create_all_elements):
24726 * tests/lat.c: (handoff_src), (handoff_sink):
24727 * tests/sched/runxml.c: (main):
24728 * tests/seeking/seeking1.c: (main):
24729 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24731 Fix compilation of some tests.
24733 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24736 Remove comment. GST_TYPE_G_ERROR is here to stay,
24737 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24738 (#316961, #300610).
24740 2005-09-26 Wim Taymans <wim@fluendo.com>
24742 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24743 Added check that shows error in state change order.
24745 2005-09-26 Wim Taymans <wim@fluendo.com>
24747 * gst/gstbin.c: (gst_bin_change_state):
24748 Make state change function use 3 queues again, we were
24749 adding elements in the wrong order.
24751 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24754 * gst/gstpad.c: (gst_pad_dispose):
24755 Added some debug info first.
24757 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24759 * docs/design/draft-push-pull.txt:
24760 * docs/design/part-events.txt:
24761 * docs/design/part-overview.txt:
24762 * docs/design/part-scheduling.txt:
24763 Replace all _pull_region() with _pull_range()
24765 2005-09-26 Andy Wingo <wingo@pobox.com>
24767 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24769 * check/gst-libs/controller.c: Update for controller api change.
24772 * tests/Makefile.am:
24773 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24774 over by GLib bug 118439.
24776 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24777 routines to a function.
24779 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24781 * libs/gst/controller/gsthelper.c:
24782 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24783 (gst_object_sync_values): Renamed from sink_values. Ugh.
24785 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24787 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24788 Renamed from controller_key, as it is exported.
24790 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24792 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24797 * gst/gstpadtemplate.h:
24800 * gst/gstqueryutils.c:
24801 * gst/gstqueryutils.h:
24802 remove queryutils headers after moving the two used functions
24803 to gstquery. also fixes build problem for gstsiddec
24805 2005-09-26 Michael Smith <msmith@fluendo.com>
24807 * tools/gst-launch.1.in:
24808 Correct documentation in manpage of debug syntax
24810 2005-09-26 Wim Taymans <wim@fluendo.com>
24812 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24813 (gst_base_src_is_seekable), (gst_base_src_change_state):
24814 Some more debugging info.
24816 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24818 * docs/gst/gstreamer-sections.txt:
24819 * gst/base/gstbasetransform.h:
24823 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24825 * docs/gst/.cvsignore:
24826 * docs/gst/tmpl/.cvsignore:
24827 * docs/gst/tmpl/gstpipeline.sgml:
24828 * docs/gst/tmpl/gstplugin.sgml:
24829 * gst/gstpipeline.c:
24832 inlined the last two docs files
24833 removed the tmpl directory from cvs (no more conflicts here!)
24835 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24837 * docs/gst/gstreamer-sections.txt:
24838 * docs/gst/tmpl/.cvsignore:
24839 * docs/gst/tmpl/gstpad.sgml:
24840 * docs/gst/tmpl/gstpadtemplate.sgml:
24842 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24843 (gst_pad_finalize), (gst_pad_set_pad_template):
24845 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24846 (gst_pad_template_class_init), (gst_pad_template_init),
24847 (gst_pad_template_dispose), (name_is_valid),
24848 (gst_static_pad_template_get), (gst_pad_template_new),
24849 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24850 (gst_pad_template_pad_created):
24851 * gst/gstpadtemplate.h:
24852 inlined two more docs
24853 factored gstpadtemplate out of gstpad
24855 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24857 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24858 (test_children_state_change_order_semi_sink):
24859 Fix test case: we can't rely on a fixed state change order when
24860 going from READY => PAUSED because the sink might commit its
24861 new state first when the first buffer created by the source
24862 reaches the sink before the source has finished its change state.
24863 (Test case still fails at times, see #316856, comment 5 onwards)
24865 2005-09-24 Wim Taymans <wim@fluendo.com>
24867 * docs/design/part-events.txt:
24868 * docs/design/part-gstbus.txt:
24869 * docs/design/part-gstpipeline.txt:
24870 * docs/design/part-messages.txt:
24871 * docs/design/part-overview.txt:
24872 * docs/design/part-segments.txt:
24876 * gst/gstelement.c:
24879 * gst/gstiterator.c:
24880 Various documentation updates.
24882 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24885 Well, that's embarassing. Luckily we weren't using
24886 GST_CLOCK_DIFF anywhere.
24888 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24890 * common/gtk-doc.mak:
24891 don't fail on building XML, FC4 slave shows a bunch of doc
24892 missing bits that I don't get
24894 * gst/gstpipeline.c:
24895 * gst/gststructure.c:
24898 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24900 * docs/design/part-gstbin.txt:
24901 * docs/design/part-gstbus.txt:
24903 Add blurb about how the bus goes into flushing mode and
24904 drops all messages when its bin goes from READY into NULL
24907 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24909 * docs/gst/gstreamer-sections.txt:
24910 * gst/gststructure.c: (gst_structure_get_clock_time):
24911 * gst/gststructure.h:
24912 add a method to get a GstClockTime out of a structure
24914 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24916 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24917 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24918 Added test to check state change order in bins (can still be made
24919 to fail here under heavy disk load; bails out with 'Push on pad
24920 fakesink:sink0, but it was not activated in push mode').
24922 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24923 Fix state change order when there is only a semi sink (#316856)
24925 * gst/gstbus.c: (gst_bus_class_init):
24926 Use _class_peek_parent(), not _class_ref(); fix docs to say
24927 'default main context' instead of 'mainloop' where that is
24930 * gst/gstelement.c: (gst_element_commit_state),
24931 (gst_element_set_state):
24932 Fix typos in debug messages
24934 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24937 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24938 * gst/gstpluginfeature.c:
24940 various doc updates
24941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24942 change an assert into an error until it gets fixed properly
24944 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24946 * docs/gst/gstreamer-sections.txt:
24947 * docs/gst/tmpl/.cvsignore:
24948 * docs/gst/tmpl/gstelement.sgml:
24949 * docs/gst/tmpl/gstinfo.sgml:
24950 * docs/gst/tmpl/gstobject.sgml:
24951 * gst/gstelement.c:
24952 * gst/gstelement.h:
24955 * gst/gstobject.c: (gst_object_class_init):
24957 inlined 3 more biiiig doc files and added some missing docs on the fly
24959 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24961 * check/gst/.cvsignore:
24962 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24963 * gst/gstregistryxml.c: (load_plugin),
24964 (gst_registry_xml_save_plugin):
24965 put back source in registry. add checks for find_plugin.
24966 * testsuite/states/bin.c: (assert_state), (empty_bin),
24967 (test_adding_one_element), (main):
24968 * testsuite/states/locked.c: (main):
24969 some compile/run fixes
24971 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24973 * check/gst/gstvalue.c: (GST_START_TEST):
24974 fix leaks in the test itself
24976 2005-09-22 Wim Taymans <wim@fluendo.com>
24978 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24979 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24980 (gst_base_sink_query):
24981 Prepare for more accurate position reporting and query
24984 * gst/gstelement.c: (gst_element_send_event),
24985 (gst_element_set_state):
24988 2005-09-22 Wim Taymans <wim@fluendo.com>
24990 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24991 (gst_query_parse_segment):
24993 More documentation.
24994 Add segment query for future use.
24996 2005-09-22 Wim Taymans <wim@fluendo.com>
24998 * gst/gstbin.c: (gst_bin_add_func):
24999 Some more debug info.
25001 * gst/gstelement.c: (gst_element_send_event):
25002 Simplify send_event
25004 * gst/gstelement.h:
25005 Don't know how flags got broken.
25010 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25012 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25013 Add simplistic test suite for GST_TYPE_DATE serialisation and
25016 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25018 * docs/gst/gstreamer-sections.txt:
25019 * gst/gststructure.c: (gst_structure_set_valist),
25020 (gst_structure_get_date):
25021 * gst/gststructure.h:
25022 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25023 (gst_date_copy), (gst_value_compare_date),
25024 (gst_value_serialize_date), (gst_value_deserialize_date),
25025 (gst_value_transform_date_string),
25026 (gst_value_transform_string_date), (_gst_value_initialize):
25028 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25029 bunch of utility functions along with a hack that checks that
25030 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25031 is required. Part of the grand scheme in #170777.
25033 2005-09-22 Andy Wingo <wingo@pobox.com>
25035 * gst/gstconfig.h.in: Psych out gtk-doc.
25037 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25039 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25041 * tools/gst-inspect.c (print_element_list): Plug some
25042 inconsequential leaks.
25044 * gst/gstregistry.c (gst_registry_get_default): Doc.
25046 * check/gst/gstplugin.c:
25047 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25048 * gst/gstelementfactory.c (gst_element_factory_create):
25049 * gst/gstindexfactory.c (gst_index_factory_create): Update for
25052 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25053 (gst_plugin_feature_load): Doc, don't eat refs.
25055 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25056 (gst_plugin_list_free): Doc.
25057 (gst_plugin_load_file): Doc updates.
25059 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25060 accessors returning refcounted objects, return a ref.
25062 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25063 accessor for caps. IDEMPOTENCE. Oh yes.
25065 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25067 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25069 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25070 (_gst_debug_register_funcptr):
25071 Add mutex to serialise access to the hash table with
25072 the function pointer => function name string mapping;
25073 make that hash table static scope (#316809).
25075 * gst/registries/.cvsignore:
25076 Remove left-over file.
25078 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25080 * docs/pwg/appendix-porting.xml:
25081 And something about newsegment events and caps-on-buffers to
25082 the porting guide (feel free to improve).
25084 2005-09-21 Andy Wingo <wingo@pobox.com>
25086 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25087 data and event probes on the same pad.
25088 (test_buffer_probe_once): Test that removing probes from within
25089 the probe functions works.
25091 2005-09-21 Andy Wingo <wingo@pobox.com>
25093 * check/gst/gstutils.c: New file.
25094 (test_buffer_probe_n_times): A simple buffer probe test. More to
25097 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25098 have-data::buffer, not have-data.
25099 (gst_pad_add_event_probe): Likewise for have-data::event.
25100 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25101 peer' isn't quite right yet though.
25102 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25103 (gst_pad_remove_data_probe): Change to take the guint handler_id
25104 as their arg, not the function+data, which is more glib-like.
25106 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25107 the signal emission to indicate if the data is a buffer or an
25109 (gst_pad_get_type): Initialize buffer and event quarks.
25110 (gst_pad_class_init): have-data is now a detailed signal, yes it
25113 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25115 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25116 * gst/gstutils.c: (gst_util_set_value_from_string),
25117 (gst_util_set_object_arg):
25118 Don't put functional code in g_return_if_fail() or
25119 g_return_val_if_fail() statements, otherwise things will
25120 break when G_DISABLE_CHECKS is defined during compilation.
25122 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25124 * docs/gst/tmpl/.cvsignore:
25125 * docs/gst/tmpl/gstvalue.sgml:
25128 inlied another one and added some obvious docs
25130 2005-09-21 Wim Taymans <wim@fluendo.com>
25132 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25133 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25134 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25135 (gst_fdsrc_get_property), (gst_fdsrc_create):
25136 * gst/elements/gstfdsrc.h:
25137 Properly implement fdsrc. Removed signal and timeout,
25138 better implemented somewhere else.
25140 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25142 * docs/gst/tmpl/.cvsignore:
25143 * docs/gst/tmpl/gstimplementsinterface.sgml:
25144 * gst/gstinterface.c:
25147 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25149 * docs/gst/gstreamer-sections.txt:
25150 * docs/gst/tmpl/.cvsignore:
25151 * docs/gst/tmpl/gstenumtypes.sgml:
25152 remove obsolete doc file
25154 2005-09-21 David Schleef <ds@schleef.org>
25156 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25157 little beer, fix a little leak.
25159 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25161 * docs/gst/gstreamer-docs.sgml:
25162 * docs/gst/gstreamer-sections.txt:
25163 * docs/gst/tmpl/.cvsignore:
25167 * gst/gstelement.h:
25168 * gst/gstindex.c: (gst_index_class_init):
25170 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25171 (gst_index_factory_class_init), (gst_index_factory_init),
25172 (gst_index_factory_finalize), (gst_index_factory_new),
25173 (gst_index_factory_destroy), (gst_index_factory_find),
25174 (gst_index_factory_create), (gst_index_factory_make):
25175 * gst/gstindexfactory.h:
25176 * gst/gstpluginfeature.c:
25177 * gst/gstpluginfeature.h:
25178 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25179 more docs inlined, splitted gstindex.{c,h}
25181 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25183 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25186 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25188 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25189 Set sync to FALSE by default.
25191 2005-09-20 Wim Taymans <wim@fluendo.com>
25193 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25194 (gst_base_sink_init):
25195 Make sync property settable from subclass.
25197 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25198 (gst_fake_sink_change_state):
25199 Set sync to FALSE by default.
25201 2005-09-20 Wim Taymans <wim@fluendo.com>
25203 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25204 * tools/gst-launch.c: (main):
25205 The timeout handler should have lower priority than the source
25206 so we don't timeout before popping a message with 0 timeout.
25207 Dump error messages after failed state change.
25209 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25211 * tools/gst-inspect.c: (print_element_properties_info):
25214 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25216 * check/gst/gstevent.c:
25217 * gst/elements/gstfakesink.c:
25218 * gst/elements/gstfakesink.h:
25219 remove the sync property from fakesink.
25220 has the side effect of setting sync TRUE
25221 for fakesink, which is a change. Anyone who knows how
25222 to fix this nicely in a GObject-y way, feel free.
25224 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25226 * docs/gst/gstreamer-docs.sgml:
25227 remove probe refsection
25229 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25231 * check/Makefile.am:
25232 disable valgrinding the controller test again
25233 * docs/gst/gstreamer-sections.txt:
25234 update for api-changes
25236 2005-09-20 Wim Taymans <wim@fluendo.com>
25238 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25239 (gst_base_sink_set_property), (gst_base_sink_get_property),
25240 (gst_base_sink_do_sync):
25241 * gst/base/gstbasesink.h:
25242 Added sync property to basesink to disable clock sync.
25244 2005-09-20 Andy Wingo <wingo@pobox.com>
25246 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25247 eating the caller's refcount.
25249 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25250 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25253 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25254 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25255 of GLib 2.8 public, so we can know which refcount to check in
25258 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25259 (gst_object_init): Only set the gst refcount if we're going ahead
25260 with the refcount hack.
25262 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25264 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25265 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25266 more leaks plumbed, added more debug-logging
25270 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25272 * gst/gstmessage.c:
25273 remove include of gstmemchunk.h
25275 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25277 * gst/gstclock.c: (_gst_clock_id_free):
25278 Commit from the Political Party For More Atomic CVS Commits,
25279 so that people don't waste too much of their day fishing
25280 out obvious leaks out of massive commits.
25281 Oh, and fix a pretty damn obvious leak in the memchunk
25284 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25286 * check/Makefile.am:
25287 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25288 plug mem-leak, re-add to valgrindable tests
25290 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25293 unbreak the build for those who have chronic arthritis
25294 and typing "make check" is just too taxing on the hands
25296 2005-09-20 Andy Wingo <wingo@pobox.com>
25298 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25299 really want it out, you should fix plugins at the same time.
25301 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25304 * docs/gst/gstreamer-sections.txt:
25306 added missing symbols to api docs
25307 disable ref-count hack if we have glib >= 2.8
25309 2005-09-19 David Schleef <ds@schleef.org>
25311 * docs/gst/Makefile.am: Ignore a few more internal headers
25312 * docs/gst/gstreamer-docs.sgml: Remove old sections
25313 * docs/gst/gstreamer-sections.txt: Remove old sections
25314 * docs/gst/tmpl/gstobject.sgml: update
25315 * docs/gst/tmpl/gstplugin.sgml: update
25316 * docs/gst/tmpl/gstpluginfeature.sgml: update
25317 * docs/random/ds/0.9-suggested-changes: update.
25318 * gst/Makefile.am: remove memchunk and trashstack, since they're
25320 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25321 * gst/gst.h: don't include some headers
25322 * gst/gstchildproxy.c: add gstmarshal.h
25323 * gst/gstclock.c: Don't use memchunks
25324 * gst/gstminiobject.c: Add some docs
25325 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25326 * gst/gstobject.h: same
25327 * gst/gstplugin.c: include gstmacros.h
25328 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25329 * gst/gstquery.c: don't use memchunks
25330 * gst/gstregistry.c: rename gst_registry_deinit()
25331 * gst/gstregistry.h: same
25333 2005-09-19 David Schleef <ds@schleef.org>
25335 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25336 * docs/libs/gstreamer-libs-sections.txt:
25337 * docs/libs/tmpl/gstgetbits.sgml:
25338 * docs/libs/tmpl/gstputbits.sgml:
25340 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25342 * win32/gstenumtypes.c:
25343 * win32/gstenumtypes.h:
25346 2005-09-19 Wim Taymans <wim@fluendo.com>
25348 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25349 Automatically PAUSE and RESUME a pipeline when a flushing seek
25352 2005-09-19 Andy Wingo <wingo@pobox.com>
25354 * gst/gstregistry.h: Spacing fixen.
25356 2005-09-19 Wim Taymans <wim@fluendo.com>
25358 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25359 Handle state change failure more correctly.
25361 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25363 * check/Makefile.am:
25364 * check/pipelines/cleanup.c: (run_pipeline):
25365 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25367 enable cleanup again after fixing the leak
25369 some more info on docs
25371 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25373 * check/Makefile.am:
25374 re-enable tests now that leaks are plugged
25376 * check/gst/gstbin.c:
25377 * check/gst/gstpipeline.c:
25378 add some more tests while fixing leaks
25379 * common/check.mak:
25380 make sure binaries are uptodate when valgrinding/gdbing
25382 * gst/gstelementfactory.c:
25383 remove a ref too many, and add a FIXME for when we get
25384 round to disposing of classes
25386 fix the refcounting when loading a plugin from a file and
25387 the code pretends that the pointer is the same even though
25388 of course it can change
25389 * gst/gstpluginfeature.c:
25390 unref plugins marked cached (a bit confusing as a name)
25391 as the docs state should be done
25392 various doc additions to explain refcounting
25393 * gst/gstregistry.c:
25394 * gst/gstregistryxml.c:
25397 2005-09-19 Wim Taymans <wim@fluendo.com>
25399 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25400 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25401 (send_messages), (GST_START_TEST), (gstbus_suite):
25402 * check/gst/gstpipeline.c: (GST_START_TEST):
25403 * check/pipelines/cleanup.c: (run_pipeline):
25404 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25406 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25407 (gst_bus_source_check), (gst_bus_source_dispatch),
25408 (gst_bus_create_watch), (gst_bus_add_watch_full),
25409 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25411 * tools/gst-launch.c: (event_loop):
25412 * tools/gst-md5sum.c: (event_loop):
25413 GstBusHandler -> GstBusFunc, return value has the same meaning as
25414 any other GSource (FALSE == remove source).
25415 _add_watch() and _add_watch_full() now take a MessageType mask to
25416 only handle specific types of messages.
25417 _poll() returns the GstMessage instead of the message type to avoid
25419 _have_pending() takes a MessageType mask now too.
25420 Added testsuite for multiple bus watches.
25421 Fix testsuites and applications for new bus API.
25423 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25425 * check/Makefile.am:
25426 mark a bunch of the tests as to fix until we fix them
25428 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25430 * common/check.mak:
25431 use GST_PLUGIN settings for valgrind tests as well, so we're
25432 valgrinding the correct thing
25433 * gst/gst.c: (init_post):
25436 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25438 * gst/gst.c: (init_post), (gst_deinit):
25439 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25440 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25441 * gst/gstindex.c: (gst_index_factory_class_init),
25442 (gst_index_factory_finalize):
25443 * gst/gstobject.c: (gst_object_dispose):
25444 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25445 (gst_plugin_load_file), (gst_plugin_desc_free):
25446 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25447 (gst_plugin_feature_finalize):
25448 * gst/gstregistry.c: (gst_registry_class_init),
25449 (gst_registry_init), (gst_registry_finalize),
25450 (gst_registry_get_default), (gst_registry_deinit):
25451 * gst/gstregistry.h:
25452 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25453 various cleanups and memleak plugging. make valgrind is happy now.
25455 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25457 * common/check.mak:
25458 add a check-valgrind target
25460 2005-09-18 David Schleef <ds@schleef.org>
25462 * tools/gst-inspect.c: Revert the GOption code.
25464 2005-09-17 David Schleef <ds@schleef.org>
25466 * check/Makefile.am: Fix environment variables.
25467 * check/gst/gstplugin.c: Fix for API changes.
25468 * tools/gst-inspect.c: Fix for API changes.
25469 * tools/gst-xmlinspect.c: Fix for API changes.
25470 * gst/gstelementfactory.c:
25473 * gst/gstpluginfeature.c:
25474 * gst/gstpluginfeature.h:
25475 * gst/gstregistry.c:
25476 * gst/gstregistry.h:
25477 * gst/gstregistryxml.c:
25478 * gst/gsttypefind.c:
25479 * gst/gsttypefindfactory.c:
25480 * gst/indexers/gstfileindex.c:
25481 * gst/indexers/gstmemindex.c:
25482 * gst/schedulers/Makefile.am:
25483 Change registry to keep track of both plugins and features,
25484 removing the feature tracking from plugins themselves.
25486 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25488 * check/Makefile.am:
25489 * tools/gst-register.1.in:
25490 remove gst-register
25492 2005-09-15 David Schleef <ds@schleef.org>
25494 * check/gst/gstplugin.c:
25495 * gst/gstelementfactory.c:
25497 * gst/gstpluginfeature.c:
25498 * gst/gstregistry.c:
25499 Getting tired of debugging. Disabled all the unreffing of
25500 plugins and features, which fixes the segfaults, but of
25501 course leaks like crazy. At least playbin works.
25503 2005-09-15 David Schleef <ds@schleef.org>
25505 * check/gst/gstplugin.c: (register_check_elements),
25506 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25508 * gst/elements/gsttypefindelement.c: Fix refcounting.
25509 * gst/gsttypefind.c:
25510 * gst/gsttypefindfactory.c:
25511 * gst/gsttypefindfactory.h:
25513 2005-09-15 David Schleef <ds@schleef.org>
25515 * gst/gstindex.c: get refcounting correct.
25516 * gst/gstregistry.c: Handle the case where a feature/plugin is
25519 2005-09-15 David Schleef <ds@schleef.org>
25521 * check/Makefile.am:
25522 * check/gst/gstplugin.c: Add test
25523 * gst/gstplugin.c: Fix problems noticed by testsuite
25525 * gst/gstregistry.c:
25526 * gst/gstregistry.h:
25528 2005-09-15 David Schleef <ds@schleef.org>
25530 * gst/gstplugin.c: Implement semi-decent recounting and locking
25531 in plugins and plugin features.
25533 * gst/gstpluginfeature.c:
25534 * gst/gstpluginfeature.h:
25535 * gst/gstregistry.c:
25537 2005-09-15 Michael Smith <msmith@fluendo.com>
25539 * gst/gstregistry.c: (gst_registry_get_feature_list):
25540 Implement this. Makes oggdemux work; decodebin still broken.
25542 2005-09-14 David Schleef <ds@schleef.org>
25544 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25546 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25547 * gst/check/Makefile.am:
25548 * libs/gst/controller/Makefile.am:
25549 * libs/gst/dataprotocol/Makefile.am:
25551 2005-09-14 David Schleef <ds@schleef.org>
25553 * configure.ac: Remove getbits library. Nothing uses it, and
25554 it should be in something like liboil if someone did want
25556 * libs/gst/Makefile.am:
25557 * libs/gst/getbits/Makefile.am:
25558 * libs/gst/getbits/gbtest.c:
25559 * libs/gst/getbits/getbits.c:
25560 * libs/gst/getbits/getbits.h:
25561 * libs/gst/getbits/gstgetbits_generic.c:
25562 * libs/gst/getbits/gstgetbits_i386.s:
25563 * libs/gst/getbits/gstgetbits_inl.h:
25565 2005-09-14 David Schleef <ds@schleef.org>
25567 * gst/Makefile.am: Dist glib-compat.h
25569 2005-09-14 David Schleef <ds@schleef.org>
25571 * configure.ac: Remove gst/registries, since it's no longer used.
25572 * gst/registries/Makefile.am:
25573 * gst/registries/gstlibxmlregistry.c:
25574 * gst/registries/gstlibxmlregistry.h:
25575 * gst/registries/gstxmlregistry.c:
25576 * gst/registries/gstxmlregistry.h:
25577 * gst/registries/registrytest.c:
25579 2005-09-14 David Schleef <ds@schleef.org>
25581 * gst/glib-compat.h:
25582 * gst/gstregistryxml.c:
25583 Convergence is near. Seriously.
25585 2005-09-14 David Schleef <ds@schleef.org>
25587 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25588 * gst/glib-compat.h:
25589 Attempt #4 to appease the buildbots.
25591 2005-09-14 David Schleef <ds@schleef.org>
25593 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25596 2005-09-14 David Schleef <ds@schleef.org>
25598 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25601 2005-09-14 David Schleef <ds@schleef.org>
25603 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25606 2005-09-14 David Schleef <ds@schleef.org>
25608 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25609 * gst/glib-compat.h: Add some functions that are in newer versions
25610 of glib than we care to require.
25611 * gst/gstregistryxml.c: Use them.
25613 2005-09-14 David Schleef <ds@schleef.org>
25615 * po/POTFILES.in: remove gst-register.c
25617 2005-09-14 David Schleef <ds@schleef.org>
25619 * docs/gst/gstreamer-docs.sgml:
25620 * docs/gst/gstreamer-sections.txt:
25621 * docs/gst/gstreamer.types:
25622 * docs/gst/tmpl/gstelement.sgml:
25623 * docs/gst/tmpl/gstplugin.sgml:
25624 * docs/gst/tmpl/gstpluginfeature.sgml:
25625 Documentation updates for registry changes.
25627 2005-09-14 David Schleef <ds@schleef.org>
25629 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25630 because we don't require glib-2.8.
25632 2005-09-14 David Schleef <ds@schleef.org>
25634 * gst/gstregistryxml.c: Added. Essentially moved out of the
25635 registries directory.
25637 2005-09-14 David Schleef <ds@schleef.org>
25639 * check/Makefile.am:
25640 * check/generic/states.c:
25644 * gst/gst_private.h:
25645 * gst/gstelementfactory.c:
25650 * gst/gstpluginfeature.c:
25651 * gst/gstpluginfeature.h:
25652 * gst/gstregistry.c:
25653 * gst/gstregistry.h:
25654 * gst/gstregistrypool.c: remove
25655 * gst/gstregistrypool.h: remove
25656 * gst/gsttypefind.c:
25657 * gst/gsttypefindfactory.c:
25659 * tools/Makefile.am:
25660 * tools/gst-compprep.c:
25661 * tools/gst-inspect.c:
25662 * tools/gst-register.c: remove
25663 * tools/gst-xmlinspect.c:
25664 Registry rewrite. Changes registry from being a file created
25665 by a tool into a simple cache file created automatically by
25666 libgstreamer. Removed gst-register (because it's no longer
25667 needed). Remove registry pools, because we only have one
25668 registry implementation (XML). Fix up other subsystems as
25671 2005-09-13 Michael Smith <msmith@fluendo.com>
25673 * gst/gstconfig.h.in:
25674 Don't Use windows linking attributes for MinGW. Fixes #316157
25676 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25678 * gst/gstutils.c: (set_state_async_thread_func),
25679 (gst_element_set_state_async):
25680 Apparently people think it's better if this function doesn't
25681 try to set the state to whatever state was asked for on the first
25682 call to this function for any object. Seriously.
25684 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25686 * check/gst/gstpipeline.c: (GST_START_TEST):
25687 * docs/gst/gstreamer-sections.txt:
25688 * gst/gstutils.c: (set_state_async_thread_func),
25689 (gst_element_set_state_async):
25691 add a "gst_element_set_state_async" method that
25692 sets the state and starts a thread to make sure the state
25693 change completes as best as it can
25695 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25697 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25698 codify design+behaviour in testsuite after discussion
25700 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25702 * docs/gst/tmpl/gstelement.sgml:
25703 * docs/manual/appendix-quotes.xml:
25705 * gst/gstelement.c: (gst_element_set_state):
25708 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25710 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25711 (gst_base_transform_prepare_output_buf),
25712 (gst_base_transform_handle_buffer):
25713 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25714 (gst_capsfilter_prepare_buf):
25715 Remove the requirement for sub-classes to call the parent
25716 implementation of prepare_output_buffer with a wrapper function.
25718 * gst/gsttaglist.h:
25719 * gst/gsttagsetter.h:
25720 Fix #define wrapper
25722 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25724 * docs/gst/gstreamer-sections.txt:
25727 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25729 * docs/gst/gstreamer-sections.txt:
25730 * docs/gst/tmpl/gstelement.sgml:
25731 * docs/gst/tmpl/gstplugin.sgml:
25732 * gst/gstminiobject.c:
25734 docs now stop throwing warnings
25736 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25738 * docs/gst/gstreamer-sections.txt:
25739 * docs/gst/gstreamer.types:
25740 * docs/gst/tmpl/gstpad.sgml:
25741 * docs/gst/tmpl/gsttypes.sgml:
25742 * gst/base/gstadapter.h:
25743 * gst/base/gstbasesink.h:
25744 * gst/base/gstbasesrc.h:
25750 * gst/gstelement.h:
25752 * gst/gstmessage.h:
25754 * gst/gststructure.c:
25755 * gst/registries/gstlibxmlregistry.h:
25756 various documentation fixes
25758 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25760 * docs/gst/gstreamer-sections.txt:
25761 * docs/gst/tmpl/gstvalue.sgml:
25762 rearrange gstvalue section
25763 * gst/gstutils.c: (gst_element_state_get_name):
25765 * gst/gstvalue.c: (_gst_value_initialize):
25769 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25771 * check/gst-libs/controller.c:
25772 Header include fix.
25773 * gst/base/gstbasetransform.c:
25774 (gst_base_transform_default_prepare_buf),
25775 (gst_base_transform_handle_buffer):
25776 * gst/base/gstbasetransform.h:
25777 Some more basetransform changes and fixes to enable sub-classes
25778 that modify buffer metadata only.
25779 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25780 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25781 (gst_capsfilter_prepare_buf):
25782 If the output pad has fixed allowed caps and input buffers
25783 don't have any, set the fixed caps on outgoing buffers.
25785 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25786 * check/elements/identity.c: (GST_START_TEST):
25787 Make the error a little clearer when the test fails because
25788 identity made a copy of the buffer.
25789 * docs/gst/gstreamer-sections.txt:
25790 New symbols in gstbasetransform.h
25791 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25792 (gst_base_transform_init), (gst_base_transform_transform_size),
25793 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25794 (gst_base_transform_default_prepare_buf),
25795 (gst_base_transform_get_unit_size),
25796 (gst_base_transform_buffer_alloc),
25797 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25798 (gst_base_transform_change_state),
25799 (gst_base_transform_set_passthrough),
25800 (gst_base_transform_set_in_place),
25801 (gst_base_transform_is_in_place):
25802 * gst/base/gstbasetransform.h:
25803 Change BaseTransform to separate in_place operate from same_caps
25804 output. in_place implies that the element can perform the transform
25805 on incoming buffers in-place, even if the caps on the output are
25807 Sub-class elements can now implement special buffer allocation
25808 methods for outgoing buffers if they wish to.
25809 Big documentation addition.
25810 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25811 * gst/elements/gstelements.c:
25812 Changes for basetransform modifications.
25813 * gst/elements/Makefile.am:
25814 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25815 Compile fix. Extra debug output.
25817 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25819 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25821 add tests for valid pad naming
25822 * gst/check/gstcheck.c: (gst_check_log_message_func),
25823 (gst_check_log_critical_func):
25825 remove printing of code, it is fragile when the code contains
25826 % and the line number is enough info
25827 * gst/check/gstcheck.h:
25828 * gst/gstpad.c: (gst_pad_template_new):
25831 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25834 say what CHECK flags we use
25835 * docs/libs/gstreamer-libs.types:
25836 * libs/gst/controller/Makefile.am:
25837 * libs/gst/controller/gst-controller.c:
25838 * libs/gst/controller/gst-controller.h:
25839 * libs/gst/controller/gst-helper.c:
25840 * libs/gst/controller/gst-interpolation.c:
25841 * libs/gst/controller/gstcontroller.c:
25842 * libs/gst/controller/gsthelper.c:
25843 * libs/gst/controller/gstinterpolation.c:
25844 * tools/gst-inspect.c: (print_plugin_info):
25845 we don't use dashes in header names
25847 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25849 * check/Makefile.am:
25850 * check/gst/.cvsignore:
25851 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25852 (gst_pipeline_suite), (main):
25853 adding a test for pipelines and state changes
25854 * gst/gstutils.c: (get_state_func):
25856 * gstreamer.spec.in:
25859 2005-09-08 Michael Smith <msmith@fluendo.com>
25861 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25862 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25863 (gst_file_src_is_seekable), (gst_file_src_get_size),
25864 (gst_file_src_start):
25865 * gst/elements/gstfilesrc.h:
25866 Various fixes for unseekable, unmmapable, and non-normal files, so
25867 that fallback to read() rather than mmap() works.
25868 * gst/gstevent.c: (gst_event_new_newsegment):
25869 Allow newsegment events with segment_start == segment_end, as will
25870 correctly happen if you use filesrc on a zero-size file, for
25873 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25875 * gst/gstplugin.c: (gst_plugin_load_file):
25876 Call g_module_close when we don't load the module
25878 * gst/registries/gstlibxmlregistry.c:
25879 (gst_xml_registry_get_property):
25880 Port leak fix from 0.8
25882 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25884 * docs/gst/gstreamer-docs.sgml:
25885 * docs/gst/tmpl/.cvsignore:
25886 * docs/gst/tmpl/gsttrace.sgml:
25887 * docs/gst/tmpl/gsttrashstack.sgml:
25890 * gst/gstelement.h:
25892 * gst/gstmessage.c:
25893 * gst/gstmessage.h:
25896 * gst/gsttaginterface.c:
25897 * gst/gsttaginterface.h:
25898 * gst/gsttaglist.c:
25899 * gst/gsttaglist.h:
25900 * gst/gsttagsetter.c:
25901 * gst/gsttagsetter.h:
25904 * gst/gsttrashstack.c:
25905 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25906 inlined docs for gsttrace, gsttrashstack
25908 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25911 * gst/elements/gstbufferstore.h:
25912 * gst/elements/gsttypefindelement.c:
25913 * gst/elements/gsttypefindelement.h:
25915 * gst/gsttypefind.c:
25916 * gst/gsttypefind.h:
25917 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25918 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25919 (gst_type_find_factory_dispose),
25920 (gst_type_find_factory_unload_thyself),
25921 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25922 (gst_type_find_factory_get_caps),
25923 (gst_type_find_factory_get_extensions),
25924 (gst_type_find_factory_call_function):
25925 * gst/gsttypefindfactory.h:
25926 * gst/registries/gstlibxmlregistry.c:
25927 * gst/registries/gstxmlregistry.c:
25928 splitted gsttypefind into gsttypefind, gsttypefindfactory
25930 2005-09-07 Andy Wingo <wingo@pobox.com>
25932 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25933 condition whereby the pad's task function is entered before the
25934 pad_mode variable was set.
25936 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25938 * gst/gstpad.c: (gst_pad_alloc_buffer):
25939 Catch misbehaving pad_alloc functions that don't
25940 set up caps and do it for them.
25942 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25944 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25945 test for pipe!=NULL
25946 * docs/gst/tmpl/.cvsignore:
25947 * docs/gst/tmpl/gstmemchunk.sgml:
25948 * docs/gst/tmpl/gstparse.sgml:
25949 * docs/gst/tmpl/gsttaglist.sgml:
25950 * docs/gst/tmpl/gsttagsetter.sgml:
25951 * docs/gst/tmpl/gsttypefind.sgml:
25952 * docs/gst/tmpl/gsttypefindfactory.sgml:
25953 * gst/gstmemchunk.c:
25956 * gst/gsttaginterface.c:
25957 * gst/gsttypefind.c:
25958 * gst/gsttypefind.h:
25961 === release 0.9.2 ===
25963 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25968 releasing 0.9.2, "South"
25970 2005-09-05 Andy Wingo <wingo@pobox.com>
25972 * gst/registries/gstxmlregistry.h:
25973 * gst/registries/gstxmlregistry.c: Um... resurrect...
25975 * gst/registries/gstxmlregistry.h:
25976 * gst/registries/gstxmlregistry.c: and update to newer API.
25977 Incidentally they should be a bit faster now that they don't have
25980 2005-09-05 Andy Wingo <wingo@pobox.com>
25982 * gst/registries/gstxmlregistry.h:
25983 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25984 replaced by the libxml registry a while back
25986 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25988 * docs/gst/tmpl/gstplugin.sgml:
25989 * gst/elements/gstelements.c:
25991 * gst/gstplugin.c: (gst_plugin_register_func),
25992 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25993 (gst_plugin_get_source):
25995 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25996 (gst_xml_registry_save_plugin):
25997 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25998 (gst_xml_registry_save_plugin):
25999 * tools/gst-inspect.c: (print_plugin_info):
26000 add a "source" plugin description field, to represent the source
26001 module this plugin is a part of. By default GST_PLUGIN_DEFINE
26002 will set it to PACKAGE, which is automake's idea of the name of
26003 the source project.
26005 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
26010 * docs/Makefile.am:
26011 * docs/faq/Makefile.am:
26012 * docs/gst/tmpl/gstelement.sgml:
26013 * docs/gst/tmpl/gsttypes.sgml:
26014 * docs/htmlinstall.mak:
26015 * docs/manual/Makefile.am:
26016 * docs/pwg/Makefile.am:
26017 reorganize doc build a little
26018 split out docbook and gtk-doc stuff
26019 have two separate --enable's and enable them through autogen
26020 but disable by default in configure (to be similar to other
26022 * gstreamer.spec.in:
26023 clean up docs install
26041 translation updates
26043 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
26045 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26048 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26049 (gst_fake_sink_change_state):
26050 Make state change function thread-safe.
26052 * gst/gstpad.c: (gst_pad_alloc_buffer):
26053 Set offset on generic buffer allocated by fallback.
26055 2005-09-03 Stefan Kost <ensonic@users.sf.net>
26057 * docs/gst/gstreamer-sections.txt:
26058 * docs/gst/tmpl/gstelement.sgml:
26060 * libs/gst/controller/gst-controller.c:
26061 (gst_controlled_property_set_interpolation_mode),
26062 (gst_controlled_property_new),
26063 (gst_controller_find_controlled_property):
26064 run the wingo-magic script against the docs
26066 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26068 * docs/gst/gstreamer-docs.sgml:
26069 * docs/gst/gstreamer-sections.txt:
26070 * docs/gst/tmpl/.cvsignore:
26071 * docs/gst/tmpl/gstelementdetails.sgml:
26072 * docs/gst/tmpl/gstelementfactory.sgml:
26075 * gst/gstelementfactory.c:
26076 * gst/gstelementfactory.h:
26077 merged elementdetails docs into elementfactory docs
26080 2005-09-02 Andy Wingo <wingo@pobox.com>
26082 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26083 consider this enum an enum and not a flags.
26085 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26087 * docs/gst/gstreamer-docs.sgml:
26088 * docs/gst/tmpl/.cvsignore:
26089 * docs/gst/tmpl/gstghostpad.sgml:
26090 * docs/gst/tmpl/gstiterator.sgml:
26091 * docs/gst/tmpl/gstmacros.sgml:
26092 * docs/gst/tmpl/gstrealpad.sgml:
26093 * docs/gst/tmpl/gstregistry.sgml:
26094 * docs/gst/tmpl/gstregistrypool.sgml:
26095 * docs/gst/tmpl/gststructure.sgml:
26096 * docs/gst/tmpl/gstsystemclock.sgml:
26097 * docs/gst/tmpl/gsttrace.sgml:
26098 * gst/gstghostpad.c:
26100 * gst/gstmemchunk.c:
26101 * gst/gstmemchunk.h:
26103 * gst/gstregistry.c:
26104 * gst/gstregistrypool.c:
26105 * gst/gststructure.c:
26106 * gst/gstsystemclock.c:
26109 2005-09-02 Andy Wingo <wingo@pobox.com>
26111 * gst/gstelement.h (GstState): Renamed from GstElementState,
26112 changed to be a normal enum instead of flags.
26113 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26114 munged to be GST_STATE_CHANGE_*.
26115 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26116 work with the new state representation.
26117 (GstStateChange): New enumeration of possible state transitions.
26118 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26119 (GstElementClass::change_state): Pass the GstStateChange along as
26120 an argument. Helps language bindings, so they don't have to use
26121 tricky lock-needing macros like GST_STATE_CHANGE ().
26123 * scripts/update-states (file): New script. Run it on a file to
26124 update it for state naming and API changes. Updates files in
26127 * All files updated for the new API.
26129 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26131 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26132 * gst/gstutils.c: (gst_util_set_value_from_string),
26133 (gst_util_set_object_arg):
26134 fix a bunch of unchecked return values
26135 * tools/gst-complete.c: (main):
26136 * gstreamer.spec.in:
26139 2005-09-01 Wim Taymans <wim@fluendo.com>
26141 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26142 (gst_base_sink_event), (gst_base_sink_do_sync),
26143 (gst_base_sink_handle_event):
26144 * gst/base/gstbasesink.h:
26145 Handle newsegments more correctly.
26150 * gst/gstevent.c: (gst_event_new_newsegment):
26151 A newsegment cannot have a start_time of -1
26153 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26155 * win32/gstenumtypes.c:
26156 * win32/gstenumtypes.h:
26159 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26161 * libs/gst/controller/gst-controller.c:
26162 (gst_controlled_property_set_interpolation_mode),
26163 (gst_controlled_property_new):
26164 fixed boolean again
26166 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26168 * docs/faq/gst-uninstalled:
26173 * gst/gstutils.c: (gst_element_link_filtered):
26175 add gst_element_link_filtered
26177 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26179 * docs/gst/gstreamer-docs.sgml:
26180 * docs/gst/gstreamer-sections.txt:
26181 * docs/gst/tmpl/.cvsignore:
26182 * docs/gst/tmpl/gsterror.sgml:
26183 * docs/gst/tmpl/gstfilter.sgml:
26184 * docs/gst/tmpl/gsturihandler.sgml:
26185 * docs/gst/tmpl/gsturitype.sgml:
26186 * docs/gst/tmpl/gstutils.sgml:
26187 * docs/gst/tmpl/gstxml.sgml:
26192 * gst/gsturitype.c:
26195 inlined more docs, fixed double id-ref
26197 2005-08-31 Wim Taymans <wim@fluendo.com>
26199 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26200 (gst_base_transform_handle_buffer):
26201 Passthrough elements don't need the caps as they don't care.
26203 2005-08-31 Wim Taymans <wim@fluendo.com>
26205 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26206 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26207 Don't leak refcounts on buffers.
26209 2005-08-31 Wim Taymans <wim@fluendo.com>
26211 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26212 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26213 (gst_base_transform_chain), (gst_base_transform_change_state):
26214 * gst/base/gstbasetransform.h:
26215 Handle the case where we are not negotiated more gracefully.
26217 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26219 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26220 (gst_file_src_map_region):
26221 Set READONLY flag on mmap'ed buffers, otherwise
26222 gst_buffer_make_writable() won't work properly (#314708).
26224 2005-08-31 Wim Taymans <wim@fluendo.com>
26226 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26227 passthrough elements can even do inplace on non writable
26228 buffers (as they don't touch them).
26230 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26232 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26233 (gst_test_mono_source_set_property),
26234 (gst_test_mono_source_class_init), (GST_START_TEST),
26235 (gst_controller_suite):
26236 more tests (hehe I have the most)
26238 describe popping messages whenusing mulltiple sources
26239 * libs/gst/controller/gst-controller.c:
26240 (gst_controlled_property_set_interpolation_mode),
26241 (gst_controlled_property_new):
26242 * libs/gst/controller/gst-controller.h:
26243 * libs/gst/controller/gst-interpolation.c:
26244 implement boolean properties
26246 2005-08-31 Wim Taymans <wim@fluendo.com>
26248 * gst/gstminiobject.c: (gst_mini_object_ref):
26249 Cannot assert that the refcount has to be positive
26250 since a disposed object can be resurrected.
26252 2005-08-31 Wim Taymans <wim@fluendo.com>
26254 * gst/gstpad.c: (gst_pad_init):
26255 Revert change, need to first fix badly behaving
26258 2005-08-30 Wim Taymans <wim@fluendo.com>
26260 * check/elements/fakesrc.c: (setup_fakesrc):
26261 * check/elements/identity.c: (setup_identity):
26262 Activate pads before using them.
26264 2005-08-30 Wim Taymans <wim@fluendo.com>
26266 * gst/base/gstadapter.c: (gst_adapter_flush):
26267 Flushing out 0 bytes is ok for this function.
26269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26270 no newsegment gives a warning and sets the start/stop to
26273 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26274 (gst_base_transform_set_passthrough):
26277 * gst/gstminiobject.c: (gst_mini_object_ref):
26278 Check refcount here too.
26280 * gst/gstpad.c: (gst_pad_init):
26281 Pads are initially flushing and refusing data.
26283 * gst/gstutils.c: (gst_element_link_pads_filtered):
26284 When adding a capsfilter element make sure it has the
26285 same state as the parent bin.
26287 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26289 * docs/gst/tmpl/.cvsignore:
26290 * docs/gst/tmpl/gstformat.sgml:
26291 * docs/gst/tmpl/gstversion.sgml:
26295 * gst/gstversion.h.in:
26296 more docs and two more inlined
26298 2005-08-30 Wim Taymans <wim@fluendo.com>
26300 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26301 Don't sync to clock.
26303 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26305 * docs/gst/gstreamer-sections.txt:
26306 ultral33t func10ns deserve to appear in the docs actually
26307 * docs/gst/tmpl/.cvsignore:
26308 * docs/gst/tmpl/gstcompat.sgml:
26309 * docs/gst/tmpl/gstconfig.sgml:
26310 * gst/check/gstcheck.c:
26312 * gst/gstconfig.h.in:
26315 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26317 * docs/gst/tmpl/.cvsignore:
26318 * docs/gst/tmpl/gstquery.sgml:
26319 * docs/gst/tmpl/gstutils.sgml:
26322 inlined and extended docs
26324 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26326 * check/gst-libs/controller.c: (GST_START_TEST),
26327 (gst_controller_suite):
26329 * docs/gst/tmpl/gstutils.sgml:
26330 * docs/libs/gstreamer-libs-sections.txt:
26331 * docs/libs/tmpl/gstdataprotocol.sgml:
26333 * examples/controller/audio-example.c: (main):
26334 controller example works now
26337 * tools/gst-inspect.c: (print_element_properties_info):
26338 show param spec flags
26340 2005-08-29 Andy Wingo <wingo@pobox.com>
26342 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26344 2005-08-28 Andy Wingo <wingo@pobox.com>
26346 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26347 as having two arguments instead of just one. Allows superclasses
26348 to access information on subclasses -- see the terrible for() loop
26349 in gtype.c:g_type_create_instance for the reason why. All callers
26352 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26354 * docs/design/part-messages.txt:
26356 * docs/gst/tmpl/.cvsignore:
26357 * docs/gst/tmpl/gstcaps.sgml:
26358 * docs/gst/tmpl/gstclock.sgml:
26364 * gst/gstmessage.c:
26365 added descriptions for bus and message
26366 inline caps and clock docs
26368 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26370 * gst/gstmessage.c:
26371 * gst/gstmessage.h:
26374 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26376 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26379 2005-08-26 Andy Wingo <wingo@pobox.com>
26381 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26382 element_set_state's return val.
26383 (test_2_elements): Add test that's been disabled for months.
26385 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26386 can-activate-pull properties.
26388 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26389 can-activate-pull properties. Implement is_seekable so fakesrc can
26390 operate in pull mode.
26392 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26394 (gst_base_sink_activate, gst_base_sink_activate_pull)
26395 (gst_base_sink_activate_push): Make activation mode choosing work.
26397 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26398 is right. Make pull mode work. Post an eos before pausing in pull
26400 (gst_base_sink_change_state): Pay attention to the core's
26401 change_state() return val.
26403 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26404 has-getrange properties. Cleanups.
26406 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26407 has_getrange and replace with can_activate_pull and
26410 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26411 locking comments. Remove has_loop, has_chain and replace with
26412 can_activate_pull and can_activate_push.
26414 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26417 * examples/Makefile.am:
26418 * examples/metadata/Makefile.am:
26419 * examples/metadata/read-metadata.c: (message_loop),
26420 (have_pad_handler), (make_pipeline), (print_tag), (main):
26421 Add metadata reading example that loops over a list of filenames,
26422 dumping any tags found.
26424 * gst/gstbus.c: (gst_bus_dispose):
26425 * gst/gstelement.c: (gst_element_dispose):
26426 Release a few potentially-held references in dispose.
26428 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26430 * docs/gst/tmpl/gstminiobject.sgml:
26431 do *not* add tmpl/*.sgml files to CVS!
26433 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26435 * libs/gst/bytestream/.cvsignore:
26436 * libs/gst/bytestream/Makefile.am:
26437 * libs/gst/bytestream/adapter.c:
26438 * libs/gst/bytestream/adapter.h:
26439 * libs/gst/bytestream/bytestream.c:
26440 * libs/gst/bytestream/bytestream.h:
26441 * libs/gst/bytestream/filepad.c:
26442 * libs/gst/bytestream/filepad.h:
26443 removing obsolete files
26445 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26447 * docs/gst/gstreamer-docs.sgml:
26448 * docs/libs/gstreamer-libs-docs.sgml:
26449 disabed additional index entries again, as this makes docs-gen just
26450 slow and they aren't useful yet
26451 * docs/libs/gstreamer-libs-sections.txt:
26452 little -section.txt cleanup for libs
26454 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26457 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26458 fix up some debugging
26459 (gst_base_transform_get_unit_size),
26460 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26461 (gst_base_transform_handle_buffer):
26462 * gst/base/gstbasetransform.h:
26463 handle and store timed NEWSEGMENT events so that subclasses that
26464 calculate time by counting samples have a segment_start time they
26465 need to add to their timestamps - see audioresample
26467 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26470 removed ';' from the end of macro defs
26471 * docs/gst/gstreamer-docs.sgml:
26472 * docs/gst/gstreamer-sections.txt:
26473 * docs/gst/tmpl/.cvsignore:
26475 * gst/gstelement.c: (gst_element_class_init),
26476 (gst_element_set_state), (activate_pads),
26477 (gst_element_save_thyself):
26478 * gst/gstevent.c: (gst_event_new_newsegment):
26480 * gst/gstiterator.c:
26481 * gst/gstiterator.h:
26484 * gst/gstutils.c: (gst_pad_query_convert):
26486 fixed parameter name mismatches between source, header and docs
26487 added some more docs, resolved the last batch of unused elements in
26488 docs (now someone needs to doc them)
26490 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26492 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26493 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26494 don't walk through the plugins backwards. Where is all this
26495 reversed logic coming from ?
26497 2005-08-25 Wim Taymans <wim@fluendo.com>
26499 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26500 (gst_base_transform_transform_size),
26501 (gst_base_transform_configure_caps),
26502 (gst_base_transform_get_unit_size),
26503 (gst_base_transform_buffer_alloc),
26504 (gst_base_transform_change_state):
26505 * gst/base/gstbasetransform.h:
26506 Cache caps unit_size.
26507 Make sure we cannot negotiate up and downstream at the
26510 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26512 * gst/gst.c: (init_pre), (init_post):
26513 register the installed plugin path after the env var
26514 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26515 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26516 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26517 directories, so the tests can prefer uninstalled over installed
26519 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26521 * gst/base/gstbasetransform.h:
26526 2005-08-25 Wim Taymans <wim@fluendo.com>
26528 * gst/gstbin.c: (bin_bus_handler):
26529 Be a bit more conservative about the posted message.
26531 * gst/gstbus.c: (gst_bus_post):
26532 Some cleanups, warn wrong return values.
26534 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26536 * check/gst/gstbin.c: (GST_START_TEST):
26537 * gst/gstbin.c: (bin_bus_handler):
26538 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26539 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26540 (gst_message_new_warning), (gst_message_new_tag),
26541 (gst_message_new_state_changed), (gst_message_new_segment_start),
26542 (gst_message_new_segment_done), (gst_message_new_custom):
26543 * gst/gstmessage.h:
26544 * tools/gst-launch.c: (event_loop):
26545 * tools/gst-md5sum.c: (event_loop):
26546 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26548 2005-08-25 Wim Taymans <wim@fluendo.com>
26550 * check/generic/states.c: (GST_START_TEST):
26551 Cleanup can be done at the end.
26553 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26554 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26555 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26556 Oh boy.. Thanks for finding this, Thomas.
26558 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26560 * docs/gst/gstreamer.types:
26561 added missing types
26563 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26565 * docs/gst/gstreamer-docs.sgml:
26566 * docs/gst/gstreamer-sections.txt:
26567 * docs/gst/tmpl/.cvsignore:
26569 * gst/gstiterator.c:
26571 * gst/registries/gstxmlregistry.h:
26572 added missing classes and symbols (123 more to go)
26573 removed removed symbols from section file
26574 fixed many doc-comments
26576 2005-08-24 Wim Taymans <wim@fluendo.com>
26578 * check/generic/states.c: (GST_START_TEST):
26579 Make sure all tasks are stopped.
26581 * check/gst/gstbin.c: (GST_START_TEST):
26582 Unref after usage for proper valgrinding.
26584 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26585 Really wait for the task to stop before destroying the
26588 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26589 (gst_queue_src_activate_push):
26590 Small cleanups. Don't stop the task when we did not start
26593 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26594 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26595 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26598 Protect the stream lock with the object lock.
26599 Disallow setting the stream lock when running.
26600 Add cleanup_all to wait for the threadpool to finish.
26601 Remove code to autoallocate a mutex if none was provided.
26602 Add _join() to wait for a task to stop.
26603 Protect the thread pool with a global lock.
26605 2005-08-24 Wim Taymans <wim@fluendo.com>
26607 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26608 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26609 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26610 * gst/base/gstbasesink.h:
26611 Handle newsegment events correctly.
26612 Drop buffers out of the segment range.
26614 2005-08-22 Andy Wingo <wingo@pobox.com>
26616 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26617 macro, implements an interface and gstimplementsinterface for a
26620 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26622 * check/Makefile.am:
26623 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26624 add a test that does a bunch of state changes on elements
26625 needs some fixing for valgrind
26626 * check/states/sinks.c: (gst_object_suite):
26629 add prototype for gst_caps_is_equal_fixed
26631 * gst/gstregistrypool.c:
26634 2005-08-24 Andy Wingo <wingo@pobox.com>
26636 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26637 convert a negative value. Doesn't make much sense. Mostly this is
26638 here to force callers to ensure -1 maps to -1.
26640 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26642 * docs/pwg/advanced-types.xml:
26643 Well done to Michael for catching my deliberate introduction
26644 of this spelling mistake.
26645 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26646 * gst/gstelement.h:
26647 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26648 unlink pads before removing the element from the bin.
26650 2005-08-24 Andy Wingo <wingo@pobox.com>
26652 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26653 the same thing as GST_DEBUG=*:4.
26654 (parse_debug_level, parse_debug_category): New helper parsers.
26656 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26658 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26659 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26660 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26661 (gst_base_transform_buffer_alloc),
26662 (gst_base_transform_handle_buffer):
26663 use gboolean return values and pointers to size so we can use the
26664 full GST_BUFFER_SIZE range (guint) for buffer sizes
26665 use GstPadDirection for transform_caps
26666 * gst/base/gstbasetransform.h:
26667 rename get_size to get_unit_size since that's what it is
26668 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26669 use GstPadDirection for transform_caps
26670 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26672 cleanup and debugging
26674 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26676 * gst/gstelement.c: (gst_element_class_init),
26677 (gst_element_set_state), (activate_pads),
26678 (gst_element_save_thyself):
26679 * tools/gst-compprep.c: (main):
26680 * tools/gst-inspect.c: (print_element_properties_info):
26681 * tools/gst-xmlinspect.c: (print_element_properties):
26682 Fixed long standing mem-leak
26684 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26686 * check/gst/gstbin.c: (GST_START_TEST):
26687 * gst/gstbin.c: (bin_bus_handler):
26688 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26689 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26690 (gst_message_new_warning), (gst_message_new_tag),
26691 (gst_message_new_state_changed), (gst_message_new_segment_start),
26692 (gst_message_new_segment_done), (gst_message_new_custom):
26693 * gst/gstmessage.h:
26694 * tools/gst-launch.c: (event_loop):
26695 * tools/gst-md5sum.c: (event_loop):
26696 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26697 that applications can sensibly post custom messages with references
26698 to their own objects.
26700 2005-08-24 Andy Wingo <wingo@pobox.com>
26702 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26705 2005-08-24 Wim Taymans <wim@fluendo.com>
26707 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26708 (gst_base_transform_transform_caps),
26709 (gst_base_transform_transform_size),
26710 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26711 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26712 (gst_base_transform_handle_buffer):
26713 * gst/base/gstbasetransform.h:
26714 Many fixes and new features added by Thomas. Can now also do
26715 transforms with variable sizes and a custom fixate_caps function.
26717 2005-08-24 Wim Taymans <wim@fluendo.com>
26719 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26723 Cast to ClockTime before formatting to time.
26728 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26730 * check/gst-libs/controller.c: (GST_START_TEST),
26731 (gst_controller_suite):
26732 * docs/gst/tmpl/gstcaps.sgml:
26733 * docs/gst/tmpl/gstghostpad.sgml:
26734 * docs/gst/tmpl/gstquery.sgml:
26735 * docs/gst/tmpl/gstutils.sgml:
26736 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26737 (gst_object_sink_values), (gst_object_get_value_arrays),
26738 (gst_object_get_value_array):
26739 gracefully handle helper method calls to objects that are not beeing
26740 controlled, added test case for that
26742 2005-08-23 Wim Taymans <wim@fluendo.com>
26744 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26745 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26746 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26747 (gst_event_parse_qos), (gst_event_new_seek),
26748 (gst_event_parse_seek):
26750 Some more debugging output and doc cleanups.
26752 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26753 Fix possible deadlock.
26755 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26757 * docs/gst/gstreamer-docs.sgml:
26758 * docs/gst/gstreamer-sections.txt:
26759 * docs/gst/gstreamer.types:
26760 * docs/gst/tmpl/.cvsignore:
26763 * gst/gstelement.c:
26765 added 100 symbols from gstreamer-unused.txt to the right sections
26766 fixed more broken comments
26767 added GstBus to docs
26769 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26771 * docs/gst/gstreamer-sections.txt:
26772 * docs/gst/tmpl/.cvsignore:
26773 * docs/gst/tmpl/gstbin.sgml:
26774 * docs/gst/tmpl/gstbuffer.sgml:
26775 * gst/base/gstbasesrc.c:
26776 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26779 * tools/gst-launch.1.in:
26780 inlined more doc comments, added missing comments and fixed comments
26783 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26785 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26789 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26791 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26792 * gst/gststructure.h:
26793 add a fixate function for booleans; add a FIXME that these func
26794 names should probably be gst_structure_fixate_*
26796 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26798 * docs/gst/gstreamer-docs.sgml:
26799 * docs/gst/gstreamer-sections.txt:
26801 * gst/gstbin.c: (gst_bin_get_type),
26802 (gst_bin_child_proxy_get_child_by_index),
26803 (gst_bin_child_proxy_get_children_count),
26804 (gst_bin_child_proxy_init):
26805 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26806 (gst_child_proxy_get_child_by_index),
26807 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26808 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26809 (gst_child_proxy_get), (gst_child_proxy_set_property),
26810 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26811 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26812 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26813 * gst/gstchildproxy.h:
26814 * gst/parse/grammar.y:
26815 * tools/gst-inspect.c: (print_interfaces),
26816 (print_element_properties_info), (print_element_info):
26817 ported gstchildproxy over from 0.8
26818 ported gst-inspect fixes and enhancements over from 0.8
26820 2005-08-22 Wim Taymans <wim@fluendo.com>
26822 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26823 (gst_base_transform_handle_buffer):
26824 Also call the transform function if we have ANY caps.
26826 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26829 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26831 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26832 Don't pretend to handle seek events if the source is not seekable
26834 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26836 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26837 Remove extra parameter to debug output
26839 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26840 (gst_base_src_do_seek), (gst_base_src_activate_push):
26841 Fix seek event handling.
26843 * gst/gstpipeline.c: (gst_pipeline_change_state):
26844 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26845 (gst_queue_src_activate_push):
26846 Don't start the src pad task on FLUSH_STOP if the pad
26850 2005-08-22 Wim Taymans <wim@fluendo.com>
26852 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26853 Added check for gst_static_caps_get() refcounting.
26855 2005-08-22 Wim Taymans <wim@fluendo.com>
26857 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26858 Make _static_caps_get() refcounting sane.
26860 * gst/gstelement.c: (gst_element_set_state):
26861 Add g_return_val_if_fail() to protect against segfaults.
26863 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26865 * docs/gst/tmpl/gstevent.sgml:
26868 inlined remaining docs, added missing doc comments
26870 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26872 * check/gst/gstbin.c: (GST_START_TEST):
26873 since we don't know when preroll is done, use refcount range
26875 * gst/check/gstcheck.h:
26876 add macro for checking refcount range
26878 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26880 * check/Makefile.am:
26881 clean up environment for when registry gets built versus
26882 when actual tests are run; valgrind seems to not report
26883 leaks if GST_PLUGIN_PATH is set to some specific values
26884 * check/gst/gstbin.c: (GST_START_TEST):
26885 add more refcounting checks; maybe this exposes a
26887 * common/check.mak:
26888 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26889 * gst/check/gstcheck.h:
26890 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26891 (gst_bin_change_state):
26892 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26893 add/fix debugging/whitespace
26895 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26897 * check/gst/gstevent.c: (event_probe), (test_event),
26899 Er, don't call gst_bin_watch_for_state_change you idiot.
26901 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26903 * check/Makefile.am:
26904 Use CHECK_CFLAGS and CHECK_LIBS
26905 * check/gst/gstevent.c: (event_probe), (test_event),
26908 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26909 (gst_base_src_start), (gst_base_src_stop),
26910 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26911 (gst_base_src_change_state):
26912 Sprinkle gst_base_src_stop liberally around error paths to fix
26913 problems reusing a source after failed state changes.
26914 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26915 (helper_find_suggest), (gst_type_find_helper):
26916 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26918 * docs/gst/tmpl/gstevent.sgml:
26919 Migrate part of the docs from the SGML file. Wait for ensonic to
26920 tell me how I did it wrong ;)
26921 * tools/gst-typefind.c: (main):
26922 Extra robustness to state changes between files.
26924 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26926 * check/Makefile.am:
26927 don't valgrind the controller test - it's leaking - Stefan, HELP
26928 * gst/check/gstcheck.c: (gst_check_message_error),
26929 (gst_check_chain_func), (gst_check_setup_element),
26930 (gst_check_teardown_element), (gst_check_setup_src_pad),
26931 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26932 (gst_check_teardown_sink_pad):
26933 * gst/check/gstcheck.h:
26934 add a bunch of methods to set up elements, and src and sink pads
26935 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26936 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26939 * gst/gstmessage.c:
26941 whitespace/doc fixes
26943 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26945 * gst/gstelement.h:
26946 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26947 be handled by the application and not always printed as well
26949 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26951 * check/Makefile.am:
26953 * gst/check/gstcheck.c: (gst_check_message_error):
26954 * gst/check/gstcheck.h:
26955 add a fail_unless_equals_int
26956 add fail_unless for error messages
26958 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26960 * check/Makefile.am:
26962 * common/Makefile.am:
26963 * common/check.mak:
26965 factor out some of the common stuff so we can use it
26967 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26969 * check/Makefile.am:
26970 * check/gst/gstiterator.c: (GST_START_TEST):
26971 * check/gst/gstsystemclock.c: (GST_START_TEST),
26972 (gst_systemclock_suite):
26973 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26975 valgrind more tests
26977 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26979 * check/elements/.cvsignore:
26980 * check/elements/gstfakesrc.c:
26981 rename to name of element
26982 * check/elements/identity.c: (chain_func), (event_func),
26983 (setup_identity), (cleanup_identity), (GST_START_TEST),
26984 (identity_suite), (main):
26985 add a test for identity
26986 * check/Makefile.am:
26987 * pkgconfig/Makefile.am:
26988 * pkgconfig/gstreamer-check.pc.in:
26989 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26993 move the check stuff to a library that gets installed
26994 * check/gst-libs/controller.c: (GST_START_TEST):
26995 * check/gst-libs/gdp.c:
26996 * check/gst/gst.c: (GST_START_TEST):
26997 * check/gst/gstbin.c:
26998 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26999 * check/gst/gstbus.c:
27000 * check/gst/gstcaps.c: (GST_START_TEST):
27001 * check/gst/gstelement.c:
27002 * check/gst/gstghostpad.c:
27003 * check/gst/gstiterator.c:
27004 * check/gst/gstmessage.c:
27005 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27006 * check/gst/gstobject.c:
27007 * check/gst/gstpad.c: (GST_START_TEST):
27008 * check/gst/gststructure.c: (GST_START_TEST):
27009 * check/gst/gstsystemclock.c: (GST_START_TEST),
27010 (gst_systemclock_suite):
27011 * check/gst/gsttag.c: (gst_tag_suite):
27012 * check/gst/gstvalue.c:
27013 * check/pipelines/cleanup.c:
27014 * check/pipelines/simple_launch_lines.c:
27015 * check/states/sinks.c:
27016 change include statement
27018 * docs/gst/gstreamer-sections.txt:
27019 * docs/gst/tmpl/gstpad.sgml:
27020 document more pad stuff
27021 * gst/gstminiobject.c: (gst_mini_object_ref),
27022 (gst_mini_object_unref):
27025 2005-08-19 Stefan Kost <ensonic@users.sf.net>
27027 * docs/gst/tmpl/gst.sgml:
27029 eliminate another tmpl file, fix spelling in the long-description
27031 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27033 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27034 (test_event), (timediff), (gstevents_suite):
27035 Should fix build on 64-bit arch's
27037 2005-08-18 Andy Wingo <wingo@pobox.com>
27039 Make sure that when a pipeline goes to PLAYING, that data has
27040 actually hit the sink.
27042 * check/states/sinks.c (test_sink): A sink that doesn't get any
27043 data shouldn't return SUCCESS for going to either PLAYING or
27044 PAUSED. Test also the return values on the way back down.
27046 * gst/gstelement.c (gst_element_set_state): When changing the
27047 state of an element currently changing state asynchronously, go to
27048 lost-state after commiting the pending state. Makes future calls
27049 to get_state continue to return ASYNC.
27051 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27052 ASYNC when going to PLAYING if we still don't have preroll, as can
27053 happen with live sources.
27055 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27057 * docs/pwg/advanced-types.xml:
27058 Hack long paragraph into 2 chunks as a workaround for buggy
27059 jadetex version in sid and breezy that loops infinitely and
27062 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27064 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27065 (test_event), (timediff), (gstevents_suite):
27066 Provide more error margin in clock measurements to allow for
27067 g_get_current_time inaccuracies.
27069 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27071 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27072 (test_event), (timediff), (gstevents_suite):
27073 Fix error message output so I might be able to tell why the
27074 test works here but fails on the build farm.
27076 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27078 * check/Makefile.am:
27079 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27080 (test_event), (timediff), (gstevents_suite), (main):
27083 * docs/design/part-seeking.txt:
27084 Spelling correction
27086 * docs/gst/tmpl/gstevent.sgml:
27087 * docs/gst/tmpl/gstfakesrc.sgml:
27090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27091 Treat a buffer-without-newsegment the same as a receiving
27092 a newsegment not in time format, and disable syncing to the clock
27095 * gst/gstbus.c: (gst_bus_set_sync_handler):
27096 Assert if anyone tries to replace the existing sync_handler for bus,
27097 as only the owner should be setting it.
27100 Have a fixed set of custom event enums with events identified by
27101 their structure name (as in 0.8), rather than a free-for-all
27102 allowing collisions between enum values from different plugins.
27104 * gst/gstpad.c: (gst_pad_class_init):
27107 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27108 Handle out-of-band downstream events from the sending thread.
27110 2005-08-17 Andy Wingo <wingo@pobox.com>
27112 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27113 play-timeout==0 to mean no timeout at all. In that case, don't
27114 bother with a get_state or a warning, just return directly, even
27117 * gst/base/gstbasetransform.c: Debug changes.
27120 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27121 ensure bins post state change messages. A bit of a hack but I can't
27122 think of a way to avoid it.
27124 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27126 2005-08-16 Andy Wingo <wingo@pobox.com>
27128 * gst/base/gstadapter.h:
27129 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27130 peek() but you own the data. Not terribly efficient atm.
27132 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27134 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27135 (gst_element_found_tags):
27137 Add two utility functions for tag handling.
27139 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27141 * docs/manual/advanced-dataaccess.xml:
27142 * docs/manual/basics-helloworld.xml:
27143 Fix docs to use _bin_add() before _link(), which fixes the examples
27144 with recent core versions (reported by Madhan Raj M
27145 <raj_madan@rediffmail.com>, #313199).
27147 2005-08-16 Wim Taymans <wim@fluendo.com>
27149 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27150 Added subtract checks.
27152 * docs/design/part-events.txt:
27153 Some more docs about newsegment
27155 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27158 * gst/gstcaps.c: (gst_caps_to_string):
27159 Add comments, cleanups.
27161 * gst/gstelement.c: (gst_element_save_thyself):
27164 * gst/gstvalue.c: (gst_value_collect_int_range),
27165 (gst_string_unwrap), (gst_value_union_int_int_range),
27166 (gst_value_union_int_range_int_range),
27167 (gst_value_intersect_int_int_range),
27168 (gst_value_intersect_int_range_int_range),
27169 (gst_value_intersect_double_double_range),
27170 (gst_value_intersect_double_range_double_range),
27171 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27172 (gst_value_subtract_int_range_int),
27173 (gst_value_subtract_double_range_double),
27174 (gst_value_subtract_double_range_double_range),
27175 (gst_value_subtract_from_list), (gst_value_subtract_list),
27176 (gst_value_can_compare), (gst_value_compare_fraction):
27177 Cleanups, add comments, remove unneeded asserts.
27179 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27181 * tools/gst-launch.c: (event_loop):
27182 don't convert NULL structures to strings
27184 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27186 * docs/gst/gstreamer-sections.txt:
27187 made some defines private
27188 * docs/gst/tmpl/gstconfig.sgml:
27189 * docs/gst/tmpl/gstqueue.sgml:
27190 * docs/gst/tmpl/gsttaglist.sgml:
27191 * docs/gst/tmpl/gsttypes.sgml:
27192 * docs/gst/tmpl/gstutils.sgml:
27193 * docs/pwg/appendix-porting.xml:
27194 * gst/base/gstbasesink.h:
27195 * gst/base/gstbasesrc.c:
27196 * gst/base/gstbasesrc.h:
27197 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27198 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27199 * gst/gstelement.c: (gst_element_class_init):
27200 * gst/gstpad.c: (gst_pad_class_init):
27201 * gst/gstqueue.c: (gst_queue_class_init):
27202 * gst/gstxml.c: (gst_xml_class_init):
27203 documented all undocumented signal inline
27204 * libs/gst/controller/gst-controller.h:
27207 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27209 * docs/pwg/appendix-porting.xml:
27210 Document _set_link_function -> _set_setcaps_function.
27212 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27214 * check/Makefile.am:
27215 add a .check target for running the check
27216 * check/gst-libs/controller.c: (GST_START_TEST):
27218 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27219 complete checks for gstbuffer; would be nice if I could get the
27220 gcov stuff to work so I can see if I actually completed gstbuffer.c
27221 * check/gstcheck.h:
27222 add ASSERT_BUFFER_REFCOUNT
27224 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27226 * docs/gst/gstreamer-sections.txt:
27227 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27229 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27230 spew out a warning if a tag that is already registered
27231 is re-registered, unless it is re-registered with a
27232 different type (#308438).
27234 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27236 * docs/pwg/appendix-porting.xml:
27237 * docs/pwg/building-state.xml:
27238 Add some paragraphs about state changes in 0.9 to the PWG
27239 and the porting guide, in particular about the new meaning
27240 of GST_STATE_PAUSED and how to write state change functions
27241 with concurrent access by multiple threads in mind.
27243 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27245 * docs/gst/gstreamer-docs.sgml:
27246 * docs/libs/gstreamer-libs-docs.sgml:
27247 added deprecation and since indexes
27248 * libs/gst/controller/gst-controller.c:
27249 * libs/gst/controller/gst-helper.c:
27253 2005-08-11 Wim Taymans <wim@fluendo.com>
27255 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27256 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27257 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27258 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27259 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27260 (gst_ghost_pad_set_target):
27261 Actually implement (re)setting the target on a ghostpad
27262 as described in the docs.
27264 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27266 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27267 Check whether GST_DEBUG_NO_COLOR environment variable is
27268 set and disable coloured debug output if that is the case.
27270 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27272 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27273 (gst_type_find_helper):
27274 The memory returned by gst_type_find_peek() needs to
27275 stay valid until the end of a typefind function, and
27276 typefind functions may keep results from different
27277 offsets around, so we can't just unref the buffer from
27278 the previous _peek(), but have to save all buffers
27279 returned by _peek() until typefinding is done and only
27282 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27284 * docs/gst/gstreamer-sections.txt:
27286 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27288 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27290 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27291 Fix a pretty good memleak.
27293 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27295 * gst/gstiterator.h:
27296 Fix wrong include and 'make distcheck'.
27298 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27300 * gst/gstbin.c: (bin_bus_handler):
27301 Use gst_element_post_message() instead.
27303 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27305 * gst/base/gstadapter.h:
27306 * gst/base/gstbasesink.h:
27307 * gst/base/gstbasesrc.h:
27308 * gst/base/gstbasetransform.h:
27309 * gst/base/gstcollectpads.h:
27310 * gst/base/gstpushsrc.h:
27311 * gst/gstiterator.h:
27312 Add padding to our base elements' class and instance structs and
27313 to GstIterator (you will need to rebuild all plugins and apps!)
27315 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27317 * gst/gstbin.c: (bin_bus_handler):
27318 Make default message forwarding from child->bus to bin->bus
27319 threadsafe and make it not emit warnings if the parent has no bus.
27321 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27323 * gst/gstelement.c: (activate_pads):
27324 On paused->ready, set pad->caps to NULL, as is the documented
27325 behaviour in this state change. Fixes playback of series of
27326 media files when visualization is enabled in Totem.
27328 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27330 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27331 Allow NULL as filter-caps (which means "any").
27333 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27335 * docs/libs/gstreamer-libs-sections.txt:
27336 * libs/gst/controller/gst-controller.c:
27337 * libs/gst/controller/gst-controller.h:
27338 * libs/gst/controller/gst-helper.c:
27339 adding more entries to the docs and fix small doc-bugs
27341 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27343 * docs/gst/gstreamer-docs.sgml:
27344 * docs/gst/gstreamer-sections.txt:
27345 * docs/gst/gstreamer.types:
27346 * docs/gst/tmpl/gstbasesink.sgml:
27347 * docs/gst/tmpl/gstbasesrc.sgml:
27348 * docs/gst/tmpl/gstbasetransform.sgml:
27349 * docs/gst/tmpl/gstfakesrc.sgml:
27350 * gst/base/gstcollectpads.c:
27351 * gst/base/gstcollectpads.h:
27352 * libs/gst/controller/gst-controller.c:
27353 * libs/gst/controller/gst-controller.h:
27354 * libs/gst/controller/gst-helper.c:
27355 * libs/gst/controller/gst-interpolation.c:
27356 * libs/gst/controller/lib.c:
27357 added long/short desc for controller docs
27358 added collectpads base class docs
27359 added correct includes to base-class docs
27361 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27363 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27364 (gst_test_mono_source_set_property),
27365 (gst_test_mono_source_class_init), (GST_START_TEST),
27366 (gst_controller_suite):
27367 * docs/gst/gstreamer-docs.sgml:
27368 * docs/gst/gstreamer-sections.txt:
27369 * docs/gst/gstreamer.types:
27370 * docs/libs/gstreamer-libs-docs.sgml:
27371 * docs/libs/gstreamer-libs-sections.txt:
27372 * gst/base/gstadapter.c:
27373 * libs/gst/controller/gst-controller.c:
27374 (gst_controlled_property_new), (gst_controlled_property_free),
27375 (gst_controller_new_valist),
27376 (gst_controller_remove_properties_valist),
27377 (gst_controller_sink_values), (_gst_controller_finalize):
27378 * libs/gst/controller/gst-controller.h:
27379 * libs/gst/controller/gst-helper.c:
27380 (gst_object_control_properties), (gst_object_uncontrol_properties),
27381 (gst_object_get_controller), (gst_object_set_controller),
27382 (gst_object_sink_values), (gst_object_get_value_arrays),
27383 (gst_object_get_value_array):
27384 more tests (and fixes) for the controller
27385 more docs for the controller
27386 integrated companies docs for the adapter
27388 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27390 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27391 (GST_START_TEST), (fakesrc_suite):
27392 add tests for sizetype
27394 2005-08-04 Andy Wingo <wingo@pobox.com>
27396 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27397 fixes buffer_alloc proxying among other things.
27399 * gst/base/gstbasetransform.c:
27400 * gst/base/gstbasetransform.h:
27401 Revert patch to gstbasetransform from 7-28 removing
27404 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27405 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27406 Semantics changed, should return not the size of the output buffer
27407 but the byte size of a buffer with a given caps.
27409 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27411 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27412 out) are not the pad caps until setcaps finishes.
27413 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27414 not-in-place case as well. Deal with changing from in-place to
27415 not-in-place within calling pad_alloc_buffer. Still a bit
27416 concerned about the overhead here...
27418 2005-08-03 Andy Wingo <wingo@pobox.com>
27420 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27421 fixating is an error.
27423 2005-08-04 Edward Hervey <edward@fluendo.com>
27425 * gst/base/gstadapter.h:
27426 Added gst_adapter_get_type() to the header
27428 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27430 * check/Makefile.am:
27431 * check/gst-libs/controller.c:
27432 * libs/gst/controller/gst-controller.c:
27433 (gst_controller_new_valist):
27434 added check test suite for the controller
27435 * gst/base/gstpushsrc.c:
27438 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27440 * docs/gst/Makefile.am:
27441 * docs/gst/gstreamer-docs.sgml:
27442 * docs/gst/gstreamer-sections.txt:
27443 * docs/gst/gstreamer.types:
27444 * docs/gst/tmpl/gstfakesrc.sgml:
27446 * gst/base/gstbasesink.c:
27447 * gst/base/gstbasesink.h:
27448 * gst/base/gstbasesrc.c:
27449 * gst/base/gstbasesrc.h:
27450 * gst/base/gstbasetransform.c:
27451 * gst/base/gstpushsrc.c:
27452 * gst/base/gstpushsrc.h:
27453 add short/long description docs to base classes
27454 add pushsrc to the docs
27455 remove consolidated doc fragments
27457 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27460 * docs/libs/Makefile.am:
27461 * docs/libs/gstreamer-libs-docs.sgml:
27462 * docs/libs/gstreamer-libs-sections.txt:
27463 * docs/libs/gstreamer-libs.types:
27464 * examples/Makefile.am:
27465 * examples/controller/.cvsignore:
27466 * examples/controller/Makefile.am:
27467 * examples/controller/audio-example.c: (main):
27468 * libs/gst/Makefile.am:
27469 * libs/gst/controller/.cvsignore:
27470 * libs/gst/controller/Makefile.am:
27471 * libs/gst/controller/gst-controller.c:
27472 (on_object_controlled_property_changed), (gst_timed_value_compare),
27473 (gst_timed_value_find),
27474 (gst_controlled_property_set_interpolation_mode),
27475 (gst_controlled_property_new), (gst_controlled_property_free),
27476 (gst_controller_find_controlled_property),
27477 (gst_controller_new_valist), (gst_controller_new),
27478 (gst_controller_remove_properties_valist),
27479 (gst_controller_remove_properties), (gst_controller_set),
27480 (gst_controller_set_from_list), (gst_controller_unset),
27481 (gst_controller_get), (gst_controller_get_all),
27482 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27483 (gst_controller_get_value_array),
27484 (gst_controller_set_interpolation_mode),
27485 (_gst_controller_finalize), (_gst_controller_init),
27486 (_gst_controller_class_init), (gst_controller_get_type):
27487 * libs/gst/controller/gst-controller.h:
27488 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27489 (g_object_uncontrol_properties), (g_object_get_controller),
27490 (g_object_set_controller), (g_object_sink_values),
27491 (g_object_get_value_arrays), (g_object_get_value_array):
27492 * libs/gst/controller/gst-interpolation.c:
27493 (gst_controlled_property_find_timed_value_node),
27494 (interpolate_none_get), (interpolate_trigger_get),
27495 (interpolate_trigger_get_value_array):
27496 * libs/gst/controller/lib.c: (gst_controller_init):
27497 * pkgconfig/Makefile.am:
27498 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27499 * pkgconfig/gstreamer-control.pc.in:
27500 * testsuite/Makefile.am:
27501 * testsuite/controller/.cvsignore:
27502 * testsuite/controller/Makefile.am:
27503 * testsuite/controller/interpolator.c: (main):
27504 added controller code
27505 removed dparam pc files
27507 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27508 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27509 (gst_collectpads_stop):
27510 Broadcast the condition when shutting down, to make sure we wake all
27511 threads up. Shut down pads on finalize, for safety.
27513 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27514 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27515 (gst_base_transform_handle_buffer),
27516 (gst_base_transform_change_state):
27517 Handle PAUSED->READY->PAUSED transition after negotiation
27519 * gst/gstmessage.c: (gst_message_init):
27520 Extra piece of debug for new messages.
27522 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27525 * docs/gst/tmpl/gstbasesrc.sgml:
27526 * docs/gst/tmpl/gstelement.sgml:
27527 * docs/gst/tmpl/gstevent.sgml:
27528 * docs/gst/tmpl/gstfakesrc.sgml:
27529 * docs/gst/tmpl/gstformat.sgml:
27530 * docs/gst/tmpl/gstghostpad.sgml:
27531 * docs/gst/tmpl/gstpad.sgml:
27532 * docs/gst/tmpl/gstquery.sgml:
27533 * docs/gst/tmpl/gststructure.sgml:
27534 * docs/gst/tmpl/gsttaglist.sgml:
27535 * docs/gst/tmpl/gstvalue.sgml:
27536 * docs/libs/gstreamer-libs-docs.sgml:
27537 * docs/libs/gstreamer-libs-sections.txt:
27538 * docs/libs/gstreamer-libs.types:
27539 * libs/gst/Makefile.am:
27540 * libs/gst/control/.cvsignore:
27541 * libs/gst/control/Makefile.am:
27542 * libs/gst/control/control.c:
27543 * libs/gst/control/control.h:
27544 * libs/gst/control/dparam.c:
27545 * libs/gst/control/dparam.h:
27546 * libs/gst/control/dparam_smooth.c:
27547 * libs/gst/control/dparam_smooth.h:
27548 * libs/gst/control/dparamcommon.h:
27549 * libs/gst/control/dparammanager.c:
27550 * libs/gst/control/dparammanager.h:
27551 * libs/gst/control/dplinearinterp.c:
27552 * libs/gst/control/dplinearinterp.h:
27553 * libs/gst/control/unitconvert.c:
27554 * libs/gst/control/unitconvert.h:
27555 * testsuite/Makefile.am:
27556 * testsuite/dynparams/.cvsignore:
27557 * testsuite/dynparams/Makefile.am:
27558 * testsuite/dynparams/dparamstest.c:
27559 * tools/Makefile.am:
27560 * tools/gst-inspect.c: (print_element_info), (main):
27561 * tools/gst-xmlinspect.c: (print_element_info), (main):
27562 deactivate and remove dparams (libgstcontrol)
27564 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27566 * gst/elements/gsttypefindelement.c:
27567 (gst_type_find_element_have_type), (gst_type_find_element_init),
27568 (stop_typefinding), (gst_type_find_element_handle_event),
27569 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27570 * gst/elements/gsttypefindelement.h:
27571 Set caps on all outgoing buffers, not just the first one.
27573 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27575 * gst/elements/gsttypefindelement.c:
27576 (gst_type_find_element_have_type),
27577 (gst_type_find_element_check_set_buffer_caps),
27578 (gst_type_find_element_init), (stop_typefinding),
27579 (gst_type_find_element_handle_event),
27580 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27581 * gst/elements/gsttypefindelement.h:
27582 Set caps on first outgoing buffer when we've found the type.
27584 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27586 * docs/gst/gstreamer-docs.sgml:
27587 * docs/gst/gstreamer-sections.txt:
27588 * docs/gst/tmpl/gstscheduler.sgml:
27589 * docs/gst/tmpl/gstschedulerfactory.sgml:
27590 Remove some old cruft from docs.
27592 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27595 Fix inline docs for GstPadLinkReturn.
27597 * gst/gststructure.c: (gst_structure_has_name):
27598 * gst/gststructure.h:
27599 * docs/gst/gstreamer-sections.txt:
27600 New API: gst_structure_has_name().
27602 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27605 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27606 and _LARGEFILE_SOURCE in config.h as required. Do not
27607 export those flags in our .pc files any longer (#142209).
27609 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27611 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27612 (gst_file_sink_do_seek), (gst_file_sink_event),
27613 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27614 Redo seek/tell calls with large file support in mind; add some
27615 debugging messages; add log message that tells us when large
27616 file support is unavailable or not enabled for some reason.
27618 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27619 Add log message that tells us when large file support
27620 is unavailable or not enabled for some reason.
27622 2005-07-29 Wim Taymans <wim@fluendo.com>
27624 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27625 Added test for removing an element with ghostpad from a bin.
27626 Fixed test as current implementation does the right thing.
27628 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27629 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27630 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27631 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27632 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27633 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27634 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27635 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27636 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27637 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27638 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27639 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27640 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27641 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27642 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27643 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27644 * gst/gstghostpad.h:
27645 Clean up ghostpads, remove properties for internal stuff.
27648 Prepare for switching targets, not all use cases work yet.
27650 2005-07-29 Wim Taymans <wim@fluendo.com>
27652 * docs/design/part-gstghostpad.txt:
27655 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27656 (gst_bin_remove_func):
27657 Unlinking pads while holding the bin LOCK is not a good
27660 * gst/gstpad.c: (gst_pad_class_init),
27661 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27662 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27663 No prob setting template after creating the pad.
27665 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27667 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27668 (gst_bus_peek), (gst_bus_source_dispatch),
27669 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27670 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27671 gst_bus_poll may be called from other threads. Handle
27672 this nicely by not making poll_data disappear off the
27673 stack once gst_bus_poll returns.
27674 gst_bus_peek now increments the refcount on the returned
27677 2005-07-29 Wim Taymans <wim@fluendo.com>
27679 * docs/design/part-gstghostpad.txt:
27680 Overview of current GhostPad datastructures and use
27681 cases for changing the target.
27683 2005-07-28 Wim Taymans <wim@fluendo.com>
27685 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27686 Added checks for hierarchy consistency whan adding linked
27689 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27690 Added check to test element scheduling without bin/pipeline.
27692 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27693 First add elements to bin, then link.
27695 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27696 (gst_bin_remove_func):
27697 Unlink pads from elements added/removed from bin to maintain
27698 hierarchy consistency.
27700 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27702 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27703 (gst_base_transform_handle_buffer):
27704 * gst/base/gstbasetransform.h:
27705 Remove broken delay_configure (fixes renegotiation of software
27706 scaling pipelines); remove some leftover printf()s.
27708 2005-07-28 Wim Taymans <wim@fluendo.com>
27710 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27711 Added some more tests for wrong hierarchy
27713 * docs/design/part-overview.txt:
27716 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27719 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27720 (gst_element_dispose):
27721 Some more cleanups.
27723 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27724 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27725 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27726 (gst_pad_set_caps), (gst_pad_send_event):
27727 Check for correct hierarchy when linking pads. Moving to
27728 strict requirement for ghostpads when linking elements in
27732 Clean ups. Added WRONG_HIERARCHY return value.
27734 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27736 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27737 Better debug if no transform is possible.
27739 2005-07-27 Wim Taymans <wim@fluendo.com>
27741 * docs/random/wtay/network-transp:
27742 Some old doc I had.
27744 2005-07-27 Wim Taymans <wim@fluendo.com>
27746 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27747 (gst_dp_event_from_packet):
27748 Fix serialization of seek events.
27750 2005-07-27 Wim Taymans <wim@fluendo.com>
27752 * check/gst-libs/gdp.c: (GST_START_TEST):
27753 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27754 Fix compilation and fix event serialization.
27756 2005-07-27 Wim Taymans <wim@fluendo.com>
27759 * docs/design/part-TODO.txt:
27760 * docs/design/part-events.txt:
27763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27764 (gst_base_sink_event), (gst_base_sink_do_sync),
27765 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27766 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27767 (gst_base_src_do_seek), (gst_base_src_event_handler),
27768 (gst_base_src_loop):
27769 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27770 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27771 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27772 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27773 (gst_base_transform_set_passthrough),
27774 (gst_base_transform_is_passthrough):
27775 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27776 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27782 * gst/gstelement.c: (gst_element_seek):
27783 * gst/gstelement.h:
27784 Update gst_element_seek.
27786 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27787 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27788 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27789 (gst_event_new_eos), (gst_event_new_newsegment),
27790 (gst_event_parse_newsegment), (gst_event_new_tag),
27791 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27792 (gst_event_parse_qos), (gst_event_new_seek),
27793 (gst_event_parse_seek), (gst_event_new_navigation):
27795 Make GstEvent use GstStructure. Add parsing code, make sure the
27796 API is sufficiently generic.
27797 Mark possible directions of events and serialization.
27799 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27800 (_gst_message_copy), (gst_message_new_segment_start),
27801 (gst_message_new_segment_done), (gst_message_new_custom),
27802 (gst_message_parse_segment_start),
27803 (gst_message_parse_segment_done):
27806 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27807 (gst_pad_set_caps), (gst_pad_send_event):
27808 Update for new events.
27809 Catch events sent in wrong directions.
27811 * gst/gstqueue.c: (gst_queue_link_src),
27812 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27813 (gst_queue_handle_src_query):
27818 Remove event code from this file.
27820 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27821 (gst_dp_event_from_packet):
27824 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27826 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27827 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27828 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27829 Make debugging actually useful.
27831 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27833 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27834 (gst_pad_fixate_caps):
27835 Implement default fixation once again, so that gst_pad_fixate()
27836 actually does anything at all. This probably needs to be some
27837 sort of a last resort, and use profile-based fixation first, but
27838 since that doesn't exist yet, this is the best we have. Fixes
27839 visualization in Totem.
27841 2005-07-22 Wim Taymans <wim@fluendo.com>
27843 * docs/design/part-events.txt:
27846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27847 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27848 (gst_base_sink_activate_pull):
27849 Some more comments.
27851 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27852 (gst_fake_src_create):
27853 Fix handoff marshall.
27855 * gst/elements/gstidentity.c: (gst_identity_class_init),
27856 (gst_identity_transform_ip):
27857 We're a real inplace element.
27859 * gst/gstbus.c: (gst_bus_post):
27860 Added some comments.
27862 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27863 * tests/muxing/case1.c: (main):
27864 * tests/sched/dynamic-pipeline.c: (main):
27865 * tests/sched/interrupt1.c: (main):
27866 * tests/sched/interrupt2.c: (main):
27867 * tests/sched/interrupt3.c: (main):
27868 * tests/sched/runxml.c: (main):
27869 * tests/sched/sched-stress.c: (main):
27870 * tests/seeking/seeking1.c: (event_received), (main):
27871 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27873 * tests/threadstate/threadstate3.c: (main):
27874 * tests/threadstate/threadstate4.c: (main):
27875 * tests/threadstate/threadstate5.c: (main):
27878 2005-07-21 Wim Taymans <wim@fluendo.com>
27880 * docs/design/part-seeking.txt:
27881 Some small additions.
27883 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27884 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27885 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27886 * gst/base/gstbasesink.h:
27887 discont values are gint64, handle the math correctly.
27889 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27890 Make the basesrc report error if the source pad is not linked.
27892 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27893 (gst_queue_loop), (gst_queue_handle_src_query),
27894 (gst_queue_src_activate_push):
27895 Make queue collect data even if the srcpad is not linked.
27896 Start pushing out data as soon as it is linked.
27898 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27900 Added gst_flow_get_name() to ease error reporting.
27902 2005-07-20 Wim Taymans <wim@fluendo.com>
27904 * gst/gstmessage.c: (gst_message_new_segment_start),
27905 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27906 (gst_message_parse_segment_done):
27907 * gst/gstmessage.h:
27908 Added a bunch of messages for advanced seeking.
27910 * gst/parse/grammar.y:
27911 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27912 (gst_dpman_state_changed):
27913 Fix some new-pad -> pad-added signals
27915 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27917 * docs/manual/appendix-porting.xml:
27918 * docs/pwg/appendix-porting.xml:
27919 Document new-pad/state-change signal renames and the FixedList
27922 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27924 * docs/manual/advanced-autoplugging.xml:
27925 * docs/manual/basics-helloworld.xml:
27926 * docs/manual/basics-pads.xml:
27927 * docs/random/ds/0.9-suggested-changes:
27928 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27929 * gst/gstelement.h:
27933 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27934 (gst_structure_parse_array), (gst_structure_parse_value):
27935 * gst/gstvalue.c: (gst_type_is_fixed),
27936 (gst_value_list_prepend_value), (gst_value_list_append_value),
27937 (gst_value_list_get_size), (gst_value_list_get_value),
27938 (gst_value_transform_array_string), (gst_value_serialize_array),
27939 (gst_value_deserialize_array), (gst_value_intersect_array),
27940 (gst_value_is_fixed), (_gst_value_initialize):
27942 GstElement::new-pad -> pad-added, GstElement::state-change ->
27943 state-changed, GstValueFixedList -> GstValueArray, add format and
27944 flags as their own arguments in gst_element_seek() (should improve
27945 "bindeability"), remove function generators since they don't work
27946 under a whole bunch of compilers (they were deprecated already
27949 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27951 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27952 (_gst_debug_register_funcptr):
27954 Fix illegal cast on some platforms (#309253).
27956 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27958 * gst/gstmessage.c: (gst_message_new_custom):
27959 * gst/gstmessage.h:
27960 Add _new_custom, make _new_application a macro to _new_custom.
27962 2005-07-20 Wim Taymans <wim@fluendo.com>
27964 * gst/base/gstbasesrc.c: (gst_base_src_init),
27965 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27966 * gst/base/gstbasesrc.h:
27967 Add a gboolean to decide when to push out a discont.
27969 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27970 (gst_queue_loop), (gst_queue_handle_src_query),
27971 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27972 (gst_queue_set_property), (gst_queue_get_property):
27975 * tests/threadstate/threadstate1.c: (main):
27976 Make a thread test compile and run... very silly..
27979 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27981 * docs/manual/appendix-porting.xml:
27982 Mention removal of libgstgconf-0.9.la and existence of gconf
27985 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27987 * docs/pwg/advanced-clock.xml:
27988 * docs/pwg/appendix-porting.xml:
27989 * docs/pwg/intro-preface.xml:
27990 * docs/pwg/other-base.xml:
27991 * docs/pwg/other-manager.xml:
27992 * docs/pwg/other-nton.xml:
27993 * docs/pwg/other-ntoone.xml:
27994 * docs/pwg/other-oneton.xml:
27995 * docs/pwg/pwg.xml:
27996 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27997 demuxer), remove n-to-n (was never written), fix some code examples
27998 and links and update the porting section to include all this.
28000 2005-07-19 Wim Taymans <wim@fluendo.com>
28002 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28003 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28004 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28005 (gst_queue_src_activate_push), (gst_queue_change_state),
28006 (gst_queue_get_property):
28008 Propagate GstFlowReturn more intelligently upstream and output
28009 an ERROR/EOS when streaming stopped due to fatal error.
28011 2005-07-19 Wim Taymans <wim@fluendo.com>
28013 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28014 Don't block forever for the state change to complete, the
28015 pipeline already did with a sensible timeout.
28017 2005-07-19 Wim Taymans <wim@fluendo.com>
28019 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28020 Make sure we never call the create function is we
28023 2005-07-19 Andy Wingo <wingo@pobox.com>
28025 * gst/parse/parse.l: Attempt to solve bug #172815.
28027 2005-07-19 Wim Taymans <wim@fluendo.com>
28029 * docs/design/part-clocks.txt:
28030 * docs/design/part-events.txt:
28031 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28032 Small docs updates.
28033 Only update the seeking values when we are not
28036 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28038 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28039 Oops, ignore the result of gst_pad_push_event here.
28041 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28043 * gst/base/gstbasesrc.c: (gst_base_src_loop),
28044 (gst_base_src_activate_push):
28045 Send discont event from the loop function, as pads
28046 aren't activated yet in the activate_push handler.
28048 * gst/gstbin.c: (bin_bus_handler):
28049 Don't leak element name.
28051 2005-07-18 Andy Wingo <wingo@pobox.com>
28053 * configure.ac: Use AS_LIBTOOL_TAGS.
28055 2005-07-18 Wim Taymans <wim@fluendo.com>
28057 * docs/gst/gstreamer.types:
28058 Remove deleted types.
28060 2005-07-18 Wim Taymans <wim@fluendo.com>
28062 * check/elements/gstfakesrc.c: (GST_START_TEST):
28065 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28066 (init_popt_callback):
28068 * gst/gst_private.h:
28069 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28070 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28073 * gst/gstconfig.h.in:
28074 * gst/gstelement.c: (gst_element_class_init),
28075 (gst_element_set_base_time), (gst_element_get_base_time),
28076 (iterator_fold_with_resync), (gst_element_change_state),
28077 (gst_element_dispose), (gst_element_get_bus):
28078 * gst/gstelement.h:
28079 * gst/gstelementfactory.h:
28080 * gst/gsterror.c: (_gst_core_errors_init):
28083 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28085 * gst/gstinfo.c: (_gst_debug_init):
28086 * gst/gstmessage.c: (_gst_message_copy):
28087 * gst/gstmessage.h:
28088 * gst/gstminiobject.h:
28091 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28092 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28095 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28096 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28097 (gst_pipeline_get_last_stream_time):
28098 * gst/gstpipeline.h:
28099 * gst/gstpluginfeature.h:
28101 * gst/gstscheduler.c:
28102 * gst/gstscheduler.h:
28103 * gst/gststructure.h:
28104 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28105 (gst_task_finalize), (gst_task_func), (gst_task_create),
28106 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28107 (gst_task_stop), (gst_task_pause):
28109 * gst/gsttypefind.h:
28111 * gst/registries/gstlibxmlregistry.c: (load_feature),
28112 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28113 * gst/registries/gstxmlregistry.c:
28114 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28115 * gst/schedulers/threadscheduler.c:
28116 * libs/gst/control/dparammanager.h:
28117 * tools/gst-inspect.c: (print_element_list),
28118 (print_plugin_features), (print_element_features):
28119 * tools/gst-xmlinspect.c: (print_element_list),
28120 (print_plugin_info), (main):
28121 Removed plugable schedulers.
28122 Removed Scheduler/Manager from elements.
28123 Removed gsttypes.h, rearranged includes.
28124 Removed dependency pad<->element, element<>pipeline, and
28125 various others, fix includes.
28126 implement gst_pad_get_parent() with gst_object_get_parent()
28127 Make GstTask sefcontained.
28128 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28130 Fix endless loop in iterator_fold_with_resync.
28133 2005-07-18 Wim Taymans <wim@fluendo.com>
28139 2005-07-18 Wim Taymans <wim@fluendo.com>
28142 No more cothreads.h
28144 2005-07-18 Wim Taymans <wim@fluendo.com>
28148 Let's remove these.
28150 2005-07-18 Wim Taymans <wim@fluendo.com>
28152 * docs/design/part-dynamic.txt:
28153 * docs/design/part-events.txt:
28154 * docs/design/part-seeking.txt:
28155 Some more docs in the works.
28157 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28158 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28159 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28160 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28161 (gst_base_transform_handle_buffer),
28162 (gst_base_transform_sink_activate_push),
28163 (gst_base_transform_src_activate_pull),
28164 (gst_base_transform_set_passthrough),
28165 (gst_base_transform_is_passthrough):
28168 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28171 * gst/gstevent.c: (gst_event_finalize):
28174 * gst/gstutils.c: (gst_element_unlink),
28175 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28176 (gst_pad_proxy_setcaps):
28178 Add _get_parent_element() to get a pads parent as an element.
28180 2005-07-18 Wim Taymans <wim@fluendo.com>
28182 * check/gst/gstbin.c: (GST_START_TEST):
28185 2005-07-18 Wim Taymans <wim@fluendo.com>
28187 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28188 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28189 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28190 (gst_base_sink_event), (gst_base_sink_do_sync),
28191 (gst_base_sink_chain), (gst_base_sink_loop),
28192 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28193 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28195 Fix logic for returning ASYNC when not prerolled.
28197 2005-07-18 Wim Taymans <wim@fluendo.com>
28199 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28200 Fix nasty refcount bug.
28202 2005-07-16 Philippe Khalaf <burger@speedy.org>
28204 * gst/elements/gstfdsrc.c:
28205 * gst/elements/gstfdsrc.h:
28206 * gst/elements/gstelements.c:
28207 * gst/elements/Makefile.am:
28208 Ported fdsrc to 0.9.
28210 2005-07-16 Wim Taymans <wim@fluendo.com>
28212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28213 (gst_base_sink_do_sync):
28216 2005-07-16 Wim Taymans <wim@fluendo.com>
28218 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28219 (gst_base_sink_event), (gst_base_sink_get_times),
28220 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28221 * gst/base/gstbasesink.h:
28222 Store and use discont values when syncing buffers as described
28225 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28226 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28227 (gst_base_src_activate_push):
28228 Push discont event when starting.
28230 * gst/elements/gstidentity.c: (gst_identity_transform):
28233 * gst/gstbin.c: (gst_bin_change_state):
28234 Small cleanups in base_time distribution.
28236 * gst/gstelement.c: (gst_element_set_base_time),
28237 (gst_element_get_base_time), (gst_element_change_state):
28238 * gst/gstelement.h:
28239 Added methods for the base_time of the element.
28242 * gst/gstpipeline.c: (gst_pipeline_send_event),
28243 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28244 (gst_pipeline_get_last_stream_time):
28245 * gst/gstpipeline.h:
28247 Handle seeking as described in design doc, remove stream_time
28249 Cleanups clock and stream_time selection code. Added accessors
28250 for the stream_time.
28253 2005-07-16 Andy Wingo <wingo@pobox.com>
28255 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28258 2005-07-16 Wim Taymans <wim@fluendo.com>
28260 * check/gst/gstbin.c: (GST_START_TEST):
28261 Make elements silent as the deep_notify refs the
28262 parent, which might make the test fail.
28264 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28265 Don't hold the lock for too long.
28267 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28269 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28270 Don't unref the caps we passed to gst_caps_make_writable() after
28271 passing them. gst_caps_make_writable() will do that for us.
28273 2005-07-15 Andy Wingo <wingo@pobox.com>
28275 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28278 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28279 own marshalling function for the handoff signal. Properly type the
28280 buffer as a buffer. Fixes some warnings. Should do a more general
28282 (gst_identity_class_init): Plug into the right marshaller.
28284 2005-07-15 Wim Taymans <wim@fluendo.com>
28286 * docs/design/part-TODO.txt:
28287 * docs/design/part-clocks.txt:
28288 * docs/design/part-element-sink.txt:
28289 * docs/design/part-events.txt:
28290 * docs/design/part-gstpipeline.txt:
28291 Updated docs, mostly DISCONT related.
28293 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28295 * docs/pwg/building-pads.xml:
28296 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28298 2005-07-15 Andy Wingo <wingo@pobox.com>
28300 * tools/gst-typefind.c: Update, add copyright block.
28302 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28303 Normalize and truncate caps before fixation.
28306 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28307 discards all but the first structure from its argument.
28309 2005-07-15 Wim Taymans <wim@fluendo.com>
28311 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28312 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28313 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28314 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28315 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28316 (gst_base_transform_chain), (gst_base_transform_change_state),
28317 (gst_base_transform_set_passthrough),
28318 (gst_base_transform_is_passthrough):
28319 * gst/base/gstbasetransform.h:
28320 Make passthrough work using the bufferpools.
28321 Changed API a bit, subclasses have to write into a buffer
28322 provided by the base class.
28323 More debug info in nego functions.
28325 * gst/elements/gstidentity.c: (gst_identity_init),
28326 (gst_identity_transform):
28327 Port to new base class.
28329 2005-07-15 Wim Taymans <wim@fluendo.com>
28331 * gst/gstmessage.c: (gst_message_new_state_changed):
28332 * tools/gst-launch.c: (event_loop), (main):
28333 Totally dump messages in -launch with the -m option.
28334 Fix message name for State messages,
28336 2005-07-14 Wim Taymans <wim@fluendo.com>
28338 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28339 Post error messages on errors.
28341 2005-07-14 Wim Taymans <wim@fluendo.com>
28343 * gst/gstcaps.c: (gst_caps_do_simplify):
28347 Define error for stream stopped.
28349 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28350 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28351 Do proper return values.
28353 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28354 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28355 (gst_pad_get_range):
28356 Better return values.
28359 Reorganise return values, add macro to check for fatal errors.
28361 * gst/gstqueue.c: (gst_queue_chain):
28362 Return proper GstFlowReturn values,
28364 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28366 * docs/gst/gstreamer-sections.txt:
28367 * docs/gst/gstreamer.types:
28368 * docs/gst/tmpl/gst.sgml:
28369 * docs/gst/tmpl/gstbasesink.sgml:
28370 * docs/gst/tmpl/gstbasesrc.sgml:
28371 * docs/gst/tmpl/gstbasetransform.sgml:
28372 * docs/gst/tmpl/gstbin.sgml:
28373 * docs/gst/tmpl/gstbuffer.sgml:
28374 * docs/gst/tmpl/gstcaps.sgml:
28375 * docs/gst/tmpl/gstclock.sgml:
28376 * docs/gst/tmpl/gstcompat.sgml:
28377 * docs/gst/tmpl/gstconfig.sgml:
28378 * docs/gst/tmpl/gstelement.sgml:
28379 * docs/gst/tmpl/gstelementdetails.sgml:
28380 * docs/gst/tmpl/gstelementfactory.sgml:
28381 * docs/gst/tmpl/gstenumtypes.sgml:
28382 * docs/gst/tmpl/gsterror.sgml:
28383 * docs/gst/tmpl/gstevent.sgml:
28384 * docs/gst/tmpl/gstfakesink.sgml:
28385 * docs/gst/tmpl/gstfakesrc.sgml:
28386 * docs/gst/tmpl/gstfilesink.sgml:
28387 * docs/gst/tmpl/gstfilesrc.sgml:
28388 * docs/gst/tmpl/gstfilter.sgml:
28389 * docs/gst/tmpl/gstformat.sgml:
28390 * docs/gst/tmpl/gstghostpad.sgml:
28391 * docs/gst/tmpl/gstimplementsinterface.sgml:
28392 * docs/gst/tmpl/gstindex.sgml:
28393 * docs/gst/tmpl/gstindexfactory.sgml:
28394 * docs/gst/tmpl/gstinfo.sgml:
28395 * docs/gst/tmpl/gstiterator.sgml:
28396 * docs/gst/tmpl/gstmacros.sgml:
28397 * docs/gst/tmpl/gstmemchunk.sgml:
28398 * docs/gst/tmpl/gstminiobject.sgml:
28399 * docs/gst/tmpl/gstobject.sgml:
28400 * docs/gst/tmpl/gstpad.sgml:
28401 * docs/gst/tmpl/gstpadtemplate.sgml:
28402 * docs/gst/tmpl/gstparse.sgml:
28403 * docs/gst/tmpl/gstpipeline.sgml:
28404 * docs/gst/tmpl/gstplugin.sgml:
28405 * docs/gst/tmpl/gstpluginfeature.sgml:
28406 * docs/gst/tmpl/gstquery.sgml:
28407 * docs/gst/tmpl/gstqueue.sgml:
28408 * docs/gst/tmpl/gstregistry.sgml:
28409 * docs/gst/tmpl/gstregistrypool.sgml:
28410 * docs/gst/tmpl/gstscheduler.sgml:
28411 * docs/gst/tmpl/gstschedulerfactory.sgml:
28412 * docs/gst/tmpl/gststructure.sgml:
28413 * docs/gst/tmpl/gstsystemclock.sgml:
28414 * docs/gst/tmpl/gsttaglist.sgml:
28415 * docs/gst/tmpl/gsttagsetter.sgml:
28416 * docs/gst/tmpl/gsttrace.sgml:
28417 * docs/gst/tmpl/gsttrashstack.sgml:
28418 * docs/gst/tmpl/gsttypefind.sgml:
28419 * docs/gst/tmpl/gsttypefindfactory.sgml:
28420 * docs/gst/tmpl/gsttypes.sgml:
28421 * docs/gst/tmpl/gsturihandler.sgml:
28422 * docs/gst/tmpl/gsturitype.sgml:
28423 * docs/gst/tmpl/gstutils.sgml:
28424 * docs/gst/tmpl/gstvalue.sgml:
28425 * docs/gst/tmpl/gstversion.sgml:
28426 * docs/gst/tmpl/gstxml.sgml:
28427 * docs/libs/tmpl/gstcontrol.sgml:
28428 * docs/libs/tmpl/gstdataprotocol.sgml:
28429 * docs/libs/tmpl/gstdparam.sgml:
28430 * docs/libs/tmpl/gstdplinint.sgml:
28431 * docs/libs/tmpl/gstdpman.sgml:
28432 * docs/libs/tmpl/gstdpsmooth.sgml:
28433 * docs/libs/tmpl/gstgetbits.sgml:
28434 * docs/libs/tmpl/gstunitconvert.sgml:
28435 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28436 (gst_push_src_base_init), (gst_push_src_class_init),
28437 (gst_push_src_init), (gst_push_src_create):
28438 * gst/base/gstpushsrc.h:
28439 * gst/elements/gstelements.c:
28440 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28441 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28442 (gst_fake_sink_init), (gst_fake_sink_set_property),
28443 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28444 (gst_fake_sink_event), (gst_fake_sink_preroll),
28445 (gst_fake_sink_render), (gst_fake_sink_change_state):
28446 * gst/elements/gstfakesink.h:
28447 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28448 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28449 (gst_fake_src_base_init), (gst_fake_src_class_init),
28450 (gst_fake_src_init), (gst_fake_src_event_handler),
28451 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28452 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28453 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28454 (gst_fake_src_create_buffer), (gst_fake_src_create),
28455 (gst_fake_src_start), (gst_fake_src_stop):
28456 * gst/elements/gstfakesrc.h:
28457 * gst/elements/gstfilesink.c: (_do_init),
28458 (gst_file_sink_base_init), (gst_file_sink_class_init),
28459 (gst_file_sink_init), (gst_file_sink_dispose),
28460 (gst_file_sink_set_location), (gst_file_sink_set_property),
28461 (gst_file_sink_get_property), (gst_file_sink_open_file),
28462 (gst_file_sink_close_file), (gst_file_sink_query),
28463 (gst_file_sink_event), (gst_file_sink_render),
28464 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28465 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28466 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28467 * gst/elements/gstfilesink.h:
28468 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28469 (gst_file_src_class_init), (gst_file_src_init),
28470 (gst_file_src_finalize), (gst_file_src_set_location),
28471 (gst_file_src_set_property), (gst_file_src_get_property),
28472 (gst_file_src_map_region), (gst_file_src_map_small_region),
28473 (gst_file_src_create_mmap), (gst_file_src_create_read),
28474 (gst_file_src_create), (gst_file_src_is_seekable),
28475 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28476 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28477 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28478 (gst_file_src_uri_handler_init):
28479 * gst/elements/gstfilesrc.h:
28480 more autistic cleanliness in functions/names/defines
28482 2005-07-13 Andy Wingo <wingo@pobox.com>
28484 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28485 source couldn't negotiate.
28487 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28491 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28492 function. I am channeling Hades. Put your boots on suckers!!!
28494 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28496 * testsuite/caps/Makefile.am:
28497 * testsuite/caps/value_compare.c:
28498 * testsuite/caps/value_intersect.c:
28499 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28500 move two testsuite apps over to the check dir
28502 2005-07-12 Wim Taymans <wim@fluendo.com>
28504 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28505 Added more debug info in the negotiate process.
28507 * gst/gstmessage.h:
28508 Prepare for segment playback.
28510 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28516 * tools/gst-launch.c: (main):
28517 NULL pipeline on errors.
28519 2005-07-12 Andy Wingo <wingo@pobox.com>
28521 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28522 not it comes from a malloc region. Make sure our copy gets freed.
28524 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28526 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28527 * check/gst/gstmessage.c: (GST_START_TEST):
28528 * check/gst/gststructure.c: (GST_START_TEST),
28529 (gst_structure_suite), (main):
28531 * gst/gstelement.c: (gst_element_message_full):
28532 clean up GError and debug string now that they get copied
28533 * gst/gstmessage.c: (gst_message_new_error),
28534 (gst_message_new_warning), (gst_message_parse_error),
28535 (gst_message_parse_warning):
28536 use GST_TYPE_G_ERROR for structure_new, and take copies of
28537 arguments, so that we don't mess up refcounting
28539 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28541 * check/Makefile.am:
28542 add per-test valgrind targets
28543 * check/gst-libs/gdp.c: (GST_START_TEST),
28544 (gst_data_protocol_suite), (main):
28547 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28549 * check/Makefile.am:
28550 instate more valgrindable tests
28551 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28552 (GST_START_TEST), (fakesrc_suite):
28553 * check/gst/gstpad.c: (GST_START_TEST):
28554 * check/gst/gststructure.c: (GST_START_TEST):
28556 * docs/gst/tmpl/gstminiobject.sgml:
28557 * gst/gstpad.c: (gst_pad_finalize):
28558 fix the static mutex leak
28560 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28562 * check/Makefile.am:
28563 add two more tests for valgrinding
28564 * check/gst/gstvalue.c: (GST_START_TEST):
28565 test refcount of deserialized buffer, found a leak
28566 * docs/gst/gstreamer-docs.sgml:
28567 * docs/gst/gstreamer-sections.txt:
28568 * docs/gst/gstreamer.types:
28569 * docs/gst/tmpl/gstminiobject.sgml:
28570 add miniobject to docs
28571 * gst/gstminiobject.c:
28573 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28574 (gst_string_unwrap):
28575 fix a hard-to-find invalid write for one of the tests
28576 fix a leak for deserialized buffers
28578 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28580 * docs/pwg/advanced-events.xml:
28581 * docs/pwg/advanced-request.xml:
28582 * docs/pwg/advanced-scheduling.xml:
28583 * docs/pwg/appendix-porting.xml:
28584 * docs/pwg/building-boiler.xml:
28585 * docs/pwg/intro-preface.xml:
28586 * docs/pwg/other-ntoone.xml:
28587 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28588 of example code and explanation for pad activation, loop() and
28589 getrange() functions and a bit more. Remove old comments pointing
28591 * examples/pwg/Makefile.am:
28592 Add loop/getrange examples.
28594 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28597 check for valgrind binary + some fixes
28599 valgrind suppressions for the tests
28600 * check/Makefile.am:
28601 add a valgrind: target that valgrinds the unit tests
28602 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28603 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28604 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28605 * check/gst/gstghostpad.c:
28607 * check/gst/gstdata.c:
28609 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28610 (thread_unref), (gst_mini_object_suite), (main):
28612 * gst/gst.c: (gst_deinit):
28614 add a method to clean up.
28615 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28616 (gst_system_clock_obtain):
28617 allow for disposing the system clock.
28618 * tools/gst-launch.c: (main):
28621 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28623 * docs/gst/tmpl/gstbasesrc.sgml:
28624 * docs/gst/tmpl/gstfakesrc.sgml:
28625 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28626 (gst_base_src_init), (gst_base_src_set_property),
28627 (gst_base_src_get_property), (gst_base_src_get_range),
28628 (gst_base_src_start):
28629 * gst/base/gstbasesrc.h:
28630 add num-buffers property
28631 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28632 (gst_fakesrc_init), (gst_fakesrc_set_property),
28633 (gst_fakesrc_get_property), (gst_fakesrc_create),
28634 (gst_fakesrc_start):
28635 remove num-buffers property
28637 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28639 * docs/gst/gstreamer-sections.txt:
28640 * docs/gst/tmpl/gstbasesink.sgml:
28641 * docs/gst/tmpl/gstbasesrc.sgml:
28642 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28643 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28644 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28645 (gst_base_sink_set_property), (gst_base_sink_get_property),
28646 (gst_base_sink_handle_object), (gst_base_sink_event),
28647 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28648 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28649 (gst_base_sink_loop), (gst_base_sink_deactivate),
28650 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28651 (gst_base_sink_change_state):
28652 * gst/base/gstbasesink.h:
28653 * gst/base/gstbasesrc.h:
28654 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28655 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28656 (gst_filesink_init):
28657 more macro splitting
28659 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28661 * gst/gstelement.c: (gst_element_get_bus):
28663 * tools/gst-launch.c: (check_intr), (event_loop):
28666 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28668 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28671 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28673 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28674 (gst_base_src_finalize):
28675 add finalize method and clean up properly
28676 * gst/gstpipeline.c: (gst_pipeline_dispose):
28679 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28681 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28683 add more things to check
28684 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28685 * gst/gstelement.c:
28688 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28690 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28691 (GST_START_TEST), (fakesrc_suite):
28692 * check/gst-libs/gdp.c: (GST_START_TEST):
28693 * check/gst/gst.c: (GST_START_TEST):
28694 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28695 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28696 * check/gst/gstbus.c: (GST_START_TEST):
28697 * check/gst/gstcaps.c: (GST_START_TEST):
28698 * check/gst/gstdata.c: (GST_START_TEST):
28699 * check/gst/gstelement.c: (GST_START_TEST):
28700 * check/gst/gstghostpad.c: (GST_START_TEST):
28701 * check/gst/gstiterator.c: (GST_START_TEST):
28702 * check/gst/gstmessage.c: (GST_START_TEST):
28703 * check/gst/gstobject.c: (GST_START_TEST):
28704 * check/gst/gstpad.c: (GST_START_TEST):
28705 * check/gst/gststructure.c: (GST_START_TEST):
28706 * check/gst/gstsystemclock.c: (GST_START_TEST),
28707 (gst_systemclock_suite):
28708 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28709 * check/gst/gstvalue.c: (GST_START_TEST):
28710 * check/pipelines/cleanup.c: (GST_START_TEST):
28711 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28712 * check/states/sinks.c: (GST_START_TEST):
28713 * check/gstcheck.c: (gst_check_init):
28714 * check/gstcheck.h:
28715 add debugging category
28716 use GST_START_TEST now, so we add a debug line
28718 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28720 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28721 add test for state change message on a bin
28722 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28724 * gst/gstbin.c: (gst_bin_init):
28725 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28726 * gst/gstelement.c: (gst_element_post_message),
28727 (gst_element_set_state):
28728 * gst/gstelementfactory.c: (gst_element_factory_create):
28729 * gst/gstmessage.c: (gst_message_new):
28730 * gst/gstscheduler.c:
28731 various debugging additions and cleanups
28733 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28735 * check/Makefile.am:
28736 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28738 adding tests for elements
28739 * gst/gstelement.c: (gst_element_dispose):
28741 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28743 * gst/registries/gstlibxmlregistry.c: (load_feature):
28744 plug more leaks. A simple gst_init() now is leakfree, yay.
28746 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28748 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28749 (gst_xml_registry_load):
28750 plug another memleak
28752 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28755 use GST_SET_ERROR_CFLAGS
28756 * docs/faq/cvs.xml:
28757 change to ERROR_CFLAGS
28759 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28762 make GST_ERROR_CFLAGS overridable and re-enable Werror
28763 * docs/faq/cvs.xml:
28764 add a note about error CFLAGS
28765 * docs/gst/tmpl/gstfakesrc.sgml:
28766 * gst/elements/gstfakesrc.c:
28767 comment out some unused code
28768 * gst/gst.c: (split_and_iterate):
28769 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28773 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28775 * common/Makefile.am:
28776 * common/gtk-doc.mak:
28777 * docs/gst/Makefile.am:
28778 factor out gtk-doc.mak
28780 2005-07-07 Wim Taymans <wim@fluendo.com>
28782 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28783 (gst_thread_scheduler_dispose):
28784 Unlock the STREAM_LOCK completely.
28786 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28788 * check/Makefile.am:
28789 * check/elements/.cvsignore:
28790 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28791 (START_TEST), (fakesrc_suite), (main):
28792 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28793 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28794 (gst_fakesrc_create), (gst_fakesrc_start):
28795 * gst/elements/gstfakesrc.h:
28796 adding a first element test
28798 2005-07-07 Andy Wingo <wingo@pobox.com>
28800 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28803 2005-07-07 Wim Taymans <wim@fluendo.com>
28809 2005-07-07 Wim Taymans <wim@fluendo.com>
28811 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28812 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28813 Allow subclasses to implement their own negotiation.
28815 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28817 * docs/design/part-gstbin.txt:
28818 * docs/design/part-gstpipeline.txt:
28819 Update design notes to reflect the movement of
28820 responsibility for bus handling from GstPipeline to
28823 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28826 Remove unnecessary queue2/3/4 examples.
28828 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28830 * examples/Makefile.am:
28831 * examples/helloworld/helloworld.c: (event_loop), (main):
28832 * examples/queue/queue.c: (event_loop), (main):
28833 * examples/queue2/queue2.c: (main):
28834 Update a couple of the examples to work again.
28836 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28837 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28838 Spelling corrections and extra debug.
28840 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28841 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28842 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28844 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28845 (gst_pipeline_change_state):
28846 * gst/gstpipeline.h:
28847 Move the bus handler for children to the GstBin, and create a
28848 separate bus for receiving messages from children to the one the
28849 bus sends 'upwards' on.
28851 2005-07-06 Wim Taymans <wim@fluendo.com>
28854 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28855 (gst_base_sink_handle_object), (gst_base_sink_loop),
28856 (gst_base_sink_change_state):
28857 * gst/base/gstbasesink.h:
28858 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28859 (gst_base_src_init), (gst_base_src_setcaps),
28860 (gst_base_src_getcaps), (gst_base_src_loop),
28861 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28862 (gst_base_src_start), (gst_base_src_change_state):
28863 * gst/base/gstbasesrc.h:
28864 Make basesrc negotiate.
28865 Handle the case where preroll fails in basesink.
28868 2005-07-06 Wim Taymans <wim@fluendo.com>
28870 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28871 Implement the fixate function.
28872 Clean up acceptcaps.
28874 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28876 * docs/pwg/building-filterfactory.xml:
28877 * docs/pwg/pwg.xml:
28878 Remove never-written filter-factory chapter; I'll add the various
28879 base classes to part 4 ("other element types") later on.
28881 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28883 * docs/pwg/advanced-negotiation.xml:
28884 * docs/pwg/building-boiler.xml:
28885 * docs/pwg/building-pads.xml:
28886 * docs/pwg/pwg.xml:
28887 * examples/pwg/Makefile.am:
28888 Add a chapter on caps negotiation, simplify the original code
28889 samples a bit w.r.t. caps negotiation, add link to the advanced
28890 section. Add a bunch of examples showing different use cases of
28891 different types of caps negotiation. Upstream renegotiation isn't
28892 fully documented yet since nobody knows how that works.
28894 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28896 * check/gst/gstpad.c:
28897 * check/gstcheck.c:
28898 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28899 if pad has no parent, return NULL as list of internal links
28901 2005-07-05 Andy Wingo <wingo@pobox.com>
28903 * gst/elements/gstfilesrc.c:
28904 * gst/elements/gstfakesrc.c:
28905 * gst/base/gstpushsrc.c:
28906 * gst/base/gstbasesrc.h:
28907 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28909 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28912 better report generation target (lcov needs a patch)
28914 2005-07-05 Andy Wingo <wingo@pobox.com>
28916 * gst/elements, testsuite: Null if we got it...
28918 2005-07-05 Wim Taymans <wim@fluendo.com>
28921 * libs/gst/dataprotocol/Makefile.am:
28922 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28923 * libs/gst/dataprotocol/dataprotocol.h:
28924 * pkgconfig/Makefile.am:
28925 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28926 * pkgconfig/gstreamer-dataprotocol.pc.in:
28927 Ported dataprotol to 0.9.
28928 Added pkgconfig files.
28930 2005-07-05 Andy Wingo <wingo@pobox.com>
28932 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28933 Default to returning TRUE for the case when tranform_caps returns
28934 a fixed caps, like for identity or volume.
28936 * check/gst/gstbus.c (pound_bus_with_messages):
28937 * check/gst/gstmessage.c (START_TEST):
28938 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28939 message API change.
28941 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28942 logic weaks here: always run transform_caps, trying passthrough
28943 operation only if the original caps intersects with the transform.
28945 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28946 source and sink caps.
28948 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28949 Intersect the peer caps with the pad template before going into
28951 (gst_base_transform_transform_caps): More debugging.
28953 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28956 2005-07-04 Edward Hervey <edward@fluendo.com>
28960 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28963 2005-07-04 Andy Wingo <wingo@pobox.com>
28965 * check/gst/gstpad.c: Only set explicit caps on pads.
28967 2005-07-01 Andy Wingo <wingo@pobox.com>
28969 * tests/network-clock.scm: Commentary update.
28971 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28972 Didn't really make sense, not implementable with basetransform,
28974 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28975 attempt at implementing the sync property, needs an unlock method.
28977 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28978 New func, by default returns the same caps (the identity
28980 (gst_base_transform_getcaps): Uses transform_caps to return
28981 something sensible.
28982 (gst_base_transform_setcaps): Complicated logic to get caps on
28983 both pads, even if they are different, and to call set_caps once
28984 for every time both pads get their caps set.
28985 (gst_base_transform_handle_buffer): Give the ref to the transform
28986 function. Allows in-place modification of the buffer.
28988 * gst/base/gstbasetransform.h (transform_caps): New class method.
28989 Given caps on one side, what can I do on the other.
28990 (set_caps): Take two caps, one for each side of the element.
28993 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28994 caps in place. This is safe because we can check the mutability of
28995 the caps, and a good idea because fixate functions are just called
28996 as a matter of last resort. (Not actually implemented.)
28997 (gst_pad_set_caps): If the caps we're setting is actually the same
28998 as the existing pad caps, just update the pointer without calling
28999 setcaps. Assert that caps is either NULL or fixed, as per the
29002 * gst/gstghostpad.c: Update for fixate changes.
29004 2005-07-02 Andy Wingo <wingo@pobox.com>
29007 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29008 two refcounts makes it immutable, which is enough. Doc more.
29010 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
29012 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29013 Put the mini_object into GValue as a mini_object,
29014 not a gpointer, since that's how we declared
29017 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29019 * examples/pwg/Makefile.am:
29020 Fix buildbot again.
29022 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29024 * docs/pwg/building-testapp.xml:
29026 * examples/pwg/Makefile.am:
29029 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29032 * examples/Makefile.am:
29033 * examples/pwg/Makefile.am:
29034 * examples/pwg/extract.pl:
29035 Enable building the PWG examples.
29036 * docs/pwg/advanced-interfaces.xml:
29037 Add URI interface stub.
29038 * docs/pwg/advanced-types.xml:
29039 * docs/pwg/other-autoplugger.xml:
29040 * docs/pwg/appendix-porting.xml:
29041 * docs/pwg/pwg.xml:
29042 Add porting guide (mostly stubs), remove autoplugging (see ADM).
29043 * docs/pwg/building-boiler.xml:
29044 * docs/pwg/building-chainfn.xml:
29045 * docs/pwg/building-pads.xml:
29046 * docs/pwg/building-props.xml:
29047 * docs/pwg/building-state.xml:
29048 * docs/pwg/building-testapp.xml:
29049 Update the building-*.xml parts for 0.9 changes. All examples
29050 code blocks compile in examples/pwg/*.
29052 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29054 * docs/manual/advanced-autoplugging.xml:
29055 * docs/manual/appendix-checklist.xml:
29056 * docs/manual/appendix-integration.xml:
29057 * docs/manual/highlevel-components.xml:
29058 Fix playbin/decodebin examples, update docs a bit, mention bus
29059 instead of signals in various places, mention kmplayer and
29060 kaffeine since they have a working GStreamer backend in the KDE
29063 2005-06-30 Wim Taymans <wim@fluendo.com>
29066 * docs/design/draft-ghostpads.txt:
29067 * docs/design/draft-push-pull.txt:
29068 * docs/design/draft-query.txt:
29069 * docs/design/part-TODO.txt:
29070 * docs/design/part-query.txt:
29071 Added CHANGES-0.9 doc, updated status of other docs.
29076 2005-06-30 Wim Taymans <wim@fluendo.com>
29078 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29079 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29080 (gst_base_sink_change_state):
29081 * gst/base/gstbasesink.h:
29082 Some tweaks, only EOS and a buffer complete a preroll.
29084 2005-06-30 Andy Wingo <wingo@pobox.com>
29086 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29087 activate_push down to the internal pad as well.
29089 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29091 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29093 * gst/gsttaginterface.c:
29094 Some documentation fixes (#307394 and #307397).
29096 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29098 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29100 * gst/gstvalue.c: (gst_value_intersect_list):
29101 Fix memleak (#309125).
29103 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29105 * docs/manual/advanced-dataaccess.xml:
29106 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29107 * docs/manual/basics-pads.xml:
29108 Add reference for filtered caps to above chapter.
29110 2005-06-30 Wim Taymans <wim@fluendo.com>
29112 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29113 (gst_bin_change_state):
29115 Lame attempt at making the state change function a bit
29118 2005-06-30 Wim Taymans <wim@fluendo.com>
29120 * docs/design/part-clocks.txt:
29121 * docs/design/part-element-sink.txt:
29122 * docs/design/part-events.txt:
29123 * docs/design/part-preroll.txt:
29124 * docs/design/part-states.txt:
29125 Some more tweeks and additions to the docs.
29127 2005-06-30 Wim Taymans <wim@fluendo.com>
29129 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29130 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29131 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29132 (gst_pad_check_pull_range), (gst_pad_get_range),
29133 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29135 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29136 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29137 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29138 (gst_pad_remove_buffer_probe):
29139 Removed atomic operations, use existing LOCK.
29140 Move exception handling out of main code path.
29142 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29144 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29145 (silly_return_true_function), (gst_pad_class_init),
29146 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29147 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29148 (gst_pad_send_event):
29149 Fix accumulator, add default value by using _emitv() instead
29150 of _emit() for signal emission.
29152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29154 * docs/manual/advanced-dataaccess.xml:
29155 * examples/manual/Makefile.am:
29157 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29160 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29162 * gst/elements/gstfilesink.c: (gst_filesink_render):
29163 Simplify code so that we don't have to handle short
29164 writes and return GST_FLOW_ERROR if an error occured.
29166 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29168 * docs/gst/gstreamer-docs.sgml:
29169 Remove probes more.
29171 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29173 * docs/gst/gstreamer-sections.txt:
29174 * docs/gst/tmpl/gstpad.sgml:
29175 * docs/gst/tmpl/gstprobe.sgml:
29177 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29178 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29179 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29180 (gst_pad_push_event), (gst_pad_send_event):
29182 * gst/gstutils.c: (gst_pad_add_data_probe),
29183 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29184 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29185 (gst_pad_remove_buffer_probe):
29187 Remove old probes, add new g-signal-based probes and some utility
29190 2005-06-29 Edward Hervey <edward@fluendo.com>
29192 * gst/gstelementfactory.c:
29195 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29196 the definition to the header file.
29198 2005-06-29 Andy Wingo <wingo@pobox.com>
29200 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29201 plugins from the source directory.
29203 2005-06-29 Wim Taymans <wim@fluendo.com>
29205 * docs/gst/tmpl/gstbuffer.sgml:
29206 * docs/gst/tmpl/gstclock.sgml:
29207 Some fixings for blantently wrong text.
29209 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29211 * check/Makefile.am:
29212 * gst/gst.c: (add_path_func), (init_pre):
29213 * gst/gstregistry.c: (gst_registry_add_path):
29214 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29215 only scan the GST_PLUGIN_PATH locations, and not add
29218 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29220 * docs/gst/gstreamer-sections.txt:
29221 * docs/gst/tmpl/gstbasesrc.sgml:
29222 * gst/gstelement.c:
29223 * gst/gstelement.h:
29228 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29230 * docs/manual/advanced-autoplugging.xml:
29231 Fix autoplugging example.
29233 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29235 * docs/manual/advanced-autoplugging.xml:
29236 * docs/manual/mime-world.fig:
29237 Try to get autoplugging working, fix type detection. Fix text
29238 in hello-world image.
29240 2005-06-29 Wim Taymans <wim@fluendo.com>
29242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29243 (gst_base_sink_change_state):
29247 map SIGNAL and BROADCAST to the right function.
29250 Remove redundant braces.
29252 * gst/gstpad.c: (gst_pad_set_caps):
29253 Don't call setcaps function when reseting caps to NULL.
29255 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29256 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29257 (gst_system_clock_id_unschedule):
29258 Use BROADCAST as this is what we do.
29260 2005-06-29 Wim Taymans <wim@fluendo.com>
29262 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29263 We are actually prerolling before commiting the state
29266 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29268 * docs/manual/advanced-clocks.xml:
29269 * docs/manual/advanced-interfaces.xml:
29270 * docs/manual/advanced-metadata.xml:
29271 * docs/manual/advanced-position.xml:
29272 * docs/manual/advanced-schedulers.xml:
29273 * docs/manual/advanced-threads.xml:
29274 * docs/manual/appendix-porting.xml:
29275 * docs/manual/basics-bins.xml:
29276 * docs/manual/basics-bus.xml:
29277 * docs/manual/basics-elements.xml:
29278 * docs/manual/basics-helloworld.xml:
29279 * docs/manual/basics-pads.xml:
29280 * docs/manual/highlevel-components.xml:
29281 * docs/manual/manual.xml:
29282 * docs/manual/thread.fig:
29283 Update (until threads/scheduling) Application Development Manual;
29284 remove GstThread, add GstBus, add simple porting checklist, add
29285 documentation for tag writing, clocks, make all examples until this
29286 part compile and run.
29287 * examples/manual/Makefile.am:
29288 Update from changes to Application Development Manual; add bus
29289 example, remove thread example.
29291 2005-06-28 Wim Taymans <wim@fluendo.com>
29293 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29294 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29295 (gst_bus_source_dispatch):
29296 Add debugging messages.
29297 Make internal methods static.
29298 Handle the case where the bus is flushed in the handler.
29300 * gst/gstelement.c: (gst_element_get_bus):
29301 Fix refcount in _get_bus();
29303 * gst/gstpipeline.c: (gst_pipeline_change_state),
29304 (gst_pipeline_get_clock_func):
29305 Clock refcounting fixes.
29306 Handle the case where preroll timed out more gracefully.
29308 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29309 Clean up the internal thread in dispose. This is needed
29310 for subclasses that actually get disposed.
29312 * gst/schedulers/threadscheduler.c:
29313 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29314 (gst_thread_scheduler_dispose):
29315 Free thread pool in dispose.
29317 2005-06-28 Andy Wingo <wingo@pobox.com>
29319 * tests/network-clock-utils.scm (debug, print-event): New utils.
29321 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29322 (*packet-loss*): Unified loss probability.
29323 (network-time): Report out-of-band events.
29325 * tests/plot-data: Add support for out-of-band events. Hack it
29326 into this script instead of passing it down the pipe; should fix
29329 2005-06-28 Wim Taymans <wim@fluendo.com>
29331 * docs/gst/gstreamer.types:
29332 * docs/gst/tmpl/gstbasesrc.sgml:
29333 * docs/gst/tmpl/gstpad.sgml:
29336 2005-06-28 Wim Taymans <wim@fluendo.com>
29338 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29339 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29340 (gst_proxy_pad_do_fixatecaps):
29341 Correctly proxy the check_pull_range function.
29343 2005-06-28 Andy Wingo <wingo@pobox.com>
29345 * tests/network-clock.scm: Removed need for slib.
29347 2005-06-28 Wim Taymans <wim@fluendo.com>
29349 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29350 (gst_basesink_preroll_queue_flush):
29351 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29352 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29353 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29354 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29355 (gst_proxy_pad_set_property):
29358 * gst/gstqueue.c: (gst_queue_init):
29359 The deprecated pad loop function is removed now.
29361 2005-06-28 Andy Wingo <wingo@pobox.com>
29363 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29364 New parameters, simulate network packet loss.
29366 * tests/network-clock-utils.scm: Initialize the RNG.
29368 2005-06-28 Wim Taymans <wim@fluendo.com>
29370 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29371 (gst_basesink_event), (gst_basesink_deactivate):
29372 Flushing the preroll queue always needs to unlock the waiters.
29374 2005-06-28 Edward Hervey <edward@fluendo.com>
29376 * gst/gstpipeline.c: (gst_pipeline_send_event):
29377 Wheen a seek was successful on a pipeline, set the stream_time to the
29378 seek offset in order to have a synchronized stream_time.
29380 2005-06-28 Wim Taymans <wim@fluendo.com>
29382 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29383 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29384 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29385 (gst_proxy_pad_do_fixatecaps):
29386 Call wrapper function instead of just calling the function
29387 pointers. This takes care of any locking and whatmore.
29389 2005-06-28 Wim Taymans <wim@fluendo.com>
29391 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29392 (gst_pad_pull_range):
29394 CONNECTED -> LINKED.
29396 2005-06-28 Andy Wingo <wingo@pobox.com>
29398 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29399 source-munging commit!!!
29401 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29402 (gst_object_sink): Take gpointer arguments, not GstObject --
29403 avoids casts. Like GLib.
29405 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29408 2005-06-27 Andy Wingo <wingo@pobox.com>
29410 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29413 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29414 returns a sorted copy of the trace list.
29415 (gst_alloc_trace_print_live): New API, only prints traces with
29416 live objects. Sort the list.
29417 (gst_alloc_trace_print_all): Sort the list.
29418 (gst_alloc_trace_print): Align columns.
29420 * gst/elements/gstttypefindelement.c:
29421 * gst/elements/gsttee.c:
29422 * gst/base/gstbasesrc.c:
29423 * gst/base/gstbasesink.c:
29424 * gst/base/gstbasetransform.c:
29425 * gst/gstqueue.c: Adapt for pad activation changes.
29427 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29429 (gst_pipeline_dispose): Drop ref on sched.
29431 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29432 (gst_pad_activate_default): Push mode by default.
29433 (pre_activate_switch, post_activate_switch): New stubs, things to
29434 do before and after switching activation modes on pads.
29435 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29436 the pad's activate function to choose which mode to activate.
29437 Shortcut on deactivation and call the right function directly.
29438 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29440 (gst_pad_activate_push): New API, same for push mode.
29441 (gst_pad_set_activate_function)
29442 (gst_pad_set_activatepull_function)
29443 (gst_pad_set_activatepush_function): Setters for new API.
29445 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29446 Trace all miniobjects.
29447 (gst_mini_object_make_writable): Unref the arg if we copy, like
29448 gst_caps_make_writable.
29450 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29452 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29453 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29454 Adapt for new pad API.
29456 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29458 * gst/gstelement.h:
29459 * gst/gstelement.c (gst_element_iterate_src_pads)
29460 (gst_element_iterate_sink_pads): New API functions.
29462 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29463 should fold into gstiterator.c in some form.
29464 (gst_element_pads_activate): Simplified via use of fold and
29465 delegation of decisions to gstpad->activate.
29467 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29470 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29471 class once in init, like gstmessage. Didn't run into this issue
29472 but it seems correct. Don't initialize a trace, gstminiobject does
29475 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29476 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29478 (assert_live_count): New util function, uses alloc traces to check
29481 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29482 To be modified when unlink drops the internal pad.
29484 2005-06-27 Wim Taymans <wim@fluendo.com>
29486 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29487 (gst_bin_change_state):
29488 Cleanup the get_state() function a little, make sure it
29489 iterates the same set of elements.
29490 Added stub iterate_state_order().
29492 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29494 * docs/gst/gstreamer-docs.sgml:
29495 * docs/gst/gstreamer-sections.txt:
29496 * docs/gst/gstreamer.types:
29497 * docs/gst/tmpl/gstbasesink.sgml:
29498 * docs/gst/tmpl/gstbasesrc.sgml:
29499 * docs/gst/tmpl/gstbasetransform.sgml:
29500 * docs/gst/tmpl/gstelement.sgml:
29501 * docs/gst/tmpl/gstiterator.sgml:
29502 * gst/base/gstbasesrc.c:
29503 * gst/base/gstbasesrc.h:
29504 * gst/base/gstbasetransform.h:
29505 * gst/gstelement.c:
29506 * gst/gstiterator.h:
29507 adding basetransform and iterator docs
29509 2005-06-27 Andy Wingo <wingo@pobox.com>
29511 * docs/design/part-activation.txt: Notes on how activation should
29512 work -- not quite implemented yet.
29514 2005-06-25 Wim Taymans <wim@fluendo.com>
29516 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29517 At least get the chain function correct, needs more
29520 2005-06-25 Wim Taymans <wim@fluendo.com>
29522 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29523 (gst_basesink_handle_object), (gst_basesink_event),
29524 (gst_basesink_do_sync), (gst_basesink_handle_event),
29525 (gst_basesink_change_state):
29527 Right, two problems here: ghostpads don't take locks and
29528 glib _rec_mutex_lock_full() with depth==0 still locks.
29529 Catch illegal locking and g_warn them.
29531 2005-06-25 Wim Taymans <wim@fluendo.com>
29533 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29534 Have to check for completion now...
29536 2005-06-25 Wim Taymans <wim@fluendo.com>
29538 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29539 (gst_basesink_handle_object), (gst_basesink_event),
29540 (gst_basesink_do_sync), (gst_basesink_handle_event),
29541 (gst_basesink_change_state):
29543 Unlock STREAM_LOCK whatever the recursion was.
29545 2005-06-25 Wim Taymans <wim@fluendo.com>
29547 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29548 (gst_basesink_preroll_queue_empty),
29549 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29550 (gst_basesink_event), (gst_basesink_do_sync),
29551 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29552 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29553 (gst_basesink_change_state):
29554 Reworked the base sink, handle event and buffer serialisation
29555 correctly and removed possible deadlock.
29556 Handle EOS correctly.
29558 2005-06-25 Wim Taymans <wim@fluendo.com>
29560 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29561 (gst_pipeline_change_state):
29562 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29563 Allow elements to post EOS in the state change function.
29564 Fix up -launch, make it exit the poll loop when the
29565 pipeline actually changed state.
29566 Fix up warning parsing in -launch.
29568 2005-06-25 Wim Taymans <wim@fluendo.com>
29570 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29571 (gst_tee_sink_activate):
29572 Core takes STREAM_LOCK for us now.
29574 2005-06-25 Wim Taymans <wim@fluendo.com>
29576 * gst/gstelement.c: (gst_element_get_state_func),
29577 (gst_element_set_state):
29578 * gst/gstelement.h:
29579 * gst/gstmessage.c: (gst_message_parse_error),
29580 (gst_message_parse_warning):
29581 Keep track of current target state while performing a state
29582 change so that subclasses can do something interesting.
29583 Fix parsing of warning/error messages when GError is NULL.
29585 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29587 * docs/gst/Makefile.am:
29588 * docs/gst/gstreamer-docs.sgml:
29589 * docs/gst/gstreamer-sections.txt:
29590 * docs/gst/gstreamer.types:
29591 * docs/gst/tmpl/gstbasesink.sgml:
29592 * docs/gst/tmpl/gstbasesrc.sgml:
29593 * docs/gst/tmpl/gstbin.sgml:
29594 * docs/gst/tmpl/gstcompat.sgml:
29595 * docs/gst/tmpl/gstfakesink.sgml:
29596 * docs/gst/tmpl/gstfakesrc.sgml:
29597 * docs/gst/tmpl/gstfilesink.sgml:
29598 * docs/gst/tmpl/gstfilesrc.sgml:
29599 * docs/gst/tmpl/gstindex.sgml:
29600 * docs/manual/appendix-quotes.xml:
29601 * gst/base/gstbasesrc.h:
29602 * gst/elements/gstfakesrc.h:
29603 * gst/gstmessage.h:
29604 start pulling in base classes and elements in our docs
29606 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29608 * docs/gst/Makefile.am:
29609 * docs/libs/Makefile.am:
29610 fixed make distcheck with gtk-doc 1.3
29612 2005-06-23 Wim Taymans <wim@fluendo.com>
29614 * gst/gstelement.c: (gst_element_get_state_func),
29615 (gst_element_set_state), (gst_element_change_state):
29616 When the state did not change, also report NO_PREROLL
29619 2005-06-23 Wim Taymans <wim@fluendo.com>
29621 * gst/gstpad.c: (gst_pad_event_default):
29622 * gst/gstqueue.c: (gst_queue_loop):
29623 No unsafe task pausing please.
29625 2005-06-23 Wim Taymans <wim@fluendo.com>
29627 * gst/schedulers/threadscheduler.c:
29628 (gst_thread_scheduler_task_start),
29629 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29630 Ref the task before pushing it on the threadpool. This
29631 makes sure that we have a ref when the threadfunction is
29634 2005-06-23 Andy Wingo <wingo@pobox.com>
29636 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29637 offset is greater than the file's size.
29639 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29640 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29641 * gst/gstobject.c (gst_object_class_init): Make the class lock
29642 recursive. Wim won't let me drop deep_notify. Decodebin works
29643 again, whoopdy doo.
29645 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29646 internal pad, and hacks accordingly. Doesn't do it on the target
29647 pad because we change its caps. Probably catches all cases of
29649 (gst_ghost_pad_set_property): Connect to notify::caps as
29652 * tests/network-clock.scm (plot-simulation): Pipe data to the
29653 elite python skript.
29655 * tests/network-clock-utils.scm (define-parameter): New macro,
29656 defines a parameter that can be set via the command line.
29657 (set-parameter!, parse-parameter-arguments): Command line args
29660 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29663 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29665 * gst/elements/gsttypefindelement.c:
29666 (gst_type_find_element_handle_event):
29667 Don't restart typefinding on a discont.
29668 * gst/gstelement.c: (gst_element_set_state):
29669 Debug spelling fix.
29670 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29671 Allow changing mode of an active pad.
29672 Debug output fixes.
29673 * gst/registries/gstlibxmlregistry.c: (load_feature):
29674 Don't cast a static pad template to a normal pad template.
29676 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29678 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29679 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29680 remove gst_strtoll completely, since it didn't actually do
29681 anything more than what g_ascii_strtoull already does.
29682 check for range errors when deserializing
29683 do a cast for the unsigned cases; but further fixing needs
29684 a decision on what the interpretation of "(int)" and
29685 deserialization should be for values that fall outside the
29686 type's boundaries (ie, refuse, or interpret as casting)
29688 2005-06-23 Wim Taymans <wim@fluendo.com>
29690 * check/Makefile.am:
29691 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29692 * docs/design/part-live-source.txt:
29693 * docs/design/part-states.txt:
29694 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29695 (gst_basesrc_set_live), (gst_basesrc_is_live),
29696 (gst_basesrc_get_range), (gst_basesrc_activate),
29697 (gst_basesrc_change_state):
29698 * gst/base/gstbasesrc.h:
29699 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29700 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29701 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29702 * gst/gstelement.c: (gst_element_get_state_func),
29703 (gst_element_set_state):
29704 * gst/gstelement.h:
29706 * tools/gst-launch.c: (event_loop), (main):
29707 Added support for live sources and other elements that
29709 Updated design docs, added live-source design doc.
29710 Implemented live source functionality in basesrc
29711 Fix error condition in _bin_get_state()
29712 Implement live source handling in -launch.
29713 Added check for live sources.
29714 Fixed case in GstBin where elements were changed state
29718 2005-06-23 Andy Wingo <wingo@pobox.com>
29720 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29721 borken refcounting.
29723 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29724 gst_caps_replace takes care of this for us.
29726 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29727 gst_pad_set_caps on the target, not just its setcaps() function.
29729 * tests/network-clock.scm:
29730 * tests/network-clock-utils.scm: A network clock simulator.
29731 Something of an algorithmic testbed before doing something in C.
29733 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29735 * check/Makefile.am:
29736 * check/gst/capslist.h:
29737 copy over from 0.8, and add two with bitmasks specified with
29739 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29740 add test to parse everything from capslist.h
29741 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29743 add test for structure deserialization
29744 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29745 add tests for deserialization of strings to int types
29746 * gst/gststructure.c: (gst_structure_nth_field_name):
29747 * gst/gststructure.h:
29748 add a way to get the name of a field referenced by index
29749 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29750 instead of checking if the resulting long long lies between
29751 min and max, we check if the long long would fit into
29752 a number of bytes for the final type.
29753 This fixes cases where a string represents 2^32 - 1, which
29754 when cast to int would be the (valid) -1, but is bigger than
29757 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29759 * gst/parse/grammar.y:
29760 add a log line for type deserialization
29762 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29764 * check/gst/gstvalue.c: (START_TEST):
29765 * gst/gstvalue.c: (gst_value_deserialize):
29766 return long long, not int, so gint64 deserialization actually
29767 works. Is there any flag that makes the compiler check this ?
29770 2005-06-22 Wim Taymans <wim@fluendo.com>
29773 Added convenience macros for setting buffers in GValue.
29775 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29777 * check/gst/.cvsignore:
29778 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29779 add a test deserializing int64, and comment part out because
29782 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29784 * check/Makefile.am:
29785 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29786 * testsuite/Makefile.am:
29787 * testsuite/caps/Makefile.am:
29788 * testsuite/caps/value_serialize.c:
29789 * testsuite/test_gst_init.c:
29790 move a value_serialize test over
29792 2005-06-20 Wim Taymans <wim@fluendo.com>
29797 * gst/gstvalue.c: (gst_value_compare_buffer),
29798 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29799 (gst_value_compare_flags), (gst_value_serialize_flags),
29800 (gst_value_deserialize_flags), (_gst_value_initialize):
29801 Fix serialisation of buffers, they are not boxed types anymore
29803 2005-06-20 Wim Taymans <wim@fluendo.com>
29805 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29806 Testcase to show error in buffer-on-caps serialisation.
29808 2005-06-20 Andy Wingo <wingo@pobox.com>
29810 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29811 will be adding to later.
29813 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29814 if its socks fill with rocks.
29815 (gst_system_clock_obtain): Set the name on object construction.
29816 Avoid double-checked locking.
29818 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29820 * gst/gsturi.c: (gst_element_make_from_uri):
29821 Fix potential endless loop.
29823 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29825 * check/Makefile.am:
29827 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29829 move over from testsuite dir and clean up
29832 * testsuite/Makefile.am:
29833 * testsuite/tags/.cvsignore:
29834 * testsuite/tags/Makefile.am:
29835 * testsuite/tags/merge.c:
29836 remove testsuite/tags
29838 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29840 * docs/gst/gstreamer-sections.txt:
29841 * docs/gst/tmpl/gstenumtypes.sgml:
29842 * win32/gstenumtypes.c:
29843 clean up documentation build a little
29845 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29847 * check/gstcheck.h:
29848 add macros for checking refcounts on objects and caps
29849 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29850 add some more unit tests
29851 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29852 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29853 fix leaked refcounts (I hope :)) so unittest works
29857 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29859 * configure.ac: back to HEAD
29861 === release 0.9.1 ===
29863 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29869 2005-06-17 Andy Wingo <wingo@pobox.com>
29871 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29872 assert; it's always possible that the pad gets deactivated in
29873 between the checks in gstpad.c and the implementation. Rely on
29874 finish_preroll() to return a FLUSHING or similar instead of on the
29877 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29878 clock and post an EOS message if we come out of finish_preroll in
29881 2005-06-16 David Schleef <ds@schleef.org>
29883 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29884 (gst_capsfilter_set_property): Allow NULL as possible value
29885 for filter_caps property, indicating GST_CAPS_ANY.
29887 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29889 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29891 * gst/schedulers/Makefile.am:
29893 * gstreamer.spec.in:
29896 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29898 * gstreamer.spec.in:
29901 2005-06-08 Andy Wingo <wingo@pobox.com>
29903 * gst/gstutils.c: RPAD fixes all around.
29904 (gst_element_link_pads): Refcounting fixes.
29906 * tools/gst-inspect.c:
29907 * tools/gst-xmlinspect.c:
29909 * gst/base/gsttypefindhelper.c:
29910 * gst/base/gstbasesink.c:
29911 * gst/gstqueue.c: RPAD fixes.
29913 * gst/gstghostpad.h:
29914 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29915 pads. The tricky thing is they provide both source and sink
29916 interfaces, since they proxy the internal pad for the external
29917 pad, and vice versa. Implement with lower-level ProxyPad objects,
29918 with the interior proxy pad as a child of the exterior ghost pad.
29919 Should write a doc on this.
29921 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29922 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29925 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29926 pads are real pads. No ghost pads in this file. Not documenting
29927 the myriad s/RPAD/PAD/ and REALIZE fixes.
29928 (gst_pad_class_init): Add properties for "direction" and
29929 "template". Both are construct-only, so they can't change during
29930 the life of the pad. Fixes properly deriving from GstPad.
29931 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29932 derived objects, just set properties when creating the objects via
29934 (gst_pad_get_parent): Implement as a function, return NULL if the
29935 parent is not an element.
29936 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29937 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29939 * gst/gstobject.c (gst_object_class_init): Make name a construct
29940 property. Don't set it in the object init.
29942 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29943 with UNKNOWN direction.
29944 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29945 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29946 (gst_element_remove_pad): Remove ghost-pad special cases.
29947 (gst_element_pads_activate): Remove rpad cruft.
29949 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29950 catch the pad's-parent-not-an-element case.
29952 * gst/gst.h: Include gstghostpad.h.
29954 * gst/gst.c (init_post): No more real, ghost pads.
29956 * gst/Makefile.am: Add gstghostpad.[ch].
29958 * check/Makefile.am:
29959 * check/gst/gstbin.c:
29960 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29961 into a bin creates ghost pads, and that the refcounts are right.
29962 Partly moved from gstbin.c.
29964 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29966 * check/gst-libs/.cvsignore:
29967 * check/gst/.cvsignore:
29968 * check/pipelines/.cvsignore:
29970 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29971 (START_TEST), (cleanup_suite), (main):
29972 add some tests related to cleanup after running pipelines
29974 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29976 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29977 add a testsuite for GstBuffer
29979 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29981 * gst/gstminiobject.h:
29982 add defines for accessing the refcount
29984 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29986 * Makefile.am: added support for html unit test coverage reports
29988 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29990 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29991 Free existing caps if the capsfilter changes. Add a FIXME about
29992 setting those caps on the pads.
29994 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29995 Before adding a ghost pad to a parent bin, check that there isn't
29996 already one for the element on the bin. Prevents infinite recursion
29997 when using decodebin in parse pipelines. Andy says he'll rewrite the
29998 way this works anyway, so ignore the hack.
30000 2005-06-02 Andy Wingo <wingo@pobox.com>
30002 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30003 file size, pass it on to the type find helper.
30005 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30006 segment_start and segment_end properly according to the seek
30007 method. Segment_end is still a bit flaky because offset can be
30008 negative for CUR and END cases, but it takes -1 as an "unset"
30011 2005-06-02 Wim Taymans <wim@fluendo.com>
30013 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30014 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30015 (gst_basesink_activate):
30016 * gst/base/gstbasesink.h:
30017 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30018 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30019 (gst_pad_query), (gst_pad_start_task):
30021 * gst/gstqueue.c: (gst_queue_bufferalloc),
30022 (gst_queue_handle_sink_event), (gst_queue_chain):
30023 Bufferalloc: return GstFlowReturn to more accuratly report
30024 why allocation failed.
30026 2005-06-02 Wim Taymans <wim@fluendo.com>
30028 * gst/gstpipeline.c: (gst_pipeline_send_event):
30029 Take snapshot of state without blocking.
30031 2005-06-02 Wim Taymans <wim@fluendo.com>
30033 * docs/design/part-TODO.txt:
30034 * docs/design/part-caps.txt:
30035 * docs/design/part-clocks.txt:
30036 * docs/design/part-negotiation.txt:
30037 * docs/design/part-preroll.txt:
30040 2005-05-30 Wim Taymans <wim@fluendo.com>
30042 * gst/elements/gstidentity.c: (gst_identity_event),
30043 (gst_identity_transform), (gst_identity_get_property):
30044 Protect last_message property as it is accessed from
30047 2005-05-30 Wim Taymans <wim@fluendo.com>
30049 * gst/gstelement.c: (gst_element_init),
30050 (gst_element_pads_activate), (gst_element_change_state):
30051 Slicker pad activation code.
30053 2005-05-30 Wim Taymans <wim@fluendo.com>
30056 * gst/gstelement.h:
30057 * gst/gstelementfactory.h:
30059 Move elementfactory methods to separate .h file.
30061 2005-05-30 Wim Taymans <wim@fluendo.com>
30063 * docs/design/part-overview.txt:
30064 * gst/gstsystemclock.h:
30065 Small typo fixes, doc updates.
30067 2005-05-30 Wim Taymans <wim@fluendo.com>
30069 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30070 (init_popt_callback):
30071 Remove cpu-opt flag.
30073 2005-05-30 Wim Taymans <wim@fluendo.com>
30075 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30076 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30078 Avoid typechecking in places where not needed.
30079 Added accessor for malloc_data.
30081 2005-05-30 Wim Taymans <wim@fluendo.com>
30083 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30084 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30085 (gst_pad_configure_sink), (gst_pad_configure_src),
30086 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30087 (gst_pad_start_task):
30088 Propagate errors from _set_caps() in configure_src/sink
30089 functions instead of returning TRUE.
30090 FLUSH events can travel up and downstream
30093 2005-05-30 Wim Taymans <wim@fluendo.com>
30095 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30096 (gst_basesink_activate):
30097 Handle EOS in preroll.
30099 2005-05-30 Wim Taymans <wim@fluendo.com>
30101 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30102 (gst_queue_loop), (gst_queue_handle_src_event):
30103 Remove old pieces of code
30104 Flushing the queue in an upstream event is a very bad idea.
30106 2005-05-26 Andy Wingo <wingo@pobox.com>
30108 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30109 gst_value_set_mini_object so as to add a ref on the object (which
30110 will be removed when the value is unset).
30112 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30113 arg type in ::handoff.
30115 * gst/gstelement.c (gst_element_change_state): Also deactivate
30116 pads in READY->NULL, just in case the element didn't make it to
30117 PAUSED. Wingo tested, Wim approved.
30119 2005-05-26 Wim Taymans <wim@fluendo.com>
30121 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30122 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30123 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30124 A flushing pad cannot be used to alloc_buffer from.
30126 2005-05-26 Wim Taymans <wim@fluendo.com>
30128 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30129 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30130 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30131 (gst_bus_create_watch), (gst_bus_add_watch_full):
30133 Implement a real GSource and use g_main_context_wakeup() to
30134 signal new messages instead of the socketpair.
30136 2005-05-25 Wim Taymans <wim@fluendo.com>
30138 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30139 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30140 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30141 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30142 (gst_pad_send_event), (gst_pad_start_task):
30143 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30144 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30145 (gst_queue_sink_activate), (gst_queue_src_activate),
30146 (gst_queue_change_state):
30148 Fix state changes for non sinks. We now change sinks, then elements
30149 with unconnected srcpads, then the rest.
30150 More efficient queue unlocking in flush and state changes.
30151 Set the pad activate mode even if it does not have an activate
30154 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30156 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30157 Don't go in pull mode for non-seekable sources.
30158 * gst/elements/gsttypefindelement.h:
30159 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30160 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30161 (free_entry), (stop_typefinding),
30162 (gst_type_find_element_handle_event), (find_peek),
30163 (gst_type_find_element_chain), (do_pull_typefind),
30164 (gst_type_find_element_change_state):
30165 Allow typefinding (w/o seeking) in push-mode, simplified version
30166 of what was in 0.8.
30167 * gst/gstutils.c: (gst_buffer_join):
30169 gst_buffer_join() from 0.8.
30171 2005-05-25 Wim Taymans <wim@fluendo.com>
30173 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30174 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30175 (gst_pad_send_event), (gst_pad_start_task):
30176 Disable attempt at mode switching until it is figured out.
30178 2005-05-25 Wim Taymans <wim@fluendo.com>
30180 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30181 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30182 (gst_basesink_finish_preroll), (gst_basesink_chain),
30183 (gst_basesink_loop), (gst_basesink_activate),
30184 (gst_basesink_change_state):
30185 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30186 (gst_basesrc_get_range), (gst_basesrc_loop),
30187 (gst_basesrc_activate):
30188 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30189 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30190 (gst_real_pad_init), (gst_real_pad_set_property),
30191 (gst_real_pad_get_property), (gst_pad_set_active),
30192 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30193 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30194 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30195 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30196 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30197 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30198 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30199 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30200 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30201 (gst_pad_stop_task):
30203 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30204 (gst_queue_loop), (gst_queue_src_activate):
30205 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30206 (gst_task_get_state):
30208 * gst/schedulers/threadscheduler.c:
30209 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30210 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30212 Remove ACTIVE pad flag, use FLUSHING everywhere
30213 Added _pad_chain(), _pad_get_range() to call chain/getrange
30215 Add locks around IS_FLUSHING when reading.
30216 Take STREAM lock in chain(), get_range() functions so plugins
30217 don't need to take it anymore.
30221 2005-05-25 Wim Taymans <wim@fluendo.com>
30223 * tools/gst-launch.c: (event_loop):
30224 Unref message after using its contents instead of
30227 2005-05-24 Wim Taymans <wim@fluendo.com>
30229 * docs/design/draft-ghostpads.txt:
30230 * docs/design/draft-push-pull.txt:
30231 * docs/design/draft-query.txt:
30232 * docs/design/part-overview.txt:
30233 Docs updates, added general overview doc.
30235 2005-05-21 David Schleef <ds@schleef.org>
30237 * docs/gst/tmpl/old/GstBin.sgml:
30238 * docs/gst/tmpl/old/GstBuffer.sgml:
30239 * docs/gst/tmpl/old/GstCaps.sgml:
30240 * docs/gst/tmpl/old/GstClock.sgml:
30241 * docs/gst/tmpl/old/GstCompat.sgml:
30242 * docs/gst/tmpl/old/GstData.sgml:
30243 * docs/gst/tmpl/old/GstElement.sgml:
30244 * docs/gst/tmpl/old/GstEvent.sgml:
30245 * docs/gst/tmpl/old/GstIndex.sgml:
30246 * docs/gst/tmpl/old/GstStructure.sgml:
30247 * docs/gst/tmpl/old/GstTag.sgml:
30248 * docs/gst/tmpl/old/cothreads.sgml:
30249 * docs/gst/tmpl/old/cothreads_compat.sgml:
30250 * docs/gst/tmpl/old/gettext.sgml:
30251 * docs/gst/tmpl/old/gobject2gtk.sgml:
30252 * docs/gst/tmpl/old/grammar.tab.sgml:
30253 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30254 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30255 * docs/gst/tmpl/old/gst_private.sgml:
30256 * docs/gst/tmpl/old/gstaggregator.sgml:
30257 * docs/gst/tmpl/old/gstarch.sgml:
30258 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30259 * docs/gst/tmpl/old/gstbufferstore.sgml:
30260 * docs/gst/tmpl/old/gstdata_private.sgml:
30261 * docs/gst/tmpl/old/gstdisksink.sgml:
30262 * docs/gst/tmpl/old/gstdisksrc.sgml:
30263 * docs/gst/tmpl/old/gstelementfactory.sgml:
30264 * docs/gst/tmpl/old/gstextratypes.sgml:
30265 * docs/gst/tmpl/old/gstfakesink.sgml:
30266 * docs/gst/tmpl/old/gstfakesrc.sgml:
30267 * docs/gst/tmpl/old/gstfdsink.sgml:
30268 * docs/gst/tmpl/old/gstfdsrc.sgml:
30269 * docs/gst/tmpl/old/gstfilesink.sgml:
30270 * docs/gst/tmpl/old/gstfilesrc.sgml:
30271 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30272 * docs/gst/tmpl/old/gstidentity.sgml:
30273 * docs/gst/tmpl/old/gstindexfactory.sgml:
30274 * docs/gst/tmpl/old/gstmarshal.sgml:
30275 * docs/gst/tmpl/old/gstmd5sink.sgml:
30276 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30277 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30278 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30279 * docs/gst/tmpl/old/gstpipefilter.sgml:
30280 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30281 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30282 * docs/gst/tmpl/old/gstshaper.sgml:
30283 * docs/gst/tmpl/old/gstspider.sgml:
30284 * docs/gst/tmpl/old/gstspideridentity.sgml:
30285 * docs/gst/tmpl/old/gststatistics.sgml:
30286 * docs/gst/tmpl/old/gsttee.sgml:
30287 * docs/gst/tmpl/old/gsttimecache.sgml:
30288 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30289 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30290 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30291 * docs/gst/tmpl/old/types.sgml:
30292 I didn't intend to add these or check them in.
30294 2005-05-19 David Schleef <ds@schleef.org>
30296 * configure.ac: Use -no-common everywhere. In a sane world, it
30297 would be the default in libtool, because without it, you can't
30298 build DLLs on Windows.
30299 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30300 * docs/gst/gstreamer-sections.txt:
30301 * docs/gst/tmpl/gstcpu.sgml:
30302 * docs/gst/tmpl/gstdata.sgml:
30303 * docs/gst/tmpl/gstthread.sgml:
30305 2005-05-19 David Schleef <ds@schleef.org>
30307 * gst/gstminiobject.c: (gst_value_set_mini_object),
30308 (gst_value_take_mini_object), (gst_value_get_mini_object):
30309 * gst/gstminiobject.h: Add GValue set/get functions.
30311 2005-05-19 Wim Taymans <wim@fluendo.com>
30313 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30314 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30315 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30317 * gst/gstbus.c: (gst_bus_post):
30318 * gst/gstelement.c: (gst_element_get_random_pad):
30319 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30320 Make subbufer unref the parent in finalize.
30321 some more debugging info.
30324 2005-05-19 Wim Taymans <wim@fluendo.com>
30326 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30327 (gst_basesink_init), (gst_basesink_finalize),
30328 (gst_basesink_activate), (gst_basesink_change_state):
30329 Don't free preroll queue too early.
30331 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30335 Hi, I'm outdated. Please shoot me.
30337 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30339 * gst/gstpipeline.c: (gst_pipeline_send_event):
30340 Do not access variables after they have been deleted.
30342 2005-05-19 Wim Taymans <wim@fluendo.com>
30344 * tools/gst-inspect.c: (print_plugin_features):
30345 A plugin feature does unfortunatly not use the
30348 2005-05-18 Wim Taymans <wim@fluendo.com>
30350 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30351 Port _span() functions to new subbuffers.
30353 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30355 * gst/gstbin.c: (gst_bin_add_func):
30356 Fix clock settery in bins when adding kids after the clock has
30359 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30361 * gst/elements/gstidentity.c: (gst_identity_class_init):
30362 Workaround until signals support GstMiniObject.
30364 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30367 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30369 2005-05-18 Wim Taymans <wim@fluendo.com>
30371 * gst/base/Makefile.am:
30372 * gst/base/gstadapter.c: (gst_adapter_base_init),
30373 (gst_adapter_class_init), (gst_adapter_init),
30374 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30375 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30376 (gst_adapter_flush), (gst_adapter_available),
30377 (gst_adapter_available_fast):
30378 * gst/base/gstadapter.h:
30379 Ported and added adapter to the base classes.
30381 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30384 * gst/gstmessage.c:
30385 Make sure the class is reffed/unreffed once before threads can be
30386 used. Fixes #304551.
30388 2005-05-17 Wim Taymans <wim@fluendo.com>
30390 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30391 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30392 * gst/gstminiobject.c: (gst_mini_object_get_type),
30393 (gst_mini_object_free):
30394 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30395 (gst_pad_push), (gst_pad_push_event):
30396 * gst/gstqueue.c: (gst_queue_change_state):
30397 Don't queue buffers in basesink when we are flushing.
30398 Unref buffer when flushing in basesink.
30399 Flush queue when going to READY
30400 Unref buffer when _push() returns an error.
30401 Don't free MiniObject instance when refcount is incremented
30402 in _finalize() so that we can recover objects.
30404 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30406 * docs/manual/advanced-schedulers.xml:
30407 * docs/manual/appendix-checklist.xml:
30408 * docs/pwg/advanced-clock.xml:
30409 * docs/pwg/advanced-interfaces.xml:
30410 * docs/pwg/advanced-request.xml:
30411 * docs/pwg/advanced-types.xml:
30412 * docs/pwg/intro-preface.xml:
30413 * examples/plugins/example.c: (gst_example_get_type),
30414 (gst_example_class_init), (gst_example_chain),
30415 (gst_example_set_property), (gst_example_get_property),
30416 (gst_example_change_state), (plugin_init):
30417 * examples/plugins/example.h:
30420 2005-05-17 Wim Taymans <wim@fluendo.com>
30422 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30423 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30424 * gst/gstqueue.c: (gst_queue_change_state):
30425 Clear queue when going to READY.
30426 Remove IN_SETCAPS flag too.
30428 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30430 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30431 Remove implicit cast from gboolean to GstElementStateReturn;
30432 make sure we still return failure in paused => ready case if
30433 the parent class fails to change state and our own stop
30436 2005-05-17 Wim Taymans <wim@fluendo.com>
30438 * tools/gst-launch.c: (event_loop):
30439 Message was unreffed too soon.
30441 2005-05-16 Andy Wingo <wingo@pobox.com>
30443 * gst/gstbin.c (sink_iterator_filter): Err... um...
30445 * check/gst/gstbin.c (test_ghost_pads): New test for the
30446 ghosting-if-elements-not-in-same-bin behavior.
30448 2005-05-16 David Schleef <ds@schleef.org>
30450 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30451 accessing refcount directly.
30453 2005-05-15 David Schleef <ds@schleef.org>
30455 * check/Makefile.am: remove GstData checks
30456 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30457 * gst/Makefile.am: add miniobject, remove data
30458 * gst/gst.h: add miniobject, remove data
30459 * gst/gstdata.c: remove
30460 * gst/gstdata.h: remove
30461 * gst/gstdata_private.h: remove
30462 * gst/gsttypes.h: remove GstEvent and GstMessage
30463 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30464 * gst/gstmarshal.list: change BOXED -> OBJECT
30466 Implement GstMiniObject.
30467 * gst/gstminiobject.c:
30468 * gst/gstminiobject.h:
30470 Modify to be subclasses of GstMiniObject.
30471 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30472 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30473 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30474 (gst_subbuffer_get_type), (gst_subbuffer_init),
30475 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30478 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30479 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30480 (_gst_event_copy), (gst_event_new):
30482 * gst/gstmessage.c: (_gst_message_initialize),
30483 (gst_message_get_type), (gst_message_class_init),
30484 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30485 (gst_message_new), (gst_message_new_error),
30486 (gst_message_new_warning), (gst_message_new_tag),
30487 (gst_message_new_state_changed), (gst_message_new_application):
30488 * gst/gstmessage.h:
30489 * gst/gstprobe.c: (gst_probe_perform),
30490 (gst_probe_dispatcher_dispatch):
30492 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30493 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30494 (_gst_query_copy), (gst_query_new):
30496 Update elements for GstData -> GstMiniObject changes
30498 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30499 (gst_queue_chain), (gst_queue_loop):
30500 * gst/elements/gstbufferstore.c:
30501 (gst_buffer_store_add_buffer_func),
30502 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30503 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30504 (gst_fakesink_render):
30505 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30506 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30507 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30508 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30509 (gst_filesrc_create_read):
30510 * gst/elements/gstidentity.c: (gst_identity_class_init):
30511 * gst/elements/gsttypefindelement.c:
30512 (gst_type_find_element_src_event), (free_entry_buffers),
30513 (gst_type_find_element_handle_event):
30514 * libs/gst/dataprotocol/dataprotocol.c:
30515 (gst_dp_header_from_buffer):
30516 * libs/gst/dataprotocol/dataprotocol.h:
30517 * libs/gst/dataprotocol/dp-private.h:
30519 2005-05-15 David Schleef <ds@schleef.org>
30521 * gst/elements/gstelements.c: Don't include headers that were
30524 2005-05-15 David Schleef <ds@schleef.org>
30526 * gst/elements/Makefile.am: Remove some elements that don't
30527 need to be in the core (or even exist at all).
30528 * gst/elements/gstaggregator.c:
30529 * gst/elements/gstaggregator.h:
30530 * gst/elements/gstmd5sink.c:
30531 * gst/elements/gstmd5sink.h:
30532 * gst/elements/gstmultifilesrc.c:
30533 * gst/elements/gstmultifilesrc.h:
30534 * gst/elements/gstpipefilter.c:
30535 * gst/elements/gstpipefilter.h:
30536 * gst/elements/gstshaper.c:
30537 * gst/elements/gstshaper.h:
30538 * gst/elements/gststatistics.c:
30539 * gst/elements/gststatistics.h:
30540 * po/POTFILES.in: Remove above files.
30542 2005-05-14 Andy Wingo <wingo@pobox.com>
30544 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30545 so as to get the refs right.
30546 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30547 unreffing objects that don't pass the filter.
30549 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30550 gst_element_set_bus.
30551 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30552 normal cases, this will destroy the bus.
30554 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30557 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30560 2005-05-13 Andy Wingo <wingo@pobox.com>
30562 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30563 gst_pad_link, call pad_link_maybe_ghosting,
30564 (pad_link_maybe_ghosting): Links pads, making sure that the
30565 elements being linked are in the same bin.
30566 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30567 Helpers for pad_link_maybe_ghosting.
30569 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30572 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30574 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30576 * docs/design/part-element-source.txt:
30579 2005-05-12 Wim Taymans <wim@fluendo.com>
30581 * gst/base/gstbasesink.c: (gst_basesink_init),
30582 (gst_basesink_activate):
30583 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30584 (gst_basesrc_is_seekable):
30585 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30586 (bin_element_is_sink), (gst_bin_change_state):
30587 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30588 * gst/gstelement.h:
30589 Identify sinks by their flag to avoid overly complicated
30591 Do state changes even for elements not reachable from the
30593 BaseSink is a sink now :)
30594 Some more debugging info in the basesrc.
30597 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30600 Implement _query on a bin, similar to _send_event.
30602 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30604 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30605 Discont event offset format should be GST_FORMAT_BYTES,
30606 not GST_FORMAT_TIME.
30608 2005-05-12 Wim Taymans <wim@fluendo.com>
30610 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30611 Same fix as Ronald's but without the signal.
30613 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30615 * gst/gstutils.c: (gst_element_query_position):
30616 No, an element is not a pad.
30618 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30620 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30621 (gst_bin_get_state):
30622 If a child is removed from a bin while we remove the child from
30623 the bin and while we're retrieving its state, signal this to the
30624 get_state function so we abort the wait (instead of waiting for
30625 a timeout) and can immediately re-iterate over all other elements.
30627 2005-05-12 Wim Taymans <wim@fluendo.com>
30629 * gst/base/Makefile.am:
30630 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30631 (gst_basesrc_start):
30632 * gst/base/gstbasesrc.h:
30633 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30634 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30635 (gst_pushsrc_init), (gst_pushsrc_create):
30636 * gst/base/gstpushsrc.h:
30637 Added is_seekable to BaseSrc
30638 Added simple PushSrc.
30640 2005-05-11 Wim Taymans <wim@fluendo.com>
30642 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30643 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30644 (gst_element_link_pads), (gst_element_query_position),
30645 (gst_element_query_convert), (intersect_caps_func),
30646 (gst_pad_query_position), (gst_pad_query_convert):
30647 Fix refcounting in utils function.
30648 No point in trying to activate a pad when it's added, it could
30649 be added from the state change function and then we deadlock, the
30650 element has to decide what to do.
30652 2005-05-10 Andy Wingo <wingo@pobox.com>
30654 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30655 *all* the arguments.
30657 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30658 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30659 lock (according to the docs -- if this is wrong change the docs).
30661 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30662 flush messages in the NULL state.
30664 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30665 message immediately and return.
30666 (gst_bus_set_flushing): New function. If a bus is flushing, it
30667 flushes out any queued messages and immediately unrefs new
30668 messages. This is so when an element goes to NULL, all of the
30669 unhandled messages coming from it can be freed, and their
30670 references to the element dropped. In other words: message source
30671 ref considered harmful :P
30673 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30674 we're finished with it.
30676 * gst/gstmessage.c (gst_message_new_state_changed):
30678 2005-05-10 Wim Taymans <wim@fluendo.com>
30680 * gst/gstvalue.c: (gst_value_compare_flags),
30681 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30682 (_gst_value_initialize):
30683 Added flags serialize/deserialize/compare code.
30685 2005-05-09 Andy Wingo <wingo@pobox.com>
30687 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30688 Intersect the peer's caps with our caps.
30690 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30692 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30693 * gst/elements/gsttypefindelement.c: (find_peek):
30694 Handle negative offsets better. Fixes decodebin.
30696 2005-05-09 Wim Taymans <wim@fluendo.com>
30698 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30699 (gst_base_transform_event):
30700 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30701 Implement accept_caps.
30702 Fix silly lock/unlock mismatch in base class.
30704 2005-05-09 Wim Taymans <wim@fluendo.com>
30706 * docs/design/draft-push-pull.txt:
30707 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30708 * gst/elements/gstfilesink.c: (gst_filesink_init),
30709 (gst_filesink_query):
30710 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30711 (gst_type_find_handle_src_query), (find_element_get_length):
30712 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30713 * gst/gstelement.h:
30714 * gst/gstmessage.c:
30715 * gst/gstmessage.h:
30716 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30717 (gst_real_pad_get_caps_unlocked),
30718 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30719 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30720 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30721 (gst_real_pad_dispose), (gst_real_pad_finalize),
30722 (gst_pad_load_and_link), (gst_pad_save_thyself),
30723 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30724 (gst_pad_check_pull_range), (gst_pad_pull_range),
30725 (gst_pad_template_get_type), (gst_pad_template_class_init),
30726 (gst_pad_template_init), (gst_pad_template_dispose),
30727 (name_is_valid), (gst_static_pad_template_get),
30728 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30729 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30730 (gst_pad_get_element_private), (gst_pad_start_task),
30731 (gst_pad_pause_task), (gst_pad_stop_task),
30732 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30733 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30734 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30735 (gst_ghost_pad_new):
30737 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30738 (gst_query_new_position), (gst_query_set_position),
30739 (gst_query_parse_position), (gst_query_new_convert),
30740 (gst_query_set_convert), (gst_query_parse_convert):
30742 * gst/gstqueryutils.c:
30743 * gst/gstqueryutils.h:
30744 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30745 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30746 (gst_queue_handle_src_query):
30747 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30748 (gst_element_query_position), (gst_element_query_convert),
30749 (intersect_caps_func), (gst_pad_query_position),
30750 (gst_pad_query_convert):
30752 * tools/gst-inspect.c: (print_pad_info):
30753 * tools/gst-xmlinspect.c: (print_element_info):
30754 Remove old query functions. Ported old code.
30755 Added position/convert helper functions to gstutils.
30756 Reordered gstpad.c code, grouping relevant things.
30757 Remove gst_message_new(), always need to speficy a specific
30761 2005-05-09 Andy Wingo <wingo@pobox.com>
30763 * gst/gstiterator.h: Add some includes.
30765 * gst/gstqueryutils.h: Include more headers.
30768 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30769 some uses of gst_pad_query.
30771 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30772 NULL out parameters.
30773 (gst_query_new_position): New proc, allocates a new position
30776 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30777 gstqueryutils.c to the build.
30779 * gst/gststructure.c (gst_structure_set_valist): Implement with
30780 the generic G_VALUE_COLLECT.
30782 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30784 * gst/Makefile.am: (gst_headers):
30785 Added gstqueryutils.h to the list of headers to install, that was
30786 a 'nachty' move wingo :)
30788 2005-05-06 Andy Wingo <wingo@pobox.com>
30791 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30792 GstData, init a memchunk.
30793 (standard_definitions): Add a few query types, deprecate a few.
30794 (gst_query_get_type): New proc.
30795 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30797 (gst_query_new_application, gst_query_get_structure): New public
30800 * docs/design/draft-query.txt: Removed LINKS from the query types,
30801 because all the rest can be dispatched to other pads -- seemed
30802 ugly to have a query that couldn't be dispatched. internal_links
30803 is fine as a pad method.
30805 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30806 in gstpad.c, but maintain binary compatibility for the moment.
30807 Will fix before 0.9 is out.
30809 * gst/gstqueryutils.c:
30810 * gst/gstqueryutils.h: New files, implement 3 methods for each
30811 query type: parse_query, parse_response, and set. Probably need an
30814 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30816 * gst/elements/gstfilesink.c (gst_filesink_query2):
30817 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30818 query_types, and formats methods.
30820 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30821 (gst_pad_set_query2_function): New functions.
30822 (gst_real_pad_init): Set query2_default as the default query2
30823 function. Basically just dispatches to internally linked pads.
30827 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30828 without using the atomic operations. Only one thread can possibly
30829 be accessing the data at this point. Changed so as to avoid
30830 gst_atomic operations.
30832 2005-05-06 Wim Taymans <wim@fluendo.com>
30834 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30835 Also set caps if we use the fallback buffer alloc.
30837 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30839 * docs/gst/Makefile.am:
30840 * docs/gst/gstreamer-docs.sgml:
30841 * docs/gst/gstreamer-sections.txt:
30842 * docs/gst/tmpl/gstatomic.sgml:
30843 * docs/gst/tmpl/gstmemchunk.sgml:
30844 * testsuite/elements/struct_i386.h:
30845 * win32/GStreamer.vcproj:
30847 Purge GstAtomic stuff from docs and win32 makefiles as well
30849 2005-05-06 Wim Taymans <wim@fluendo.com>
30851 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30852 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30853 * gst/gstpad.c: (gst_pad_peer_get_caps):
30854 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30855 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30856 (gst_queue_src_activate), (gst_queue_change_state):
30858 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30859 (intersect_caps_func):
30860 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30861 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30862 Some fixes for the peer_get_caps() change.
30864 2005-05-06 Wim Taymans <wim@fluendo.com>
30866 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30867 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30868 (gst_basesink_activate):
30869 Actually do something with error codes returned from the push
30872 2005-05-06 Wim Taymans <wim@fluendo.com>
30874 * docs/design/part-element-sink.txt:
30875 * docs/design/part-element-source.txt:
30876 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30877 (gst_basesink_event), (gst_basesink_activate):
30878 * gst/base/gstbasesink.h:
30879 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30880 (gst_basesrc_activate):
30881 * gst/base/gstbasesrc.h:
30882 * gst/gstelement.c: (gst_element_pads_activate):
30883 Some more documentation.
30884 Fixed scheduling decision in _pads_activate().
30886 2005-05-05 Andy Wingo <wingo@pobox.com>
30888 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30891 2005-05-05 Wim Taymans <wim@fluendo.com>
30893 * gst/base/Makefile.am:
30894 * gst/base/gstbasesink.h:
30895 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30896 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30897 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30898 (gst_collectpads_class_init), (gst_collectpads_init),
30899 (gst_collectpads_finalize), (gst_collectpads_new),
30900 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30901 (find_pad), (gst_collectpads_remove_pad),
30902 (gst_collectpads_is_active), (gst_collectpads_collect),
30903 (gst_collectpads_collect_range), (gst_collectpads_start),
30904 (gst_collectpads_stop), (gst_collectpads_peek),
30905 (gst_collectpads_pop), (gst_collectpads_available),
30906 (gst_collectpads_read), (gst_collectpads_flush),
30907 (gst_collectpads_chain):
30908 * gst/base/gstcollectpads.h:
30909 * gst/elements/Makefile.am:
30910 * gst/elements/gstelements.c:
30911 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30912 (gst_fakesink_get_times), (gst_fakesink_event),
30913 (gst_fakesink_preroll), (gst_fakesink_render):
30914 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30915 (gst_filesink_init), (gst_filesink_set_location),
30916 (gst_filesink_open_file), (gst_filesink_close_file),
30917 (gst_filesink_pad_query), (gst_filesink_event),
30918 (gst_filesink_render), (gst_filesink_change_state):
30919 * gst/elements/gstfilesink.h:
30920 Added object to help in making collect pad based elements.
30922 Make event function in sink baseclass return gboolean.
30924 2005-05-05 Wim Taymans <wim@fluendo.com>
30926 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30927 (gst_bin_get_by_name):
30929 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30930 (gst_clock_finalize):
30931 * gst/gstdata.c: (gst_data_replace):
30933 * gst/gstelement.c: (gst_element_request_pad),
30934 (gst_element_pads_activate):
30935 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30936 (gst_object_unref):
30937 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30938 (gst_pad_set_checkgetrange_function),
30939 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30940 (gst_pad_check_pull_range), (gst_pad_pull_range),
30941 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30942 (gst_pad_pause_task), (gst_pad_stop_task):
30943 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30944 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30945 Fix name lookup in GstBin.
30946 Added _data_replace() function and _buffer_replace()
30947 Use finalize method to clean up clock.
30948 Fix refcounting on request pads.
30949 Fix pad schedule mode error.
30950 Some more object refcounting debug info,
30953 2005-05-04 Andy Wingo <wingo@pobox.com>
30955 * check/Makefile.am:
30956 * docs/gst/tmpl/gstatomic.sgml:
30957 * docs/gst/tmpl/gstplugin.sgml:
30958 * gst/base/gstbasesink.c: (gst_basesink_activate):
30959 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30960 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30961 (gst_basesrc_query), (gst_basesrc_set_property),
30962 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30963 (gst_basesrc_activate):
30964 * gst/base/gstbasesrc.h:
30965 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30966 (gst_base_transform_src_activate):
30967 * gst/elements/gstelements.c:
30968 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30969 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30970 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30971 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30972 (gst_type_find_element_checkgetrange),
30973 (gst_type_find_element_activate):
30974 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30975 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30976 (gst_caps_load_thyself):
30977 * gst/gstelement.c: (gst_element_pads_activate),
30978 (gst_element_save_thyself), (gst_element_restore_thyself):
30979 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30980 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30982 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30983 (gst_xml_parse_file), (gst_xml_parse_memory),
30984 (gst_xml_get_element), (gst_xml_make_element):
30985 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30986 (_file_index_id_save_xml), (gst_file_index_commit):
30987 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30988 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30990 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30991 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30992 * tools/gst-complete.c: (main):
30993 * tools/gst-compprep.c: (main):
30994 * tools/gst-inspect.c: (print_element_properties_info):
30995 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30996 * tools/gst-xmlinspect.c: (print_element_properties):
30999 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
31001 * gst/gstplugin.c: (gst_plugin_check_module),
31002 (gst_plugin_check_file), (gst_plugin_load_file):
31003 apply patch from #172526 to make register work on MacOSX
31005 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31007 * docs/gst/tmpl/gstconfig.sgml:
31008 * gst/gstconfig.h.in:
31009 move documentation for some symbols. Add doc for GST_PTR_FORMAT
31010 * testsuite/debug/printf_extension.c: (main):
31011 Do not use GST_PTR_FORMAT on pointers to types with
31012 sizeof < sizeof(gpointer). Fixes test on 64-bit
31013 * testsuite/elements/property.h:
31014 use correct printf format
31016 2005-05-02 Wim Taymans <wim@fluendo.com>
31018 * docs/design/draft-push-pull.txt:
31019 * docs/design/draft-query.txt:
31020 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31021 (gst_basesrc_start):
31022 Added draft for new query API.
31023 Added draft for better selecting scheduling methods.
31024 Make basesrc ignore length if the subclass does not support
31027 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31030 possible fixes for automake-1.5 - _LIBADD is reserved
31032 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31034 * docs/faq/Makefile.am:
31035 * docs/manual/Makefile.am:
31036 * docs/manuals.mak:
31037 * docs/pwg/Makefile.am:
31039 possible fixes for automake-1.5
31041 2005-04-28 Wim Taymans <wim@fluendo.com>
31043 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31044 (gst_basesink_pad_getcaps), (gst_basesink_init),
31045 (gst_basesink_do_sync):
31046 * gst/gstclock.c: (gst_clock_entry_new):
31047 * gst/gstevent.c: (gst_event_discont_get_value):
31048 * gst/gstpipeline.c: (pipeline_bus_handler),
31049 (gst_pipeline_change_state):
31050 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31051 Better debugging of clocking info.
31052 Allow NULL values when getting discont values.
31054 2005-04-27 Wim Taymans <wim@fluendo.com>
31056 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31057 * check/gst/gstpad.c: (gst_pad_suite):
31058 Increase timeout for checks.
31060 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31062 * check/Makefile.am:
31063 fix the broken rule for cleanup. Apparently this rule is
31064 only needed on FC2, so maybe this warrants further autotool
31067 2005-04-26 Wim Taymans <wim@fluendo.com>
31069 * gst/gsttrashstack.h:
31070 Ooohh. a nasty one! After having a failed pop() from the stack,
31071 it's possible that the stack is empty. In that case, don't
31072 follow the NULL pointer.
31074 2005-04-25 Wim Taymans <wim@fluendo.com>
31076 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31077 (gst_pad_set_checkgetrange_function),
31078 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31079 (gst_pad_check_pull_range), (gst_pad_pull_range),
31080 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31081 (gst_pad_pause_task), (gst_pad_stop_task):
31082 * gst/gstplugin.c: (gst_plugin_load):
31084 Remove gst_library_load as it does more harm than good with
31085 the new g_module flags.
31086 Revert bogus caps template check in pad linking, pad caps
31087 are important when linking not the template, which is more
31088 general than the current caps.
31090 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31092 * gst/autoplug/.cvsignore:
31093 * gst/autoplug/Makefile.am:
31094 * gst/autoplug/gstsearchfuncs.c:
31095 * gst/autoplug/gstsearchfuncs.h:
31096 * gst/autoplug/gstspider.c:
31097 * gst/autoplug/gstspider.h:
31098 * gst/autoplug/gstspideridentity.c:
31099 * gst/autoplug/gstspideridentity.h:
31100 * gst/autoplug/spidertest.c:
31103 2005-04-25 Wim Taymans <wim@fluendo.com>
31105 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31106 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31107 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31108 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31110 Added stubs for unimplemented functions.
31112 2005-04-24 David Schleef <ds@schleef.org>
31114 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31117 2005-04-24 David Schleef <ds@schleef.org>
31119 Convert everything from GstAtomicInt to g_atomic_int_*, and
31124 * gst/gstatomic_impl.h:
31132 * gst/gstdata_private.h:
31136 * gst/gstmessage.c:
31139 * gst/gststructure.c:
31140 * gst/gststructure.h:
31141 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31144 2005-04-24 David Schleef <ds@schleef.org>
31146 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31147 make the regressions tests work. Remove some code that is no
31149 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31150 Disable warning for pads without templates.
31152 2005-04-24 David Schleef <ds@schleef.org>
31154 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31155 functions that handle filtered links.
31156 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31158 * gst/gstutils.c: Fix/remove utility functions that handle
31161 * gst/gstvalue.c: Add serialization/deserialization of caps
31162 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31163 requires fixing so that the filter caps notation creates
31164 a capsfilter element and sets the filter_caps property. I
31165 think everyone probably wants to keep the shorthand notation.
31166 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31167 * docs/gst/tmpl/gstpad.sgml:
31169 * gst/elements/gstelements.c: Register capsfilter element.
31170 * gst/Makefile.am: fix spacing
31171 * docs/random/ds/0.9-suggested-changes: random
31173 2005-04-23 David Schleef <ds@schleef.org>
31175 * gst/elements/Makefile.am:
31176 * gst/elements/gstcapsfilter.c: New element that acts like an
31177 identity, but filters caps. Will eventually replace filtered
31178 caps in pad linking.
31179 * gst/gstutils.c: (gst_element_create_all_pads): New function
31180 to create all the ALWAYS pads that are registered with an
31181 element class. This functionality should eventually be
31182 merged in with GstElement initialization.
31184 * testsuite/trigger/README: part of trigger test code that should
31185 have been checked in a long time ago.
31187 2005-04-23 David Schleef <ds@schleef.org>
31189 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31190 needed with new versions of libtool (nobody will confirm this),
31191 and hard to carry around.
31192 * gst/autoplug/Makefile.am:
31193 * gst/base/Makefile.am:
31194 * gst/elements/Makefile.am:
31195 * gst/indexers/Makefile.am:
31196 * gst/schedulers/Makefile.am:
31197 * libs/gst/bytestream/Makefile.am:
31198 * libs/gst/control/Makefile.am:
31199 * libs/gst/dataprotocol/Makefile.am:
31200 * libs/gst/getbits/Makefile.am:
31202 2005-04-21 Wim Taymans <wim@fluendo.com>
31204 * docs/design/draft-push-pull.txt:
31205 * docs/design/part-MT-refcounting.txt:
31206 * docs/design/part-TODO.txt:
31207 * docs/design/part-caps.txt:
31208 * docs/design/part-events.txt:
31209 * docs/design/part-gstbus.txt:
31210 * docs/design/part-gstpipeline.txt:
31211 * docs/design/part-messages.txt:
31212 * docs/design/part-push-pull.txt:
31213 * docs/design/part-query.txt:
31216 2005-04-21 Wim Taymans <wim@fluendo.com>
31218 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31219 (gst_message_new), (gst_message_new_error),
31220 (gst_message_new_warning), (gst_message_new_tag),
31221 (gst_message_new_state_changed), (gst_message_new_application),
31222 (gst_message_get_structure):
31223 * gst/gstmessage.h:
31224 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31225 (gst_structure_copy_conditional):
31226 Use parent refcount in GstMessage to ensure GstStructure
31228 Cleaned up headers a bit.
31231 2005-04-20 Wim Taymans <wim@fluendo.com>
31233 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31234 (gst_basesink_pad_getcaps), (gst_basesink_init),
31235 (gst_basesink_chain_unlocked):
31236 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31237 (gst_type_find_helper):
31238 * gst/elements/gsttypefindelement.c:
31239 (gst_type_find_element_have_type), (gst_type_find_element_init),
31240 (stop_typefinding), (gst_type_find_element_handle_event),
31241 (find_suggest), (gst_type_find_element_chain),
31242 (gst_type_find_element_checkgetrange),
31243 (gst_type_find_element_getrange), (do_typefind),
31244 (gst_type_find_element_activate):
31245 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31246 (gst_buffer_default_free), (gst_buffer_default_copy),
31247 (gst_buffer_set_caps):
31248 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31249 (gst_caps_replace):
31250 * gst/gstmessage.c: (gst_message_new),
31251 (gst_message_new_state_changed):
31252 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31253 (gst_pad_set_checkgetrange_function),
31254 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31255 (gst_pad_set_caps), (gst_pad_check_pull_range),
31256 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31258 * gst/gsttypefind.c: (gst_type_find_register):
31259 Make gst_caps_replace() work like other _replace() functions.
31260 Use _caps_replace() where possible.
31261 Make sure _message_new() initialises its field.
31262 Add gst_static_pad_template_get_caps()
31265 2005-04-18 Andy Wingo <wingo@pobox.com>
31267 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31268 on the peer, not the pad. I think that was a typo. Pass an extra
31269 arg to see if random access is possible. Activate the pads as
31270 PULL_RANGE if possible.
31272 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31274 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31275 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31278 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31280 * docs/faq/using.xml:
31281 Add note on gstreamer-properties (#154996).
31283 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31285 * docs/random/bbb/optional-properties:
31286 Some analysis on optional properties.
31288 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31290 * docs/gst/tmpl/gstelementfactory.sgml:
31291 * gst/gstelement.h:
31292 * gst/gstelementfactory.c: (gst_element_factory_init),
31293 (gst_element_factory_cleanup), (gst_element_register),
31294 (__gst_element_factory_add_static_pad_template),
31295 (gst_element_factory_get_static_pad_templates),
31296 (gst_element_factory_can_src_caps),
31297 (gst_element_factory_can_sink_caps):
31298 * gst/registries/Makefile.am:
31299 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31300 (gst_xml_registry_class_init), (gst_xml_registry_init),
31301 (gst_xml_registry_new), (gst_xml_registry_set_property),
31302 (gst_xml_registry_get_property), (get_time), (make_dir),
31303 (gst_xml_registry_get_perms_func),
31304 (plugin_times_older_than_recurse), (plugin_times_older_than),
31305 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31306 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31307 (add_to_char_array), (read_string), (read_uint), (read_enum),
31308 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31309 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31310 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31311 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31312 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31313 (gst_xml_registry_rebuild):
31314 * gst/registries/gstlibxmlregistry.h:
31315 * tools/gst-compprep.c: (main):
31316 * tools/gst-inspect.c: (print_pad_templates_info):
31317 * tools/gst-xmlinspect.c: (print_element_info):
31318 Use libxml2 for registry parsing, use staticpadtemplates in
31319 elementfactories. Makes gst_init() +/- 10x faster.
31321 2005-04-12 Wim Taymans <wim@fluendo.com>
31323 * gst/base/Makefile.am:
31324 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31325 (gst_basesink_pad_getcaps), (gst_basesink_init),
31326 (gst_basesink_event), (gst_basesink_change_state):
31327 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31328 (gst_basesrc_init), (gst_basesrc_query),
31329 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31330 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31331 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31332 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31333 (gst_basesrc_stop), (gst_basesrc_activate),
31334 (gst_basesrc_change_state):
31335 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31336 (helper_find_suggest), (gst_type_find_helper):
31337 * gst/base/gsttypefindhelper.h:
31338 * gst/elements/Makefile.am:
31339 * gst/elements/gstelements.c:
31340 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31341 (gst_fakesink_get_times), (gst_fakesink_event),
31342 (gst_fakesink_preroll), (gst_fakesink_render):
31343 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31344 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31345 (gst_fakesrc_get_property), (gst_fakesrc_create),
31346 (gst_fakesrc_start), (gst_fakesrc_stop):
31347 * gst/elements/gstfakesrc.h:
31348 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31349 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31350 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31351 (gst_filesrc_create_read), (gst_filesrc_create),
31352 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31353 (gst_filesrc_start):
31354 * gst/elements/gsttypefindelement.c:
31355 (gst_type_find_element_have_type), (gst_type_find_element_init),
31356 (start_typefinding), (stop_typefinding), (push_buffer_store),
31357 (gst_type_find_element_handle_event),
31358 (gst_type_find_element_chain),
31359 (gst_type_find_element_checkgetrange),
31360 (gst_type_find_element_getrange), (do_typefind),
31361 (gst_type_find_element_activate),
31362 (gst_type_find_element_change_state):
31363 * gst/elements/gsttypefindelement.h:
31364 * gst/gstpipeline.c: (pipeline_bus_handler):
31365 Added typefind helper.
31366 Small preroll fix in the base sink.
31367 Disable typefind code in basesrc.
31368 Crude port of typefindelement.
31372 2005-04-11 Wim Taymans <wim@fluendo.com>
31374 * check/gst/gstbus.c: (gstbus_suite):
31375 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31376 * check/gstcheck.h:
31377 Fix up the timeout so that the test does not fail.
31379 2005-04-06 Wim Taymans <wim@fluendo.com>
31382 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31383 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31384 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31385 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31386 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31387 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31388 (gst_basesrc_stop), (gst_basesrc_activate),
31389 (gst_basesrc_change_state), (basesrc_find_peek),
31390 (basesrc_find_suggest), (gst_basesrc_type_find):
31391 * gst/base/gstbasesrc.h:
31392 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31393 (gst_filesrc_class_init), (gst_filesrc_init),
31394 (gst_filesrc_finalize), (gst_filesrc_set_location),
31395 (gst_filesrc_set_property), (gst_filesrc_get_property),
31396 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31397 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31398 (gst_filesrc_create_read), (gst_filesrc_create),
31399 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31400 * gst/elements/gstfilesrc.h:
31401 * gst/gstelement.c: (gst_element_get_state_func),
31402 (gst_element_lost_state), (gst_element_pads_activate):
31403 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31404 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31405 (gst_pad_pull_range):
31407 More work on the generic source base class, implement seeking,
31409 Make filesrc extend the base source class.
31410 Added gst_pad_set_checkgetrange_function to GstPad.
31412 2005-04-06 Andy Wingo <wingo@pobox.com>
31414 * pkgconfig/gstreamer-base.pc.in:
31415 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31417 * pkgconfig/Makefile.am:
31418 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31420 2005-04-04 Wim Taymans <wim@fluendo.com>
31422 * gst/base/Makefile.am:
31424 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31425 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31426 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31427 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31428 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31429 (gst_basesrc_base_init), (gst_basesrc_class_init),
31430 (gst_basesrc_init), (gst_basesrc_get_formats),
31431 (gst_basesrc_get_query_types), (gst_basesrc_query),
31432 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31433 (gst_basesrc_set_property), (gst_basesrc_get_property),
31434 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31435 (gst_basesrc_loop), (gst_basesrc_activate),
31436 (gst_basesrc_change_state):
31437 * gst/base/gstbasesrc.h:
31438 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31439 (gst_fakesrc_class_init), (gst_fakesrc_init),
31440 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31441 (gst_fakesrc_get_property), (gst_fakesrc_create):
31442 * gst/elements/gstfakesrc.h:
31443 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31444 (gst_filesrc_open_file), (gst_filesrc_loop),
31445 (gst_filesrc_activate), (filesrc_find_peek),
31446 (gst_filesrc_type_find):
31447 Made base source class, make fakesrc extend it.
31448 Add comments to basesink class.
31449 Some filesrc cleanup.
31451 2005-03-31 David Schleef <ds@schleef.org>
31453 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31454 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31455 expected to link against libgstreamer.
31456 * gst/base/Makefile.am: link against libgstreamer
31457 * gst/elements/Makefile.am: same
31459 2005-03-31 Andy Wingo <wingo@pobox.com>
31461 * tests/instantiate/Makefile.am:
31462 * tests/instantiate/caps.c: Add test to test speed of caps copy
31465 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31466 GMemChunk to be fair.
31468 * gst/gsttrashstack.h: Remove warning about using the fallback
31469 trash stack implementation, it's still faster than malloc.
31471 2005-03-30 Andy Wingo <wingo@pobox.com>
31473 * tests/complexity.c: Add a copyright.
31475 2005-03-31 Wim Taymans <wim@fluendo.com>
31477 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31478 (gst_base_transform_class_init), (gst_base_transform_init),
31479 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31480 (gst_base_transform_get_property),
31481 (gst_base_transform_sink_activate),
31482 (gst_base_transform_src_activate),
31483 (gst_base_transform_change_state):
31484 * gst/base/gstbasetransform.h:
31485 * gst/elements/gstidentity.c: (gst_identity_class_init),
31486 (gst_identity_event), (gst_identity_check_perfect),
31487 (gst_identity_transform), (gst_identity_start),
31488 (gst_identity_stop):
31489 Added start/stop methods to transform base class so subclasses
31490 don't need to deal with state changes even.
31492 2005-03-31 Wim Taymans <wim@fluendo.com>
31494 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31495 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31497 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31498 (gst_pad_pull_range):
31499 Added rate to the discont event to prepare for variable speed
31500 and reverse playback.
31502 2005-03-29 David Schleef <ds@schleef.org>
31505 * testsuite/trigger/Makefile.am:
31506 * testsuite/trigger/trigger.c: A little example program to show
31507 how trigger-based elements can work.
31509 2005-03-29 Wim Taymans <wim@fluendo.com>
31511 * gst/base/Makefile.am:
31513 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31514 (gst_basesink_base_init), (gst_basesink_class_init),
31515 (gst_basesink_pad_getcaps), (gst_basesink_init),
31516 (gst_basesink_activate), (gst_basesink_change_state):
31517 * gst/base/gstbasesink.h:
31518 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31519 (gst_base_transform_base_init), (gst_base_transform_finalize),
31520 (gst_base_transform_class_init), (gst_base_transform_init),
31521 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31522 (gst_base_transform_event), (gst_base_transform_getrange),
31523 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31524 (gst_base_transform_set_property),
31525 (gst_base_transform_get_property),
31526 (gst_base_transform_sink_activate),
31527 (gst_base_transform_src_activate),
31528 (gst_base_transform_change_state):
31529 * gst/base/gstbasetransform.h:
31530 * gst/elements/gstidentity.c: (gst_identity_finalize),
31531 (gst_identity_class_init), (gst_identity_init),
31532 (gst_identity_event), (gst_identity_check_perfect),
31533 (gst_identity_transform), (gst_identity_set_property),
31534 (gst_identity_get_property), (gst_identity_change_state):
31535 * gst/elements/gstidentity.h:
31536 * gst/gstelement.c: (gst_element_get_state_func),
31537 (gst_element_lost_state), (gst_element_pads_activate):
31538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31539 (gst_pad_check_pull_range), (gst_pad_pull_range):
31541 Simplify pad activation.
31542 Added function to check if pull_range can be performed.
31543 Error out when pulling inactive or flushing pads.
31544 Removed const from refcounted types as it does not make sense.
31545 Simplify pad templates in basesink
31546 Added base class for simple 1-to-1 transforms.
31547 Make identity subclass the base transform.
31549 2005-03-29 Andy Wingo <wingo@pobox.com>
31551 * docs/libs/gstreamer-libs-overrides.txt:
31552 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31553 really don't understand what's going on, but like whatever. I want
31556 * docs/gst/Makefile.am:
31557 * docs/libs/Makefile.am: Dist the overrides files.
31559 * check/Makefile.am (clean-local): Remove .libs directories.
31561 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31562 elements to EXTRA_DIST, so po/ files are happy.
31564 * po/POTFILES.in: Er, remove it here.
31566 * po/POTFILES: Remove gstspider.c.
31568 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31570 * docs/libs/gstreamer-libs-docs.sgml:
31571 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31574 * tests/complexity.c (main): Set the length of the preroll queue
31575 on the sinks to prevent a lockup.
31577 * libs/gst/dataprotocol/Makefile.am:
31578 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31579 the same as the one in check/gst-libs/gdp.c.
31581 * po/, docs/gst/: Commit automatic changes to docs and po files.
31583 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31584 the versioned libgstbase.
31586 * check/Makefile.am: Depend on an unversioned gst-register, seems
31587 to make autoconf happier.
31589 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31591 2005-03-28 Wim Taymans <wim@fluendo.com>
31594 * docs/design/part-gstelement.txt:
31595 * docs/design/part-negotiation.txt:
31596 * docs/design/part-preroll.txt:
31597 * docs/design/part-scheduling.txt:
31598 * docs/design/part-states.txt:
31600 * gst/base/Makefile.am:
31602 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31603 (gst_basesink_base_init), (gst_basesink_class_init),
31604 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31605 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31606 (gst_basesink_set_pad_functions),
31607 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31608 (gst_basesink_set_property), (gst_basesink_get_property),
31609 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31610 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31611 (gst_basesink_preroll_queue_push),
31612 (gst_basesink_preroll_queue_empty),
31613 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31614 (gst_basesink_event), (gst_basesink_get_times),
31615 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31616 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31617 (gst_basesink_loop), (gst_basesink_activate),
31618 (gst_basesink_change_state):
31619 * gst/base/gstbasesink.h:
31620 * gst/elements/Makefile.am:
31621 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31622 (gst_fakesink_class_init), (gst_fakesink_init),
31623 (gst_fakesink_set_property), (gst_fakesink_get_property),
31624 (gst_fakesink_get_times), (gst_fakesink_event),
31625 (gst_fakesink_preroll), (gst_fakesink_render),
31626 (gst_fakesink_change_state):
31627 * gst/elements/gstfakesink.h:
31628 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31629 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31630 * gst/gstelement.c: (gst_element_add_pad),
31631 (gst_element_get_state_func), (gst_element_abort_state),
31632 (gst_element_commit_state), (gst_element_lost_state),
31633 (gst_element_set_state), (gst_element_pads_activate):
31634 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31635 * gst/gstpipeline.c: (gst_pipeline_send_event),
31636 (gst_pipeline_change_state):
31637 Added state change code.
31638 Added/updated docs.
31639 Added sink base class, make fakesink extend the base class.
31640 Small cleanups in GstPipeline.
31642 2005-03-26 David Schleef <ds@schleef.org>
31644 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31645 is broken and should be implemented in a different library.
31646 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31647 * gst/gst.h: remove gstcpu.h
31648 * gst/gstcpu.c: remove
31649 * gst/gstcpu.h: remove
31650 * gst/Makefile.am.future: Remove this file. It's ancient.
31652 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31655 (gst_bin_send_event):
31656 Add default event/set_manager handlers. The set_manager handler
31657 takes care that the manager is distributed over kids that were
31658 already in the bin before the manager was set. The event handler
31659 is a utility virtual function that sends the event over all sinks,
31660 so that gst_element_send_event (bin, event); has the expected
31662 * gst/gstpad.c: (gst_pad_event_default):
31663 Re-install default event handling for discontinuities, so that
31664 seeking works without requiring hacks in applications or extra
31666 * gst/gstpipeline.c: (gst_pipeline_class_init),
31667 (gst_pipeline_send_event):
31668 Half hack, half utility: set a pipeline to PAUSED for seek events,
31669 since that is the only way we can guarantee a/v sync. Means that
31670 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31671 and it "just works".
31673 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31675 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31676 Lock/unlock mismatch.
31678 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31680 * docs/faq/gst-uninstalled:
31681 add gst-plugins-base
31682 * docs/gst/Makefile.am:
31683 don't error out until docs are fixed
31684 * docs/gst/gstreamer.types:
31687 2005-03-22 Wim Taymans <wim@fluendo.com>
31689 * check/Makefile.am:
31690 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31691 * gst/gststructure.c: (gst_structure_set_valist),
31692 (gst_structure_copy_conditional):
31693 Activated more tests.
31694 Added message test.
31695 Added G_TYPE_POINTER to GstStructure.
31698 2005-03-22 Wim Taymans <wim@fluendo.com>
31700 * docs/design/part-TODO.txt:
31701 * docs/design/part-events.txt:
31702 * docs/design/part-gstbin.txt:
31703 * docs/design/part-gstbus.txt:
31704 * docs/design/part-gstpipeline.txt:
31705 * docs/design/part-messages.txt:
31707 * gst/gstmessage.c:
31710 2005-03-21 Wim Taymans <wim@fluendo.com>
31712 * gst/gstbus.c: (gst_bus_post):
31713 Fix copy-and-paste error.
31715 2005-03-21 Wim Taymans <wim@fluendo.com>
31717 * check/Makefile.am:
31719 * gst/elements/Makefile.am:
31720 * gst/elements/gstelements.c:
31721 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31722 (gst_fakesink_event), (gst_fakesink_chain):
31723 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31724 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31725 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31726 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31727 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31728 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31729 (gst_fakesrc_loop), (gst_fakesrc_activate),
31730 (gst_fakesrc_change_state):
31731 * gst/elements/gstfakesrc.h:
31732 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31733 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31734 (gst_filesrc_open_file), (gst_filesrc_loop),
31735 (gst_filesrc_activate), (gst_filesrc_change_state),
31736 (filesrc_find_peek), (filesrc_find_suggest),
31737 (gst_filesrc_type_find):
31738 * gst/elements/gstidentity.c: (gst_identity_finalize),
31739 (gst_identity_class_init), (gst_identity_init),
31740 (gst_identity_proxy_getcaps), (identity_queue_push),
31741 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31742 (gst_identity_getrange), (gst_identity_chain),
31743 (gst_identity_sink_loop), (gst_identity_src_loop),
31744 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31745 (gst_identity_set_property), (gst_identity_get_property),
31746 (gst_identity_change_state):
31747 * gst/elements/gstidentity.h:
31748 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31749 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31750 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31751 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31752 (gst_tee_sink_activate):
31753 * gst/elements/gsttee.h:
31754 * gst/gst.c: (gst_register_core_elements), (init_post):
31756 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31757 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31758 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31759 (gst_bin_change_state):
31761 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31762 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31763 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31764 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31765 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31766 (bus_watch_callback), (bus_watch_destroy),
31767 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31768 (poll_timeout), (gst_bus_poll):
31772 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31773 (gst_element_post_message), (gst_element_message_full),
31774 (gst_element_get_state_func), (gst_element_get_state),
31775 (gst_element_abort_state), (gst_element_commit_state),
31776 (gst_element_lost_state), (gst_element_set_state),
31777 (gst_element_pads_activate), (gst_element_change_state),
31778 (gst_element_dispose), (gst_element_set_manager_func),
31779 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31780 (gst_element_set_manager), (gst_element_get_manager),
31781 (gst_element_set_bus), (gst_element_get_bus),
31782 (gst_element_set_scheduler), (gst_element_get_scheduler):
31783 * gst/gstelement.h:
31784 * gst/gstevent.c: (gst_event_new_segment_seek),
31785 (gst_event_new_flush):
31787 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31788 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31789 (gst_message_new_eos), (gst_message_new_error),
31790 (gst_message_new_warning), (gst_message_new_tag),
31791 (gst_message_new_state_changed), (gst_message_new_application),
31792 (gst_message_get_structure), (gst_message_parse_tag),
31793 (gst_message_parse_state_changed), (gst_message_parse_error),
31794 (gst_message_parse_warning):
31795 * gst/gstmessage.h:
31796 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31797 (gst_real_pad_set_property), (gst_pad_set_active),
31798 (gst_pad_is_active), (gst_pad_set_blocked_async),
31799 (gst_pad_set_blocked), (gst_pad_is_blocked),
31800 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31801 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31802 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31803 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31804 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31805 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31806 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31807 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31808 (gst_pad_set_caps), (gst_pad_configure_sink),
31809 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31810 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31811 (gst_real_pad_dispose), (gst_real_pad_finalize),
31812 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31813 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31814 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31816 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31817 (pipeline_bus_handler), (gst_pipeline_change_state),
31818 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31819 * gst/gstpipeline.h:
31821 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31822 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31823 (gst_queue_link_src), (gst_queue_bufferalloc),
31824 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31825 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31826 (gst_queue_loop), (gst_queue_handle_src_event),
31827 (gst_queue_handle_src_query), (gst_queue_src_activate),
31828 (gst_queue_change_state):
31830 * gst/gstscheduler.c: (gst_scheduler_init),
31831 (gst_scheduler_dispose), (gst_scheduler_create_task),
31832 (gst_scheduler_factory_create):
31833 * gst/gstscheduler.h:
31834 * gst/gststructure.c: (gst_structure_get_type),
31835 (gst_structure_copy_conditional):
31836 * gst/gststructure.h:
31837 * gst/gsttaginterface.h:
31838 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31839 (gst_task_init), (gst_task_dispose), (gst_task_create),
31840 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31846 * gst/schedulers/Makefile.am:
31847 * gst/schedulers/cothreads_compat.h:
31848 * gst/schedulers/entryscheduler.c:
31849 * gst/schedulers/faircothreads.c:
31850 * gst/schedulers/faircothreads.h:
31851 * gst/schedulers/fairscheduler.c:
31852 * gst/schedulers/gstbasicscheduler.c:
31853 * gst/schedulers/gstoptimalscheduler.c:
31854 * gst/schedulers/gthread-cothreads.h:
31855 * gst/schedulers/threadscheduler.c:
31856 (gst_thread_scheduler_task_get_type),
31857 (gst_thread_scheduler_task_class_init),
31858 (gst_thread_scheduler_task_init),
31859 (gst_thread_scheduler_task_start),
31860 (gst_thread_scheduler_task_stop),
31861 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31862 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31863 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31864 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31866 * libs/gst/Makefile.am:
31867 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31868 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31869 (gst_file_pad_parent_set):
31870 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31871 (gst_dp_event_from_packet):
31872 * tests/complexity.c: (main):
31873 * tests/mass_elements.c: (main):
31874 * testsuite/states/locked.c: (message_received), (main):
31875 * testsuite/states/parent.c: (main):
31876 * tools/gst-inspect.c: (print_element_flag_info),
31877 (print_implementation_info), (print_pad_info):
31878 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31880 * tools/gst-md5sum.c: (event_loop), (main):
31881 * tools/gst-typefind.c: (main):
31882 * tools/gst-xmlinspect.c: (print_element_info):
31884 Added GstBus for mainloop integration.
31885 Added GstMessage for sending notifications on the bus.
31886 Added GstTask as an abstraction for pipeline entry points.
31888 Removed Schedulers.
31889 Simplified GstQueue for multithreaded core.
31890 Made _link threadsafe, removed old capsnego.
31891 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31892 Added pad blocking functions.
31893 Reworked scheduling functions in GstPad to prepare for
31894 scheduling updates soon.
31895 Moved events out of data stream.
31896 Simplified GstEvent types.
31897 Added return values to push/pull.
31898 Removed clocking from GstElement.
31899 Added prototypes for state change function for next merge.
31900 Removed iterate from bins and state change management.
31901 Fixed some elements, disabled others for now.
31902 Fixed -inspect and -launch.
31903 Added check for GstBus.
31905 2005-03-10 Wim Taymans <wim@fluendo.com>
31907 * docs/design/part-MT-refcounting.txt:
31908 * docs/design/part-clocks.txt:
31909 * docs/design/part-gstelement.txt:
31910 * docs/design/part-gstobject.txt:
31911 * docs/design/part-standards.txt:
31912 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31913 (gst_bin_remove_func), (gst_bin_remove):
31917 * testsuite/clock/clock1.c: (main):
31918 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31920 * testsuite/dlopen/loadgst.c: (do_test):
31921 * testsuite/refcounting/bin.c: (add_remove_test1),
31922 (add_remove_test2), (main):
31923 * testsuite/refcounting/element.c: (main):
31924 * testsuite/refcounting/element_pad.c: (main):
31925 * testsuite/refcounting/pad.c: (main):
31926 * tools/gst-launch.c: (sigint_handler_sighandler):
31927 * tools/gst-typefind.c: (main):
31929 Added doc about clock.
31930 removed gst_bin_iterate_recurse_up(), marked methods
31932 Fix more testsuites.
31934 2005-03-09 Wim Taymans <wim@fluendo.com>
31936 * gst/gstpad.c: (gst_pad_get_direction),
31937 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31938 (gst_pad_collect_valist):
31939 * testsuite/bins/interface.c: (main):
31940 * testsuite/caps/audioscale.c: (test_caps):
31941 * testsuite/caps/caps.c: (test1), (test2), (test3):
31942 * testsuite/caps/deserialize.c: (main):
31943 * testsuite/caps/enumcaps.c: (main):
31944 * testsuite/caps/filtercaps.c: (main):
31945 * testsuite/caps/intersect2.c: (main):
31946 * testsuite/caps/random.c: (main):
31947 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31948 * testsuite/caps/sets.c: (check_caps):
31949 * testsuite/caps/simplify.c: (check_caps), (main):
31950 * testsuite/caps/subtract.c: (check_caps):
31951 Fix _pad_get_direction wrt ghostpads.
31952 Fix caps testsuite.
31954 2005-03-09 Wim Taymans <wim@fluendo.com>
31956 * check/Makefile.am:
31957 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31958 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31959 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31961 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31962 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31963 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31964 (bin_element_is_sink), (gst_bin_iterate_sinks),
31965 (gst_bin_iterate_all_by_interface):
31967 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31968 (gst_element_change_state), (gst_element_dispose),
31969 (gst_element_finalize), (gst_element_set_loop_function):
31970 * gst/gstelement.h:
31971 * gst/gstiterator.c: (find_custom_fold_func):
31972 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31973 (gst_pad_collectv), (gst_pad_collect_valist),
31974 (gst_pad_template_new):
31975 * gst/gstpipeline.c: (gst_pipeline_class_init),
31976 (gst_pipeline_dispose), (gst_pipeline_set_property),
31977 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31978 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31979 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31981 * gst/schedulers/entryscheduler.c:
31982 * gst/schedulers/gstbasicscheduler.c:
31983 (gst_basic_scheduler_cothreaded_chain),
31984 (gst_basic_scheduler_chain_add_element):
31985 * testsuite/bins/interface.c: (main):
31987 Added GstSystemClock test.
31988 Implemented clock distribution code in GstBin.
31989 Implemented iterate sinks method for future use.
31990 Rearranged gstelement.h
31991 Fix GstIterator comparison bug.
31992 Moved some code to GstPipeline, mostly clocking related.
31994 2005-03-09 Wim Taymans <wim@fluendo.com>
31997 * gst/gst_private.h:
31998 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31999 (gst_bin_remove_func), (gst_bin_remove),
32000 (gst_bin_get_by_name_recurse_up):
32001 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32002 (gst_clock_id_compare_func), (gst_clock_id_wait),
32003 (gst_clock_id_wait_async), (gst_clock_init),
32004 (gst_clock_adjust_unlocked), (gst_clock_get_time):
32005 * gst/gstelement.h:
32006 * gst/gstinfo.c: (_gst_debug_init):
32008 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32009 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32011 Bump version number, we're now 0.9.0
32012 Add future debugging category.
32013 Fix NULL _unref() in _get_by_name_recurse_up
32014 Rearrange gstpad.h.
32017 2005-03-08 Wim Taymans <wim@fluendo.com>
32019 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32020 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32021 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32022 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32023 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32024 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32025 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32026 * gst/elements/gstidentity.c: (gst_identity_class_init):
32027 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32028 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32029 * gst/elements/gstshaper.c: (gst_shaper_class_init):
32030 * gst/elements/gststatistics.c: (gst_statistics_class_init):
32031 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32033 * gst/gstelement.c: (gst_element_class_init),
32034 (gst_element_base_class_init), (gst_element_init),
32035 (gst_element_get_random_pad), (gst_element_wait_state_change),
32036 (gst_element_change_state), (gst_element_dispose),
32037 (gst_element_finalize), (gst_element_set_loop_function):
32038 * gst/gstelement.h:
32039 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32040 * gst/gstthread.c: (gst_thread_class_init),
32041 (gst_thread_release_children_locks), (gst_thread_change_state):
32042 * gst/schedulers/gstbasicscheduler.c:
32043 (gst_basic_scheduler_loopfunc_wrapper),
32044 (gst_basic_scheduler_chain_wrapper),
32045 (gst_basic_scheduler_src_wrapper),
32046 (gst_basic_scheduler_remove_element):
32047 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32048 Remove threadsafe properties. Fix elements because GObject
32049 complains when installing a property before declaring a
32050 set/get_property handler.
32051 Rearrange gstelement.h file, use STATE macros for state locks.
32052 Free mutexes in the finalize method instead of dispose.
32054 2005-03-08 Wim Taymans <wim@fluendo.com>
32056 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32057 * gst/gstthread.c: (gst_thread_release_children_locks):
32058 Added parentage check.
32059 Fix build og GstThread again.
32061 2005-03-08 Wim Taymans <wim@fluendo.com>
32063 * docs/design/part-MT-refcounting.txt:
32064 * docs/design/part-conventions.txt:
32065 * docs/design/part-gstobject.txt:
32066 * docs/design/part-relations.txt:
32067 * docs/design/part-standards.txt:
32068 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32069 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32070 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32071 (gst_bin_iterate_all_by_interface):
32074 * gst/gstelement.c: (gst_element_class_init),
32075 (gst_element_change_state), (gst_element_set_loop_function):
32076 * gst/gstelement.h:
32077 * gst/gstiterator.c:
32078 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32079 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32080 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32081 (gst_object_set_parent), (gst_object_unparent),
32082 (gst_object_check_uniqueness):
32084 Docs updates, clean up some headers.
32086 2005-03-07 Wim Taymans <wim@fluendo.com>
32088 * check/.cvsignore:
32089 * check/Makefile.am:
32090 * check/gst-libs/.cvsignore:
32091 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32092 * check/gst/.cvsignore:
32093 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32094 (START_TEST), (gstbus_suite), (main):
32095 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32096 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32097 (gst_data_suite), (main):
32098 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32099 (add_fold_func), (gstiterator_suite), (main):
32100 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32101 (thread_name_object), (thread_name_object_default),
32102 (gst_object_name_compare), (gst_object_suite), (main):
32103 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32104 (gst_pad_suite), (main):
32105 * check/gstcheck.c: (gst_check_log_message_func),
32106 (gst_check_log_critical_func), (gst_check_init):
32107 * check/gstcheck.h:
32108 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32109 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32112 2005-03-07 Wim Taymans <wim@fluendo.com>
32114 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32115 (gst_list_iterator_next), (gst_list_iterator_resync),
32116 (gst_list_iterator_free), (gst_iterator_new_list),
32117 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32118 (gst_iterator_free), (gst_iterator_push), (filter_next),
32119 (filter_resync), (filter_uninit), (filter_free),
32120 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32121 (gst_iterator_foreach), (find_custom_fold_func),
32122 (gst_iterator_find_custom):
32123 * gst/gstiterator.h:
32124 Added missing files.
32126 2005-03-07 Wim Taymans <wim@fluendo.com>
32130 * docs/design/part-MT-refcounting.txt:
32131 * docs/design/part-conventions.txt:
32132 * docs/design/part-gstobject.txt:
32133 * docs/design/part-relations.txt:
32134 * examples/mixer/mixer.c: (main):
32135 * examples/thread/thread.c: (eos), (main):
32137 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32138 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32139 (gst_spider_plug_from_srcpad):
32140 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32141 (gst_spider_identity_change_state),
32142 (gst_spider_identity_sink_loop_type_finding):
32143 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32144 * gst/elements/gstidentity.c: (gst_identity_init):
32145 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32146 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32147 * gst/elements/gsttypefindelement.c: (free_entry):
32150 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32151 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32152 (gst_bin_set_index), (gst_bin_set_element_sched),
32153 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32154 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32155 (gst_bin_iterate_elements), (iterate_child_recurse),
32156 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32157 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32158 (compare_interface), (gst_bin_get_by_interface),
32159 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32161 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32162 (gst_buffer_default_free), (gst_buffer_default_copy),
32163 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32164 (gst_buffer_create_sub):
32166 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32167 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32168 (gst_caps_unref), (gst_static_caps_get),
32169 (gst_caps_remove_and_get_structure), (gst_caps_append),
32170 (gst_caps_append_structure), (gst_caps_remove_structure),
32171 (gst_caps_copy_nth), (gst_caps_set_simple),
32172 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32173 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32174 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32175 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32176 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32177 (gst_caps_structure_figure_out_union),
32178 (gst_caps_switch_structures), (gst_caps_do_simplify),
32179 (gst_caps_replace), (gst_caps_from_string),
32180 (gst_caps_copy_conditional):
32182 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32183 (_gst_clock_id_free), (gst_clock_id_unref),
32184 (gst_clock_id_compare_func), (gst_clock_id_wait),
32185 (gst_clock_id_wait_async), (gst_clock_class_init),
32186 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32187 (gst_clock_get_time), (gst_clock_set_time_adjust),
32188 (gst_clock_set_property), (gst_clock_get_property):
32191 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32192 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32194 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32195 (gst_element_requires_clock), (gst_element_provides_clock),
32196 (gst_element_set_clock), (gst_element_clock_wait),
32197 (gst_element_wait), (gst_element_set_time_delay),
32198 (gst_element_is_indexable), (gst_element_add_pad),
32199 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32200 (pad_compare_name), (gst_element_get_static_pad),
32201 (gst_element_request_pad), (gst_element_get_request_pad),
32202 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32203 (gst_element_class_get_pad_template_list),
32204 (gst_element_class_get_pad_template), (gst_element_error_func),
32205 (gst_element_get_random_pad), (gst_element_get_event_masks),
32206 (gst_element_send_event), (gst_element_seek),
32207 (gst_element_get_query_types), (gst_element_query),
32208 (gst_element_get_formats), (gst_element_convert),
32209 (gst_element_is_locked_state), (gst_element_set_locked_state),
32210 (gst_element_sync_state_with_parent), (gst_element_change_state),
32211 (gst_element_finalize), (gst_element_yield),
32212 (gst_element_interrupt), (gst_element_set_scheduler),
32213 (gst_element_get_scheduler), (gst_element_set_loop_function):
32214 * gst/gstelement.h:
32216 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32217 (gst_format_get_by_nick), (gst_format_get_details),
32218 (gst_format_iterate_definitions):
32220 * gst/gstindex.c: (gst_index_gtype_resolver):
32223 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32224 (gst_mem_chunk_free):
32225 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32226 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32227 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32228 (gst_object_dispatch_properties_changed),
32229 (gst_object_set_name_default), (gst_object_set_name),
32230 (gst_object_get_name), (gst_object_set_name_prefix),
32231 (gst_object_get_name_prefix), (gst_object_set_parent),
32232 (gst_object_get_parent), (gst_object_unparent),
32233 (gst_object_check_uniqueness), (gst_object_save_thyself),
32234 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32235 (gst_object_set_property), (gst_object_get_property),
32236 (gst_object_get_path_string):
32238 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32239 (gst_real_pad_init), (gst_real_pad_get_property),
32240 (gst_pad_custom_new), (gst_pad_get_direction),
32241 (gst_pad_set_active), (gst_pad_is_active),
32242 (gst_pad_set_event_function), (gst_pad_is_linked),
32243 (gst_pad_link_free), (gst_pad_link_intersect),
32244 (gst_pad_link_fixate), (gst_pad_set_caps),
32245 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32246 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32247 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32248 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32249 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32250 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32251 (gst_pad_realize), (gst_pad_get_allowed_caps),
32252 (gst_real_pad_dispose), (gst_real_pad_finalize),
32253 (gst_pad_collectv), (gst_pad_collect_valist),
32254 (gst_pad_template_dispose), (gst_pad_template_new),
32255 (gst_pad_get_internal_links):
32257 * gst/gstpipeline.c: (gst_pipeline_dispose),
32258 (gst_pipeline_change_state):
32259 * gst/gstpipeline.h:
32261 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32262 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32263 * gst/gstpluginfeature.h:
32264 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32265 * gst/gstquery.c: (_gst_query_type_initialize),
32266 (gst_query_type_register), (gst_query_type_get_by_nick),
32267 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32269 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32270 * gst/gstscheduler.c: (gst_scheduler_add_element),
32271 (gst_scheduler_factory_create):
32272 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32273 (gst_structure_free), (gst_structure_set_name),
32274 (gst_structure_id_set_value), (gst_structure_set_value),
32275 (gst_structure_set_valist), (gst_structure_remove_field),
32276 (gst_structure_remove_fields),
32277 (gst_structure_remove_fields_valist),
32278 (gst_structure_remove_all_fields), (gst_structure_foreach),
32279 (gst_structure_map_in_place),
32280 (gst_caps_structure_fixate_field_nearest_int),
32281 (gst_caps_structure_fixate_field_nearest_double):
32282 * gst/gststructure.h:
32283 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32284 (gst_system_clock_init), (gst_system_clock_dispose),
32285 (gst_system_clock_async_thread),
32286 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32287 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32288 * gst/gstsystemclock.h:
32289 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32290 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32291 * gst/gsttaginterface.c:
32292 * gst/gstthread.c: (gst_thread_dispose),
32293 (gst_thread_release_children_locks), (gst_thread_change_state),
32294 (gst_thread_main_loop):
32295 * gst/gsttrashstack.h:
32296 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32298 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32299 (gst_element_request_pad), (gst_element_get_pad_from_template),
32300 (gst_element_request_compatible_pad),
32301 (gst_element_get_compatible_pad_filtered),
32302 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32303 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32304 (gst_element_link_many), (gst_element_link),
32305 (gst_element_link_pads), (gst_element_unlink_pads),
32306 (gst_element_unlink_many), (gst_element_unlink),
32307 (gst_pad_can_link_filtered), (gst_pad_can_link),
32308 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32309 (gst_object_default_error), (gst_bin_add_many),
32310 (gst_bin_remove_many), (gst_element_populate_std_props),
32311 (gst_element_class_install_std_props), (gst_buffer_merge),
32312 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32313 (link_fold_func), (gst_pad_proxy_setcaps):
32315 * gst/gstvalue.c: (gst_value_deserialize_string):
32316 * gst/parse/grammar.y:
32317 * gst/schedulers/gstbasicscheduler.c:
32318 (gst_basic_scheduler_cothreaded_chain),
32319 (gst_basic_scheduler_chain_recursive_add),
32320 (gst_basic_scheduler_pad_link):
32321 * gst/schedulers/gstoptimalscheduler.c:
32322 (get_group_schedule_function),
32323 (gst_opt_scheduler_state_transition),
32324 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32325 * libs/gst/bytestream/bytestream.c:
32326 * libs/gst/dataprotocol/dataprotocol.c:
32327 (gst_dp_header_from_buffer):
32330 * tests/threadstate/threadstate2.c: (eos):
32331 * tools/gst-compprep.c: (main):
32332 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32333 (print_pad_info), (print_children_info):
32334 * tools/gst-launch.c: (idle_func), (main):
32335 * tools/gst-md5sum.c: (idle_func), (main):
32336 * tools/gst-xmlinspect.c: (print_element_info):
32337 First THREADED backport attempt, focusing on adding locks and
32338 making sure the API is threadsafe. Needs more work. More docs
32341 2005-02-24 Andy Wingo <wingo@pobox.com>
32343 * tests/bench-complexity.scm:
32344 * tests/complexity.gnuplot: New files, good for running complexity
32347 * tests/Makefile.am:
32348 * tests/complexity.c: New test, sets up N elements, at each level
32349 teeing into M streams per element. Eeeenteresting.
32351 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32352 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32353 running bench-mass_elements.scm.
32355 * tests/bench-mass_elements.scm: New script, runs mass_elements
32356 for various numbers of identities, outputting the results to a
32357 file. Requires guile 1.6. Just for testing.
32359 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32361 * gst/schedulers/fairscheduler.c:
32362 compile with debug disabled
32364 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32367 hunting season on 0.9 is now OPEN